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_DRAGIMAGE
=no
7020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7021 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7023 # Check whether --enable-accel or --disable-accel was given.
7024 if test "${enable_accel+set}" = set; then
7025 enableval
="$enable_accel"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7030 ac_cv_use_accel
='wxUSE_ACCEL=no'
7035 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7046 eval "$ac_cv_use_accel"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_ACCEL" = yes; then
7052 echo "$as_me:$LINENO: result: yes" >&5
7053 echo "${ECHO_T}yes" >&6
7055 echo "$as_me:$LINENO: result: no" >&5
7056 echo "${ECHO_T}no" >&6
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7064 # Check whether --enable-button or --disable-button was given.
7065 if test "${enable_button+set}" = set; then
7066 enableval
="$enable_button"
7068 if test "$enableval" = yes; then
7069 ac_cv_use_button
='wxUSE_BUTTON=yes'
7071 ac_cv_use_button
='wxUSE_BUTTON=no'
7076 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x
; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7087 eval "$ac_cv_use_button"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7092 if test "$wxUSE_BUTTON" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7103 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7105 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7106 if test "${enable_bmpbutton+set}" = set; then
7107 enableval
="$enable_bmpbutton"
7109 if test "$enableval" = yes; then
7110 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7112 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7117 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x
; then
7119 eval "DEFAULT_$LINE"
7124 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7128 eval "$ac_cv_use_bmpbutton"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7133 if test "$wxUSE_BMPBUTTON" = yes; then
7134 echo "$as_me:$LINENO: result: yes" >&5
7135 echo "${ECHO_T}yes" >&6
7137 echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7146 # Check whether --enable-calendar or --disable-calendar was given.
7147 if test "${enable_calendar+set}" = set; then
7148 enableval
="$enable_calendar"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7153 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7158 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7169 eval "$ac_cv_use_calendar"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_CALCTRL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7187 # Check whether --enable-caret or --disable-caret was given.
7188 if test "${enable_caret+set}" = set; then
7189 enableval
="$enable_caret"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_caret
='wxUSE_CARET=yes'
7194 ac_cv_use_caret
='wxUSE_CARET=no'
7199 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7210 eval "$ac_cv_use_caret"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_CARET" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7228 # Check whether --enable-checkbox or --disable-checkbox was given.
7229 if test "${enable_checkbox+set}" = set; then
7230 enableval
="$enable_checkbox"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7235 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7240 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7251 eval "$ac_cv_use_checkbox"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_CHECKBOX" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7269 # Check whether --enable-checklst or --disable-checklst was given.
7270 if test "${enable_checklst+set}" = set; then
7271 enableval
="$enable_checklst"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7276 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7281 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7292 eval "$ac_cv_use_checklst"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_CHECKLST" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7310 # Check whether --enable-choice or --disable-choice was given.
7311 if test "${enable_choice+set}" = set; then
7312 enableval
="$enable_choice"
7314 if test "$enableval" = yes; then
7315 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7317 ac_cv_use_choice
='wxUSE_CHOICE=no'
7322 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x
; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7333 eval "$ac_cv_use_choice"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_CHOICE" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7351 # Check whether --enable-choicebook or --disable-choicebook was given.
7352 if test "${enable_choicebook+set}" = set; then
7353 enableval
="$enable_choicebook"
7355 if test "$enableval" = yes; then
7356 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7358 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7363 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x
; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7374 eval "$ac_cv_use_choicebook"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7379 if test "$wxUSE_CHOICEBOOK" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7392 # Check whether --enable-combobox or --disable-combobox was given.
7393 if test "${enable_combobox+set}" = set; then
7394 enableval
="$enable_combobox"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7399 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7404 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7415 eval "$ac_cv_use_combobox"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_COMBOBOX" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7433 # Check whether --enable-display or --disable-display was given.
7434 if test "${enable_display+set}" = set; then
7435 enableval
="$enable_display"
7437 if test "$enableval" = yes; then
7438 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7440 ac_cv_use_display
='wxUSE_DISPLAY=no'
7445 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x
; then
7447 eval "DEFAULT_$LINE"
7452 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7456 eval "$ac_cv_use_display"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_DISPLAY" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7474 # Check whether --enable-gauge or --disable-gauge was given.
7475 if test "${enable_gauge+set}" = set; then
7476 enableval
="$enable_gauge"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7481 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7486 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7497 eval "$ac_cv_use_gauge"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_GAUGE" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7515 # Check whether --enable-grid or --disable-grid was given.
7516 if test "${enable_grid+set}" = set; then
7517 enableval
="$enable_grid"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_grid
='wxUSE_GRID=yes'
7522 ac_cv_use_grid
='wxUSE_GRID=no'
7527 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7538 eval "$ac_cv_use_grid"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7543 if test "$wxUSE_GRID" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7556 # Check whether --enable-imaglist or --disable-imaglist was given.
7557 if test "${enable_imaglist+set}" = set; then
7558 enableval
="$enable_imaglist"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7563 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7568 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7579 eval "$ac_cv_use_imaglist"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_IMAGLIST" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7597 # Check whether --enable-listbook or --disable-listbook was given.
7598 if test "${enable_listbook+set}" = set; then
7599 enableval
="$enable_listbook"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7604 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7609 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x
; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7620 eval "$ac_cv_use_listbook"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_LISTBOOK" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7638 # Check whether --enable-listbox or --disable-listbox was given.
7639 if test "${enable_listbox+set}" = set; then
7640 enableval
="$enable_listbox"
7642 if test "$enableval" = yes; then
7643 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7645 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7650 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x
; then
7652 eval "DEFAULT_$LINE"
7657 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7661 eval "$ac_cv_use_listbox"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_LISTBOX" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7679 # Check whether --enable-listctrl or --disable-listctrl was given.
7680 if test "${enable_listctrl+set}" = set; then
7681 enableval
="$enable_listctrl"
7683 if test "$enableval" = yes; then
7684 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7686 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7691 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x
; then
7693 eval "DEFAULT_$LINE"
7698 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7702 eval "$ac_cv_use_listctrl"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7707 if test "$wxUSE_LISTCTRL" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7720 # Check whether --enable-notebook or --disable-notebook was given.
7721 if test "${enable_notebook+set}" = set; then
7722 enableval
="$enable_notebook"
7724 if test "$enableval" = yes; then
7725 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7727 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7732 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x
; then
7734 eval "DEFAULT_$LINE"
7739 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7743 eval "$ac_cv_use_notebook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7748 if test "$wxUSE_NOTEBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7761 # Check whether --enable-radiobox or --disable-radiobox was given.
7762 if test "${enable_radiobox+set}" = set; then
7763 enableval
="$enable_radiobox"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7768 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7773 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x
; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7784 eval "$ac_cv_use_radiobox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7789 if test "$wxUSE_RADIOBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7802 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7803 if test "${enable_radiobtn+set}" = set; then
7804 enableval
="$enable_radiobtn"
7806 if test "$enableval" = yes; then
7807 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7809 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7814 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x
; then
7816 eval "DEFAULT_$LINE"
7821 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7825 eval "$ac_cv_use_radiobtn"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_RADIOBTN" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7843 # Check whether --enable-sash or --disable-sash was given.
7844 if test "${enable_sash+set}" = set; then
7845 enableval
="$enable_sash"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_sash
='wxUSE_SASH=yes'
7850 ac_cv_use_sash
='wxUSE_SASH=no'
7855 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7866 eval "$ac_cv_use_sash"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7871 if test "$wxUSE_SASH" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7884 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7885 if test "${enable_scrollbar+set}" = set; then
7886 enableval
="$enable_scrollbar"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7891 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7896 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7907 eval "$ac_cv_use_scrollbar"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7912 if test "$wxUSE_SCROLLBAR" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7925 # Check whether --enable-slider or --disable-slider was given.
7926 if test "${enable_slider+set}" = set; then
7927 enableval
="$enable_slider"
7929 if test "$enableval" = yes; then
7930 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7932 ac_cv_use_slider
='wxUSE_SLIDER=no'
7937 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x
; then
7939 eval "DEFAULT_$LINE"
7944 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7948 eval "$ac_cv_use_slider"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_SLIDER" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7966 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7967 if test "${enable_spinbtn+set}" = set; then
7968 enableval
="$enable_spinbtn"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7973 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7978 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7989 eval "$ac_cv_use_spinbtn"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7994 if test "$wxUSE_SPINBTN" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8007 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8008 if test "${enable_spinctrl+set}" = set; then
8009 enableval
="$enable_spinctrl"
8011 if test "$enableval" = yes; then
8012 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8014 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8019 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x
; then
8021 eval "DEFAULT_$LINE"
8026 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8030 eval "$ac_cv_use_spinctrl"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8035 if test "$wxUSE_SPINCTRL" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8048 # Check whether --enable-splitter or --disable-splitter was given.
8049 if test "${enable_splitter+set}" = set; then
8050 enableval
="$enable_splitter"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8055 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8060 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8071 eval "$ac_cv_use_splitter"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8076 if test "$wxUSE_SPLITTER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8089 # Check whether --enable-statbmp or --disable-statbmp was given.
8090 if test "${enable_statbmp+set}" = set; then
8091 enableval
="$enable_statbmp"
8093 if test "$enableval" = yes; then
8094 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8096 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8101 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x
; then
8103 eval "DEFAULT_$LINE"
8108 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8112 eval "$ac_cv_use_statbmp"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_STATBMP" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8130 # Check whether --enable-statbox or --disable-statbox was given.
8131 if test "${enable_statbox+set}" = set; then
8132 enableval
="$enable_statbox"
8134 if test "$enableval" = yes; then
8135 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8137 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8142 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x
; then
8144 eval "DEFAULT_$LINE"
8149 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8153 eval "$ac_cv_use_statbox"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_STATBOX" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8171 # Check whether --enable-statline or --disable-statline was given.
8172 if test "${enable_statline+set}" = set; then
8173 enableval
="$enable_statline"
8175 if test "$enableval" = yes; then
8176 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8178 ac_cv_use_statline
='wxUSE_STATLINE=no'
8183 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x
; then
8185 eval "DEFAULT_$LINE"
8190 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8194 eval "$ac_cv_use_statline"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_STATLINE" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8212 # Check whether --enable-stattext or --disable-stattext was given.
8213 if test "${enable_stattext+set}" = set; then
8214 enableval
="$enable_stattext"
8216 if test "$enableval" = yes; then
8217 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8219 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8224 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x
; then
8226 eval "DEFAULT_$LINE"
8231 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8235 eval "$ac_cv_use_stattext"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8240 if test "$wxUSE_STATTEXT" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8253 # Check whether --enable-statusbar or --disable-statusbar was given.
8254 if test "${enable_statusbar+set}" = set; then
8255 enableval
="$enable_statusbar"
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8260 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8265 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x
; then
8267 eval "DEFAULT_$LINE"
8272 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8276 eval "$ac_cv_use_statusbar"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8281 if test "$wxUSE_STATUSBAR" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8294 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8295 if test "${enable_tabdialog+set}" = set; then
8296 enableval
="$enable_tabdialog"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8301 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8306 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8317 eval "$ac_cv_use_tabdialog"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_TABDIALOG" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8335 # Check whether --enable-textctrl or --disable-textctrl was given.
8336 if test "${enable_textctrl+set}" = set; then
8337 enableval
="$enable_textctrl"
8339 if test "$enableval" = yes; then
8340 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8342 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8347 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x
; then
8349 eval "DEFAULT_$LINE"
8354 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8358 eval "$ac_cv_use_textctrl"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_TEXTCTRL" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8376 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8377 if test "${enable_togglebtn+set}" = set; then
8378 enableval
="$enable_togglebtn"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8383 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8388 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8399 eval "$ac_cv_use_togglebtn"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_TOGGLEBTN" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8417 # Check whether --enable-toolbar or --disable-toolbar was given.
8418 if test "${enable_toolbar+set}" = set; then
8419 enableval
="$enable_toolbar"
8421 if test "$enableval" = yes; then
8422 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8424 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8429 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x
; then
8431 eval "DEFAULT_$LINE"
8436 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8440 eval "$ac_cv_use_toolbar"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_TOOLBAR" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8458 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8459 if test "${enable_tbarnative+set}" = set; then
8460 enableval
="$enable_tbarnative"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8465 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8470 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8481 eval "$ac_cv_use_tbarnative"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8499 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8500 if test "${enable_tbarsmpl+set}" = set; then
8501 enableval
="$enable_tbarsmpl"
8503 if test "$enableval" = yes; then
8504 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8506 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8511 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x
; then
8513 eval "DEFAULT_$LINE"
8518 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8522 eval "$ac_cv_use_tbarsmpl"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8540 # Check whether --enable-treectrl or --disable-treectrl was given.
8541 if test "${enable_treectrl+set}" = set; then
8542 enableval
="$enable_treectrl"
8544 if test "$enableval" = yes; then
8545 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8547 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8552 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x
; then
8554 eval "DEFAULT_$LINE"
8559 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8563 eval "$ac_cv_use_treectrl"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8568 if test "$wxUSE_TREECTRL" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8581 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8582 if test "${enable_tipwindow+set}" = set; then
8583 enableval
="$enable_tipwindow"
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8588 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8593 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x
; then
8595 eval "DEFAULT_$LINE"
8600 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8604 eval "$ac_cv_use_tipwindow"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8609 if test "$wxUSE_TIPWINDOW" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8622 # Check whether --enable-popupwin or --disable-popupwin was given.
8623 if test "${enable_popupwin+set}" = set; then
8624 enableval
="$enable_popupwin"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8629 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8634 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8645 eval "$ac_cv_use_popupwin"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8650 if test "$wxUSE_POPUPWIN" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8665 # Check whether --enable-commondlg or --disable-commondlg was given.
8666 if test "${enable_commondlg+set}" = set; then
8667 enableval
="$enable_commondlg"
8669 if test "$enableval" = yes; then
8670 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8672 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8677 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x
; then
8679 eval "DEFAULT_$LINE"
8684 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8688 eval "$ac_cv_use_commondlg"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_COMMONDLGS" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8706 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8707 if test "${enable_choicedlg+set}" = set; then
8708 enableval
="$enable_choicedlg"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8713 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8718 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8729 eval "$ac_cv_use_choicedlg"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8734 if test "$wxUSE_CHOICEDLG" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8747 # Check whether --enable-coldlg or --disable-coldlg was given.
8748 if test "${enable_coldlg+set}" = set; then
8749 enableval
="$enable_coldlg"
8751 if test "$enableval" = yes; then
8752 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8754 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8759 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x
; then
8761 eval "DEFAULT_$LINE"
8766 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8770 eval "$ac_cv_use_coldlg"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_COLOURDLG" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8788 # Check whether --enable-filedlg or --disable-filedlg was given.
8789 if test "${enable_filedlg+set}" = set; then
8790 enableval
="$enable_filedlg"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8795 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8800 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8811 eval "$ac_cv_use_filedlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_FILEDLG" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8829 # Check whether --enable-finddlg or --disable-finddlg was given.
8830 if test "${enable_finddlg+set}" = set; then
8831 enableval
="$enable_finddlg"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8836 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8841 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8852 eval "$ac_cv_use_finddlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_FINDREPLDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8870 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8871 if test "${enable_fontdlg+set}" = set; then
8872 enableval
="$enable_fontdlg"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8877 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8882 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8893 eval "$ac_cv_use_fontdlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_FONTDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8911 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8912 if test "${enable_dirdlg+set}" = set; then
8913 enableval
="$enable_dirdlg"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8918 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8923 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8934 eval "$ac_cv_use_dirdlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_DIRDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8952 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8953 if test "${enable_msgdlg+set}" = set; then
8954 enableval
="$enable_msgdlg"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8959 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8964 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8975 eval "$ac_cv_use_msgdlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_MSGDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8993 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8994 if test "${enable_numberdlg+set}" = set; then
8995 enableval
="$enable_numberdlg"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9000 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9005 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9016 eval "$ac_cv_use_numberdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_NUMBERDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9034 # Check whether --enable-splash or --disable-splash was given.
9035 if test "${enable_splash+set}" = set; then
9036 enableval
="$enable_splash"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9041 ac_cv_use_splash
='wxUSE_SPLASH=no'
9046 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9057 eval "$ac_cv_use_splash"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_SPLASH" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9075 # Check whether --enable-textdlg or --disable-textdlg was given.
9076 if test "${enable_textdlg+set}" = set; then
9077 enableval
="$enable_textdlg"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9082 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9087 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9098 eval "$ac_cv_use_textdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_TEXTDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9116 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9117 if test "${enable_tipdlg+set}" = set; then
9118 enableval
="$enable_tipdlg"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9123 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9128 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9139 eval "$ac_cv_use_tipdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_STARTUP_TIPS" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9157 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9158 if test "${enable_progressdlg+set}" = set; then
9159 enableval
="$enable_progressdlg"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9164 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9169 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9180 eval "$ac_cv_use_progressdlg"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_PROGRESSDLG" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9198 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9199 if test "${enable_wizarddlg+set}" = set; then
9200 enableval
="$enable_wizarddlg"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9205 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9210 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9221 eval "$ac_cv_use_wizarddlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_WIZARDDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9241 # Check whether --enable-menus or --disable-menus was given.
9242 if test "${enable_menus+set}" = set; then
9243 enableval
="$enable_menus"
9245 if test "$enableval" = yes; then
9246 ac_cv_use_menus
='wxUSE_MENUS=yes'
9248 ac_cv_use_menus
='wxUSE_MENUS=no'
9253 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9254 if test "x$LINE" != x
; then
9255 eval "DEFAULT_$LINE"
9260 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9264 eval "$ac_cv_use_menus"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9269 if test "$wxUSE_MENUS" = yes; then
9270 echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6
9273 echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9282 # Check whether --enable-miniframe or --disable-miniframe was given.
9283 if test "${enable_miniframe+set}" = set; then
9284 enableval
="$enable_miniframe"
9286 if test "$enableval" = yes; then
9287 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9289 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9294 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x
; then
9296 eval "DEFAULT_$LINE"
9301 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9305 eval "$ac_cv_use_miniframe"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9310 if test "$wxUSE_MINIFRAME" = yes; then
9311 echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6
9314 echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6
9320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9323 # Check whether --enable-tooltips or --disable-tooltips was given.
9324 if test "${enable_tooltips+set}" = set; then
9325 enableval
="$enable_tooltips"
9327 if test "$enableval" = yes; then
9328 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9330 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9335 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9336 if test "x$LINE" != x
; then
9337 eval "DEFAULT_$LINE"
9342 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9346 eval "$ac_cv_use_tooltips"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9351 if test "$wxUSE_TOOLTIPS" = yes; then
9352 echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9364 # Check whether --enable-splines or --disable-splines was given.
9365 if test "${enable_splines+set}" = set; then
9366 enableval
="$enable_splines"
9368 if test "$enableval" = yes; then
9369 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9371 ac_cv_use_splines
='wxUSE_SPLINES=no'
9376 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x
; then
9378 eval "DEFAULT_$LINE"
9383 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9387 eval "$ac_cv_use_splines"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_SPLINES" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9405 # Check whether --enable-validators or --disable-validators was given.
9406 if test "${enable_validators+set}" = set; then
9407 enableval
="$enable_validators"
9409 if test "$enableval" = yes; then
9410 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9412 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9417 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x
; then
9419 eval "DEFAULT_$LINE"
9424 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9428 eval "$ac_cv_use_validators"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9433 if test "$wxUSE_VALIDATORS" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9446 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9447 if test "${enable_busyinfo+set}" = set; then
9448 enableval
="$enable_busyinfo"
9450 if test "$enableval" = yes; then
9451 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9453 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9458 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x
; then
9460 eval "DEFAULT_$LINE"
9465 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9469 eval "$ac_cv_use_busyinfo"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9474 if test "$wxUSE_BUSYINFO" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9487 # Check whether --enable-joystick or --disable-joystick was given.
9488 if test "${enable_joystick+set}" = set; then
9489 enableval
="$enable_joystick"
9491 if test "$enableval" = yes; then
9492 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9494 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9499 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x
; then
9501 eval "DEFAULT_$LINE"
9506 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9510 eval "$ac_cv_use_joystick"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_JOYSTICK" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9528 # Check whether --enable-metafile or --disable-metafile was given.
9529 if test "${enable_metafile+set}" = set; then
9530 enableval
="$enable_metafile"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9535 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9540 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9551 eval "$ac_cv_use_metafile"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_METAFILE" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9569 # Check whether --enable-dragimage or --disable-dragimage was given.
9570 if test "${enable_dragimage+set}" = set; then
9571 enableval
="$enable_dragimage"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9576 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9581 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9592 eval "$ac_cv_use_dragimage"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_DRAGIMAGE" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9610 # Check whether --enable-accessibility or --disable-accessibility was given.
9611 if test "${enable_accessibility+set}" = set; then
9612 enableval
="$enable_accessibility"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9617 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9622 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9633 eval "$ac_cv_use_accessibility"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_ACCESSIBILITY" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9653 # Check whether --enable-palette or --disable-palette was given.
9654 if test "${enable_palette+set}" = set; then
9655 enableval
="$enable_palette"
9657 if test "$enableval" = yes; then
9658 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9660 ac_cv_use_palette
='wxUSE_PALETTE=no'
9665 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x
; then
9667 eval "DEFAULT_$LINE"
9672 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9676 eval "$ac_cv_use_palette"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9681 if test "$wxUSE_PALETTE" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9694 # Check whether --enable-image or --disable-image was given.
9695 if test "${enable_image+set}" = set; then
9696 enableval
="$enable_image"
9698 if test "$enableval" = yes; then
9699 ac_cv_use_image
='wxUSE_IMAGE=yes'
9701 ac_cv_use_image
='wxUSE_IMAGE=no'
9706 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x
; then
9708 eval "DEFAULT_$LINE"
9713 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9717 eval "$ac_cv_use_image"
9718 if test "$no_cache" != 1; then
9719 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9722 if test "$wxUSE_IMAGE" = yes; then
9723 echo "$as_me:$LINENO: result: yes" >&5
9724 echo "${ECHO_T}yes" >&6
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9735 # Check whether --enable-gif or --disable-gif was given.
9736 if test "${enable_gif+set}" = set; then
9737 enableval
="$enable_gif"
9739 if test "$enableval" = yes; then
9740 ac_cv_use_gif
='wxUSE_GIF=yes'
9742 ac_cv_use_gif
='wxUSE_GIF=no'
9747 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9748 if test "x$LINE" != x
; then
9749 eval "DEFAULT_$LINE"
9754 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9758 eval "$ac_cv_use_gif"
9759 if test "$no_cache" != 1; then
9760 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9763 if test "$wxUSE_GIF" = yes; then
9764 echo "$as_me:$LINENO: result: yes" >&5
9765 echo "${ECHO_T}yes" >&6
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9776 # Check whether --enable-pcx or --disable-pcx was given.
9777 if test "${enable_pcx+set}" = set; then
9778 enableval
="$enable_pcx"
9780 if test "$enableval" = yes; then
9781 ac_cv_use_pcx
='wxUSE_PCX=yes'
9783 ac_cv_use_pcx
='wxUSE_PCX=no'
9788 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x
; then
9790 eval "DEFAULT_$LINE"
9795 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9799 eval "$ac_cv_use_pcx"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9804 if test "$wxUSE_PCX" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9817 # Check whether --enable-iff or --disable-iff was given.
9818 if test "${enable_iff+set}" = set; then
9819 enableval
="$enable_iff"
9821 if test "$enableval" = yes; then
9822 ac_cv_use_iff
='wxUSE_IFF=yes'
9824 ac_cv_use_iff
='wxUSE_IFF=no'
9829 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x
; then
9831 eval "DEFAULT_$LINE"
9836 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9840 eval "$ac_cv_use_iff"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9845 if test "$wxUSE_IFF" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9858 # Check whether --enable-pnm or --disable-pnm was given.
9859 if test "${enable_pnm+set}" = set; then
9860 enableval
="$enable_pnm"
9862 if test "$enableval" = yes; then
9863 ac_cv_use_pnm
='wxUSE_PNM=yes'
9865 ac_cv_use_pnm
='wxUSE_PNM=no'
9870 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x
; then
9872 eval "DEFAULT_$LINE"
9877 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9881 eval "$ac_cv_use_pnm"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9886 if test "$wxUSE_PNM" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9899 # Check whether --enable-xpm or --disable-xpm was given.
9900 if test "${enable_xpm+set}" = set; then
9901 enableval
="$enable_xpm"
9903 if test "$enableval" = yes; then
9904 ac_cv_use_xpm
='wxUSE_XPM=yes'
9906 ac_cv_use_xpm
='wxUSE_XPM=no'
9911 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x
; then
9913 eval "DEFAULT_$LINE"
9918 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9922 eval "$ac_cv_use_xpm"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9927 if test "$wxUSE_XPM" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9940 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9941 if test "${enable_ico_cur+set}" = set; then
9942 enableval
="$enable_ico_cur"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9947 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9952 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9963 eval "$ac_cv_use_ico_cur"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_ICO_CUR" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9981 # Check whether --with-flavour or --without-flavour was given.
9982 if test "${with_flavour+set}" = set; then
9983 withval
="$with_flavour"
9984 WX_FLAVOUR
="$withval"
9990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9993 # Check whether --enable-official_build or --disable-official_build was given.
9994 if test "${enable_official_build+set}" = set; then
9995 enableval
="$enable_official_build"
9997 if test "$enableval" = yes; then
9998 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10000 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10005 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x
; then
10007 eval "DEFAULT_$LINE"
10012 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10016 eval "$ac_cv_use_official_build"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10021 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10022 echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6
10025 echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10029 # Check whether --enable-vendor or --disable-vendor was given.
10030 if test "${enable_vendor+set}" = set; then
10031 enableval
="$enable_vendor"
10032 VENDOR
="$enableval"
10034 if test "x$VENDOR" = "x"; then
10041 echo "saving argument cache $wx_arg_cache_file"
10042 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10046 echo "$as_me:$LINENO: checking for toolkit" >&5
10047 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10049 # In Wine, we need to default to MSW, not GTK or MOTIF
10050 if test "$wxUSE_WINE" = "yes"; then
10051 DEFAULT_DEFAULT_wxUSE_GTK
=0
10052 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10053 DEFAULT_DEFAULT_wxUSE_MSW
=1
10057 if test "$wxUSE_GUI" = "yes"; then
10059 if test "$USE_BEOS" = 1; then
10060 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10061 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10062 { (exit 1); exit 1; }; }
10065 if test "$TOOLKIT_GIVEN" = 1; then
10066 for toolkit
in `echo $ALL_TOOLKITS`; do
10068 eval "value=\$${var}"
10069 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10072 for toolkit
in `echo $ALL_TOOLKITS`; do
10073 if test "$has_toolkit_in_cache" != 1; then
10074 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10076 var
=DEFAULT_wxUSE_
$toolkit
10078 eval "wxUSE_$toolkit=\$${var}"
10082 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10083 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10084 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10087 *-pc-os2_emx | *-pc-os2-emx )
10088 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10091 case "$NUM_TOOLKITS" in
10095 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10096 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10097 { (exit 1); exit 1; }; }
10100 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10101 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10102 { (exit 1); exit 1; }; }
10105 for toolkit
in `echo $ALL_TOOLKITS`; do
10107 eval "value=\$${var}"
10108 if test "x$value" != x
; then
10109 cache_var
=CACHE_
$toolkit
10110 eval "cache=\$${cache_var}"
10111 if test "$cache" = 1; then
10112 echo "$var=$value" >> ${wx_arg_cache_file}
10114 if test "$value" = 1; then
10115 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10116 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10117 echo "${ECHO_T}$toolkit_echo" >&6
10122 if test "x$host_alias" != "x"; then
10123 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10124 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10126 echo "$as_me:$LINENO: result: base only" >&5
10127 echo "${ECHO_T}base only" >&6
10132 doesnt_want_win32
=0
10135 if test "$wxUSE_MSW" = 1 ; then
10138 doesnt_want_win32
=1
10146 if test "$wxUSE_WINE" = "yes"; then
10151 LDFLAGS_GUI
="-mwindows"
10154 if test "$wants_win32" = 1 ; then
10157 cat >>confdefs.h
<<\_ACEOF
10158 #define __WIN32__ 1
10161 cat >>confdefs.h
<<\_ACEOF
10162 #define __WIN95__ 1
10165 cat >>confdefs.h
<<\_ACEOF
10166 #define __WINDOWS__ 1
10169 cat >>confdefs.h
<<\_ACEOF
10170 #define __GNUWIN32__ 1
10173 cat >>confdefs.h
<<\_ACEOF
10177 cat >>confdefs.h
<<\_ACEOF
10178 #define WINVER 0x0400
10182 if test "$doesnt_want_win32" = 1 ; then
10187 if test "$USE_UNIX" = 1 ; then
10189 cat >>confdefs.h
<<\_ACEOF
10196 cat >confcache
<<\_ACEOF
10197 # This file is a shell script that caches the results of configure
10198 # tests run on this system so they can be shared between configure
10199 # scripts and configure runs, see configure's option --config-cache.
10200 # It is not useful on other systems. If it contains results you don't
10201 # want to keep, you may remove or edit it.
10203 # config.status only pays attention to the cache file if you give it
10204 # the --recheck option to rerun configure.
10206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10208 # following values.
10212 # The following way of writing the cache mishandles newlines in values,
10213 # but we know of no workaround that is simple, portable, and efficient.
10214 # So, don't put newlines in cache variables' values.
10215 # Ultrix sh set writes to stderr and can't be redirected directly,
10216 # and sets the high bit in the cache file unless we assign to the vars.
10219 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10221 # `set' does not quote correctly, so add quotes (double-quote
10222 # substitution turns \\\\ into \\, and sed turns \\ into \).
10225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10228 # `set' quotes correctly as required by POSIX, so do not add quotes.
10230 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10239 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10241 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10242 if test -w $cache_file; then
10243 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10244 cat confcache
>$cache_file
10246 echo "not updating unwritable cache $cache_file"
10251 if test "$build" != "$host" ; then
10252 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10254 CXX
=$host_alias-c++
10256 RANLIB
=$host_alias-ranlib
10257 DLLTOOL
=$host_alias-dlltool
10258 RESCOMP
=$host_alias-windres
10259 STRIP
=$host_alias-strip
10261 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10262 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10263 { (exit 1); exit 1; }; }
10269 ac_cpp
='$CPP $CPPFLAGS'
10270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10273 if test -n "$ac_tool_prefix"; then
10274 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10275 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10276 echo "$as_me:$LINENO: checking for $ac_word" >&5
10277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10278 if test "${ac_cv_prog_CC+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 if test -n "$CC"; then
10282 ac_cv_prog_CC
="$CC" # Let the user override the test.
10284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10285 for as_dir
in $PATH
10288 test -z "$as_dir" && as_dir
=.
10289 for ac_exec_ext
in '' $ac_executable_extensions; do
10290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10291 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10301 if test -n "$CC"; then
10302 echo "$as_me:$LINENO: result: $CC" >&5
10303 echo "${ECHO_T}$CC" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10310 if test -z "$ac_cv_prog_CC"; then
10312 # Extract the first word of "gcc", so it can be a program name with args.
10313 set dummy gcc
; ac_word
=$2
10314 echo "$as_me:$LINENO: checking for $ac_word" >&5
10315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 if test -n "$ac_ct_CC"; then
10320 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10323 for as_dir
in $PATH
10326 test -z "$as_dir" && as_dir
=.
10327 for ac_exec_ext
in '' $ac_executable_extensions; do
10328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_prog_ac_ct_CC
="gcc"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10338 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10339 if test -n "$ac_ct_CC"; then
10340 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10341 echo "${ECHO_T}$ac_ct_CC" >&6
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10349 CC
="$ac_cv_prog_CC"
10352 if test -z "$CC"; then
10353 if test -n "$ac_tool_prefix"; then
10354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10355 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10356 echo "$as_me:$LINENO: checking for $ac_word" >&5
10357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10358 if test "${ac_cv_prog_CC+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 if test -n "$CC"; then
10362 ac_cv_prog_CC
="$CC" # Let the user override the test.
10364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10365 for as_dir
in $PATH
10368 test -z "$as_dir" && as_dir
=.
10369 for ac_exec_ext
in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 if test -n "$CC"; then
10382 echo "$as_me:$LINENO: result: $CC" >&5
10383 echo "${ECHO_T}$CC" >&6
10385 echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6
10390 if test -z "$ac_cv_prog_CC"; then
10392 # Extract the first word of "cc", so it can be a program name with args.
10393 set dummy cc
; ac_word
=$2
10394 echo "$as_me:$LINENO: checking for $ac_word" >&5
10395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 if test -n "$ac_ct_CC"; then
10400 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10403 for as_dir
in $PATH
10406 test -z "$as_dir" && as_dir
=.
10407 for ac_exec_ext
in '' $ac_executable_extensions; do
10408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10409 ac_cv_prog_ac_ct_CC
="cc"
10410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10419 if test -n "$ac_ct_CC"; then
10420 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10421 echo "${ECHO_T}$ac_ct_CC" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 CC
="$ac_cv_prog_CC"
10433 if test -z "$CC"; then
10434 # Extract the first word of "cc", so it can be a program name with args.
10435 set dummy cc
; ac_word
=$2
10436 echo "$as_me:$LINENO: checking for $ac_word" >&5
10437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10438 if test "${ac_cv_prog_CC+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 if test -n "$CC"; then
10442 ac_cv_prog_CC
="$CC" # Let the user override the test.
10444 ac_prog_rejected
=no
10445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10446 for as_dir
in $PATH
10449 test -z "$as_dir" && as_dir
=.
10450 for ac_exec_ext
in '' $ac_executable_extensions; do
10451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10453 ac_prog_rejected
=yes
10457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10463 if test $ac_prog_rejected = yes; then
10464 # We found a bogon in the path, so make sure we never use it.
10465 set dummy
$ac_cv_prog_CC
10467 if test $# != 0; then
10468 # We chose a different compiler from the bogus one.
10469 # However, it has the same basename, so the bogon will be chosen
10470 # first if we set CC to just the basename; use the full file name.
10472 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10478 if test -n "$CC"; then
10479 echo "$as_me:$LINENO: result: $CC" >&5
10480 echo "${ECHO_T}$CC" >&6
10482 echo "$as_me:$LINENO: result: no" >&5
10483 echo "${ECHO_T}no" >&6
10487 if test -z "$CC"; then
10488 if test -n "$ac_tool_prefix"; then
10491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10493 echo "$as_me:$LINENO: checking for $ac_word" >&5
10494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10495 if test "${ac_cv_prog_CC+set}" = set; then
10496 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 if test -n "$CC"; then
10499 ac_cv_prog_CC
="$CC" # Let the user override the test.
10501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10502 for as_dir
in $PATH
10505 test -z "$as_dir" && as_dir
=.
10506 for ac_exec_ext
in '' $ac_executable_extensions; do
10507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10518 if test -n "$CC"; then
10519 echo "$as_me:$LINENO: result: $CC" >&5
10520 echo "${ECHO_T}$CC" >&6
10522 echo "$as_me:$LINENO: result: no" >&5
10523 echo "${ECHO_T}no" >&6
10526 test -n "$CC" && break
10529 if test -z "$CC"; then
10533 # Extract the first word of "$ac_prog", so it can be a program name with args.
10534 set dummy
$ac_prog; ac_word
=$2
10535 echo "$as_me:$LINENO: checking for $ac_word" >&5
10536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 if test -n "$ac_ct_CC"; then
10541 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in $PATH
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_ac_ct_CC
="$ac_prog"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10560 if test -n "$ac_ct_CC"; then
10561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10562 echo "${ECHO_T}$ac_ct_CC" >&6
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10568 test -n "$ac_ct_CC" && break
10577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: no acceptable C compiler found in \$PATH
10580 See \`config.log' for more details." >&2;}
10581 { (exit 1); exit 1; }; }
10583 # Provide some information about the compiler.
10584 echo "$as_me:$LINENO:" \
10585 "checking for C compiler version" >&5
10586 ac_compiler
=`set X $ac_compile; echo $2`
10587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10588 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }
10592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10593 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }
10597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10598 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }
10603 cat >conftest.
$ac_ext <<_ACEOF
10606 cat confdefs.h
>>conftest.
$ac_ext
10607 cat >>conftest.
$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10618 ac_clean_files_save
=$ac_clean_files
10619 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10620 # Try to create an executable without -o first, disregard a.out.
10621 # It will help us diagnose broken compilers, and finding out an intuition
10623 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10624 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10625 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10626 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10627 (eval $ac_link_default) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; then
10631 # Find the output, starting from the most likely. This scheme is
10632 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10635 # Be careful to initialize this variable, since it used to be cached.
10636 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10638 # b.out is created by i960 compilers.
10639 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10641 test -f "$ac_file" || continue
10643 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10646 # This is the source file.
10649 # We found the default executable, but exeext='' is most
10653 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10654 # FIXME: I believe we export ac_cv_exeext for Libtool,
10655 # but it would be cool to find out if it's true. Does anybody
10656 # maintain Libtool? --akim.
10657 export ac_cv_exeext
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.
$ac_ext >&5
10667 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10668 See \`config.log' for more details." >&5
10669 echo "$as_me: error: C compiler cannot create executables
10670 See \`config.log' for more details." >&2;}
10671 { (exit 77); exit 77; }; }
10674 ac_exeext
=$ac_cv_exeext
10675 echo "$as_me:$LINENO: result: $ac_file" >&5
10676 echo "${ECHO_T}$ac_file" >&6
10678 # Check the compiler produces executables we can run. If not, either
10679 # the compiler is broken, or we cross compile.
10680 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10683 # If not cross compiling, check that we can run a simple program.
10684 if test "$cross_compiling" != yes; then
10685 if { ac_try
='./$ac_file'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10693 if test "$cross_compiling" = maybe
; then
10694 cross_compiling
=yes
10696 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10697 If you meant to cross compile, use \`--host'.
10698 See \`config.log' for more details." >&5
10699 echo "$as_me: error: cannot run C compiled programs.
10700 If you meant to cross compile, use \`--host'.
10701 See \`config.log' for more details." >&2;}
10702 { (exit 1); exit 1; }; }
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10709 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10710 ac_clean_files
=$ac_clean_files_save
10711 # Check the compiler produces executables we can run. If not, either
10712 # the compiler is broken, or we cross compile.
10713 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10715 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10716 echo "${ECHO_T}$cross_compiling" >&6
10718 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10719 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10721 (eval $ac_link) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; then
10725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10727 # work properly (i.e., refer to `conftest.exe'), while it won't with
10729 for ac_file
in conftest.exe conftest conftest.
*; do
10730 test -f "$ac_file" || continue
10732 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10733 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10734 export ac_cv_exeext
10740 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10741 See \`config.log' for more details." >&5
10742 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10743 See \`config.log' for more details." >&2;}
10744 { (exit 1); exit 1; }; }
10747 rm -f conftest
$ac_cv_exeext
10748 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10749 echo "${ECHO_T}$ac_cv_exeext" >&6
10751 rm -f conftest.
$ac_ext
10752 EXEEXT
=$ac_cv_exeext
10754 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10755 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10756 if test "${ac_cv_objext+set}" = set; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 cat >conftest.
$ac_ext <<_ACEOF
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10774 rm -f conftest.o conftest.obj
10775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10776 (eval $ac_compile) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; then
10780 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10782 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10783 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10792 See \`config.log' for more details." >&5
10793 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10794 See \`config.log' for more details." >&2;}
10795 { (exit 1); exit 1; }; }
10798 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10800 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10801 echo "${ECHO_T}$ac_cv_objext" >&6
10802 OBJEXT
=$ac_cv_objext
10804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 cat >conftest.
$ac_ext <<_ACEOF
10812 cat confdefs.h
>>conftest.
$ac_ext
10813 cat >>conftest.
$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10827 rm -f conftest.
$ac_objext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10829 (eval $ac_compile) 2>conftest.er1
10831 grep -v '^ *+' conftest.er1
>conftest.err
10833 cat conftest.err
>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try
='test -s conftest.$ac_objext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_compiler_gnu
=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.
$ac_ext >&5
10855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10856 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10859 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10860 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10861 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10862 ac_test_CFLAGS
=${CFLAGS+set}
10863 ac_save_CFLAGS
=$CFLAGS
10865 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10866 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10867 if test "${ac_cv_prog_cc_g+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 cat >conftest.
$ac_ext <<_ACEOF
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10885 rm -f conftest.
$ac_objext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10887 (eval $ac_compile) 2>conftest.er1
10889 grep -v '^ *+' conftest.er1
>conftest.err
10891 cat conftest.err
>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; } &&
10900 { ac_try
='test -s conftest.$ac_objext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 ac_cv_prog_cc_g
=yes
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.
$ac_ext >&5
10913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10915 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10916 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10917 if test "$ac_test_CFLAGS" = set; then
10918 CFLAGS
=$ac_save_CFLAGS
10919 elif test $ac_cv_prog_cc_g = yes; then
10920 if test "$GCC" = yes; then
10926 if test "$GCC" = yes; then
10932 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10933 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10934 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10935 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 ac_cv_prog_cc_stdc
=no
10939 cat >conftest.
$ac_ext <<_ACEOF
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 #include <stdarg.h>
10947 #include <sys/types.h>
10948 #include <sys/stat.h>
10949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10950 struct buf { int x; };
10951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10952 static char *e (p, i)
10958 static char *f (char * (*g) (char **, int), char **p, ...)
10963 s = g (p, va_arg (v,int));
10968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10969 function prototypes and stuff, but not '\xHH' hex character constants.
10970 These don't provoke an error unfortunately, instead are silently treated
10971 as 'x'. The following induces an error, until -std1 is added to get
10972 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10973 array size at least. It's necessary to write '\x00'==0 to get something
10974 that's true only with -std1. */
10975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10977 int test (int i, double x);
10978 struct s1 {int (*f) (int a);};
10979 struct s2 {int (*f) (double a);};
10980 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10986 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10991 # Don't try gcc -ansi; that turns off useful extensions and
10992 # breaks some systems' header files.
10993 # AIX -qlanglvl=ansi
10994 # Ultrix and OSF/1 -std1
10995 # HP-UX 10.20 and later -Ae
10996 # HP-UX older versions -Aa -D_HPUX_SOURCE
10997 # SVR4 -Xc -D__EXTENSIONS__
10998 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11000 CC
="$ac_save_CC $ac_arg"
11001 rm -f conftest.
$ac_objext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11003 (eval $ac_compile) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; } &&
11016 { ac_try
='test -s conftest.$ac_objext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 ac_cv_prog_cc_stdc
=$ac_arg
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11029 rm -f conftest.err conftest.
$ac_objext
11031 rm -f conftest.
$ac_ext conftest.
$ac_objext
11036 case "x$ac_cv_prog_cc_stdc" in
11038 echo "$as_me:$LINENO: result: none needed" >&5
11039 echo "${ECHO_T}none needed" >&6 ;;
11041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11042 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11043 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11046 # Some people use a C++ compiler to compile C. Since we use `exit',
11047 # in C++ we need to declare it. In case someone uses the same compiler
11048 # for both compiling C and C++ we need to have the C++ compiler decide
11049 # the declaration of exit, since it's the most demanding environment.
11050 cat >conftest.
$ac_ext <<_ACEOF
11051 #ifndef __cplusplus
11055 rm -f conftest.
$ac_objext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11057 (eval $ac_compile) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1
>conftest.err
11061 cat conftest.err
>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11066 (eval $ac_try) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; } &&
11070 { ac_try
='test -s conftest.$ac_objext'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; }; then
11076 for ac_declaration
in \
11078 'extern "C" void std::exit (int) throw (); using std::exit;' \
11079 'extern "C" void std::exit (int); using std::exit;' \
11080 'extern "C" void exit (int) throw ();' \
11081 'extern "C" void exit (int);' \
11084 cat >conftest.
$ac_ext <<_ACEOF
11087 cat confdefs.h
>>conftest.
$ac_ext
11088 cat >>conftest.
$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11091 #include <stdlib.h>
11100 rm -f conftest.
$ac_objext
11101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11102 (eval $ac_compile) 2>conftest.er1
11104 grep -v '^ *+' conftest.er1
>conftest.err
11106 cat conftest.err
>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } &&
11109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; } &&
11115 { ac_try
='test -s conftest.$ac_objext'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11123 echo "$as_me: failed program was:" >&5
11124 sed 's/^/| /' conftest.
$ac_ext >&5
11128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11129 cat >conftest.
$ac_ext <<_ACEOF
11132 cat confdefs.h
>>conftest.
$ac_ext
11133 cat >>conftest.
$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11144 rm -f conftest.
$ac_objext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146 (eval $ac_compile) 2>conftest.er1
11148 grep -v '^ *+' conftest.er1
>conftest.err
11150 cat conftest.err
>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } &&
11153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; } &&
11159 { ac_try
='test -s conftest.$ac_objext'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; }; then
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11174 if test -n "$ac_declaration"; then
11175 echo '#ifdef __cplusplus' >>confdefs.h
11176 echo $ac_declaration >>confdefs.h
11177 echo '#endif' >>confdefs.h
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.
$ac_ext >&5
11185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11187 ac_cpp
='$CPP $CPPFLAGS'
11188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11195 ac_cpp
='$CPP $CPPFLAGS'
11196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11199 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11200 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11201 # On Suns, sometimes $CPP names a directory.
11202 if test -n "$CPP" && test -d "$CPP"; then
11205 if test -z "$CPP"; then
11206 if test "${ac_cv_prog_CPP+set}" = set; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 # Double quotes because CPP needs to be expanded
11210 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11212 ac_preproc_ok
=false
11213 for ac_c_preproc_warn_flag
in '' yes
11215 # Use a header file that comes with gcc, so configuring glibc
11216 # with a fresh cross-compiler works.
11217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11218 # <limits.h> exists even on freestanding compilers.
11219 # On the NeXT, cc -E runs the code through the compiler's parser,
11220 # not just through cpp. "Syntax error" is here to catch this case.
11221 cat >conftest.
$ac_ext <<_ACEOF
11224 cat confdefs.h
>>conftest.
$ac_ext
11225 cat >>conftest.
$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11228 # include <limits.h>
11230 # include <assert.h>
11234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11237 grep -v '^ *+' conftest.er1
>conftest.err
11239 cat conftest.err
>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } >/dev
/null
; then
11242 if test -s conftest.err
; then
11243 ac_cpp_err
=$ac_c_preproc_warn_flag
11244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11251 if test -z "$ac_cpp_err"; then
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.
$ac_ext >&5
11257 # Broken: fails on valid input.
11260 rm -f conftest.err conftest.
$ac_ext
11262 # OK, works on sane cases. Now check whether non-existent headers
11263 # can be detected and how.
11264 cat >conftest.
$ac_ext <<_ACEOF
11267 cat confdefs.h
>>conftest.
$ac_ext
11268 cat >>conftest.
$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 #include <ac_nonexistent.h>
11272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11275 grep -v '^ *+' conftest.er1
>conftest.err
11277 cat conftest.err
>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } >/dev
/null
; then
11280 if test -s conftest.err
; then
11281 ac_cpp_err
=$ac_c_preproc_warn_flag
11282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11289 if test -z "$ac_cpp_err"; then
11290 # Broken: success on invalid input.
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.
$ac_ext >&5
11296 # Passes both tests.
11300 rm -f conftest.err conftest.
$ac_ext
11303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11304 rm -f conftest.err conftest.
$ac_ext
11305 if $ac_preproc_ok; then
11310 ac_cv_prog_CPP
=$CPP
11313 CPP
=$ac_cv_prog_CPP
11315 ac_cv_prog_CPP
=$CPP
11317 echo "$as_me:$LINENO: result: $CPP" >&5
11318 echo "${ECHO_T}$CPP" >&6
11319 ac_preproc_ok
=false
11320 for ac_c_preproc_warn_flag
in '' yes
11322 # Use a header file that comes with gcc, so configuring glibc
11323 # with a fresh cross-compiler works.
11324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11325 # <limits.h> exists even on freestanding compilers.
11326 # On the NeXT, cc -E runs the code through the compiler's parser,
11327 # not just through cpp. "Syntax error" is here to catch this case.
11328 cat >conftest.
$ac_ext <<_ACEOF
11331 cat confdefs.h
>>conftest.
$ac_ext
11332 cat >>conftest.
$ac_ext <<_ACEOF
11333 /* end confdefs.h. */
11335 # include <limits.h>
11337 # include <assert.h>
11341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11344 grep -v '^ *+' conftest.er1
>conftest.err
11346 cat conftest.err
>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } >/dev
/null
; then
11349 if test -s conftest.err
; then
11350 ac_cpp_err
=$ac_c_preproc_warn_flag
11351 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11358 if test -z "$ac_cpp_err"; then
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.
$ac_ext >&5
11364 # Broken: fails on valid input.
11367 rm -f conftest.err conftest.
$ac_ext
11369 # OK, works on sane cases. Now check whether non-existent headers
11370 # can be detected and how.
11371 cat >conftest.
$ac_ext <<_ACEOF
11374 cat confdefs.h
>>conftest.
$ac_ext
11375 cat >>conftest.
$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 #include <ac_nonexistent.h>
11379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11382 grep -v '^ *+' conftest.er1
>conftest.err
11384 cat conftest.err
>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); } >/dev
/null
; then
11387 if test -s conftest.err
; then
11388 ac_cpp_err
=$ac_c_preproc_warn_flag
11389 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11396 if test -z "$ac_cpp_err"; then
11397 # Broken: success on invalid input.
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.
$ac_ext >&5
11403 # Passes both tests.
11407 rm -f conftest.err conftest.
$ac_ext
11410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11411 rm -f conftest.err conftest.
$ac_ext
11412 if $ac_preproc_ok; then
11415 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11416 See \`config.log' for more details." >&5
11417 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11418 See \`config.log' for more details." >&2;}
11419 { (exit 1); exit 1; }; }
11423 ac_cpp
='$CPP $CPPFLAGS'
11424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11429 echo "$as_me:$LINENO: checking for egrep" >&5
11430 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11431 if test "${ac_cv_prog_egrep+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11435 then ac_cv_prog_egrep
='grep -E'
11436 else ac_cv_prog_egrep
='egrep'
11439 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11440 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11441 EGREP
=$ac_cv_prog_egrep
11444 if test $ac_cv_c_compiler_gnu = yes; then
11445 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11446 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11447 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11450 ac_pattern
="Autoconf.*'x'"
11451 cat >conftest.
$ac_ext <<_ACEOF
11454 cat confdefs.h
>>conftest.
$ac_ext
11455 cat >>conftest.
$ac_ext <<_ACEOF
11456 /* end confdefs.h. */
11460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11461 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11462 ac_cv_prog_gcc_traditional
=yes
11464 ac_cv_prog_gcc_traditional
=no
11469 if test $ac_cv_prog_gcc_traditional = no
; then
11470 cat >conftest.
$ac_ext <<_ACEOF
11473 cat confdefs.h
>>conftest.
$ac_ext
11474 cat >>conftest.
$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11476 #include <termio.h>
11479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11480 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11481 ac_cv_prog_gcc_traditional
=yes
11487 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11488 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11489 if test $ac_cv_prog_gcc_traditional = yes; then
11490 CC
="$CC -traditional"
11498 ac_cpp
='$CXXCPP $CPPFLAGS'
11499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11504 CXXFLAGS
=${CXXFLAGS:=}
11506 ac_cpp
='$CXXCPP $CPPFLAGS'
11507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11510 if test -n "$ac_tool_prefix"; then
11511 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11514 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_prog_CXX+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 if test -n "$CXX"; then
11521 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 CXX
=$ac_cv_prog_CXX
11540 if test -n "$CXX"; then
11541 echo "$as_me:$LINENO: result: $CXX" >&5
11542 echo "${ECHO_T}$CXX" >&6
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11548 test -n "$CXX" && break
11551 if test -z "$CXX"; then
11553 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11555 # Extract the first word of "$ac_prog", so it can be a program name with args.
11556 set dummy
$ac_prog; ac_word
=$2
11557 echo "$as_me:$LINENO: checking for $ac_word" >&5
11558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11559 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 if test -n "$ac_ct_CXX"; then
11563 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11566 for as_dir
in $PATH
11569 test -z "$as_dir" && as_dir
=.
11570 for ac_exec_ext
in '' $ac_executable_extensions; do
11571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11572 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11581 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11582 if test -n "$ac_ct_CXX"; then
11583 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11584 echo "${ECHO_T}$ac_ct_CXX" >&6
11586 echo "$as_me:$LINENO: result: no" >&5
11587 echo "${ECHO_T}no" >&6
11590 test -n "$ac_ct_CXX" && break
11592 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11598 # Provide some information about the compiler.
11599 echo "$as_me:$LINENO:" \
11600 "checking for C++ compiler version" >&5
11601 ac_compiler
=`set X $ac_compile; echo $2`
11602 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11603 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }
11607 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11608 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }
11612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11613 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }
11618 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11619 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11620 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 cat >conftest.
$ac_ext <<_ACEOF
11626 cat confdefs.h
>>conftest.
$ac_ext
11627 cat >>conftest.
$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11641 rm -f conftest.
$ac_objext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11643 (eval $ac_compile) 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try
='test -s conftest.$ac_objext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_compiler_gnu
=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.
$ac_ext >&5
11669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11670 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11673 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11674 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11675 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11676 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11677 ac_save_CXXFLAGS
=$CXXFLAGS
11679 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11680 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11681 if test "${ac_cv_prog_cxx_g+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11699 rm -f conftest.
$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11703 grep -v '^ *+' conftest.er1
>conftest.err
11705 cat conftest.err
>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try
='test -s conftest.$ac_objext'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; }; then
11720 ac_cv_prog_cxx_g
=yes
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.
$ac_ext >&5
11725 ac_cv_prog_cxx_g
=no
11727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11729 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11730 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11731 if test "$ac_test_CXXFLAGS" = set; then
11732 CXXFLAGS
=$ac_save_CXXFLAGS
11733 elif test $ac_cv_prog_cxx_g = yes; then
11734 if test "$GXX" = yes; then
11740 if test "$GXX" = yes; then
11746 for ac_declaration
in \
11748 'extern "C" void std::exit (int) throw (); using std::exit;' \
11749 'extern "C" void std::exit (int); using std::exit;' \
11750 'extern "C" void exit (int) throw ();' \
11751 'extern "C" void exit (int);' \
11754 cat >conftest.
$ac_ext <<_ACEOF
11757 cat confdefs.h
>>conftest.
$ac_ext
11758 cat >>conftest.
$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11761 #include <stdlib.h>
11770 rm -f conftest.
$ac_objext
11771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11772 (eval $ac_compile) 2>conftest.er1
11774 grep -v '^ *+' conftest.er1
>conftest.err
11776 cat conftest.err
>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; } &&
11785 { ac_try
='test -s conftest.$ac_objext'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11799 cat >conftest.
$ac_ext <<_ACEOF
11802 cat confdefs.h
>>conftest.
$ac_ext
11803 cat >>conftest.
$ac_ext <<_ACEOF
11804 /* end confdefs.h. */
11814 rm -f conftest.
$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; } &&
11829 { ac_try
='test -s conftest.$ac_objext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11844 if test -n "$ac_declaration"; then
11845 echo '#ifdef __cplusplus' >>confdefs.h
11846 echo $ac_declaration >>confdefs.h
11847 echo '#endif' >>confdefs.h
11851 ac_cpp
='$CXXCPP $CPPFLAGS'
11852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11858 ac_cpp
='$CPP $CPPFLAGS'
11859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11864 if test -n "$ac_tool_prefix"; then
11865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11866 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11867 echo "$as_me:$LINENO: checking for $ac_word" >&5
11868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11869 if test "${ac_cv_prog_RANLIB+set}" = set; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 if test -n "$RANLIB"; then
11873 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11876 for as_dir
in $PATH
11879 test -z "$as_dir" && as_dir
=.
11880 for ac_exec_ext
in '' $ac_executable_extensions; do
11881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 RANLIB
=$ac_cv_prog_RANLIB
11892 if test -n "$RANLIB"; then
11893 echo "$as_me:$LINENO: result: $RANLIB" >&5
11894 echo "${ECHO_T}$RANLIB" >&6
11896 echo "$as_me:$LINENO: result: no" >&5
11897 echo "${ECHO_T}no" >&6
11901 if test -z "$ac_cv_prog_RANLIB"; then
11902 ac_ct_RANLIB
=$RANLIB
11903 # Extract the first word of "ranlib", so it can be a program name with args.
11904 set dummy ranlib
; ac_word
=$2
11905 echo "$as_me:$LINENO: checking for $ac_word" >&5
11906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11907 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 if test -n "$ac_ct_RANLIB"; then
11911 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11914 for as_dir
in $PATH
11917 test -z "$as_dir" && as_dir
=.
11918 for ac_exec_ext
in '' $ac_executable_extensions; do
11919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11920 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11927 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11930 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11931 if test -n "$ac_ct_RANLIB"; then
11932 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11933 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11935 echo "$as_me:$LINENO: result: no" >&5
11936 echo "${ECHO_T}no" >&6
11939 RANLIB
=$ac_ct_RANLIB
11941 RANLIB
="$ac_cv_prog_RANLIB"
11945 # Extract the first word of "ar", so it can be a program name with args.
11946 set dummy
ar; ac_word
=$2
11947 echo "$as_me:$LINENO: checking for $ac_word" >&5
11948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11949 if test "${ac_cv_prog_AR+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 if test -n "$AR"; then
11953 ac_cv_prog_AR
="$AR" # Let the user override the test.
11955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11956 for as_dir
in $PATH
11959 test -z "$as_dir" && as_dir
=.
11960 for ac_exec_ext
in '' $ac_executable_extensions; do
11961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 if test -n "$AR"; then
11973 echo "$as_me:$LINENO: result: $AR" >&5
11974 echo "${ECHO_T}$AR" >&6
11976 echo "$as_me:$LINENO: result: no" >&5
11977 echo "${ECHO_T}no" >&6
11980 if test "x$AR" = "x" ; then
11981 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11982 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11983 { (exit 1); exit 1; }; }
11986 # Find a good install program. We prefer a C program (faster),
11987 # so one script is as good as another. But avoid the broken or
11988 # incompatible versions:
11989 # SysV /etc/install, /usr/sbin/install
11990 # SunOS /usr/etc/install
11991 # IRIX /sbin/install
11993 # AmigaOS /C/install, which installs bootblocks on floppy discs
11994 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11995 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11996 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11997 # OS/2's system install, which has a completely different semantic
11998 # ./install, which can be erroneously created by make from ./install.sh.
11999 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12000 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12001 if test -z "$INSTALL"; then
12002 if test "${ac_cv_path_install+set}" = set; then
12003 echo $ECHO_N "(cached) $ECHO_C" >&6
12005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12006 for as_dir
in $PATH
12009 test -z "$as_dir" && as_dir
=.
12010 # Account for people who put trailing slashes in PATH elements.
12012 .
/ | .
// | /cC
/* | \
12013 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12014 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12017 # OSF1 and SCO ODT 3.0 have their own names for install.
12018 # Don't use installbsd from OSF since it installs stuff as root
12020 for ac_prog
in ginstall scoinst
install; do
12021 for ac_exec_ext
in '' $ac_executable_extensions; do
12022 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12023 if test $ac_prog = install &&
12024 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12025 # AIX install. It has an incompatible calling convention.
12027 elif test $ac_prog = install &&
12028 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12029 # program-specific install script used by HP pwplus--don't use.
12032 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12044 if test "${ac_cv_path_install+set}" = set; then
12045 INSTALL
=$ac_cv_path_install
12047 # As a last resort, use the slow shell script. We don't cache a
12048 # path for INSTALL within a source directory, because that will
12049 # break other packages using the cache if that directory is
12050 # removed, or if the path is relative.
12051 INSTALL
=$ac_install_sh
12054 echo "$as_me:$LINENO: result: $INSTALL" >&5
12055 echo "${ECHO_T}$INSTALL" >&6
12057 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12058 # It thinks the first close brace ends the variable substitution.
12059 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12061 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12063 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12069 ?
:* ) # Drive letter, considered as absolute.
12072 INSTALL
=`pwd`/${INSTALL} ;;
12078 powerpc
-*-darwin* )
12079 INSTALL_PROGRAM
="cp -fp"
12080 INSTALL_DATA
="cp -fp"
12086 # Extract the first word of "strip", so it can be a program name with args.
12087 set dummy strip
; ac_word
=$2
12088 echo "$as_me:$LINENO: checking for $ac_word" >&5
12089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12090 if test "${ac_cv_prog_STRIP+set}" = set; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 if test -n "$STRIP"; then
12094 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12097 for as_dir
in $PATH
12100 test -z "$as_dir" && as_dir
=.
12101 for ac_exec_ext
in '' $ac_executable_extensions; do
12102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12103 ac_cv_prog_STRIP
="strip"
12104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12113 STRIP
=$ac_cv_prog_STRIP
12114 if test -n "$STRIP"; then
12115 echo "$as_me:$LINENO: result: $STRIP" >&5
12116 echo "${ECHO_T}$STRIP" >&6
12118 echo "$as_me:$LINENO: result: no" >&5
12119 echo "${ECHO_T}no" >&6
12123 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12124 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12125 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12130 egrep -s GNU
> /dev
/null
); then
12131 wx_cv_prog_makeisgnu
="yes"
12133 wx_cv_prog_makeisgnu
="no"
12137 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12138 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12140 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12148 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12149 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12150 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12151 if test "${wx_cv_prog_makevpath+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 cat - << EOF > confMake
12161 if test ! -d sub
; then
12164 echo dummy
> sub
/file
12165 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12167 rm -f sub
/file check final_file confMake
12169 if test "$RESULT" = 0; then
12170 wx_cv_prog_makevpath
="yes"
12172 wx_cv_prog_makevpath
="no"
12176 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12177 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12179 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12180 { { echo "$as_me:$LINENO: error:
12181 You need a make-utility that is able to use the variable
12183 If your version of make does not support VPATH correctly,
12184 please install GNU-make (possibly as gmake), and start
12185 configure with the following command:
12186 export MAKE=gmake; ./configure for sh-type shells
12187 setenv MAKE gmake; ./configure for csh-type shells
12188 Also please do remember to use gmake in this case every time
12189 you are trying to compile.
12191 echo "$as_me: error:
12192 You need a make-utility that is able to use the variable
12194 If your version of make does not support VPATH correctly,
12195 please install GNU-make (possibly as gmake), and start
12196 configure with the following command:
12197 export MAKE=gmake; ./configure for sh-type shells
12198 setenv MAKE gmake; ./configure for csh-type shells
12199 Also please do remember to use gmake in this case every time
12200 you are trying to compile.
12202 { (exit 1); exit 1; }; }
12204 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12205 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12207 if test "$LN_S" = "ln -s"; then
12208 echo "$as_me:$LINENO: result: yes" >&5
12209 echo "${ECHO_T}yes" >&6
12211 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12212 echo "${ECHO_T}no, using $LN_S" >&6
12218 *-pc-os2_emx | *-pc-os2-emx )
12219 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12220 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12221 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12222 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 ac_check_lib_save_LIBS
=$LIBS
12226 LIBS
="-lcExt $LIBS"
12227 cat >conftest.
$ac_ext <<_ACEOF
12230 cat confdefs.h
>>conftest.
$ac_ext
12231 cat >>conftest.
$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any gcc2 internal prototype to avoid an error. */
12238 /* We use char because int might match the return type of a gcc2
12239 builtin and then its argument prototype would still apply. */
12249 rm -f conftest.
$ac_objext conftest
$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1
>conftest.err
12255 cat conftest.err
>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try
='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_lib_cExt_drand48
=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_cv_lib_cExt_drand48
=no
12277 rm -f conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 LIBS
=$ac_check_lib_save_LIBS
12281 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12282 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12283 if test $ac_cv_lib_cExt_drand48 = yes; then
12284 LIBS
="$LIBS -lcExt"
12288 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12290 echo "$as_me:$LINENO: checking for gcc version" >&5
12291 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12292 if test "${wx_cv_gccversion+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 cat >conftest.
$ac_ext <<_ACEOF
12299 cat confdefs.h
>>conftest.
$ac_ext
12300 cat >>conftest.
$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12315 rm -f conftest.
$ac_objext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12317 (eval $ac_compile) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; } &&
12330 { ac_try
='test -s conftest.$ac_objext'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12337 cat >conftest.
$ac_ext <<_ACEOF
12340 cat confdefs.h
>>conftest.
$ac_ext
12341 cat >>conftest.
$ac_ext <<_ACEOF
12342 /* end confdefs.h. */
12348 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12349 #error intermediate gcc
12356 rm -f conftest.
$ac_objext
12357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12358 (eval $ac_compile) 2>conftest.er1
12360 grep -v '^ *+' conftest.er1
>conftest.err
12362 cat conftest.err
>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } &&
12365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; } &&
12371 { ac_try
='test -s conftest.$ac_objext'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; }; then
12378 wx_cv_gccversion
=Innotek
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.
$ac_ext >&5
12389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12392 echo "$as_me: failed program was:" >&5
12393 sed 's/^/| /' conftest.
$ac_ext >&5
12400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12403 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12404 echo "${ECHO_T}$wx_cv_gccversion" >&6
12405 if test "$wx_cv_gccversion" = "2"; then
12406 LIBS
="$LIBS -lstdcpp"
12407 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12409 if test "$wx_cv_gccversion" = "3"; then
12410 LIBS
="$LIBS -lstdcxx"
12411 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12413 LIBS
="$LIBS -lstdc++"
12416 if test "$wxUSE_OMF" = "yes"; then
12417 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12425 ac_cpp
='$CXXCPP $CPPFLAGS'
12426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12432 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12433 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12434 if test "${ac_cv_string_strcasecmp+set}" = set; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 cat >conftest.
$ac_ext <<_ACEOF
12441 cat confdefs.h
>>conftest.
$ac_ext
12442 cat >>conftest.
$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12445 #include <string.h>
12451 strcasecmp("foo", "bar");
12457 rm -f conftest.
$ac_objext conftest
$ac_exeext
12458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12459 (eval $ac_link) 2>conftest.er1
12461 grep -v '^ *+' conftest.er1
>conftest.err
12463 cat conftest.err
>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try
='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_string_strcasecmp
=yes
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.
$ac_ext >&5
12483 ac_cv_string_strcasecmp
=no
12486 rm -f conftest.err conftest.
$ac_objext \
12487 conftest
$ac_exeext conftest.
$ac_ext
12490 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12491 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12493 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12494 cat >>confdefs.h
<<\_ACEOF
12495 #define HAVE_STRCASECMP_IN_STRING_H 1
12499 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12500 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12501 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12512 #include <strings.h>
12518 strcasecmp("foo", "bar");
12524 rm -f conftest.
$ac_objext conftest
$ac_exeext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>conftest.er1
12528 grep -v '^ *+' conftest.er1
>conftest.err
12530 cat conftest.err
>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } &&
12533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; } &&
12539 { ac_try
='test -s conftest$ac_exeext'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; }; then
12545 ac_cv_strings_strcasecmp
=yes
12547 echo "$as_me: failed program was:" >&5
12548 sed 's/^/| /' conftest.
$ac_ext >&5
12550 ac_cv_strings_strcasecmp
=no
12553 rm -f conftest.err conftest.
$ac_objext \
12554 conftest
$ac_exeext conftest.
$ac_ext
12557 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12558 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12560 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12561 cat >>confdefs.h
<<\_ACEOF
12562 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12566 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12567 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12568 { (exit 1); exit 1; }; }
12573 ac_cpp
='$CPP $CPPFLAGS'
12574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12582 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12584 if test "${ac_cv_header_stdc+set}" = set; then
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12593 #include <stdlib.h>
12594 #include <stdarg.h>
12595 #include <string.h>
12606 rm -f conftest.
$ac_objext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12608 (eval $ac_compile) 2>conftest.er1
12610 grep -v '^ *+' conftest.er1
>conftest.err
12612 cat conftest.err
>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try
='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_cv_header_stdc
=yes
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12632 ac_cv_header_stdc
=no
12634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 if test $ac_cv_header_stdc = yes; then
12637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12638 cat >conftest.
$ac_ext <<_ACEOF
12641 cat confdefs.h
>>conftest.
$ac_ext
12642 cat >>conftest.
$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <string.h>
12647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12648 $EGREP "memchr" >/dev
/null
2>&1; then
12651 ac_cv_header_stdc
=no
12657 if test $ac_cv_header_stdc = yes; then
12658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12659 cat >conftest.
$ac_ext <<_ACEOF
12662 cat confdefs.h
>>conftest.
$ac_ext
12663 cat >>conftest.
$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665 #include <stdlib.h>
12668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12669 $EGREP "free" >/dev
/null
2>&1; then
12672 ac_cv_header_stdc
=no
12678 if test $ac_cv_header_stdc = yes; then
12679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12680 if test "$cross_compiling" = yes; then
12683 cat >conftest.
$ac_ext <<_ACEOF
12686 cat confdefs.h
>>conftest.
$ac_ext
12687 cat >>conftest.
$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12690 #if ((' ' & 0x0FF) == 0x020)
12691 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12692 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12694 # define ISLOWER(c) \
12695 (('a' <= (c) && (c) <= 'i') \
12696 || ('j' <= (c) && (c) <= 'r') \
12697 || ('s' <= (c) && (c) <= 'z'))
12698 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12701 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12706 for (i = 0; i < 256; i++)
12707 if (XOR (islower (i), ISLOWER (i))
12708 || toupper (i) != TOUPPER (i))
12713 rm -f conftest
$ac_exeext
12714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12715 (eval $ac_link) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; }; then
12726 echo "$as_me: program exited with status $ac_status" >&5
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.
$ac_ext >&5
12730 ( exit $ac_status )
12731 ac_cv_header_stdc
=no
12733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12737 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12738 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12739 if test $ac_cv_header_stdc = yes; then
12741 cat >>confdefs.h
<<\_ACEOF
12742 #define STDC_HEADERS 1
12747 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12757 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12758 inttypes.h stdint.h unistd.h
12760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12761 echo "$as_me:$LINENO: checking for $ac_header" >&5
12762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 cat >conftest.
$ac_ext <<_ACEOF
12769 cat confdefs.h
>>conftest.
$ac_ext
12770 cat >>conftest.
$ac_ext <<_ACEOF
12771 /* end confdefs.h. */
12772 $ac_includes_default
12774 #include <$ac_header>
12776 rm -f conftest.
$ac_objext
12777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12778 (eval $ac_compile) 2>conftest.er1
12780 grep -v '^ *+' conftest.er1
>conftest.err
12782 cat conftest.err
>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); } &&
12785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; } &&
12791 { ac_try
='test -s conftest.$ac_objext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 eval "$as_ac_Header=yes"
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.
$ac_ext >&5
12802 eval "$as_ac_Header=no"
12804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12809 cat >>confdefs.h
<<_ACEOF
12810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12819 for ac_header
in stdlib.h
12821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12823 echo "$as_me:$LINENO: checking for $ac_header" >&5
12824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12826 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12831 # Is the header compilable?
12832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12834 cat >conftest.
$ac_ext <<_ACEOF
12837 cat confdefs.h
>>conftest.
$ac_ext
12838 cat >>conftest.
$ac_ext <<_ACEOF
12839 /* end confdefs.h. */
12840 $ac_includes_default
12841 #include <$ac_header>
12843 rm -f conftest.
$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12847 grep -v '^ *+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try
='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 ac_header_compiler
=yes
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.
$ac_ext >&5
12869 ac_header_compiler
=no
12871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12873 echo "${ECHO_T}$ac_header_compiler" >&6
12875 # Is the header present?
12876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12881 cat confdefs.h
>>conftest.
$ac_ext
12882 cat >>conftest.
$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 #include <$ac_header>
12886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12889 grep -v '^ *+' conftest.er1
>conftest.err
12891 cat conftest.err
>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } >/dev
/null
; then
12894 if test -s conftest.err
; then
12895 ac_cpp_err
=$ac_c_preproc_warn_flag
12896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12903 if test -z "$ac_cpp_err"; then
12904 ac_header_preproc
=yes
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.
$ac_ext >&5
12909 ac_header_preproc
=no
12911 rm -f conftest.err conftest.
$ac_ext
12912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12913 echo "${ECHO_T}$ac_header_preproc" >&6
12915 # So? What about this header?
12916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12922 ac_header_preproc
=yes
12925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12939 ## ----------------------------------------- ##
12940 ## Report this to wx-dev@lists.wxwidgets.org ##
12941 ## ----------------------------------------- ##
12944 sed "s/^/$as_me: WARNING: /" >&2
12947 echo "$as_me:$LINENO: checking for $ac_header" >&5
12948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 eval "$as_ac_Header=\$ac_header_preproc"
12954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12959 cat >>confdefs.h
<<_ACEOF
12960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12968 for ac_header
in malloc.h
12970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12972 echo "$as_me:$LINENO: checking for $ac_header" >&5
12973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12980 # Is the header compilable?
12981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12983 cat >conftest.
$ac_ext <<_ACEOF
12986 cat confdefs.h
>>conftest.
$ac_ext
12987 cat >>conftest.
$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12989 $ac_includes_default
12990 #include <$ac_header>
12992 rm -f conftest.
$ac_objext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12994 (eval $ac_compile) 2>conftest.er1
12996 grep -v '^ *+' conftest.er1
>conftest.err
12998 cat conftest.err
>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } &&
13001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; } &&
13007 { ac_try
='test -s conftest.$ac_objext'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 ac_header_compiler
=yes
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.
$ac_ext >&5
13018 ac_header_compiler
=no
13020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13022 echo "${ECHO_T}$ac_header_compiler" >&6
13024 # Is the header present?
13025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 #include <$ac_header>
13035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13038 grep -v '^ *+' conftest.er1
>conftest.err
13040 cat conftest.err
>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); } >/dev
/null
; then
13043 if test -s conftest.err
; then
13044 ac_cpp_err
=$ac_c_preproc_warn_flag
13045 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13052 if test -z "$ac_cpp_err"; then
13053 ac_header_preproc
=yes
13055 echo "$as_me: failed program was:" >&5
13056 sed 's/^/| /' conftest.
$ac_ext >&5
13058 ac_header_preproc
=no
13060 rm -f conftest.err conftest.
$ac_ext
13061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13062 echo "${ECHO_T}$ac_header_preproc" >&6
13064 # So? What about this header?
13065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13071 ac_header_preproc
=yes
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13088 ## ----------------------------------------- ##
13089 ## Report this to wx-dev@lists.wxwidgets.org ##
13090 ## ----------------------------------------- ##
13093 sed "s/^/$as_me: WARNING: /" >&2
13096 echo "$as_me:$LINENO: checking for $ac_header" >&5
13097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 eval "$as_ac_Header=\$ac_header_preproc"
13103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13108 cat >>confdefs.h
<<_ACEOF
13109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13117 for ac_header
in unistd.h
13119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13121 echo "$as_me:$LINENO: checking for $ac_header" >&5
13122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13129 # Is the header compilable?
13130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13132 cat >conftest.
$ac_ext <<_ACEOF
13135 cat confdefs.h
>>conftest.
$ac_ext
13136 cat >>conftest.
$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138 $ac_includes_default
13139 #include <$ac_header>
13141 rm -f conftest.
$ac_objext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 (eval $ac_compile) 2>conftest.er1
13145 grep -v '^ *+' conftest.er1
>conftest.err
13147 cat conftest.err
>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try
='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 ac_header_compiler
=yes
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.
$ac_ext >&5
13167 ac_header_compiler
=no
13169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13171 echo "${ECHO_T}$ac_header_compiler" >&6
13173 # Is the header present?
13174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13176 cat >conftest.
$ac_ext <<_ACEOF
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <$ac_header>
13184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13187 grep -v '^ *+' conftest.er1
>conftest.err
13189 cat conftest.err
>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } >/dev
/null
; then
13192 if test -s conftest.err
; then
13193 ac_cpp_err
=$ac_c_preproc_warn_flag
13194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13201 if test -z "$ac_cpp_err"; then
13202 ac_header_preproc
=yes
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.
$ac_ext >&5
13207 ac_header_preproc
=no
13209 rm -f conftest.err conftest.
$ac_ext
13210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13211 echo "${ECHO_T}$ac_header_preproc" >&6
13213 # So? What about this header?
13214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13220 ac_header_preproc
=yes
13223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13237 ## ----------------------------------------- ##
13238 ## Report this to wx-dev@lists.wxwidgets.org ##
13239 ## ----------------------------------------- ##
13242 sed "s/^/$as_me: WARNING: /" >&2
13245 echo "$as_me:$LINENO: checking for $ac_header" >&5
13246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 eval "$as_ac_Header=\$ac_header_preproc"
13252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13257 cat >>confdefs.h
<<_ACEOF
13258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13266 for ac_header
in wchar.h
13268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13270 echo "$as_me:$LINENO: checking for $ac_header" >&5
13271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13273 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13278 # Is the header compilable?
13279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13281 cat >conftest.
$ac_ext <<_ACEOF
13284 cat confdefs.h
>>conftest.
$ac_ext
13285 cat >>conftest.
$ac_ext <<_ACEOF
13286 /* end confdefs.h. */
13287 $ac_includes_default
13288 #include <$ac_header>
13290 rm -f conftest.
$ac_objext
13291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13292 (eval $ac_compile) 2>conftest.er1
13294 grep -v '^ *+' conftest.er1
>conftest.err
13296 cat conftest.err
>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } &&
13299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; } &&
13305 { ac_try
='test -s conftest.$ac_objext'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; }; then
13311 ac_header_compiler
=yes
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.
$ac_ext >&5
13316 ac_header_compiler
=no
13318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13320 echo "${ECHO_T}$ac_header_compiler" >&6
13322 # Is the header present?
13323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13325 cat >conftest.
$ac_ext <<_ACEOF
13328 cat confdefs.h
>>conftest.
$ac_ext
13329 cat >>conftest.
$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13331 #include <$ac_header>
13333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13334 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13336 grep -v '^ *+' conftest.er1
>conftest.err
13338 cat conftest.err
>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); } >/dev
/null
; then
13341 if test -s conftest.err
; then
13342 ac_cpp_err
=$ac_c_preproc_warn_flag
13343 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13350 if test -z "$ac_cpp_err"; then
13351 ac_header_preproc
=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 ac_header_preproc
=no
13358 rm -f conftest.err conftest.
$ac_ext
13359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13360 echo "${ECHO_T}$ac_header_preproc" >&6
13362 # So? What about this header?
13363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13369 ac_header_preproc
=yes
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13386 ## ----------------------------------------- ##
13387 ## Report this to wx-dev@lists.wxwidgets.org ##
13388 ## ----------------------------------------- ##
13391 sed "s/^/$as_me: WARNING: /" >&2
13394 echo "$as_me:$LINENO: checking for $ac_header" >&5
13395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 eval "$as_ac_Header=\$ac_header_preproc"
13401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13406 cat >>confdefs.h
<<_ACEOF
13407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13415 if test "$ac_cv_header_wchar_h" != "yes"; then
13417 for ac_header
in wcstr.h
13419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13421 echo "$as_me:$LINENO: checking for $ac_header" >&5
13422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13429 # Is the header compilable?
13430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13432 cat >conftest.
$ac_ext <<_ACEOF
13435 cat confdefs.h
>>conftest.
$ac_ext
13436 cat >>conftest.
$ac_ext <<_ACEOF
13437 /* end confdefs.h. */
13438 $ac_includes_default
13439 #include <$ac_header>
13441 rm -f conftest.
$ac_objext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13443 (eval $ac_compile) 2>conftest.er1
13445 grep -v '^ *+' conftest.er1
>conftest.err
13447 cat conftest.err
>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 ac_header_compiler
=yes
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 ac_header_compiler
=no
13469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13471 echo "${ECHO_T}$ac_header_compiler" >&6
13473 # Is the header present?
13474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13476 cat >conftest.
$ac_ext <<_ACEOF
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 #include <$ac_header>
13484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13487 grep -v '^ *+' conftest.er1
>conftest.err
13489 cat conftest.err
>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } >/dev
/null
; then
13492 if test -s conftest.err
; then
13493 ac_cpp_err
=$ac_c_preproc_warn_flag
13494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13501 if test -z "$ac_cpp_err"; then
13502 ac_header_preproc
=yes
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.
$ac_ext >&5
13507 ac_header_preproc
=no
13509 rm -f conftest.err conftest.
$ac_ext
13510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13511 echo "${ECHO_T}$ac_header_preproc" >&6
13513 # So? What about this header?
13514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13520 ac_header_preproc
=yes
13523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13537 ## ----------------------------------------- ##
13538 ## Report this to wx-dev@lists.wxwidgets.org ##
13539 ## ----------------------------------------- ##
13542 sed "s/^/$as_me: WARNING: /" >&2
13545 echo "$as_me:$LINENO: checking for $ac_header" >&5
13546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 eval "$as_ac_Header=\$ac_header_preproc"
13552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13557 cat >>confdefs.h
<<_ACEOF
13558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13568 for ac_header
in fnmatch.h
13570 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13572 echo "$as_me:$LINENO: checking for $ac_header" >&5
13573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13580 # Is the header compilable?
13581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13583 cat >conftest.
$ac_ext <<_ACEOF
13586 cat confdefs.h
>>conftest.
$ac_ext
13587 cat >>conftest.
$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 $ac_includes_default
13590 #include <$ac_header>
13592 rm -f conftest.
$ac_objext
13593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13594 (eval $ac_compile) 2>conftest.er1
13596 grep -v '^ *+' conftest.er1
>conftest.err
13598 cat conftest.err
>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; } &&
13607 { ac_try
='test -s conftest.$ac_objext'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_header_compiler
=yes
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.
$ac_ext >&5
13618 ac_header_compiler
=no
13620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13622 echo "${ECHO_T}$ac_header_compiler" >&6
13624 # Is the header present?
13625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13627 cat >conftest.
$ac_ext <<_ACEOF
13630 cat confdefs.h
>>conftest.
$ac_ext
13631 cat >>conftest.
$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13633 #include <$ac_header>
13635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13638 grep -v '^ *+' conftest.er1
>conftest.err
13640 cat conftest.err
>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } >/dev
/null
; then
13643 if test -s conftest.err
; then
13644 ac_cpp_err
=$ac_c_preproc_warn_flag
13645 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13652 if test -z "$ac_cpp_err"; then
13653 ac_header_preproc
=yes
13655 echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.
$ac_ext >&5
13658 ac_header_preproc
=no
13660 rm -f conftest.err conftest.
$ac_ext
13661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13662 echo "${ECHO_T}$ac_header_preproc" >&6
13664 # So? What about this header?
13665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13671 ac_header_preproc
=yes
13674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13688 ## ----------------------------------------- ##
13689 ## Report this to wx-dev@lists.wxwidgets.org ##
13690 ## ----------------------------------------- ##
13693 sed "s/^/$as_me: WARNING: /" >&2
13696 echo "$as_me:$LINENO: checking for $ac_header" >&5
13697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13699 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 eval "$as_ac_Header=\$ac_header_preproc"
13703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13708 cat >>confdefs.h
<<_ACEOF
13709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13717 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13719 for ac_func
in fnmatch
13721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13722 echo "$as_me:$LINENO: checking for $ac_func" >&5
13723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13724 if eval "test \"\${$as_ac_var+set}\" = set"; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13735 #define $ac_func innocuous_$ac_func
13737 /* System header to define __stub macros and hopefully few prototypes,
13738 which can conflict with char $ac_func (); below.
13739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13740 <limits.h> exists even on freestanding compilers. */
13743 # include <limits.h>
13745 # include <assert.h>
13750 /* Override any gcc2 internal prototype to avoid an error. */
13755 /* We use char because int might match the return type of a gcc2
13756 builtin and then its argument prototype would still apply. */
13758 /* The GNU C library defines this for functions which it implements
13759 to always fail with ENOSYS. Some functions are actually named
13760 something starting with __ and the normal name is an alias. */
13761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13764 char (*f) () = $ac_func;
13773 return f != $ac_func;
13778 rm -f conftest.
$ac_objext conftest
$ac_exeext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13780 (eval $ac_link) 2>conftest.er1
13782 grep -v '^ *+' conftest.er1
>conftest.err
13784 cat conftest.err
>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try
='test -s conftest$ac_exeext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 eval "$as_ac_var=yes"
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.
$ac_ext >&5
13804 eval "$as_ac_var=no"
13806 rm -f conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13811 if test `eval echo '${'$as_ac_var'}'` = yes; then
13812 cat >>confdefs.h
<<_ACEOF
13813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13822 for ac_header
in langinfo.h
13824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13826 echo "$as_me:$LINENO: checking for $ac_header" >&5
13827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13834 # Is the header compilable?
13835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13837 cat >conftest.
$ac_ext <<_ACEOF
13840 cat confdefs.h
>>conftest.
$ac_ext
13841 cat >>conftest.
$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 $ac_includes_default
13844 #include <$ac_header>
13846 rm -f conftest.
$ac_objext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>conftest.er1
13850 grep -v '^ *+' conftest.er1
>conftest.err
13852 cat conftest.err
>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } &&
13855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; } &&
13861 { ac_try
='test -s conftest.$ac_objext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_header_compiler
=yes
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.
$ac_ext >&5
13872 ac_header_compiler
=no
13874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13876 echo "${ECHO_T}$ac_header_compiler" >&6
13878 # Is the header present?
13879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13881 cat >conftest.
$ac_ext <<_ACEOF
13884 cat confdefs.h
>>conftest.
$ac_ext
13885 cat >>conftest.
$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13887 #include <$ac_header>
13889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13892 grep -v '^ *+' conftest.er1
>conftest.err
13894 cat conftest.err
>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); } >/dev
/null
; then
13897 if test -s conftest.err
; then
13898 ac_cpp_err
=$ac_c_preproc_warn_flag
13899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13906 if test -z "$ac_cpp_err"; then
13907 ac_header_preproc
=yes
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.
$ac_ext >&5
13912 ac_header_preproc
=no
13914 rm -f conftest.err conftest.
$ac_ext
13915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13916 echo "${ECHO_T}$ac_header_preproc" >&6
13918 # So? What about this header?
13919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13925 ac_header_preproc
=yes
13928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13942 ## ----------------------------------------- ##
13943 ## Report this to wx-dev@lists.wxwidgets.org ##
13944 ## ----------------------------------------- ##
13947 sed "s/^/$as_me: WARNING: /" >&2
13950 echo "$as_me:$LINENO: checking for $ac_header" >&5
13951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13953 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 eval "$as_ac_Header=\$ac_header_preproc"
13957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13962 cat >>confdefs.h
<<_ACEOF
13963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13972 *-pc-os2_emx | *-pc-os2-emx )
13973 if test $ac_cv_header_langinfo_h = "yes"; then
13974 LIBS
="$LIBS -lintl"
13979 if test "$wxUSE_GUI" = "yes"; then
13980 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13982 for ac_header
in X
11/Xlib.h
13984 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13986 echo "$as_me:$LINENO: checking for $ac_header" >&5
13987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13994 # Is the header compilable?
13995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13997 cat >conftest.
$ac_ext <<_ACEOF
14000 cat confdefs.h
>>conftest.
$ac_ext
14001 cat >>conftest.
$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 $ac_includes_default
14004 #include <$ac_header>
14006 rm -f conftest.
$ac_objext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14008 (eval $ac_compile) 2>conftest.er1
14010 grep -v '^ *+' conftest.er1
>conftest.err
14012 cat conftest.err
>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try
='test -s conftest.$ac_objext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_header_compiler
=yes
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.
$ac_ext >&5
14032 ac_header_compiler
=no
14034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14036 echo "${ECHO_T}$ac_header_compiler" >&6
14038 # Is the header present?
14039 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14040 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14041 cat >conftest.
$ac_ext <<_ACEOF
14044 cat confdefs.h
>>conftest.
$ac_ext
14045 cat >>conftest.
$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14047 #include <$ac_header>
14049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14052 grep -v '^ *+' conftest.er1
>conftest.err
14054 cat conftest.err
>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } >/dev
/null
; then
14057 if test -s conftest.err
; then
14058 ac_cpp_err
=$ac_c_preproc_warn_flag
14059 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14066 if test -z "$ac_cpp_err"; then
14067 ac_header_preproc
=yes
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 ac_header_preproc
=no
14074 rm -f conftest.err conftest.
$ac_ext
14075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14076 echo "${ECHO_T}$ac_header_preproc" >&6
14078 # So? What about this header?
14079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14085 ac_header_preproc
=yes
14088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14091 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14092 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14095 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14102 ## ----------------------------------------- ##
14103 ## Report this to wx-dev@lists.wxwidgets.org ##
14104 ## ----------------------------------------- ##
14107 sed "s/^/$as_me: WARNING: /" >&2
14110 echo "$as_me:$LINENO: checking for $ac_header" >&5
14111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 eval "$as_ac_Header=\$ac_header_preproc"
14117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14122 cat >>confdefs.h
<<_ACEOF
14123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14131 for ac_header
in X
11/XKBlib.h
14133 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14134 echo "$as_me:$LINENO: checking for $ac_header" >&5
14135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 cat >conftest.
$ac_ext <<_ACEOF
14142 cat confdefs.h
>>conftest.
$ac_ext
14143 cat >>conftest.
$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14146 #if HAVE_X11_XLIB_H
14147 #include <X11/Xlib.h>
14151 #include <$ac_header>
14153 rm -f conftest.
$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest.$ac_objext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 eval "$as_ac_Header=yes"
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 eval "$as_ac_Header=no"
14181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14186 cat >>confdefs.h
<<_ACEOF
14187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14198 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14199 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14200 if test "${ac_cv_c_const+set}" = set; then
14201 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 cat >conftest.
$ac_ext <<_ACEOF
14206 cat confdefs.h
>>conftest.
$ac_ext
14207 cat >>conftest.
$ac_ext <<_ACEOF
14208 /* end confdefs.h. */
14213 /* FIXME: Include the comments suggested by Paul. */
14214 #ifndef __cplusplus
14215 /* Ultrix mips cc rejects this. */
14216 typedef int charset[2];
14218 /* SunOS 4.1.1 cc rejects this. */
14219 char const *const *ccp;
14221 /* NEC SVR4.0.2 mips cc rejects this. */
14222 struct point {int x, y;};
14223 static struct point const zero = {0,0};
14224 /* AIX XL C 1.02.0.0 rejects this.
14225 It does not let you subtract one const X* pointer from another in
14226 an arm of an if-expression whose if-part is not a constant
14228 const char *g = "string";
14229 ccp = &g + (g ? g-g : 0);
14230 /* HPUX 7.0 cc rejects these. */
14233 ccp = (char const *const *) p;
14234 { /* SCO 3.2v4 cc rejects this. */
14236 char const *s = 0 ? (char *) 0 : (char const *) 0;
14240 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14241 int x[] = {25, 17};
14242 const int *foo = &x[0];
14245 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14246 typedef const int *iptr;
14250 { /* AIX XL C 1.02.0.0 rejects this saying
14251 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14252 struct s { int j; const int *ap[3]; };
14253 struct s *b; b->j = 5;
14255 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14256 const int foo = 10;
14264 rm -f conftest.
$ac_objext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14266 (eval $ac_compile) 2>conftest.er1
14268 grep -v '^ *+' conftest.er1
>conftest.err
14270 cat conftest.err
>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } &&
14273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; } &&
14279 { ac_try
='test -s conftest.$ac_objext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14287 echo "$as_me: failed program was:" >&5
14288 sed 's/^/| /' conftest.
$ac_ext >&5
14292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14294 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14295 echo "${ECHO_T}$ac_cv_c_const" >&6
14296 if test $ac_cv_c_const = no
; then
14298 cat >>confdefs.h
<<\_ACEOF
14304 echo "$as_me:$LINENO: checking for inline" >&5
14305 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14306 if test "${ac_cv_c_inline+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 for ac_kw
in inline __inline__ __inline
; do
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 #ifndef __cplusplus
14319 static $ac_kw foo_t static_foo () {return 0; }
14320 $ac_kw foo_t foo () {return 0; }
14324 rm -f conftest.
$ac_objext
14325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14326 (eval $ac_compile) 2>conftest.er1
14328 grep -v '^ *+' conftest.er1
>conftest.err
14330 cat conftest.err
>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } &&
14333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; } &&
14339 { ac_try
='test -s conftest.$ac_objext'
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14341 (eval $ac_try) 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; }; then
14345 ac_cv_c_inline
=$ac_kw; break
14347 echo "$as_me: failed program was:" >&5
14348 sed 's/^/| /' conftest.
$ac_ext >&5
14351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14355 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14356 echo "${ECHO_T}$ac_cv_c_inline" >&6
14359 case $ac_cv_c_inline in
14362 case $ac_cv_c_inline in
14364 *) ac_val
=$ac_cv_c_inline;;
14366 cat >>confdefs.h
<<_ACEOF
14367 #ifndef __cplusplus
14368 #define inline $ac_val
14375 echo "$as_me:$LINENO: checking for char" >&5
14376 echo $ECHO_N "checking for char... $ECHO_C" >&6
14377 if test "${ac_cv_type_char+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 cat >conftest.
$ac_ext <<_ACEOF
14383 cat confdefs.h
>>conftest.
$ac_ext
14384 cat >>conftest.
$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386 $ac_includes_default
14398 rm -f conftest.
$ac_objext
14399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14400 (eval $ac_compile) 2>conftest.er1
14402 grep -v '^ *+' conftest.er1
>conftest.err
14404 cat conftest.err
>&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } &&
14407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; } &&
14413 { ac_try
='test -s conftest.$ac_objext'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; }; then
14419 ac_cv_type_char
=yes
14421 echo "$as_me: failed program was:" >&5
14422 sed 's/^/| /' conftest.
$ac_ext >&5
14426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14428 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14429 echo "${ECHO_T}$ac_cv_type_char" >&6
14431 echo "$as_me:$LINENO: checking size of char" >&5
14432 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14433 if test "${ac_cv_sizeof_char+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 if test "$ac_cv_type_char" = yes; then
14437 # The cast to unsigned long works around a bug in the HP C Compiler
14438 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14439 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14440 # This bug is HP SR number 8606223364.
14441 if test "$cross_compiling" = yes; then
14442 # Depending upon the size, compute the lo and hi bounds.
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 $ac_includes_default
14453 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14460 rm -f conftest.
$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14464 grep -v '^ *+' conftest.er1
>conftest.err
14466 cat conftest.err
>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; } &&
14475 { ac_try
='test -s conftest.$ac_objext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14483 cat >conftest.
$ac_ext <<_ACEOF
14486 cat confdefs.h
>>conftest.
$ac_ext
14487 cat >>conftest.
$ac_ext <<_ACEOF
14488 /* end confdefs.h. */
14489 $ac_includes_default
14493 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14500 rm -f conftest.
$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>conftest.er1
14504 grep -v '^ *+' conftest.er1
>conftest.err
14506 cat conftest.err
>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } &&
14509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_hi
=$ac_mid; break
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 ac_lo
=`expr $ac_mid + 1`
14527 if test $ac_lo -le $ac_mid; then
14531 ac_mid
=`expr 2 '*' $ac_mid + 1`
14533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14536 echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.
$ac_ext >&5
14539 cat >conftest.
$ac_ext <<_ACEOF
14542 cat confdefs.h
>>conftest.
$ac_ext
14543 cat >>conftest.
$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 $ac_includes_default
14549 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14556 rm -f conftest.
$ac_objext
14557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14558 (eval $ac_compile) 2>conftest.er1
14560 grep -v '^ *+' conftest.er1
>conftest.err
14562 cat conftest.err
>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; } &&
14571 { ac_try
='test -s conftest.$ac_objext'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; }; then
14579 cat >conftest.
$ac_ext <<_ACEOF
14582 cat confdefs.h
>>conftest.
$ac_ext
14583 cat >>conftest.
$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14585 $ac_includes_default
14589 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14596 rm -f conftest.
$ac_objext
14597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14598 (eval $ac_compile) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; } &&
14611 { ac_try
='test -s conftest.$ac_objext'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; }; then
14617 ac_lo
=$ac_mid; break
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.
$ac_ext >&5
14622 ac_hi
=`expr '(' $ac_mid ')' - 1`
14623 if test $ac_mid -le $ac_hi; then
14627 ac_mid
=`expr 2 '*' $ac_mid`
14629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.
$ac_ext >&5
14637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14640 # Binary search between lo and hi bounds.
14641 while test "x$ac_lo" != "x$ac_hi"; do
14642 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14643 cat >conftest.
$ac_ext <<_ACEOF
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 $ac_includes_default
14653 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14660 rm -f conftest.
$ac_objext
14661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14662 (eval $ac_compile) 2>conftest.er1
14664 grep -v '^ *+' conftest.er1
>conftest.err
14666 cat conftest.err
>&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); } &&
14669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; } &&
14675 { ac_try
='test -s conftest.$ac_objext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.
$ac_ext >&5
14686 ac_lo
=`expr '(' $ac_mid ')' + 1`
14688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14691 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14692 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14693 See \`config.log' for more details." >&5
14694 echo "$as_me: error: cannot compute sizeof (char), 77
14695 See \`config.log' for more details." >&2;}
14696 { (exit 1); exit 1; }; } ;;
14699 if test "$cross_compiling" = yes; then
14700 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14701 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14702 { (exit 1); exit 1; }; }
14704 cat >conftest.
$ac_ext <<_ACEOF
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14711 long longval () { return (long) (sizeof (char)); }
14712 unsigned long ulongval () { return (long) (sizeof (char)); }
14714 #include <stdlib.h>
14719 FILE *f = fopen ("conftest.val", "w");
14722 if (((long) (sizeof (char))) < 0)
14724 long i = longval ();
14725 if (i != ((long) (sizeof (char))))
14727 fprintf (f, "%ld\n", i);
14731 unsigned long i = ulongval ();
14732 if (i != ((long) (sizeof (char))))
14734 fprintf (f, "%lu\n", i);
14736 exit (ferror (f) || fclose (f) != 0);
14742 rm -f conftest
$ac_exeext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14744 (eval $ac_link) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_cv_sizeof_char
=`cat conftest.val`
14755 echo "$as_me: program exited with status $ac_status" >&5
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.
$ac_ext >&5
14759 ( exit $ac_status )
14760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14761 See \`config.log' for more details." >&5
14762 echo "$as_me: error: cannot compute sizeof (char), 77
14763 See \`config.log' for more details." >&2;}
14764 { (exit 1); exit 1; }; }
14766 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14771 ac_cv_sizeof_char
=0
14774 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14775 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14776 cat >>confdefs.h
<<_ACEOF
14777 #define SIZEOF_CHAR $ac_cv_sizeof_char
14781 echo "$as_me:$LINENO: checking for short" >&5
14782 echo $ECHO_N "checking for short... $ECHO_C" >&6
14783 if test "${ac_cv_type_short+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14798 if (sizeof (short))
14804 rm -f conftest.
$ac_objext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>conftest.er1
14808 grep -v '^ *+' conftest.er1
>conftest.err
14810 cat conftest.err
>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try
='test -s conftest.$ac_objext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_type_short
=yes
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14830 ac_cv_type_short
=no
14832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14834 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14835 echo "${ECHO_T}$ac_cv_type_short" >&6
14837 echo "$as_me:$LINENO: checking size of short" >&5
14838 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14839 if test "${ac_cv_sizeof_short+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 if test "$ac_cv_type_short" = yes; then
14843 # The cast to unsigned long works around a bug in the HP C Compiler
14844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14846 # This bug is HP SR number 8606223364.
14847 if test "$cross_compiling" = yes; then
14848 # Depending upon the size, compute the lo and hi bounds.
14849 cat >conftest.
$ac_ext <<_ACEOF
14852 cat confdefs.h
>>conftest.
$ac_ext
14853 cat >>conftest.
$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14855 $ac_includes_default
14859 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14866 rm -f conftest.
$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>conftest.er1
14870 grep -v '^ *+' conftest.er1
>conftest.err
14872 cat conftest.err
>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14889 cat >conftest.
$ac_ext <<_ACEOF
14892 cat confdefs.h
>>conftest.
$ac_ext
14893 cat >>conftest.
$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14895 $ac_includes_default
14899 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14906 rm -f conftest.
$ac_objext
14907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14908 (eval $ac_compile) 2>conftest.er1
14910 grep -v '^ *+' conftest.er1
>conftest.err
14912 cat conftest.err
>&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); } &&
14915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; } &&
14921 { ac_try
='test -s conftest.$ac_objext'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; }; then
14927 ac_hi
=$ac_mid; break
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 ac_lo
=`expr $ac_mid + 1`
14933 if test $ac_lo -le $ac_mid; then
14937 ac_mid
=`expr 2 '*' $ac_mid + 1`
14939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14945 cat >conftest.
$ac_ext <<_ACEOF
14948 cat confdefs.h
>>conftest.
$ac_ext
14949 cat >>conftest.
$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14951 $ac_includes_default
14955 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14962 rm -f conftest.
$ac_objext
14963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14964 (eval $ac_compile) 2>conftest.er1
14966 grep -v '^ *+' conftest.er1
>conftest.err
14968 cat conftest.err
>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try
='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14995 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15002 rm -f conftest.
$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15006 grep -v '^ *+' conftest.er1
>conftest.err
15008 cat conftest.err
>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; } &&
15017 { ac_try
='test -s conftest.$ac_objext'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; }; then
15023 ac_lo
=$ac_mid; break
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.
$ac_ext >&5
15028 ac_hi
=`expr '(' $ac_mid ')' - 1`
15029 if test $ac_mid -le $ac_hi; then
15033 ac_mid
=`expr 2 '*' $ac_mid`
15035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.
$ac_ext >&5
15043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15046 # Binary search between lo and hi bounds.
15047 while test "x$ac_lo" != "x$ac_hi"; do
15048 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15059 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15066 rm -f conftest.
$ac_objext
15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068 (eval $ac_compile) 2>conftest.er1
15070 grep -v '^ *+' conftest.er1
>conftest.err
15072 cat conftest.err
>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); } &&
15075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; } &&
15081 { ac_try
='test -s conftest.$ac_objext'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; }; then
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.
$ac_ext >&5
15092 ac_lo
=`expr '(' $ac_mid ')' + 1`
15094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15097 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15098 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15099 See \`config.log' for more details." >&5
15100 echo "$as_me: error: cannot compute sizeof (short), 77
15101 See \`config.log' for more details." >&2;}
15102 { (exit 1); exit 1; }; } ;;
15105 if test "$cross_compiling" = yes; then
15106 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15107 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15108 { (exit 1); exit 1; }; }
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15117 long longval () { return (long) (sizeof (short)); }
15118 unsigned long ulongval () { return (long) (sizeof (short)); }
15120 #include <stdlib.h>
15125 FILE *f = fopen ("conftest.val", "w");
15128 if (((long) (sizeof (short))) < 0)
15130 long i = longval ();
15131 if (i != ((long) (sizeof (short))))
15133 fprintf (f, "%ld\n", i);
15137 unsigned long i = ulongval ();
15138 if (i != ((long) (sizeof (short))))
15140 fprintf (f, "%lu\n", i);
15142 exit (ferror (f) || fclose (f) != 0);
15148 rm -f conftest
$ac_exeext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15150 (eval $ac_link) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 ac_cv_sizeof_short
=`cat conftest.val`
15161 echo "$as_me: program exited with status $ac_status" >&5
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.
$ac_ext >&5
15165 ( exit $ac_status )
15166 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15167 See \`config.log' for more details." >&5
15168 echo "$as_me: error: cannot compute sizeof (short), 77
15169 See \`config.log' for more details." >&2;}
15170 { (exit 1); exit 1; }; }
15172 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15177 ac_cv_sizeof_short
=0
15180 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15181 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15182 cat >>confdefs.h
<<_ACEOF
15183 #define SIZEOF_SHORT $ac_cv_sizeof_short
15187 echo "$as_me:$LINENO: checking for void *" >&5
15188 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15189 if test "${ac_cv_type_void_p+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 cat >conftest.
$ac_ext <<_ACEOF
15195 cat confdefs.h
>>conftest.
$ac_ext
15196 cat >>conftest.
$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15198 $ac_includes_default
15204 if (sizeof (void *))
15210 rm -f conftest.
$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>conftest.er1
15214 grep -v '^ *+' conftest.er1
>conftest.err
15216 cat conftest.err
>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } &&
15219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; } &&
15225 { ac_try
='test -s conftest.$ac_objext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_cv_type_void_p
=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15236 ac_cv_type_void_p
=no
15238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15240 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15241 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15243 echo "$as_me:$LINENO: checking size of void *" >&5
15244 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15245 if test "${ac_cv_sizeof_void_p+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 if test "$ac_cv_type_void_p" = yes; then
15249 # The cast to unsigned long works around a bug in the HP C Compiler
15250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15252 # This bug is HP SR number 8606223364.
15253 if test "$cross_compiling" = yes; then
15254 # Depending upon the size, compute the lo and hi bounds.
15255 cat >conftest.
$ac_ext <<_ACEOF
15258 cat confdefs.h
>>conftest.
$ac_ext
15259 cat >>conftest.
$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261 $ac_includes_default
15265 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15272 rm -f conftest.
$ac_objext
15273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15274 (eval $ac_compile) 2>conftest.er1
15276 grep -v '^ *+' conftest.er1
>conftest.err
15278 cat conftest.err
>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } &&
15281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; } &&
15287 { ac_try
='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15295 cat >conftest.
$ac_ext <<_ACEOF
15298 cat confdefs.h
>>conftest.
$ac_ext
15299 cat >>conftest.
$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301 $ac_includes_default
15305 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15312 rm -f conftest.
$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try
='test -s conftest.$ac_objext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_hi
=$ac_mid; break
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.
$ac_ext >&5
15338 ac_lo
=`expr $ac_mid + 1`
15339 if test $ac_lo -le $ac_mid; then
15343 ac_mid
=`expr 2 '*' $ac_mid + 1`
15345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15348 echo "$as_me: failed program was:" >&5
15349 sed 's/^/| /' conftest.
$ac_ext >&5
15351 cat >conftest.
$ac_ext <<_ACEOF
15354 cat confdefs.h
>>conftest.
$ac_ext
15355 cat >>conftest.
$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15357 $ac_includes_default
15361 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15368 rm -f conftest.
$ac_objext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15370 (eval $ac_compile) 2>conftest.er1
15372 grep -v '^ *+' conftest.er1
>conftest.err
15374 cat conftest.err
>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try
='test -s conftest.$ac_objext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15391 cat >conftest.
$ac_ext <<_ACEOF
15394 cat confdefs.h
>>conftest.
$ac_ext
15395 cat >>conftest.
$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397 $ac_includes_default
15401 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15408 rm -f conftest.
$ac_objext
15409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15410 (eval $ac_compile) 2>conftest.er1
15412 grep -v '^ *+' conftest.er1
>conftest.err
15414 cat conftest.err
>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); } &&
15417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try
='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_lo
=$ac_mid; break
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.
$ac_ext >&5
15434 ac_hi
=`expr '(' $ac_mid ')' - 1`
15435 if test $ac_mid -le $ac_hi; then
15439 ac_mid
=`expr 2 '*' $ac_mid`
15441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15452 # Binary search between lo and hi bounds.
15453 while test "x$ac_lo" != "x$ac_hi"; do
15454 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15455 cat >conftest.
$ac_ext <<_ACEOF
15458 cat confdefs.h
>>conftest.
$ac_ext
15459 cat >>conftest.
$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461 $ac_includes_default
15465 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15472 rm -f conftest.
$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15476 grep -v '^ *+' conftest.er1
>conftest.err
15478 cat conftest.err
>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try
='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.
$ac_ext >&5
15498 ac_lo
=`expr '(' $ac_mid ')' + 1`
15500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15503 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15504 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15505 See \`config.log' for more details." >&5
15506 echo "$as_me: error: cannot compute sizeof (void *), 77
15507 See \`config.log' for more details." >&2;}
15508 { (exit 1); exit 1; }; } ;;
15511 if test "$cross_compiling" = yes; then
15512 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15513 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15514 { (exit 1); exit 1; }; }
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 long longval () { return (long) (sizeof (void *)); }
15524 unsigned long ulongval () { return (long) (sizeof (void *)); }
15526 #include <stdlib.h>
15531 FILE *f = fopen ("conftest.val", "w");
15534 if (((long) (sizeof (void *))) < 0)
15536 long i = longval ();
15537 if (i != ((long) (sizeof (void *))))
15539 fprintf (f, "%ld\n", i);
15543 unsigned long i = ulongval ();
15544 if (i != ((long) (sizeof (void *))))
15546 fprintf (f, "%lu\n", i);
15548 exit (ferror (f) || fclose (f) != 0);
15554 rm -f conftest
$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 ac_cv_sizeof_void_p
=`cat conftest.val`
15567 echo "$as_me: program exited with status $ac_status" >&5
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 ( exit $ac_status )
15572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15573 See \`config.log' for more details." >&5
15574 echo "$as_me: error: cannot compute sizeof (void *), 77
15575 See \`config.log' for more details." >&2;}
15576 { (exit 1); exit 1; }; }
15578 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15583 ac_cv_sizeof_void_p
=0
15586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15587 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15588 cat >>confdefs.h
<<_ACEOF
15589 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15593 echo "$as_me:$LINENO: checking for int" >&5
15594 echo $ECHO_N "checking for int... $ECHO_C" >&6
15595 if test "${ac_cv_type_int+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 cat >conftest.
$ac_ext <<_ACEOF
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604 $ac_includes_default
15616 rm -f conftest.
$ac_objext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15618 (eval $ac_compile) 2>conftest.er1
15620 grep -v '^ *+' conftest.er1
>conftest.err
15622 cat conftest.err
>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try
='test -s conftest.$ac_objext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.
$ac_ext >&5
15644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15646 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15647 echo "${ECHO_T}$ac_cv_type_int" >&6
15649 echo "$as_me:$LINENO: checking size of int" >&5
15650 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15651 if test "${ac_cv_sizeof_int+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 if test "$ac_cv_type_int" = yes; then
15655 # The cast to unsigned long works around a bug in the HP C Compiler
15656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15658 # This bug is HP SR number 8606223364.
15659 if test "$cross_compiling" = yes; then
15660 # Depending upon the size, compute the lo and hi bounds.
15661 cat >conftest.
$ac_ext <<_ACEOF
15664 cat confdefs.h
>>conftest.
$ac_ext
15665 cat >>conftest.
$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15667 $ac_includes_default
15671 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15678 rm -f conftest.
$ac_objext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15680 (eval $ac_compile) 2>conftest.er1
15682 grep -v '^ *+' conftest.er1
>conftest.err
15684 cat conftest.err
>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } &&
15687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; } &&
15693 { ac_try
='test -s conftest.$ac_objext'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; }; then
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 $ac_includes_default
15711 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15718 rm -f conftest.
$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>conftest.er1
15722 grep -v '^ *+' conftest.er1
>conftest.err
15724 cat conftest.err
>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try
='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_hi
=$ac_mid; break
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.
$ac_ext >&5
15744 ac_lo
=`expr $ac_mid + 1`
15745 if test $ac_lo -le $ac_mid; then
15749 ac_mid
=`expr 2 '*' $ac_mid + 1`
15751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.
$ac_ext >&5
15757 cat >conftest.
$ac_ext <<_ACEOF
15760 cat confdefs.h
>>conftest.
$ac_ext
15761 cat >>conftest.
$ac_ext <<_ACEOF
15762 /* end confdefs.h. */
15763 $ac_includes_default
15767 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try
='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15797 cat >conftest.
$ac_ext <<_ACEOF
15800 cat confdefs.h
>>conftest.
$ac_ext
15801 cat >>conftest.
$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 $ac_includes_default
15807 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; } &&
15829 { ac_try
='test -s conftest.$ac_objext'
15830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 (eval $ac_try) 2>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); }; }; then
15835 ac_lo
=$ac_mid; break
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 ac_hi
=`expr '(' $ac_mid ')' - 1`
15841 if test $ac_mid -le $ac_hi; then
15845 ac_mid
=`expr 2 '*' $ac_mid`
15847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15858 # Binary search between lo and hi bounds.
15859 while test "x$ac_lo" != "x$ac_hi"; do
15860 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15861 cat >conftest.
$ac_ext <<_ACEOF
15864 cat confdefs.h
>>conftest.
$ac_ext
15865 cat >>conftest.
$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 $ac_includes_default
15871 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15878 rm -f conftest.
$ac_objext
15879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15880 (eval $ac_compile) 2>conftest.er1
15882 grep -v '^ *+' conftest.er1
>conftest.err
15884 cat conftest.err
>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try
='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.
$ac_ext >&5
15904 ac_lo
=`expr '(' $ac_mid ')' + 1`
15906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15909 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15910 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15911 See \`config.log' for more details." >&5
15912 echo "$as_me: error: cannot compute sizeof (int), 77
15913 See \`config.log' for more details." >&2;}
15914 { (exit 1); exit 1; }; } ;;
15917 if test "$cross_compiling" = yes; then
15918 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15919 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15920 { (exit 1); exit 1; }; }
15922 cat >conftest.
$ac_ext <<_ACEOF
15925 cat confdefs.h
>>conftest.
$ac_ext
15926 cat >>conftest.
$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15928 $ac_includes_default
15929 long longval () { return (long) (sizeof (int)); }
15930 unsigned long ulongval () { return (long) (sizeof (int)); }
15932 #include <stdlib.h>
15937 FILE *f = fopen ("conftest.val", "w");
15940 if (((long) (sizeof (int))) < 0)
15942 long i = longval ();
15943 if (i != ((long) (sizeof (int))))
15945 fprintf (f, "%ld\n", i);
15949 unsigned long i = ulongval ();
15950 if (i != ((long) (sizeof (int))))
15952 fprintf (f, "%lu\n", i);
15954 exit (ferror (f) || fclose (f) != 0);
15960 rm -f conftest
$ac_exeext
15961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15962 (eval $ac_link) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; }; then
15971 ac_cv_sizeof_int
=`cat conftest.val`
15973 echo "$as_me: program exited with status $ac_status" >&5
15974 echo "$as_me: failed program was:" >&5
15975 sed 's/^/| /' conftest.
$ac_ext >&5
15977 ( exit $ac_status )
15978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15979 See \`config.log' for more details." >&5
15980 echo "$as_me: error: cannot compute sizeof (int), 77
15981 See \`config.log' for more details." >&2;}
15982 { (exit 1); exit 1; }; }
15984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15992 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15994 cat >>confdefs.h
<<_ACEOF
15995 #define SIZEOF_INT $ac_cv_sizeof_int
15999 echo "$as_me:$LINENO: checking for long" >&5
16000 echo $ECHO_N "checking for long... $ECHO_C" >&6
16001 if test "${ac_cv_type_long+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 cat >conftest.
$ac_ext <<_ACEOF
16007 cat confdefs.h
>>conftest.
$ac_ext
16008 cat >>conftest.
$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16010 $ac_includes_default
16022 rm -f conftest.
$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16026 grep -v '^ *+' conftest.er1
>conftest.err
16028 cat conftest.err
>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; } &&
16037 { ac_try
='test -s conftest.$ac_objext'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; }; then
16043 ac_cv_type_long
=yes
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.
$ac_ext >&5
16050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16052 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16053 echo "${ECHO_T}$ac_cv_type_long" >&6
16055 echo "$as_me:$LINENO: checking size of long" >&5
16056 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16057 if test "${ac_cv_sizeof_long+set}" = set; then
16058 echo $ECHO_N "(cached) $ECHO_C" >&6
16060 if test "$ac_cv_type_long" = yes; then
16061 # The cast to unsigned long works around a bug in the HP C Compiler
16062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16064 # This bug is HP SR number 8606223364.
16065 if test "$cross_compiling" = yes; then
16066 # Depending upon the size, compute the lo and hi bounds.
16067 cat >conftest.
$ac_ext <<_ACEOF
16070 cat confdefs.h
>>conftest.
$ac_ext
16071 cat >>conftest.
$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073 $ac_includes_default
16077 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16084 rm -f conftest.
$ac_objext
16085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16086 (eval $ac_compile) 2>conftest.er1
16088 grep -v '^ *+' conftest.er1
>conftest.err
16090 cat conftest.err
>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; } &&
16099 { ac_try
='test -s conftest.$ac_objext'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; }; then
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 $ac_includes_default
16117 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16124 rm -f conftest.
$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16135 (eval $ac_try) 2>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); }; } &&
16139 { ac_try
='test -s conftest.$ac_objext'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; }; then
16145 ac_hi
=$ac_mid; break
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.
$ac_ext >&5
16150 ac_lo
=`expr $ac_mid + 1`
16151 if test $ac_lo -le $ac_mid; then
16155 ac_mid
=`expr 2 '*' $ac_mid + 1`
16157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16160 echo "$as_me: failed program was:" >&5
16161 sed 's/^/| /' conftest.
$ac_ext >&5
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16173 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16180 rm -f conftest.
$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>conftest.er1
16184 grep -v '^ *+' conftest.er1
>conftest.err
16186 cat conftest.err
>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try
='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16203 cat >conftest.
$ac_ext <<_ACEOF
16206 cat confdefs.h
>>conftest.
$ac_ext
16207 cat >>conftest.
$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16209 $ac_includes_default
16213 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16220 rm -f conftest.
$ac_objext
16221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16222 (eval $ac_compile) 2>conftest.er1
16224 grep -v '^ *+' conftest.er1
>conftest.err
16226 cat conftest.err
>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } &&
16229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try
='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 ac_lo
=$ac_mid; break
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.
$ac_ext >&5
16246 ac_hi
=`expr '(' $ac_mid ')' - 1`
16247 if test $ac_mid -le $ac_hi; then
16251 ac_mid
=`expr 2 '*' $ac_mid`
16253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16264 # Binary search between lo and hi bounds.
16265 while test "x$ac_lo" != "x$ac_hi"; do
16266 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16267 cat >conftest.
$ac_ext <<_ACEOF
16270 cat confdefs.h
>>conftest.
$ac_ext
16271 cat >>conftest.
$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16273 $ac_includes_default
16277 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16284 rm -f conftest.
$ac_objext
16285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16286 (eval $ac_compile) 2>conftest.er1
16288 grep -v '^ *+' conftest.er1
>conftest.err
16290 cat conftest.err
>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } &&
16293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; } &&
16299 { ac_try
='test -s conftest.$ac_objext'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; }; then
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.
$ac_ext >&5
16310 ac_lo
=`expr '(' $ac_mid ')' + 1`
16312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16315 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16316 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16317 See \`config.log' for more details." >&5
16318 echo "$as_me: error: cannot compute sizeof (long), 77
16319 See \`config.log' for more details." >&2;}
16320 { (exit 1); exit 1; }; } ;;
16323 if test "$cross_compiling" = yes; then
16324 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16325 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16326 { (exit 1); exit 1; }; }
16328 cat >conftest.
$ac_ext <<_ACEOF
16331 cat confdefs.h
>>conftest.
$ac_ext
16332 cat >>conftest.
$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 $ac_includes_default
16335 long longval () { return (long) (sizeof (long)); }
16336 unsigned long ulongval () { return (long) (sizeof (long)); }
16338 #include <stdlib.h>
16343 FILE *f = fopen ("conftest.val", "w");
16346 if (((long) (sizeof (long))) < 0)
16348 long i = longval ();
16349 if (i != ((long) (sizeof (long))))
16351 fprintf (f, "%ld\n", i);
16355 unsigned long i = ulongval ();
16356 if (i != ((long) (sizeof (long))))
16358 fprintf (f, "%lu\n", i);
16360 exit (ferror (f) || fclose (f) != 0);
16366 rm -f conftest
$ac_exeext
16367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16368 (eval $ac_link) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 ac_cv_sizeof_long
=`cat conftest.val`
16379 echo "$as_me: program exited with status $ac_status" >&5
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.
$ac_ext >&5
16383 ( exit $ac_status )
16384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16385 See \`config.log' for more details." >&5
16386 echo "$as_me: error: cannot compute sizeof (long), 77
16387 See \`config.log' for more details." >&2;}
16388 { (exit 1); exit 1; }; }
16390 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16395 ac_cv_sizeof_long
=0
16398 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16399 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16400 cat >>confdefs.h
<<_ACEOF
16401 #define SIZEOF_LONG $ac_cv_sizeof_long
16405 echo "$as_me:$LINENO: checking for size_t" >&5
16406 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16407 if test "${ac_cv_type_size_t+set}" = set; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 cat >conftest.
$ac_ext <<_ACEOF
16413 cat confdefs.h
>>conftest.
$ac_ext
16414 cat >>conftest.
$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 $ac_includes_default
16422 if (sizeof (size_t))
16428 rm -f conftest.
$ac_objext
16429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16430 (eval $ac_compile) 2>conftest.er1
16432 grep -v '^ *+' conftest.er1
>conftest.err
16434 cat conftest.err
>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; } &&
16443 { ac_try
='test -s conftest.$ac_objext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_cv_type_size_t
=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16454 ac_cv_type_size_t
=no
16456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16458 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16459 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16461 echo "$as_me:$LINENO: checking size of size_t" >&5
16462 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16463 if test "${ac_cv_sizeof_size_t+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 if test "$ac_cv_type_size_t" = yes; then
16467 # The cast to unsigned long works around a bug in the HP C Compiler
16468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16470 # This bug is HP SR number 8606223364.
16471 if test "$cross_compiling" = yes; then
16472 # Depending upon the size, compute the lo and hi bounds.
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 $ac_includes_default
16483 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16490 rm -f conftest.
$ac_objext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16492 (eval $ac_compile) 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16523 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16530 rm -f conftest.
$ac_objext
16531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16532 (eval $ac_compile) 2>conftest.er1
16534 grep -v '^ *+' conftest.er1
>conftest.err
16536 cat conftest.err
>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } &&
16539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; } &&
16545 { ac_try
='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 ac_hi
=$ac_mid; break
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16556 ac_lo
=`expr $ac_mid + 1`
16557 if test $ac_lo -le $ac_mid; then
16561 ac_mid
=`expr 2 '*' $ac_mid + 1`
16563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 cat >conftest.
$ac_ext <<_ACEOF
16572 cat confdefs.h
>>conftest.
$ac_ext
16573 cat >>conftest.
$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 $ac_includes_default
16579 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16586 rm -f conftest.
$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; } &&
16601 { ac_try
='test -s conftest.$ac_objext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16609 cat >conftest.
$ac_ext <<_ACEOF
16612 cat confdefs.h
>>conftest.
$ac_ext
16613 cat >>conftest.
$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615 $ac_includes_default
16619 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16626 rm -f conftest.
$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>conftest.er1
16630 grep -v '^ *+' conftest.er1
>conftest.err
16632 cat conftest.err
>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } &&
16635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try
='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 ac_lo
=$ac_mid; break
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.
$ac_ext >&5
16652 ac_hi
=`expr '(' $ac_mid ')' - 1`
16653 if test $ac_mid -le $ac_hi; then
16657 ac_mid
=`expr 2 '*' $ac_mid`
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16670 # Binary search between lo and hi bounds.
16671 while test "x$ac_lo" != "x$ac_hi"; do
16672 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16673 cat >conftest.
$ac_ext <<_ACEOF
16676 cat confdefs.h
>>conftest.
$ac_ext
16677 cat >>conftest.
$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16683 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16690 rm -f conftest.
$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>conftest.er1
16694 grep -v '^ *+' conftest.er1
>conftest.err
16696 cat conftest.err
>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try
='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 ac_lo
=`expr '(' $ac_mid ')' + 1`
16718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16721 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16722 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16723 See \`config.log' for more details." >&5
16724 echo "$as_me: error: cannot compute sizeof (size_t), 77
16725 See \`config.log' for more details." >&2;}
16726 { (exit 1); exit 1; }; } ;;
16729 if test "$cross_compiling" = yes; then
16730 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16731 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16732 { (exit 1); exit 1; }; }
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16741 long longval () { return (long) (sizeof (size_t)); }
16742 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16744 #include <stdlib.h>
16749 FILE *f = fopen ("conftest.val", "w");
16752 if (((long) (sizeof (size_t))) < 0)
16754 long i = longval ();
16755 if (i != ((long) (sizeof (size_t))))
16757 fprintf (f, "%ld\n", i);
16761 unsigned long i = ulongval ();
16762 if (i != ((long) (sizeof (size_t))))
16764 fprintf (f, "%lu\n", i);
16766 exit (ferror (f) || fclose (f) != 0);
16772 rm -f conftest
$ac_exeext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16774 (eval $ac_link) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 ac_cv_sizeof_size_t
=`cat conftest.val`
16785 echo "$as_me: program exited with status $ac_status" >&5
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.
$ac_ext >&5
16789 ( exit $ac_status )
16790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16791 See \`config.log' for more details." >&5
16792 echo "$as_me: error: cannot compute sizeof (size_t), 77
16793 See \`config.log' for more details." >&2;}
16794 { (exit 1); exit 1; }; }
16796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16801 ac_cv_sizeof_size_t
=0
16804 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16805 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16806 cat >>confdefs.h
<<_ACEOF
16807 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16814 echo "$as_me:$LINENO: checking for long long" >&5
16815 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16816 if test "${ac_cv_type_long_long+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 cat >conftest.
$ac_ext <<_ACEOF
16822 cat confdefs.h
>>conftest.
$ac_ext
16823 cat >>conftest.
$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16829 if ((long long *) 0)
16831 if (sizeof (long long))
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_type_long_long
=yes
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_cv_type_long_long
=no
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16868 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16870 echo "$as_me:$LINENO: checking size of long long" >&5
16871 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16872 if test "${ac_cv_sizeof_long_long+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 if test "$ac_cv_type_long_long" = yes; then
16876 # The cast to unsigned long works around a bug in the HP C Compiler
16877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16879 # This bug is HP SR number 8606223364.
16880 if test "$cross_compiling" = yes; then
16881 # Depending upon the size, compute the lo and hi bounds.
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16892 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16899 rm -f conftest.
$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try
='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16922 cat >conftest.
$ac_ext <<_ACEOF
16925 cat confdefs.h
>>conftest.
$ac_ext
16926 cat >>conftest.
$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 $ac_includes_default
16932 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16939 rm -f conftest.
$ac_objext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16941 (eval $ac_compile) 2>conftest.er1
16943 grep -v '^ *+' conftest.er1
>conftest.err
16945 cat conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try
='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_hi
=$ac_mid; break
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_lo
=`expr $ac_mid + 1`
16966 if test $ac_lo -le $ac_mid; then
16970 ac_mid
=`expr 2 '*' $ac_mid + 1`
16972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16978 cat >conftest.
$ac_ext <<_ACEOF
16981 cat confdefs.h
>>conftest.
$ac_ext
16982 cat >>conftest.
$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 $ac_includes_default
16988 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16995 rm -f conftest.
$ac_objext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16997 (eval $ac_compile) 2>conftest.er1
16999 grep -v '^ *+' conftest.er1
>conftest.err
17001 cat conftest.err
>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } &&
17004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; } &&
17010 { ac_try
='test -s conftest.$ac_objext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17018 cat >conftest.
$ac_ext <<_ACEOF
17021 cat confdefs.h
>>conftest.
$ac_ext
17022 cat >>conftest.
$ac_ext <<_ACEOF
17023 /* end confdefs.h. */
17024 $ac_includes_default
17028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17035 rm -f conftest.
$ac_objext
17036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17037 (eval $ac_compile) 2>conftest.er1
17039 grep -v '^ *+' conftest.er1
>conftest.err
17041 cat conftest.err
>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } &&
17044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try
='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 ac_lo
=$ac_mid; break
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.
$ac_ext >&5
17061 ac_hi
=`expr '(' $ac_mid ')' - 1`
17062 if test $ac_mid -le $ac_hi; then
17066 ac_mid
=`expr 2 '*' $ac_mid`
17068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17079 # Binary search between lo and hi bounds.
17080 while test "x$ac_lo" != "x$ac_hi"; do
17081 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17092 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17099 rm -f conftest.
$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17103 grep -v '^ *+' conftest.er1
>conftest.err
17105 cat conftest.err
>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } &&
17114 { ac_try
='test -s conftest.$ac_objext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.
$ac_ext >&5
17125 ac_lo
=`expr '(' $ac_mid ')' + 1`
17127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17130 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17132 See \`config.log' for more details." >&5
17133 echo "$as_me: error: cannot compute sizeof (long long), 77
17134 See \`config.log' for more details." >&2;}
17135 { (exit 1); exit 1; }; } ;;
17138 if test "$cross_compiling" = yes; then
17139 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17140 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17141 { (exit 1); exit 1; }; }
17143 cat >conftest.
$ac_ext <<_ACEOF
17146 cat confdefs.h
>>conftest.
$ac_ext
17147 cat >>conftest.
$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 $ac_includes_default
17150 long longval () { return (long) (sizeof (long long)); }
17151 unsigned long ulongval () { return (long) (sizeof (long long)); }
17153 #include <stdlib.h>
17158 FILE *f = fopen ("conftest.val", "w");
17161 if (((long) (sizeof (long long))) < 0)
17163 long i = longval ();
17164 if (i != ((long) (sizeof (long long))))
17166 fprintf (f, "%ld\n", i);
17170 unsigned long i = ulongval ();
17171 if (i != ((long) (sizeof (long long))))
17173 fprintf (f, "%lu\n", i);
17175 exit (ferror (f) || fclose (f) != 0);
17181 rm -f conftest
$ac_exeext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17183 (eval $ac_link) 2>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; }; then
17192 ac_cv_sizeof_long_long
=`cat conftest.val`
17194 echo "$as_me: program exited with status $ac_status" >&5
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.
$ac_ext >&5
17198 ( exit $ac_status )
17199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17200 See \`config.log' for more details." >&5
17201 echo "$as_me: error: cannot compute sizeof (long long), 77
17202 See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; }
17205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17210 ac_cv_sizeof_long_long
=0
17213 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17214 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17215 cat >>confdefs.h
<<_ACEOF
17216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17222 echo "$as_me:$LINENO: checking for long long" >&5
17223 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17224 if test "${ac_cv_type_long_long+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 $ac_includes_default
17237 if ((long long *) 0)
17239 if (sizeof (long long))
17245 rm -f conftest.
$ac_objext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17247 (eval $ac_compile) 2>conftest.er1
17249 grep -v '^ *+' conftest.er1
>conftest.err
17251 cat conftest.err
>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; } &&
17260 { ac_try
='test -s conftest.$ac_objext'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; }; then
17266 ac_cv_type_long_long
=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 ac_cv_type_long_long
=no
17273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17276 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17278 echo "$as_me:$LINENO: checking size of long long" >&5
17279 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17280 if test "${ac_cv_sizeof_long_long+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 if test "$ac_cv_type_long_long" = yes; then
17284 # The cast to unsigned long works around a bug in the HP C Compiler
17285 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17286 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17287 # This bug is HP SR number 8606223364.
17288 if test "$cross_compiling" = yes; then
17289 # Depending upon the size, compute the lo and hi bounds.
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17300 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17307 rm -f conftest.
$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17330 cat >conftest.
$ac_ext <<_ACEOF
17333 cat confdefs.h
>>conftest.
$ac_ext
17334 cat >>conftest.
$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 $ac_includes_default
17340 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17347 rm -f conftest.
$ac_objext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17349 (eval $ac_compile) 2>conftest.er1
17351 grep -v '^ *+' conftest.er1
>conftest.err
17353 cat conftest.err
>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try
='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_hi
=$ac_mid; break
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17373 ac_lo
=`expr $ac_mid + 1`
17374 if test $ac_lo -le $ac_mid; then
17378 ac_mid
=`expr 2 '*' $ac_mid + 1`
17380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.
$ac_ext >&5
17386 cat >conftest.
$ac_ext <<_ACEOF
17389 cat confdefs.h
>>conftest.
$ac_ext
17390 cat >>conftest.
$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17392 $ac_includes_default
17396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17403 rm -f conftest.
$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try
='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17426 cat >conftest.
$ac_ext <<_ACEOF
17429 cat confdefs.h
>>conftest.
$ac_ext
17430 cat >>conftest.
$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 $ac_includes_default
17436 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17443 rm -f conftest.
$ac_objext
17444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17445 (eval $ac_compile) 2>conftest.er1
17447 grep -v '^ *+' conftest.er1
>conftest.err
17449 cat conftest.err
>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } &&
17452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; } &&
17458 { ac_try
='test -s conftest.$ac_objext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 ac_lo
=$ac_mid; break
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17469 ac_hi
=`expr '(' $ac_mid ')' - 1`
17470 if test $ac_mid -le $ac_hi; then
17474 ac_mid
=`expr 2 '*' $ac_mid`
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.
$ac_ext >&5
17484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 # Binary search between lo and hi bounds.
17488 while test "x$ac_lo" != "x$ac_hi"; do
17489 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17490 cat >conftest.
$ac_ext <<_ACEOF
17493 cat confdefs.h
>>conftest.
$ac_ext
17494 cat >>conftest.
$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 $ac_includes_default
17500 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17507 rm -f conftest.
$ac_objext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509 (eval $ac_compile) 2>conftest.er1
17511 grep -v '^ *+' conftest.er1
>conftest.err
17513 cat conftest.err
>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } &&
17516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; } &&
17522 { ac_try
='test -s conftest.$ac_objext'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; }; then
17530 echo "$as_me: failed program was:" >&5
17531 sed 's/^/| /' conftest.
$ac_ext >&5
17533 ac_lo
=`expr '(' $ac_mid ')' + 1`
17535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17538 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17539 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17540 See \`config.log' for more details." >&5
17541 echo "$as_me: error: cannot compute sizeof (long long), 77
17542 See \`config.log' for more details." >&2;}
17543 { (exit 1); exit 1; }; } ;;
17546 if test "$cross_compiling" = yes; then
17547 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17548 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17549 { (exit 1); exit 1; }; }
17551 cat >conftest.
$ac_ext <<_ACEOF
17554 cat confdefs.h
>>conftest.
$ac_ext
17555 cat >>conftest.
$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17557 $ac_includes_default
17558 long longval () { return (long) (sizeof (long long)); }
17559 unsigned long ulongval () { return (long) (sizeof (long long)); }
17561 #include <stdlib.h>
17566 FILE *f = fopen ("conftest.val", "w");
17569 if (((long) (sizeof (long long))) < 0)
17571 long i = longval ();
17572 if (i != ((long) (sizeof (long long))))
17574 fprintf (f, "%ld\n", i);
17578 unsigned long i = ulongval ();
17579 if (i != ((long) (sizeof (long long))))
17581 fprintf (f, "%lu\n", i);
17583 exit (ferror (f) || fclose (f) != 0);
17589 rm -f conftest
$ac_exeext
17590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17591 (eval $ac_link) 2>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 ac_cv_sizeof_long_long
=`cat conftest.val`
17602 echo "$as_me: program exited with status $ac_status" >&5
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.
$ac_ext >&5
17606 ( exit $ac_status )
17607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17608 See \`config.log' for more details." >&5
17609 echo "$as_me: error: cannot compute sizeof (long long), 77
17610 See \`config.log' for more details." >&2;}
17611 { (exit 1); exit 1; }; }
17613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17618 ac_cv_sizeof_long_long
=0
17621 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17622 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17623 cat >>confdefs.h
<<_ACEOF
17624 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17628 if test "$ac_cv_sizeof_long_long" != "0"; then
17629 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17633 echo "$as_me:$LINENO: checking for long long" >&5
17634 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17635 if test "${ac_cv_type_long_long+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17648 if ((long long *) 0)
17650 if (sizeof (long long))
17656 rm -f conftest.
$ac_objext
17657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17658 (eval $ac_compile) 2>conftest.er1
17660 grep -v '^ *+' conftest.er1
>conftest.err
17662 cat conftest.err
>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } &&
17665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; } &&
17671 { ac_try
='test -s conftest.$ac_objext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17677 ac_cv_type_long_long
=yes
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.
$ac_ext >&5
17682 ac_cv_type_long_long
=no
17684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17686 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17687 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17689 echo "$as_me:$LINENO: checking size of long long" >&5
17690 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17691 if test "${ac_cv_sizeof_long_long+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 if test "$ac_cv_type_long_long" = yes; then
17695 # The cast to unsigned long works around a bug in the HP C Compiler
17696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17698 # This bug is HP SR number 8606223364.
17699 if test "$cross_compiling" = yes; then
17700 # Depending upon the size, compute the lo and hi bounds.
17701 cat >conftest.
$ac_ext <<_ACEOF
17704 cat confdefs.h
>>conftest.
$ac_ext
17705 cat >>conftest.
$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 $ac_includes_default
17711 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17718 rm -f conftest.
$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17722 grep -v '^ *+' conftest.er1
>conftest.err
17724 cat conftest.err
>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; } &&
17733 { ac_try
='test -s conftest.$ac_objext'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; }; then
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 $ac_includes_default
17751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17758 rm -f conftest.
$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>conftest.er1
17762 grep -v '^ *+' conftest.er1
>conftest.err
17764 cat conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; } &&
17773 { ac_try
='test -s conftest.$ac_objext'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; }; then
17779 ac_hi
=$ac_mid; break
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
17784 ac_lo
=`expr $ac_mid + 1`
17785 if test $ac_lo -le $ac_mid; then
17789 ac_mid
=`expr 2 '*' $ac_mid + 1`
17791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.
$ac_ext >&5
17797 cat >conftest.
$ac_ext <<_ACEOF
17800 cat confdefs.h
>>conftest.
$ac_ext
17801 cat >>conftest.
$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 $ac_includes_default
17807 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17814 rm -f conftest.
$ac_objext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>conftest.er1
17818 grep -v '^ *+' conftest.er1
>conftest.err
17820 cat conftest.err
>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try
='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17847 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17854 rm -f conftest.
$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17858 grep -v '^ *+' conftest.er1
>conftest.err
17860 cat conftest.err
>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 ac_lo
=$ac_mid; break
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17880 ac_hi
=`expr '(' $ac_mid ')' - 1`
17881 if test $ac_mid -le $ac_hi; then
17885 ac_mid
=`expr 2 '*' $ac_mid`
17887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17898 # Binary search between lo and hi bounds.
17899 while test "x$ac_lo" != "x$ac_hi"; do
17900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 $ac_includes_default
17911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17918 rm -f conftest.
$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1
>conftest.err
17924 cat conftest.err
>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try
='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.
$ac_ext >&5
17944 ac_lo
=`expr '(' $ac_mid ')' + 1`
17946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17949 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17951 See \`config.log' for more details." >&5
17952 echo "$as_me: error: cannot compute sizeof (long long), 77
17953 See \`config.log' for more details." >&2;}
17954 { (exit 1); exit 1; }; } ;;
17957 if test "$cross_compiling" = yes; then
17958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17960 { (exit 1); exit 1; }; }
17962 cat >conftest.
$ac_ext <<_ACEOF
17965 cat confdefs.h
>>conftest.
$ac_ext
17966 cat >>conftest.
$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 long longval () { return (long) (sizeof (long long)); }
17970 unsigned long ulongval () { return (long) (sizeof (long long)); }
17972 #include <stdlib.h>
17977 FILE *f = fopen ("conftest.val", "w");
17980 if (((long) (sizeof (long long))) < 0)
17982 long i = longval ();
17983 if (i != ((long) (sizeof (long long))))
17985 fprintf (f, "%ld\n", i);
17989 unsigned long i = ulongval ();
17990 if (i != ((long) (sizeof (long long))))
17992 fprintf (f, "%lu\n", i);
17994 exit (ferror (f) || fclose (f) != 0);
18000 rm -f conftest
$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_sizeof_long_long
=`cat conftest.val`
18013 echo "$as_me: program exited with status $ac_status" >&5
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18017 ( exit $ac_status )
18018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18019 See \`config.log' for more details." >&5
18020 echo "$as_me: error: cannot compute sizeof (long long), 77
18021 See \`config.log' for more details." >&2;}
18022 { (exit 1); exit 1; }; }
18024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18029 ac_cv_sizeof_long_long
=0
18032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18034 cat >>confdefs.h
<<_ACEOF
18035 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18041 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18042 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18043 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 if test "$cross_compiling" = yes; then
18051 wx_cv_sizeof_wchar_t
=0
18054 wx_cv_sizeof_wchar_t
=4
18060 cat >conftest.
$ac_ext <<_ACEOF
18063 cat confdefs.h
>>conftest.
$ac_ext
18064 cat >>conftest.
$ac_ext <<_ACEOF
18065 /* end confdefs.h. */
18067 /* DJGPP only has fake wchar_t: */
18069 # error "fake wchar_t"
18071 #ifdef HAVE_WCHAR_H
18073 # include <stddef.h>
18075 # include <wchar.h>
18077 #ifdef HAVE_STDLIB_H
18078 # include <stdlib.h>
18083 FILE *f=fopen("conftestval", "w");
18085 fprintf(f, "%i", sizeof(wchar_t));
18090 rm -f conftest
$ac_exeext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18092 (eval $ac_link) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18097 (eval $ac_try) 2>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); }; }; then
18101 wx_cv_sizeof_wchar_t
=`cat conftestval`
18103 echo "$as_me: program exited with status $ac_status" >&5
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.
$ac_ext >&5
18107 ( exit $ac_status )
18108 wx_cv_sizeof_wchar_t
=0
18110 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18114 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18115 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18117 cat >>confdefs.h
<<_ACEOF
18118 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18122 echo "$as_me:$LINENO: checking for va_copy" >&5
18123 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18124 if test "${wx_cv_func_va_copy+set}" = set; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 cat >conftest.
$ac_ext <<_ACEOF
18130 #include <stdarg.h>
18131 void foo(char *f, ...)
18140 rm -f conftest.
$ac_objext conftest
$ac_exeext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18142 (eval $ac_link) 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try
='test -s conftest$ac_exeext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 wx_cv_func_va_copy
=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.
$ac_ext >&5
18166 wx_cv_func_va_copy
=no
18169 rm -f conftest.err conftest.
$ac_objext \
18170 conftest
$ac_exeext conftest.
$ac_ext
18174 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18175 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18177 if test $wx_cv_func_va_copy = "yes"; then
18178 cat >>confdefs.h
<<\_ACEOF
18179 #define HAVE_VA_COPY 1
18183 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18184 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18185 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 if test "$cross_compiling" = yes; then
18190 wx_cv_type_va_list_lvalue
=yes
18193 cat >conftest.
$ac_ext <<_ACEOF
18195 #include <stdarg.h>
18196 int foo(char *f, ...)
18201 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18209 return foo("hi", 17);
18212 rm -f conftest
$ac_exeext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18214 (eval $ac_link) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 wx_cv_type_va_list_lvalue
=yes
18225 echo "$as_me: program exited with status $ac_status" >&5
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.
$ac_ext >&5
18229 ( exit $ac_status )
18230 wx_cv_type_va_list_lvalue
=no
18232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18237 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18238 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18240 if test $wx_cv_type_va_list_lvalue != "yes"; then
18241 cat >>confdefs.h
<<\_ACEOF
18242 #define VA_LIST_IS_ARRAY 1
18248 # Check whether --enable-largefile or --disable-largefile was given.
18249 if test "${enable_largefile+set}" = set; then
18250 enableval
="$enable_largefile"
18253 if test "$enable_largefile" != no
; then
18256 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18257 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18258 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 cat >conftest.
$ac_ext <<_ACEOF
18265 cat confdefs.h
>>conftest.
$ac_ext
18266 cat >>conftest.
$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 #define _FILE_OFFSET_BITS 64
18269 #include <sys/types.h>
18274 unsigned int field: sizeof(off_t) == 8;
18281 rm -f conftest.
$ac_objext
18282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18283 (eval $ac_compile) 2>conftest.er1
18285 grep -v '^ *+' conftest.er1
>conftest.err
18287 cat conftest.err
>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } &&
18290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; } &&
18296 { ac_try
='test -s conftest.$ac_objext'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; }; then
18302 ac_cv_sys_file_offset_bits
=64
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.
$ac_ext >&5
18307 ac_cv_sys_file_offset_bits
=no
18309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18313 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18314 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18316 if test "$ac_cv_sys_file_offset_bits" != no
; then
18318 cat >>confdefs.h
<<_ACEOF
18319 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18324 if test "x$wx_largefile" != "xyes"; then
18326 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18327 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18328 if test "${ac_cv_sys_large_files+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 #define _LARGE_FILES 1
18339 #include <sys/types.h>
18344 unsigned int field: sizeof(off_t) == 8;
18351 rm -f conftest.
$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18355 grep -v '^ *+' conftest.er1
>conftest.err
18357 cat conftest.err
>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try
='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_sys_large_files
=1
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.
$ac_ext >&5
18377 ac_cv_sys_large_files
=no
18379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18383 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18384 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18386 if test "$ac_cv_sys_large_files" != no
; then
18388 cat >>confdefs.h
<<_ACEOF
18389 #define _LARGE_FILES $ac_cv_sys_large_files
18396 echo "$as_me:$LINENO: checking if large file support is available" >&5
18397 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18398 if test "x$wx_largefile" = "xyes"; then
18399 cat >>confdefs.h
<<\_ACEOF
18400 #define HAVE_LARGEFILE_SUPPORT 1
18404 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18405 echo "${ECHO_T}$wx_largefile" >&6
18409 if test "x$wx_largefile" = "xyes"; then
18410 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18411 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18413 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18415 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18418 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18419 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18420 if test "${ac_cv_c_bigendian+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 ac_cv_c_bigendian
=unknown
18424 # See if sys/param.h defines the BYTE_ORDER macro.
18425 cat >conftest.
$ac_ext <<_ACEOF
18428 cat confdefs.h
>>conftest.
$ac_ext
18429 cat >>conftest.
$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 #include <sys/types.h>
18432 #include <sys/param.h>
18437 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18438 bogus endian macros
18444 rm -f conftest.
$ac_objext
18445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18446 (eval $ac_compile) 2>conftest.er1
18448 grep -v '^ *+' conftest.er1
>conftest.err
18450 cat conftest.err
>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } &&
18453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; } &&
18459 { ac_try
='test -s conftest.$ac_objext'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; }; then
18465 # It does; now see whether it defined to BIG_ENDIAN or not.
18466 cat >conftest.
$ac_ext <<_ACEOF
18469 cat confdefs.h
>>conftest.
$ac_ext
18470 cat >>conftest.
$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 #include <sys/types.h>
18473 #include <sys/param.h>
18478 #if BYTE_ORDER != BIG_ENDIAN
18485 rm -f conftest.
$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try
='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_c_bigendian
=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 ac_cv_c_bigendian
=no
18513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18515 echo "$as_me: failed program was:" >&5
18516 sed 's/^/| /' conftest.
$ac_ext >&5
18519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18520 if test $ac_cv_c_bigendian = unknown
; then
18521 if test "$cross_compiling" = yes; then
18522 ac_cv_c_bigendian
=unknown
18524 cat >conftest.
$ac_ext <<_ACEOF
18527 cat confdefs.h
>>conftest.
$ac_ext
18528 cat >>conftest.
$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18531 /* Are we little or big endian? From Harbison&Steele. */
18535 char c[sizeof (long)];
18538 exit (u.c[sizeof (long) - 1] == 1);
18541 rm -f conftest
$ac_exeext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18543 (eval $ac_link) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; }; then
18552 ac_cv_c_bigendian
=no
18554 echo "$as_me: program exited with status $ac_status" >&5
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18558 ( exit $ac_status )
18559 ac_cv_c_bigendian
=yes
18561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18565 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18566 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18567 if test $ac_cv_c_bigendian = unknown
; then
18568 { 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
18569 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;}
18571 if test $ac_cv_c_bigendian = yes; then
18572 cat >>confdefs.h
<<\_ACEOF
18573 #define WORDS_BIGENDIAN 1
18580 ac_cpp
='$CXXCPP $CPPFLAGS'
18581 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18584 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18585 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18586 if test -z "$CXXCPP"; then
18587 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 # Double quotes because CXXCPP needs to be expanded
18591 for CXXCPP
in "$CXX -E" "/lib/cpp"
18593 ac_preproc_ok
=false
18594 for ac_cxx_preproc_warn_flag
in '' yes
18596 # Use a header file that comes with gcc, so configuring glibc
18597 # with a fresh cross-compiler works.
18598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18599 # <limits.h> exists even on freestanding compilers.
18600 # On the NeXT, cc -E runs the code through the compiler's parser,
18601 # not just through cpp. "Syntax error" is here to catch this case.
18602 cat >conftest.
$ac_ext <<_ACEOF
18605 cat confdefs.h
>>conftest.
$ac_ext
18606 cat >>conftest.
$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18609 # include <limits.h>
18611 # include <assert.h>
18615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18618 grep -v '^ *+' conftest.er1
>conftest.err
18620 cat conftest.err
>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } >/dev
/null
; then
18623 if test -s conftest.err
; then
18624 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18625 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18632 if test -z "$ac_cpp_err"; then
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.
$ac_ext >&5
18638 # Broken: fails on valid input.
18641 rm -f conftest.err conftest.
$ac_ext
18643 # OK, works on sane cases. Now check whether non-existent headers
18644 # can be detected and how.
18645 cat >conftest.
$ac_ext <<_ACEOF
18648 cat confdefs.h
>>conftest.
$ac_ext
18649 cat >>conftest.
$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <ac_nonexistent.h>
18653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } >/dev
/null
; then
18661 if test -s conftest.err
; then
18662 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18663 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18670 if test -z "$ac_cpp_err"; then
18671 # Broken: success on invalid input.
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.
$ac_ext >&5
18677 # Passes both tests.
18681 rm -f conftest.err conftest.
$ac_ext
18684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18685 rm -f conftest.err conftest.
$ac_ext
18686 if $ac_preproc_ok; then
18691 ac_cv_prog_CXXCPP
=$CXXCPP
18694 CXXCPP
=$ac_cv_prog_CXXCPP
18696 ac_cv_prog_CXXCPP
=$CXXCPP
18698 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18699 echo "${ECHO_T}$CXXCPP" >&6
18700 ac_preproc_ok
=false
18701 for ac_cxx_preproc_warn_flag
in '' yes
18703 # Use a header file that comes with gcc, so configuring glibc
18704 # with a fresh cross-compiler works.
18705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18706 # <limits.h> exists even on freestanding compilers.
18707 # On the NeXT, cc -E runs the code through the compiler's parser,
18708 # not just through cpp. "Syntax error" is here to catch this case.
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 # include <limits.h>
18718 # include <assert.h>
18722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18725 grep -v '^ *+' conftest.er1
>conftest.err
18727 cat conftest.err
>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } >/dev
/null
; then
18730 if test -s conftest.err
; then
18731 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18732 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18739 if test -z "$ac_cpp_err"; then
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.
$ac_ext >&5
18745 # Broken: fails on valid input.
18748 rm -f conftest.err conftest.
$ac_ext
18750 # OK, works on sane cases. Now check whether non-existent headers
18751 # can be detected and how.
18752 cat >conftest.
$ac_ext <<_ACEOF
18755 cat confdefs.h
>>conftest.
$ac_ext
18756 cat >>conftest.
$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <ac_nonexistent.h>
18760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18763 grep -v '^ *+' conftest.er1
>conftest.err
18765 cat conftest.err
>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); } >/dev
/null
; then
18768 if test -s conftest.err
; then
18769 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18770 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18777 if test -z "$ac_cpp_err"; then
18778 # Broken: success on invalid input.
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18784 # Passes both tests.
18788 rm -f conftest.err conftest.
$ac_ext
18791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18792 rm -f conftest.err conftest.
$ac_ext
18793 if $ac_preproc_ok; then
18796 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18797 See \`config.log' for more details." >&5
18798 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18799 See \`config.log' for more details." >&2;}
18800 { (exit 1); exit 1; }; }
18804 ac_cpp
='$CXXCPP $CPPFLAGS'
18805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18814 ac_cpp
='$CXXCPP $CPPFLAGS'
18815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18821 for ac_header
in iostream
18823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18825 echo "$as_me:$LINENO: checking for $ac_header" >&5
18826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18833 # Is the header compilable?
18834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18836 cat >conftest.
$ac_ext <<_ACEOF
18839 cat confdefs.h
>>conftest.
$ac_ext
18840 cat >>conftest.
$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 $ac_includes_default
18843 #include <$ac_header>
18845 rm -f conftest.
$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>conftest.er1
18849 grep -v '^ *+' conftest.er1
>conftest.err
18851 cat conftest.err
>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } &&
18854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_header_compiler
=yes
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18871 ac_header_compiler
=no
18873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18875 echo "${ECHO_T}$ac_header_compiler" >&6
18877 # Is the header present?
18878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #include <$ac_header>
18888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18891 grep -v '^ *+' conftest.er1
>conftest.err
18893 cat conftest.err
>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } >/dev
/null
; then
18896 if test -s conftest.err
; then
18897 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18898 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18905 if test -z "$ac_cpp_err"; then
18906 ac_header_preproc
=yes
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.
$ac_ext >&5
18911 ac_header_preproc
=no
18913 rm -f conftest.err conftest.
$ac_ext
18914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18915 echo "${ECHO_T}$ac_header_preproc" >&6
18917 # So? What about this header?
18918 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18924 ac_header_preproc
=yes
18927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18941 ## ----------------------------------------- ##
18942 ## Report this to wx-dev@lists.wxwidgets.org ##
18943 ## ----------------------------------------- ##
18946 sed "s/^/$as_me: WARNING: /" >&2
18949 echo "$as_me:$LINENO: checking for $ac_header" >&5
18950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18952 echo $ECHO_N "(cached) $ECHO_C" >&6
18954 eval "$as_ac_Header=\$ac_header_preproc"
18956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18961 cat >>confdefs.h
<<_ACEOF
18962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18970 if test "$ac_cv_header_iostream" = "yes" ; then
18973 cat >>confdefs.h
<<\_ACEOF
18974 #define wxUSE_IOSTREAMH 1
18980 ac_cpp
='$CPP $CPPFLAGS'
18981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18988 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18989 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18990 if test "${wx_cv_cpp_bool+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 ac_cpp
='$CXXCPP $CPPFLAGS'
18998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19023 rm -f conftest.
$ac_objext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19025 (eval $ac_compile) 2>conftest.er1
19027 grep -v '^ *+' conftest.er1
>conftest.err
19029 cat conftest.err
>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try
='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.
$ac_ext >&5
19056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19059 ac_cpp
='$CPP $CPPFLAGS'
19060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19066 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19067 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19069 if test "$wx_cv_cpp_bool" = "yes"; then
19070 cat >>confdefs.h
<<\_ACEOF
19071 #define HAVE_BOOL 1
19078 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19079 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19080 if test "${wx_cv_explicit+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 ac_cpp
='$CXXCPP $CPPFLAGS'
19088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19100 class Foo { public: explicit Foo(int) {} };
19112 rm -f conftest.
$ac_objext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19114 (eval $ac_compile) 2>conftest.er1
19116 grep -v '^ *+' conftest.er1
>conftest.err
19118 cat conftest.err
>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; } &&
19127 { ac_try
='test -s conftest.$ac_objext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19134 cat >conftest.
$ac_ext <<_ACEOF
19137 cat confdefs.h
>>conftest.
$ac_ext
19138 cat >>conftest.
$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19141 class Foo { public: explicit Foo(int) {} };
19142 static void TakeFoo(const Foo& foo) { }
19155 rm -f conftest.
$ac_objext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19157 (eval $ac_compile) 2>conftest.er1
19159 grep -v '^ *+' conftest.er1
>conftest.err
19161 cat conftest.err
>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } &&
19164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try
='test -s conftest.$ac_objext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.
$ac_ext >&5
19193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19196 ac_cpp
='$CPP $CPPFLAGS'
19197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19203 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19204 echo "${ECHO_T}$wx_cv_explicit" >&6
19206 if test "$wx_cv_explicit" = "yes"; then
19207 cat >>confdefs.h
<<\_ACEOF
19208 #define HAVE_EXPLICIT 1
19214 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19215 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19216 if test "${ac_cv_cxx_const_cast+set}" = set; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19222 ac_cpp
='$CXXCPP $CPPFLAGS'
19223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19227 cat >conftest.
$ac_ext <<_ACEOF
19230 cat confdefs.h
>>conftest.
$ac_ext
19231 cat >>conftest.
$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19237 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19242 rm -f conftest.
$ac_objext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19244 (eval $ac_compile) 2>conftest.er1
19246 grep -v '^ *+' conftest.er1
>conftest.err
19248 cat conftest.err
>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; } &&
19257 { ac_try
='test -s conftest.$ac_objext'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; }; then
19263 ac_cv_cxx_const_cast
=yes
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 ac_cv_cxx_const_cast
=no
19270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19272 ac_cpp
='$CPP $CPPFLAGS'
19273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19279 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19280 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19281 if test "$ac_cv_cxx_const_cast" = yes; then
19283 cat >>confdefs.h
<<\_ACEOF
19284 #define HAVE_CONST_CAST
19289 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19290 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19291 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 ac_cpp
='$CXXCPP $CPPFLAGS'
19298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 #include <typeinfo>
19309 class Base { public : Base () {} virtual void f () = 0;};
19310 class Derived : public Base { public : Derived () {} virtual void f () {} };
19311 class Unrelated { public : Unrelated () {} };
19312 int g (Unrelated&) { return 0; }
19317 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19322 rm -f conftest.
$ac_objext
19323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19324 (eval $ac_compile) 2>conftest.er1
19326 grep -v '^ *+' conftest.er1
>conftest.err
19328 cat conftest.err
>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try
='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_cxx_reinterpret_cast
=yes
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.
$ac_ext >&5
19348 ac_cv_cxx_reinterpret_cast
=no
19350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19352 ac_cpp
='$CPP $CPPFLAGS'
19353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19359 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19360 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19361 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19363 cat >>confdefs.h
<<\_ACEOF
19364 #define HAVE_REINTERPRET_CAST
19369 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19370 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19371 if test "${ac_cv_cxx_static_cast+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 ac_cpp
='$CXXCPP $CPPFLAGS'
19378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <typeinfo>
19389 class Base { public : Base () {} virtual void f () = 0; };
19390 class Derived : public Base { public : Derived () {} virtual void f () {} };
19391 int g (Derived&) { return 0; }
19396 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19401 rm -f conftest.
$ac_objext
19402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19403 (eval $ac_compile) 2>conftest.er1
19405 grep -v '^ *+' conftest.er1
>conftest.err
19407 cat conftest.err
>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } &&
19410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; } &&
19416 { ac_try
='test -s conftest.$ac_objext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 ac_cv_cxx_static_cast
=yes
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.
$ac_ext >&5
19427 ac_cv_cxx_static_cast
=no
19429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19431 ac_cpp
='$CPP $CPPFLAGS'
19432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19438 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19439 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19440 if test "$ac_cv_cxx_static_cast" = yes; then
19442 cat >>confdefs.h
<<\_ACEOF
19443 #define HAVE_STATIC_CAST
19449 if test "$wxUSE_STL" = "yes"; then
19451 ac_cpp
='$CXXCPP $CPPFLAGS'
19452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19457 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19458 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19459 cat >conftest.
$ac_ext <<_ACEOF
19462 cat confdefs.h
>>conftest.
$ac_ext
19463 cat >>conftest.
$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19466 #include <functional>
19467 #include <algorithm>
19473 std::vector<int> moo;
19474 std::list<int> foo;
19475 std::vector<int>::iterator it =
19476 std::find_if(moo.begin(), moo.end(),
19477 std::bind2nd(std::less<int>(), 3));
19482 rm -f conftest.
$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1
>conftest.err
19488 cat conftest.err
>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try
='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 echo "$as_me:$LINENO: result: yes" >&5
19504 echo "${ECHO_T}yes" >&6
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.
$ac_ext >&5
19509 echo "$as_me:$LINENO: result: no" >&5
19510 echo "${ECHO_T}no" >&6
19511 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19512 echo "$as_me: error: Basic STL functionality missing" >&2;}
19513 { (exit 1); exit 1; }; }
19515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19517 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19518 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19534 rm -f conftest.
$ac_objext
19535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19536 (eval $ac_compile) 2>conftest.er1
19538 grep -v '^ *+' conftest.er1
>conftest.err
19540 cat conftest.err
>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try
='test -s conftest.$ac_objext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 echo "$as_me:$LINENO: result: yes" >&5
19556 echo "${ECHO_T}yes" >&6
19557 cat >>confdefs.h
<<\_ACEOF
19558 #define HAVE_STD_WSTRING 1
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.
$ac_ext >&5
19565 echo "$as_me:$LINENO: result: no" >&5
19566 echo "${ECHO_T}no" >&6
19568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19570 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19571 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19582 std::string foo, bar;
19584 foo.compare(1, 1, bar);
19585 foo.compare(1, 1, bar, 1, 1);
19587 foo.compare(1, 1, "");
19588 foo.compare(1, 1, "", 2);
19593 rm -f conftest.
$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19614 echo "$as_me:$LINENO: result: yes" >&5
19615 echo "${ECHO_T}yes" >&6
19616 cat >>confdefs.h
<<\_ACEOF
19617 #define HAVE_STD_STRING_COMPARE 1
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.
$ac_ext >&5
19624 echo "$as_me:$LINENO: result: no" >&5
19625 echo "${ECHO_T}no" >&6
19627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19629 if test "${ac_cv_header_hash_map+set}" = set; then
19630 echo "$as_me:$LINENO: checking for hash_map" >&5
19631 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19632 if test "${ac_cv_header_hash_map+set}" = set; then
19633 echo $ECHO_N "(cached) $ECHO_C" >&6
19635 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19636 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19638 # Is the header compilable?
19639 echo "$as_me:$LINENO: checking hash_map usability" >&5
19640 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 $ac_includes_default
19648 #include <hash_map>
19650 rm -f conftest.
$ac_objext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19652 (eval $ac_compile) 2>conftest.er1
19654 grep -v '^ *+' conftest.er1
>conftest.err
19656 cat conftest.err
>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } &&
19659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try
='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_header_compiler
=yes
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 ac_header_compiler
=no
19678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19680 echo "${ECHO_T}$ac_header_compiler" >&6
19682 # Is the header present?
19683 echo "$as_me:$LINENO: checking hash_map presence" >&5
19684 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19685 cat >conftest.
$ac_ext <<_ACEOF
19688 cat confdefs.h
>>conftest.
$ac_ext
19689 cat >>conftest.
$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691 #include <hash_map>
19693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19696 grep -v '^ *+' conftest.er1
>conftest.err
19698 cat conftest.err
>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } >/dev
/null
; then
19701 if test -s conftest.err
; then
19702 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19703 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19710 if test -z "$ac_cpp_err"; then
19711 ac_header_preproc
=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 ac_header_preproc
=no
19718 rm -f conftest.err conftest.
$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19720 echo "${ECHO_T}$ac_header_preproc" >&6
19722 # So? What about this header?
19723 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19725 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19726 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19728 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19729 ac_header_preproc
=yes
19732 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19733 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19734 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19735 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19736 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19737 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19739 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19740 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19741 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19742 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19743 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19746 ## ----------------------------------------- ##
19747 ## Report this to wx-dev@lists.wxwidgets.org ##
19748 ## ----------------------------------------- ##
19751 sed "s/^/$as_me: WARNING: /" >&2
19754 echo "$as_me:$LINENO: checking for hash_map" >&5
19755 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19756 if test "${ac_cv_header_hash_map+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 ac_cv_header_hash_map
=$ac_header_preproc
19761 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19762 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19765 if test $ac_cv_header_hash_map = yes; then
19766 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19767 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19768 cat >conftest.
$ac_ext <<_ACEOF
19771 cat confdefs.h
>>conftest.
$ac_ext
19772 cat >>conftest.
$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <hash_map>
19775 #include <hash_set>
19779 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19780 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19785 rm -f conftest.
$ac_objext
19786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19787 (eval $ac_compile) 2>conftest.er1
19789 grep -v '^ *+' conftest.er1
>conftest.err
19791 cat conftest.err
>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } &&
19794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; } &&
19800 { ac_try
='test -s conftest.$ac_objext'
19801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19802 (eval $ac_try) 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; }; then
19806 echo "$as_me:$LINENO: result: yes" >&5
19807 echo "${ECHO_T}yes" >&6
19808 cat >>confdefs.h
<<\_ACEOF
19809 #define HAVE_HASH_MAP 1
19812 cat >>confdefs.h
<<\_ACEOF
19813 #define HAVE_STD_HASH_MAP 1
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.
$ac_ext >&5
19820 echo "$as_me:$LINENO: result: no" >&5
19821 echo "${ECHO_T}no" >&6
19823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19830 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19831 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19832 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19836 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19838 # Is the header compilable?
19839 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19840 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19841 cat >conftest.
$ac_ext <<_ACEOF
19844 cat confdefs.h
>>conftest.
$ac_ext
19845 cat >>conftest.
$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19848 #include <ext/hash_map>
19850 rm -f conftest.
$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_header_compiler
=yes
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ac_header_compiler
=no
19878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19880 echo "${ECHO_T}$ac_header_compiler" >&6
19882 # Is the header present?
19883 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19884 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <ext/hash_map>
19893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1
>conftest.err
19898 cat conftest.err
>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } >/dev
/null
; then
19901 if test -s conftest.err
; then
19902 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19903 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19910 if test -z "$ac_cpp_err"; then
19911 ac_header_preproc
=yes
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19916 ac_header_preproc
=no
19918 rm -f conftest.err conftest.
$ac_ext
19919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19920 echo "${ECHO_T}$ac_header_preproc" >&6
19922 # So? What about this header?
19923 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19925 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19926 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19927 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19928 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19929 ac_header_preproc
=yes
19932 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19933 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19934 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19935 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19936 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19937 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19938 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19939 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19940 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19941 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19942 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19943 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19946 ## ----------------------------------------- ##
19947 ## Report this to wx-dev@lists.wxwidgets.org ##
19948 ## ----------------------------------------- ##
19951 sed "s/^/$as_me: WARNING: /" >&2
19954 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19955 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19956 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 ac_cv_header_ext_hash_map
=$ac_header_preproc
19961 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19962 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19965 if test $ac_cv_header_ext_hash_map = yes; then
19966 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19967 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19968 cat >conftest.
$ac_ext <<_ACEOF
19971 cat confdefs.h
>>conftest.
$ac_ext
19972 cat >>conftest.
$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 #include <ext/hash_map>
19975 #include <ext/hash_set>
19979 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19980 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19985 rm -f conftest.
$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19989 grep -v '^ *+' conftest.er1
>conftest.err
19991 cat conftest.err
>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 echo "$as_me:$LINENO: result: yes" >&5
20007 echo "${ECHO_T}yes" >&6
20008 cat >>confdefs.h
<<\_ACEOF
20009 #define HAVE_EXT_HASH_MAP 1
20012 cat >>confdefs.h
<<\_ACEOF
20013 #define HAVE_GNU_CXX_HASH_MAP 1
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.
$ac_ext >&5
20020 echo "$as_me:$LINENO: result: no" >&5
20021 echo "${ECHO_T}no" >&6
20023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20030 ac_cpp
='$CPP $CPPFLAGS'
20031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20039 /usr/local/include \
20041 /usr/Motif-2.1/include \
20042 /usr/Motif-1.2/include \
20043 /usr/include/Motif1.2 \
20044 /opt/xpm/include/X11 \
20045 /opt/GBxpm/include/ \
20046 /opt/GBxpm/X11/include/ \
20049 /usr/openwin/include \
20053 /usr/X11R6/include \
20054 /usr/X11R6.4/include \
20055 /usr/X11R5/include \
20056 /usr/X11R4/include \
20058 /usr/include/X11R6 \
20059 /usr/include/X11R5 \
20060 /usr/include/X11R4 \
20062 /usr/local/X11R6/include \
20063 /usr/local/X11R5/include \
20064 /usr/local/X11R4/include \
20066 /usr/local/include/X11R6 \
20067 /usr/local/include/X11R5 \
20068 /usr/local/include/X11R4 \
20072 /usr/local/X11/include \
20073 /usr/local/include/X11 \
20075 /usr/X386/include \
20076 /usr/x386/include \
20077 /usr/XFree86/include/X11 \
20079 X:/XFree86/include \
20080 X:/XFree86/include/X11 \
20083 /usr/local/include/gtk \
20084 /usr/include/glib \
20085 /usr/local/include/glib \
20088 /usr/local/include/qt \
20090 /usr/local/arm/3.3.2/include \
20092 /usr/include/windows \
20093 /usr/include/wine \
20094 /usr/local/include/wine \
20096 /usr/unsupported/include \
20097 /usr/athena/include \
20098 /usr/local/x11r5/include \
20099 /usr/lpp/Xamples/include \
20101 /usr/openwin/share/include"
20103 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20106 cat >confcache
<<\_ACEOF
20107 # This file is a shell script that caches the results of configure
20108 # tests run on this system so they can be shared between configure
20109 # scripts and configure runs, see configure's option --config-cache.
20110 # It is not useful on other systems. If it contains results you don't
20111 # want to keep, you may remove or edit it.
20113 # config.status only pays attention to the cache file if you give it
20114 # the --recheck option to rerun configure.
20116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20118 # following values.
20122 # The following way of writing the cache mishandles newlines in values,
20123 # but we know of no workaround that is simple, portable, and efficient.
20124 # So, don't put newlines in cache variables' values.
20125 # Ultrix sh set writes to stderr and can't be redirected directly,
20126 # and sets the high bit in the cache file unless we assign to the vars.
20129 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20131 # `set' does not quote correctly, so add quotes (double-quote
20132 # substitution turns \\\\ into \\, and sed turns \\ into \).
20135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20138 # `set' quotes correctly as required by POSIX, so do not add quotes.
20140 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20149 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20151 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20152 if test -w $cache_file; then
20153 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20154 cat confcache
>$cache_file
20156 echo "not updating unwritable cache $cache_file"
20161 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20162 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20163 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20164 if test "${wx_cv_lib_glibc21+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 cat >conftest.
$ac_ext <<_ACEOF
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 #include <features.h>
20179 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20180 #error not glibc2.1
20187 rm -f conftest.
$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20191 grep -v '^ *+' conftest.er1
>conftest.err
20193 cat conftest.err
>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try
='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20209 wx_cv_lib_glibc21
=yes
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20216 wx_cv_lib_glibc21
=no
20220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20224 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20225 if test "$wx_cv_lib_glibc21" = "yes"; then
20226 cat >>confdefs.h
<<\_ACEOF
20227 #define wxHAVE_GLIBC2 1
20233 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20234 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20235 cat >>confdefs.h
<<\_ACEOF
20236 #define _GNU_SOURCE 1
20244 if test "$wxUSE_REGEX" != "no"; then
20245 cat >>confdefs.h
<<\_ACEOF
20246 #define wxUSE_REGEX 1
20250 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20251 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20252 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20253 wxUSE_REGEX
=builtin
20256 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20257 if test "${ac_cv_header_regex_h+set}" = set; then
20258 echo "$as_me:$LINENO: checking for regex.h" >&5
20259 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20260 if test "${ac_cv_header_regex_h+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20264 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20266 # Is the header compilable?
20267 echo "$as_me:$LINENO: checking regex.h usability" >&5
20268 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20269 cat >conftest.
$ac_ext <<_ACEOF
20272 cat confdefs.h
>>conftest.
$ac_ext
20273 cat >>conftest.
$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20275 $ac_includes_default
20278 rm -f conftest.
$ac_objext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>conftest.er1
20282 grep -v '^ *+' conftest.er1
>conftest.err
20284 cat conftest.err
>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try
='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_header_compiler
=yes
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.
$ac_ext >&5
20304 ac_header_compiler
=no
20306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20308 echo "${ECHO_T}$ac_header_compiler" >&6
20310 # Is the header present?
20311 echo "$as_me:$LINENO: checking regex.h presence" >&5
20312 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20324 grep -v '^ *+' conftest.er1
>conftest.err
20326 cat conftest.err
>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } >/dev
/null
; then
20329 if test -s conftest.err
; then
20330 ac_cpp_err
=$ac_c_preproc_warn_flag
20331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20338 if test -z "$ac_cpp_err"; then
20339 ac_header_preproc
=yes
20341 echo "$as_me: failed program was:" >&5
20342 sed 's/^/| /' conftest.
$ac_ext >&5
20344 ac_header_preproc
=no
20346 rm -f conftest.err conftest.
$ac_ext
20347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20348 echo "${ECHO_T}$ac_header_preproc" >&6
20350 # So? What about this header?
20351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20353 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20354 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20355 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20356 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20357 ac_header_preproc
=yes
20360 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20361 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20362 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20363 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20364 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20365 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20366 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20367 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20368 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20369 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20370 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20371 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20374 ## ----------------------------------------- ##
20375 ## Report this to wx-dev@lists.wxwidgets.org ##
20376 ## ----------------------------------------- ##
20379 sed "s/^/$as_me: WARNING: /" >&2
20382 echo "$as_me:$LINENO: checking for regex.h" >&5
20383 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20384 if test "${ac_cv_header_regex_h+set}" = set; then
20385 echo $ECHO_N "(cached) $ECHO_C" >&6
20387 ac_cv_header_regex_h
=$ac_header_preproc
20389 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20390 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20393 if test $ac_cv_header_regex_h = yes; then
20395 for ac_func
in regcomp
20397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20398 echo "$as_me:$LINENO: checking for $ac_func" >&5
20399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20400 if eval "test \"\${$as_ac_var+set}\" = set"; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20411 #define $ac_func innocuous_$ac_func
20413 /* System header to define __stub macros and hopefully few prototypes,
20414 which can conflict with char $ac_func (); below.
20415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20416 <limits.h> exists even on freestanding compilers. */
20419 # include <limits.h>
20421 # include <assert.h>
20426 /* Override any gcc2 internal prototype to avoid an error. */
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20434 /* The GNU C library defines this for functions which it implements
20435 to always fail with ENOSYS. Some functions are actually named
20436 something starting with __ and the normal name is an alias. */
20437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20440 char (*f) () = $ac_func;
20449 return f != $ac_func;
20454 rm -f conftest.
$ac_objext conftest
$ac_exeext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456 (eval $ac_link) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; } &&
20469 { ac_try
='test -s conftest$ac_exeext'
20470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471 (eval $ac_try) 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; }; then
20475 eval "$as_ac_var=yes"
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.
$ac_ext >&5
20480 eval "$as_ac_var=no"
20482 rm -f conftest.err conftest.
$ac_objext \
20483 conftest
$ac_exeext conftest.
$ac_ext
20485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20487 if test `eval echo '${'$as_ac_var'}'` = yes; then
20488 cat >>confdefs.h
<<_ACEOF
20489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20499 if test "x$ac_cv_func_regcomp" != "xyes"; then
20500 if test "$wxUSE_REGEX" = "sys" ; then
20501 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20502 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20503 { (exit 1); exit 1; }; }
20505 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20506 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20507 wxUSE_REGEX
=builtin
20511 cat >>confdefs.h
<<\_ACEOF
20512 #define WX_NO_REGEX_ADVANCED 1
20521 if test "$wxUSE_ZLIB" != "no" ; then
20522 cat >>confdefs.h
<<\_ACEOF
20523 #define wxUSE_ZLIB 1
20527 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20528 if test "$USE_DARWIN" = 1; then
20529 system_zlib_h_ok
="yes"
20531 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20532 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20533 if test "${ac_cv_header_zlib_h+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 if test "$cross_compiling" = yes; then
20537 unset ac_cv_header_zlib_h
20540 cat >conftest.
$ac_ext <<_ACEOF
20543 cat confdefs.h
>>conftest.
$ac_ext
20544 cat >>conftest.
$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20552 FILE *f=fopen("conftestval", "w");
20555 ZLIB_VERSION[0] == '1' &&
20556 (ZLIB_VERSION[2] > '1' ||
20557 (ZLIB_VERSION[2] == '1' &&
20558 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20563 rm -f conftest
$ac_exeext
20564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20565 (eval $ac_link) 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_header_zlib_h
=`cat conftestval`
20576 echo "$as_me: program exited with status $ac_status" >&5
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.
$ac_ext >&5
20580 ( exit $ac_status )
20581 ac_cv_header_zlib_h
=no
20583 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20587 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20588 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20589 if test "${ac_cv_header_zlib_h+set}" = set; then
20590 echo "$as_me:$LINENO: checking for zlib.h" >&5
20591 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20592 if test "${ac_cv_header_zlib_h+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20595 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20596 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20598 # Is the header compilable?
20599 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20600 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20610 rm -f conftest.
$ac_objext
20611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20612 (eval $ac_compile) 2>conftest.er1
20614 grep -v '^ *+' conftest.er1
>conftest.err
20616 cat conftest.err
>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } &&
20619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try
='test -s conftest.$ac_objext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_header_compiler
=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.
$ac_ext >&5
20636 ac_header_compiler
=no
20638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20640 echo "${ECHO_T}$ac_header_compiler" >&6
20642 # Is the header present?
20643 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20644 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20645 cat >conftest.
$ac_ext <<_ACEOF
20648 cat confdefs.h
>>conftest.
$ac_ext
20649 cat >>conftest.
$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20656 grep -v '^ *+' conftest.er1
>conftest.err
20658 cat conftest.err
>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } >/dev
/null
; then
20661 if test -s conftest.err
; then
20662 ac_cpp_err
=$ac_c_preproc_warn_flag
20663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20670 if test -z "$ac_cpp_err"; then
20671 ac_header_preproc
=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.
$ac_ext >&5
20676 ac_header_preproc
=no
20678 rm -f conftest.err conftest.
$ac_ext
20679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20680 echo "${ECHO_T}$ac_header_preproc" >&6
20682 # So? What about this header?
20683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20685 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20686 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20687 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20688 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20689 ac_header_preproc
=yes
20692 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20693 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20694 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20695 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20696 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20697 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20698 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20699 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20700 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20701 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20702 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20703 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20706 ## ----------------------------------------- ##
20707 ## Report this to wx-dev@lists.wxwidgets.org ##
20708 ## ----------------------------------------- ##
20711 sed "s/^/$as_me: WARNING: /" >&2
20714 echo "$as_me:$LINENO: checking for zlib.h" >&5
20715 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20716 if test "${ac_cv_header_zlib_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20719 ac_cv_header_zlib_h
=$ac_header_preproc
20721 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20722 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20728 system_zlib_h_ok
=$ac_cv_header_zlib_h
20731 if test "$system_zlib_h_ok" = "yes"; then
20732 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20733 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20734 if test "${ac_cv_lib_z_deflate+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 ac_check_lib_save_LIBS
=$LIBS
20739 cat >conftest.
$ac_ext <<_ACEOF
20742 cat confdefs.h
>>conftest.
$ac_ext
20743 cat >>conftest.
$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20746 /* Override any gcc2 internal prototype to avoid an error. */
20750 /* We use char because int might match the return type of a gcc2
20751 builtin and then its argument prototype would still apply. */
20761 rm -f conftest.
$ac_objext conftest
$ac_exeext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20763 (eval $ac_link) 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest$ac_exeext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_lib_z_deflate
=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.
$ac_ext >&5
20787 ac_cv_lib_z_deflate
=no
20789 rm -f conftest.err conftest.
$ac_objext \
20790 conftest
$ac_exeext conftest.
$ac_ext
20791 LIBS
=$ac_check_lib_save_LIBS
20793 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20794 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20795 if test $ac_cv_lib_z_deflate = yes; then
20801 if test "x$ZLIB_LINK" = "x" ; then
20802 if test "$wxUSE_ZLIB" = "sys" ; then
20803 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20804 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20805 { (exit 1); exit 1; }; }
20807 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20808 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20819 if test "$wxUSE_LIBPNG" != "no" ; then
20820 cat >>confdefs.h
<<\_ACEOF
20821 #define wxUSE_LIBPNG 1
20825 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20826 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20827 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20831 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20832 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20833 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20834 wxUSE_LIBPNG
=builtin
20837 if test "$wxUSE_MGL" != 1 ; then
20838 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20839 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20840 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20841 if test "${ac_cv_header_png_h+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 if test "$cross_compiling" = yes; then
20845 unset ac_cv_header_png_h
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20860 FILE *f=fopen("conftestval", "w");
20863 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20868 rm -f conftest
$ac_exeext
20869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20870 (eval $ac_link) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; }; then
20879 ac_cv_header_png_h
=`cat conftestval`
20881 echo "$as_me: program exited with status $ac_status" >&5
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.
$ac_ext >&5
20885 ( exit $ac_status )
20886 ac_cv_header_png_h
=no
20888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20892 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20893 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20894 if test "${ac_cv_header_png_h+set}" = set; then
20895 echo "$as_me:$LINENO: checking for png.h" >&5
20896 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20897 if test "${ac_cv_header_png_h+set}" = set; then
20898 echo $ECHO_N "(cached) $ECHO_C" >&6
20900 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20901 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20903 # Is the header compilable?
20904 echo "$as_me:$LINENO: checking png.h usability" >&5
20905 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20906 cat >conftest.
$ac_ext <<_ACEOF
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20915 rm -f conftest.
$ac_objext
20916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20917 (eval $ac_compile) 2>conftest.er1
20919 grep -v '^ *+' conftest.er1
>conftest.err
20921 cat conftest.err
>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } &&
20924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20926 (eval $ac_try) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); }; } &&
20930 { ac_try
='test -s conftest.$ac_objext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20936 ac_header_compiler
=yes
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 ac_header_compiler
=no
20943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20945 echo "${ECHO_T}$ac_header_compiler" >&6
20947 # Is the header present?
20948 echo "$as_me:$LINENO: checking png.h presence" >&5
20949 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20961 grep -v '^ *+' conftest.er1
>conftest.err
20963 cat conftest.err
>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } >/dev
/null
; then
20966 if test -s conftest.err
; then
20967 ac_cpp_err
=$ac_c_preproc_warn_flag
20968 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20975 if test -z "$ac_cpp_err"; then
20976 ac_header_preproc
=yes
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.
$ac_ext >&5
20981 ac_header_preproc
=no
20983 rm -f conftest.err conftest.
$ac_ext
20984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20985 echo "${ECHO_T}$ac_header_preproc" >&6
20987 # So? What about this header?
20988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20990 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20991 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20992 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20993 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20994 ac_header_preproc
=yes
20997 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20998 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20999 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21000 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21001 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21002 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21003 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21004 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21005 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21006 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21007 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21008 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21011 ## ----------------------------------------- ##
21012 ## Report this to wx-dev@lists.wxwidgets.org ##
21013 ## ----------------------------------------- ##
21016 sed "s/^/$as_me: WARNING: /" >&2
21019 echo "$as_me:$LINENO: checking for png.h" >&5
21020 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21021 if test "${ac_cv_header_png_h+set}" = set; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 ac_cv_header_png_h
=$ac_header_preproc
21026 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21027 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21033 if test "$ac_cv_header_png_h" = "yes"; then
21034 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21035 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21036 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 ac_check_lib_save_LIBS
=$LIBS
21040 LIBS
="-lpng -lz -lm $LIBS"
21041 cat >conftest.
$ac_ext <<_ACEOF
21044 cat confdefs.h
>>conftest.
$ac_ext
21045 cat >>conftest.
$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21048 /* Override any gcc2 internal prototype to avoid an error. */
21052 /* We use char because int might match the return type of a gcc2
21053 builtin and then its argument prototype would still apply. */
21054 char png_check_sig ();
21063 rm -f conftest.
$ac_objext conftest
$ac_exeext
21064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21065 (eval $ac_link) 2>conftest.er1
21067 grep -v '^ *+' conftest.er1
>conftest.err
21069 cat conftest.err
>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } &&
21072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; } &&
21078 { ac_try
='test -s conftest$ac_exeext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_lib_png_png_check_sig
=yes
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.
$ac_ext >&5
21089 ac_cv_lib_png_png_check_sig
=no
21091 rm -f conftest.err conftest.
$ac_objext \
21092 conftest
$ac_exeext conftest.
$ac_ext
21093 LIBS
=$ac_check_lib_save_LIBS
21095 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21096 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21097 if test $ac_cv_lib_png_png_check_sig = yes; then
21098 PNG_LINK
=" -lpng -lz"
21103 if test "x$PNG_LINK" = "x" ; then
21104 if test "$wxUSE_LIBPNG" = "sys" ; then
21105 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21106 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21107 { (exit 1); exit 1; }; }
21109 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21110 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21111 wxUSE_LIBPNG
=builtin
21119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21124 if test "$wxUSE_LIBJPEG" != "no" ; then
21125 cat >>confdefs.h
<<\_ACEOF
21126 #define wxUSE_LIBJPEG 1
21130 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21131 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21132 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21136 if test "$wxUSE_MGL" != 1 ; then
21137 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21138 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21139 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21140 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 cat >conftest.
$ac_ext <<_ACEOF
21146 cat confdefs.h
>>conftest.
$ac_ext
21147 cat >>conftest.
$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21150 #undef HAVE_STDLIB_H
21152 #include <jpeglib.h>
21163 rm -f conftest.
$ac_objext
21164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21165 (eval $ac_compile) 2>conftest.er1
21167 grep -v '^ *+' conftest.er1
>conftest.err
21169 cat conftest.err
>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } &&
21172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try
='test -s conftest.$ac_objext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 ac_cv_header_jpeglib_h
=yes
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21189 ac_cv_header_jpeglib_h
=no
21192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21196 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21197 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21199 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21200 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21201 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21202 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 ac_check_lib_save_LIBS
=$LIBS
21206 LIBS
="-ljpeg $LIBS"
21207 cat >conftest.
$ac_ext <<_ACEOF
21210 cat confdefs.h
>>conftest.
$ac_ext
21211 cat >>conftest.
$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21214 /* Override any gcc2 internal prototype to avoid an error. */
21218 /* We use char because int might match the return type of a gcc2
21219 builtin and then its argument prototype would still apply. */
21220 char jpeg_read_header ();
21224 jpeg_read_header ();
21229 rm -f conftest.
$ac_objext conftest
$ac_exeext
21230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21231 (eval $ac_link) 2>conftest.er1
21233 grep -v '^ *+' conftest.er1
>conftest.err
21235 cat conftest.err
>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } &&
21238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; } &&
21244 { ac_try
='test -s conftest$ac_exeext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_lib_jpeg_jpeg_read_header
=yes
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.
$ac_ext >&5
21255 ac_cv_lib_jpeg_jpeg_read_header
=no
21257 rm -f conftest.err conftest.
$ac_objext \
21258 conftest
$ac_exeext conftest.
$ac_ext
21259 LIBS
=$ac_check_lib_save_LIBS
21261 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21262 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21263 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21264 JPEG_LINK
=" -ljpeg"
21269 if test "x$JPEG_LINK" = "x" ; then
21270 if test "$wxUSE_LIBJPEG" = "sys" ; then
21271 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21272 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21273 { (exit 1); exit 1; }; }
21275 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21276 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21277 wxUSE_LIBJPEG
=builtin
21288 TIFF_PREREQ_LINKS
=-lm
21289 if test "$wxUSE_LIBTIFF" != "no" ; then
21290 cat >>confdefs.h
<<\_ACEOF
21291 #define wxUSE_LIBTIFF 1
21295 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21296 if test "$wxUSE_LIBJPEG" = "sys"; then
21297 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21299 if test "$wxUSE_ZLIB" = "sys"; then
21300 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21302 if test "${ac_cv_header_tiffio_h+set}" = set; then
21303 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21304 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21305 if test "${ac_cv_header_tiffio_h+set}" = set; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21309 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21311 # Is the header compilable?
21312 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21313 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21314 cat >conftest.
$ac_ext <<_ACEOF
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 $ac_includes_default
21321 #include <tiffio.h>
21323 rm -f conftest.
$ac_objext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21325 (eval $ac_compile) 2>conftest.er1
21327 grep -v '^ *+' conftest.er1
>conftest.err
21329 cat conftest.err
>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } &&
21332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; } &&
21338 { ac_try
='test -s conftest.$ac_objext'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; }; then
21344 ac_header_compiler
=yes
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.
$ac_ext >&5
21349 ac_header_compiler
=no
21351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21353 echo "${ECHO_T}$ac_header_compiler" >&6
21355 # Is the header present?
21356 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21357 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21358 cat >conftest.
$ac_ext <<_ACEOF
21361 cat confdefs.h
>>conftest.
$ac_ext
21362 cat >>conftest.
$ac_ext <<_ACEOF
21363 /* end confdefs.h. */
21364 #include <tiffio.h>
21366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21369 grep -v '^ *+' conftest.er1
>conftest.err
21371 cat conftest.err
>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } >/dev
/null
; then
21374 if test -s conftest.err
; then
21375 ac_cpp_err
=$ac_c_preproc_warn_flag
21376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21383 if test -z "$ac_cpp_err"; then
21384 ac_header_preproc
=yes
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21389 ac_header_preproc
=no
21391 rm -f conftest.err conftest.
$ac_ext
21392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21393 echo "${ECHO_T}$ac_header_preproc" >&6
21395 # So? What about this header?
21396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21398 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21399 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21400 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21401 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21402 ac_header_preproc
=yes
21405 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21406 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21407 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21408 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21409 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21410 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21411 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21412 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21413 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21414 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21415 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21416 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21419 ## ----------------------------------------- ##
21420 ## Report this to wx-dev@lists.wxwidgets.org ##
21421 ## ----------------------------------------- ##
21424 sed "s/^/$as_me: WARNING: /" >&2
21427 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21428 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21429 if test "${ac_cv_header_tiffio_h+set}" = set; then
21430 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 ac_cv_header_tiffio_h
=$ac_header_preproc
21434 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21435 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21438 if test $ac_cv_header_tiffio_h = yes; then
21440 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21441 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21442 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21443 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 ac_check_lib_save_LIBS
=$LIBS
21446 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21447 cat >conftest.
$ac_ext <<_ACEOF
21450 cat confdefs.h
>>conftest.
$ac_ext
21451 cat >>conftest.
$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21454 /* Override any gcc2 internal prototype to avoid an error. */
21458 /* We use char because int might match the return type of a gcc2
21459 builtin and then its argument prototype would still apply. */
21469 rm -f conftest.
$ac_objext conftest
$ac_exeext
21470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21471 (eval $ac_link) 2>conftest.er1
21473 grep -v '^ *+' conftest.er1
>conftest.err
21475 cat conftest.err
>&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } &&
21478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; } &&
21484 { ac_try
='test -s conftest$ac_exeext'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; }; then
21490 ac_cv_lib_tiff_TIFFError
=yes
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.
$ac_ext >&5
21495 ac_cv_lib_tiff_TIFFError
=no
21497 rm -f conftest.err conftest.
$ac_objext \
21498 conftest
$ac_exeext conftest.
$ac_ext
21499 LIBS
=$ac_check_lib_save_LIBS
21501 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21502 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21503 if test $ac_cv_lib_tiff_TIFFError = yes; then
21504 TIFF_LINK
=" -ltiff"
21513 if test "x$TIFF_LINK" = "x" ; then
21514 if test "$wxUSE_LIBTIFF" = "sys" ; then
21515 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21516 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21517 { (exit 1); exit 1; }; }
21519 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21520 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21521 wxUSE_LIBTIFF
=builtin
21530 if test "$wxUSE_EXPAT" != "no"; then
21532 cat >>confdefs.h
<<\_ACEOF
21533 #define wxUSE_EXPAT 1
21536 cat >>confdefs.h
<<\_ACEOF
21537 #define wxUSE_XML 1
21541 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21542 if test "${ac_cv_header_expat_h+set}" = set; then
21543 echo "$as_me:$LINENO: checking for expat.h" >&5
21544 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21545 if test "${ac_cv_header_expat_h+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21549 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21551 # Is the header compilable?
21552 echo "$as_me:$LINENO: checking expat.h usability" >&5
21553 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21554 cat >conftest.
$ac_ext <<_ACEOF
21557 cat confdefs.h
>>conftest.
$ac_ext
21558 cat >>conftest.
$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21563 rm -f conftest.
$ac_objext
21564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21565 (eval $ac_compile) 2>conftest.er1
21567 grep -v '^ *+' conftest.er1
>conftest.err
21569 cat conftest.err
>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } &&
21572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; } &&
21578 { ac_try
='test -s conftest.$ac_objext'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; }; then
21584 ac_header_compiler
=yes
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21589 ac_header_compiler
=no
21591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21593 echo "${ECHO_T}$ac_header_compiler" >&6
21595 # Is the header present?
21596 echo "$as_me:$LINENO: checking expat.h presence" >&5
21597 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21598 cat >conftest.
$ac_ext <<_ACEOF
21601 cat confdefs.h
>>conftest.
$ac_ext
21602 cat >>conftest.
$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21609 grep -v '^ *+' conftest.er1
>conftest.err
21611 cat conftest.err
>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } >/dev
/null
; then
21614 if test -s conftest.err
; then
21615 ac_cpp_err
=$ac_c_preproc_warn_flag
21616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21623 if test -z "$ac_cpp_err"; then
21624 ac_header_preproc
=yes
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.
$ac_ext >&5
21629 ac_header_preproc
=no
21631 rm -f conftest.err conftest.
$ac_ext
21632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21633 echo "${ECHO_T}$ac_header_preproc" >&6
21635 # So? What about this header?
21636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21638 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21639 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21640 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21641 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21642 ac_header_preproc
=yes
21645 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21646 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21647 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21648 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21649 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21650 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21651 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21652 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21653 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21654 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21655 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21656 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21659 ## ----------------------------------------- ##
21660 ## Report this to wx-dev@lists.wxwidgets.org ##
21661 ## ----------------------------------------- ##
21664 sed "s/^/$as_me: WARNING: /" >&2
21667 echo "$as_me:$LINENO: checking for expat.h" >&5
21668 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21669 if test "${ac_cv_header_expat_h+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21672 ac_cv_header_expat_h
=$ac_header_preproc
21674 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21675 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21678 if test $ac_cv_header_expat_h = yes; then
21683 if test "x$found_expat_h" = "x1"; then
21684 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21685 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21686 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 ac_cpp
='$CXXCPP $CPPFLAGS'
21694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21698 cat >conftest.
$ac_ext <<_ACEOF
21701 cat confdefs.h
>>conftest.
$ac_ext
21702 cat >>conftest.
$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21713 rm -f conftest.
$ac_objext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21715 (eval $ac_compile) 2>conftest.er1
21717 grep -v '^ *+' conftest.er1
>conftest.err
21719 cat conftest.err
>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); } &&
21722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; } &&
21728 { ac_try
='test -s conftest.$ac_objext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 wx_cv_expat_is_not_broken
=yes
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 wx_cv_expat_is_not_broken
=no
21742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21744 ac_cpp
='$CPP $CPPFLAGS'
21745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21752 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21753 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21754 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21755 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21756 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21757 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21760 ac_check_lib_save_LIBS
=$LIBS
21761 LIBS
="-lexpat $LIBS"
21762 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21769 /* Override any gcc2 internal prototype to avoid an error. */
21773 /* We use char because int might match the return type of a gcc2
21774 builtin and then its argument prototype would still apply. */
21775 char XML_ParserCreate ();
21779 XML_ParserCreate ();
21784 rm -f conftest.
$ac_objext conftest
$ac_exeext
21785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21786 (eval $ac_link) 2>conftest.er1
21788 grep -v '^ *+' conftest.er1
>conftest.err
21790 cat conftest.err
>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } &&
21793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try
='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_lib_expat_XML_ParserCreate
=yes
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 ac_cv_lib_expat_XML_ParserCreate
=no
21812 rm -f conftest.err conftest.
$ac_objext \
21813 conftest
$ac_exeext conftest.
$ac_ext
21814 LIBS
=$ac_check_lib_save_LIBS
21816 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21817 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21818 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21819 EXPAT_LINK
=" -lexpat"
21824 if test "x$EXPAT_LINK" = "x" ; then
21825 if test "$wxUSE_EXPAT" = "sys" ; then
21826 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21827 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21828 { (exit 1); exit 1; }; }
21830 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21831 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21832 wxUSE_EXPAT
=builtin
21838 if test "$wxUSE_EXPAT" = "builtin" ; then
21841 subdirs
="$subdirs src/expat"
21848 if test "$wxUSE_LIBMSPACK" != "no"; then
21850 if test "${ac_cv_header_mspack_h+set}" = set; then
21851 echo "$as_me:$LINENO: checking for mspack.h" >&5
21852 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21853 if test "${ac_cv_header_mspack_h+set}" = set; then
21854 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21857 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21859 # Is the header compilable?
21860 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21861 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 #include <mspack.h>
21871 rm -f conftest.
$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21875 grep -v '^ *+' conftest.er1
>conftest.err
21877 cat conftest.err
>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; } &&
21886 { ac_try
='test -s conftest.$ac_objext'
21887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21888 (eval $ac_try) 2>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); }; }; then
21892 ac_header_compiler
=yes
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.
$ac_ext >&5
21897 ac_header_compiler
=no
21899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21901 echo "${ECHO_T}$ac_header_compiler" >&6
21903 # Is the header present?
21904 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21905 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21906 cat >conftest.
$ac_ext <<_ACEOF
21909 cat confdefs.h
>>conftest.
$ac_ext
21910 cat >>conftest.
$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 #include <mspack.h>
21914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21917 grep -v '^ *+' conftest.er1
>conftest.err
21919 cat conftest.err
>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } >/dev
/null
; then
21922 if test -s conftest.err
; then
21923 ac_cpp_err
=$ac_c_preproc_warn_flag
21924 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21931 if test -z "$ac_cpp_err"; then
21932 ac_header_preproc
=yes
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.
$ac_ext >&5
21937 ac_header_preproc
=no
21939 rm -f conftest.err conftest.
$ac_ext
21940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21941 echo "${ECHO_T}$ac_header_preproc" >&6
21943 # So? What about this header?
21944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21946 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21947 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21948 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21949 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21950 ac_header_preproc
=yes
21953 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21954 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21955 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21956 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21957 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21958 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21959 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21960 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21961 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21962 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21963 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21964 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21967 ## ----------------------------------------- ##
21968 ## Report this to wx-dev@lists.wxwidgets.org ##
21969 ## ----------------------------------------- ##
21972 sed "s/^/$as_me: WARNING: /" >&2
21975 echo "$as_me:$LINENO: checking for mspack.h" >&5
21976 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21977 if test "${ac_cv_header_mspack_h+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 ac_cv_header_mspack_h
=$ac_header_preproc
21982 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21983 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21986 if test $ac_cv_header_mspack_h = yes; then
21991 if test "x$found_mspack_h" = "x1"; then
21992 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21993 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21994 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21997 ac_check_lib_save_LIBS
=$LIBS
21998 LIBS
="-lmspack $LIBS"
21999 cat >conftest.
$ac_ext <<_ACEOF
22002 cat confdefs.h
>>conftest.
$ac_ext
22003 cat >>conftest.
$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22006 /* Override any gcc2 internal prototype to avoid an error. */
22010 /* We use char because int might match the return type of a gcc2
22011 builtin and then its argument prototype would still apply. */
22012 char mspack_create_chm_decompressor ();
22016 mspack_create_chm_decompressor ();
22021 rm -f conftest.
$ac_objext conftest
$ac_exeext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22023 (eval $ac_link) 2>conftest.er1
22025 grep -v '^ *+' conftest.er1
>conftest.err
22027 cat conftest.err
>&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; } &&
22036 { ac_try
='test -s conftest$ac_exeext'
22037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22038 (eval $ac_try) 2>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); }; }; then
22042 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.
$ac_ext >&5
22047 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22049 rm -f conftest.err conftest.
$ac_objext \
22050 conftest
$ac_exeext conftest.
$ac_ext
22051 LIBS
=$ac_check_lib_save_LIBS
22053 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22054 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22055 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22056 MSPACK_LINK
=" -lmspack"
22060 if test "x$MSPACK_LINK" = "x" ; then
22063 cat >>confdefs.h
<<\_ACEOF
22064 #define wxUSE_LIBMSPACK 1
22079 if test "$USE_WIN32" = 1 ; then
22081 for ac_header
in w32api.h
22083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22085 echo "$as_me:$LINENO: checking for $ac_header" >&5
22086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22093 # Is the header compilable?
22094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22096 cat >conftest.
$ac_ext <<_ACEOF
22099 cat confdefs.h
>>conftest.
$ac_ext
22100 cat >>conftest.
$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 $ac_includes_default
22103 #include <$ac_header>
22105 rm -f conftest.
$ac_objext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22107 (eval $ac_compile) 2>conftest.er1
22109 grep -v '^ *+' conftest.er1
>conftest.err
22111 cat conftest.err
>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try
='test -s conftest.$ac_objext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_header_compiler
=yes
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.
$ac_ext >&5
22131 ac_header_compiler
=no
22133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22135 echo "${ECHO_T}$ac_header_compiler" >&6
22137 # Is the header present?
22138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22140 cat >conftest.
$ac_ext <<_ACEOF
22143 cat confdefs.h
>>conftest.
$ac_ext
22144 cat >>conftest.
$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <$ac_header>
22148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22151 grep -v '^ *+' conftest.er1
>conftest.err
22153 cat conftest.err
>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } >/dev
/null
; then
22156 if test -s conftest.err
; then
22157 ac_cpp_err
=$ac_c_preproc_warn_flag
22158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22165 if test -z "$ac_cpp_err"; then
22166 ac_header_preproc
=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 ac_header_preproc
=no
22173 rm -f conftest.err conftest.
$ac_ext
22174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22175 echo "${ECHO_T}$ac_header_preproc" >&6
22177 # So? What about this header?
22178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22184 ac_header_preproc
=yes
22187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22201 ## ----------------------------------------- ##
22202 ## Report this to wx-dev@lists.wxwidgets.org ##
22203 ## ----------------------------------------- ##
22206 sed "s/^/$as_me: WARNING: /" >&2
22209 echo "$as_me:$LINENO: checking for $ac_header" >&5
22210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 eval "$as_ac_Header=\$ac_header_preproc"
22216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22221 cat >>confdefs.h
<<_ACEOF
22222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22229 if test "${ac_cv_header_windows_h+set}" = set; then
22230 echo "$as_me:$LINENO: checking for windows.h" >&5
22231 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22232 if test "${ac_cv_header_windows_h+set}" = set; then
22233 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22236 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22238 # Is the header compilable?
22239 echo "$as_me:$LINENO: checking windows.h usability" >&5
22240 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22241 cat >conftest.
$ac_ext <<_ACEOF
22244 cat confdefs.h
>>conftest.
$ac_ext
22245 cat >>conftest.
$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 $ac_includes_default
22248 #include <windows.h>
22250 rm -f conftest.
$ac_objext
22251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22252 (eval $ac_compile) 2>conftest.er1
22254 grep -v '^ *+' conftest.er1
>conftest.err
22256 cat conftest.err
>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); } &&
22259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; } &&
22265 { ac_try
='test -s conftest.$ac_objext'
22266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22267 (eval $ac_try) 2>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); }; }; then
22271 ac_header_compiler
=yes
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.
$ac_ext >&5
22276 ac_header_compiler
=no
22278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22280 echo "${ECHO_T}$ac_header_compiler" >&6
22282 # Is the header present?
22283 echo "$as_me:$LINENO: checking windows.h presence" >&5
22284 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22285 cat >conftest.
$ac_ext <<_ACEOF
22288 cat confdefs.h
>>conftest.
$ac_ext
22289 cat >>conftest.
$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22291 #include <windows.h>
22293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22296 grep -v '^ *+' conftest.er1
>conftest.err
22298 cat conftest.err
>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } >/dev
/null
; then
22301 if test -s conftest.err
; then
22302 ac_cpp_err
=$ac_c_preproc_warn_flag
22303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22310 if test -z "$ac_cpp_err"; then
22311 ac_header_preproc
=yes
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.
$ac_ext >&5
22316 ac_header_preproc
=no
22318 rm -f conftest.err conftest.
$ac_ext
22319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22320 echo "${ECHO_T}$ac_header_preproc" >&6
22322 # So? What about this header?
22323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22325 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22326 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22327 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22328 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22329 ac_header_preproc
=yes
22332 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22333 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22334 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22335 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22336 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22337 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22338 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22339 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22340 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22341 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22342 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22343 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22346 ## ----------------------------------------- ##
22347 ## Report this to wx-dev@lists.wxwidgets.org ##
22348 ## ----------------------------------------- ##
22351 sed "s/^/$as_me: WARNING: /" >&2
22354 echo "$as_me:$LINENO: checking for windows.h" >&5
22355 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22356 if test "${ac_cv_header_windows_h+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22359 ac_cv_header_windows_h
=$ac_header_preproc
22361 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22362 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22365 if test $ac_cv_header_windows_h = yes; then
22369 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22370 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22371 { (exit 1); exit 1; }; }
22377 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22379 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22380 LIBS
="$LIBS -loleacc"
22385 LIBS
="$LIBS -lkernel32 -luser32"
22386 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22389 if test "$wxUSE_ODBC" = "sys" ; then
22392 if test "$wxUSE_ODBC" = "yes" ; then
22393 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22394 cat >>confdefs.h
<<\_ACEOF
22395 #define wxUSE_ODBC 1
22400 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22401 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22403 WIN32INSTALL
=win32install
22406 if test "$wxUSE_GUI" = "yes"; then
22416 if test "$wxUSE_MSW" = 1 ; then
22422 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22426 if test "$wxUSE_GTK" = 1; then
22427 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22428 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22430 gtk_version_cached
=1
22431 if test "${wx_cv_lib_gtk+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 gtk_version_cached
=0
22436 echo "$as_me:$LINENO: result: " >&5
22437 echo "${ECHO_T}" >&6
22440 if test "$wxUSE_THREADS" = "yes"; then
22441 GTK_MODULES
=gthread
22445 if test "x$wxUSE_GTK2" = "xyes"; then
22446 # Check whether --enable-gtktest or --disable-gtktest was given.
22447 if test "${enable_gtktest+set}" = set; then
22448 enableval
="$enable_gtktest"
22454 pkg_config_args
=gtk
+-2.0
22455 for module
in .
$GTK_MODULES
22459 pkg_config_args
="$pkg_config_args gthread-2.0"
22466 # Extract the first word of "pkg-config", so it can be a program name with args.
22467 set dummy pkg
-config; ac_word
=$2
22468 echo "$as_me:$LINENO: checking for $ac_word" >&5
22469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22471 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 case $PKG_CONFIG in
22475 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22479 for as_dir
in $PATH
22482 test -z "$as_dir" && as_dir
=.
22483 for ac_exec_ext
in '' $ac_executable_extensions; do
22484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22485 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22492 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22496 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22498 if test -n "$PKG_CONFIG"; then
22499 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22500 echo "${ECHO_T}$PKG_CONFIG" >&6
22502 echo "$as_me:$LINENO: result: no" >&5
22503 echo "${ECHO_T}no" >&6
22507 if test x
$PKG_CONFIG != xno
; then
22508 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22511 echo "*** pkg-config too old; version 0.7 or better required."
22519 min_gtk_version
=2.0.0
22520 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22521 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22523 if test x
$PKG_CONFIG != xno
; then
22524 ## don't try to run the test against uninstalled libtool libs
22525 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22526 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22530 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22537 if test x
"$no_gtk" = x
; then
22538 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22539 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22540 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22542 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22544 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22546 if test "x$enable_gtktest" = "xyes" ; then
22547 ac_save_CFLAGS
="$CFLAGS"
22548 ac_save_LIBS
="$LIBS"
22549 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22550 LIBS
="$GTK_LIBS $LIBS"
22552 if test "$cross_compiling" = yes; then
22553 echo $ac_n "cross compiling; assumed OK... $ac_c"
22555 cat >conftest.
$ac_ext <<_ACEOF
22558 cat confdefs.h
>>conftest.
$ac_ext
22559 cat >>conftest.
$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22562 #include <gtk/gtk.h>
22564 #include <stdlib.h>
22569 int major, minor, micro;
22572 system ("touch conf.gtktest");
22574 /* HP/UX 9 (%@#!) writes to sscanf strings */
22575 tmp_version = g_strdup("$min_gtk_version");
22576 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22577 printf("%s, bad version string\n", "$min_gtk_version");
22581 if ((gtk_major_version != $gtk_config_major_version) ||
22582 (gtk_minor_version != $gtk_config_minor_version) ||
22583 (gtk_micro_version != $gtk_config_micro_version))
22585 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22586 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22587 gtk_major_version, gtk_minor_version, gtk_micro_version);
22588 printf ("*** was found! If pkg-config was correct, then it is best\n");
22589 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22590 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22591 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22592 printf("*** required on your system.\n");
22593 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22594 printf("*** to point to the correct configuration files\n");
22596 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22597 (gtk_minor_version != GTK_MINOR_VERSION) ||
22598 (gtk_micro_version != GTK_MICRO_VERSION))
22600 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22601 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22602 printf("*** library (version %d.%d.%d)\n",
22603 gtk_major_version, gtk_minor_version, gtk_micro_version);
22607 if ((gtk_major_version > major) ||
22608 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22609 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22615 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22616 gtk_major_version, gtk_minor_version, gtk_micro_version);
22617 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22618 major, minor, micro);
22619 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22621 printf("*** If you have already installed a sufficiently new version, this error\n");
22622 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22623 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22624 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22625 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22626 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22627 printf("*** so that the correct libraries are found at run-time))\n");
22634 rm -f conftest
$ac_exeext
22635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22636 (eval $ac_link) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641 (eval $ac_try) 2>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; }; then
22647 echo "$as_me: program exited with status $ac_status" >&5
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.
$ac_ext >&5
22651 ( exit $ac_status )
22654 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22656 CFLAGS
="$ac_save_CFLAGS"
22657 LIBS
="$ac_save_LIBS"
22660 if test "x$no_gtk" = x
; then
22661 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22662 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22665 echo "$as_me:$LINENO: result: no" >&5
22666 echo "${ECHO_T}no" >&6
22667 if test "$PKG_CONFIG" = "no" ; then
22668 echo "*** A new enough version of pkg-config was not found."
22669 echo "*** See http://pkgconfig.sourceforge.net"
22671 if test -f conf.gtktest
; then
22674 echo "*** Could not run GTK+ test program, checking why..."
22675 ac_save_CFLAGS
="$CFLAGS"
22676 ac_save_LIBS
="$LIBS"
22677 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22678 LIBS
="$LIBS $GTK_LIBS"
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22686 #include <gtk/gtk.h>
22692 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22697 rm -f conftest.
$ac_objext conftest
$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>conftest.er1
22701 grep -v '^ *+' conftest.er1
>conftest.err
22703 cat conftest.err
>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; } &&
22712 { ac_try
='test -s conftest$ac_exeext'
22713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22714 (eval $ac_try) 2>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); }; }; then
22718 echo "*** The test program compiled, but did not run. This usually means"
22719 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22720 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22721 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22722 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22723 echo "*** is required on your system"
22725 echo "*** If you have an old version installed, it is best to remove it, although"
22726 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22728 echo "$as_me: failed program was:" >&5
22729 sed 's/^/| /' conftest.
$ac_ext >&5
22731 echo "*** The test program failed to compile or link. See the file config.log for the"
22732 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22734 rm -f conftest.err conftest.
$ac_objext \
22735 conftest
$ac_exeext conftest.
$ac_ext
22736 CFLAGS
="$ac_save_CFLAGS"
22737 LIBS
="$ac_save_LIBS"
22750 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22751 if test "${with_gtk_prefix+set}" = set; then
22752 withval
="$with_gtk_prefix"
22753 gtk_config_prefix
="$withval"
22755 gtk_config_prefix
=""
22758 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22759 if test "${with_gtk_exec_prefix+set}" = set; then
22760 withval
="$with_gtk_exec_prefix"
22761 gtk_config_exec_prefix
="$withval"
22763 gtk_config_exec_prefix
=""
22765 # Check whether --enable-gtktest or --disable-gtktest was given.
22766 if test "${enable_gtktest+set}" = set; then
22767 enableval
="$enable_gtktest"
22773 for module
in .
$GTK_MODULES
22777 gtk_config_args
="$gtk_config_args gthread"
22782 if test x
$gtk_config_exec_prefix != x
; then
22783 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22784 if test x
${GTK_CONFIG+set} != xset
; then
22785 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22788 if test x
$gtk_config_prefix != x
; then
22789 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22790 if test x
${GTK_CONFIG+set} != xset
; then
22791 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22795 # Extract the first word of "gtk-config", so it can be a program name with args.
22796 set dummy gtk
-config; ac_word
=$2
22797 echo "$as_me:$LINENO: checking for $ac_word" >&5
22798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22799 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22800 echo $ECHO_N "(cached) $ECHO_C" >&6
22802 case $GTK_CONFIG in
22804 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22808 for as_dir
in $PATH
22811 test -z "$as_dir" && as_dir
=.
22812 for ac_exec_ext
in '' $ac_executable_extensions; do
22813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22814 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22821 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22825 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22827 if test -n "$GTK_CONFIG"; then
22828 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22829 echo "${ECHO_T}$GTK_CONFIG" >&6
22831 echo "$as_me:$LINENO: result: no" >&5
22832 echo "${ECHO_T}no" >&6
22835 min_gtk_version
=1.2.7
22836 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22837 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22839 if test "$GTK_CONFIG" = "no" ; then
22842 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22843 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22844 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22846 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22847 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22848 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22849 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22850 if test "x$enable_gtktest" = "xyes" ; then
22851 ac_save_CFLAGS
="$CFLAGS"
22852 ac_save_LIBS
="$LIBS"
22853 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22854 LIBS
="$GTK_LIBS $LIBS"
22856 if test "$cross_compiling" = yes; then
22857 echo $ac_n "cross compiling; assumed OK... $ac_c"
22859 cat >conftest.
$ac_ext <<_ACEOF
22862 cat confdefs.h
>>conftest.
$ac_ext
22863 cat >>conftest.
$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22866 #include <gtk/gtk.h>
22868 #include <stdlib.h>
22873 int major, minor, micro;
22876 system ("touch conf.gtktest");
22878 /* HP/UX 9 (%@#!) writes to sscanf strings */
22879 tmp_version = g_strdup("$min_gtk_version");
22880 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22881 printf("%s, bad version string\n", "$min_gtk_version");
22885 if ((gtk_major_version != $gtk_config_major_version) ||
22886 (gtk_minor_version != $gtk_config_minor_version) ||
22887 (gtk_micro_version != $gtk_config_micro_version))
22889 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22890 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22891 gtk_major_version, gtk_minor_version, gtk_micro_version);
22892 printf ("*** was found! If gtk-config was correct, then it is best\n");
22893 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22894 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22895 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22896 printf("*** required on your system.\n");
22897 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22898 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22899 printf("*** before re-running configure\n");
22901 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22902 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22903 (gtk_minor_version != GTK_MINOR_VERSION) ||
22904 (gtk_micro_version != GTK_MICRO_VERSION))
22906 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22907 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22908 printf("*** library (version %d.%d.%d)\n",
22909 gtk_major_version, gtk_minor_version, gtk_micro_version);
22911 #endif /* defined (GTK_MAJOR_VERSION) ... */
22914 if ((gtk_major_version > major) ||
22915 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22916 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22922 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22923 gtk_major_version, gtk_minor_version, gtk_micro_version);
22924 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22925 major, minor, micro);
22926 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22928 printf("*** If you have already installed a sufficiently new version, this error\n");
22929 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22930 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22931 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22932 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22933 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22934 printf("*** so that the correct libraries are found at run-time))\n");
22941 rm -f conftest
$ac_exeext
22942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22943 (eval $ac_link) 2>&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; }; then
22954 echo "$as_me: program exited with status $ac_status" >&5
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.
$ac_ext >&5
22958 ( exit $ac_status )
22961 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22963 CFLAGS
="$ac_save_CFLAGS"
22964 LIBS
="$ac_save_LIBS"
22967 if test "x$no_gtk" = x
; then
22968 echo "$as_me:$LINENO: result: yes" >&5
22969 echo "${ECHO_T}yes" >&6
22970 wx_cv_lib_gtk
=1.2.7
22972 echo "$as_me:$LINENO: result: no" >&5
22973 echo "${ECHO_T}no" >&6
22974 if test "$GTK_CONFIG" = "no" ; then
22975 echo "*** The gtk-config script installed by GTK could not be found"
22976 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22977 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22978 echo "*** full path to gtk-config."
22980 if test -f conf.gtktest
; then
22983 echo "*** Could not run GTK test program, checking why..."
22984 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22985 LIBS
="$LIBS $GTK_LIBS"
22986 cat >conftest.
$ac_ext <<_ACEOF
22989 cat confdefs.h
>>conftest.
$ac_ext
22990 cat >>conftest.
$ac_ext <<_ACEOF
22991 /* end confdefs.h. */
22993 #include <gtk/gtk.h>
22999 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23004 rm -f conftest.
$ac_objext conftest
$ac_exeext
23005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23006 (eval $ac_link) 2>conftest.er1
23008 grep -v '^ *+' conftest.er1
>conftest.err
23010 cat conftest.err
>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; } &&
23019 { ac_try
='test -s conftest$ac_exeext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 echo "*** The test program compiled, but did not run. This usually means"
23026 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23027 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23028 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23029 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23030 echo "*** is required on your system"
23032 echo "*** If you have an old version installed, it is best to remove it, although"
23033 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23035 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23036 echo "*** came with the system with the command"
23038 echo "*** rpm --erase --nodeps gtk gtk-devel"
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.
$ac_ext >&5
23043 echo "*** The test program failed to compile or link. See the file config.log for the"
23044 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23045 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23046 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23048 rm -f conftest.err conftest.
$ac_objext \
23049 conftest
$ac_exeext conftest.
$ac_ext
23050 CFLAGS
="$ac_save_CFLAGS"
23051 LIBS
="$ac_save_LIBS"
23063 if test -z "$wx_cv_lib_gtk"; then
23065 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23066 if test "${with_gtk_prefix+set}" = set; then
23067 withval
="$with_gtk_prefix"
23068 gtk_config_prefix
="$withval"
23070 gtk_config_prefix
=""
23073 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23074 if test "${with_gtk_exec_prefix+set}" = set; then
23075 withval
="$with_gtk_exec_prefix"
23076 gtk_config_exec_prefix
="$withval"
23078 gtk_config_exec_prefix
=""
23080 # Check whether --enable-gtktest or --disable-gtktest was given.
23081 if test "${enable_gtktest+set}" = set; then
23082 enableval
="$enable_gtktest"
23088 for module
in .
$GTK_MODULES
23092 gtk_config_args
="$gtk_config_args gthread"
23097 if test x
$gtk_config_exec_prefix != x
; then
23098 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23099 if test x
${GTK_CONFIG+set} != xset
; then
23100 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23103 if test x
$gtk_config_prefix != x
; then
23104 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23105 if test x
${GTK_CONFIG+set} != xset
; then
23106 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23110 # Extract the first word of "gtk-config", so it can be a program name with args.
23111 set dummy gtk
-config; ac_word
=$2
23112 echo "$as_me:$LINENO: checking for $ac_word" >&5
23113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23114 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 case $GTK_CONFIG in
23119 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23123 for as_dir
in $PATH
23126 test -z "$as_dir" && as_dir
=.
23127 for ac_exec_ext
in '' $ac_executable_extensions; do
23128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23129 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23136 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23140 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23142 if test -n "$GTK_CONFIG"; then
23143 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23144 echo "${ECHO_T}$GTK_CONFIG" >&6
23146 echo "$as_me:$LINENO: result: no" >&5
23147 echo "${ECHO_T}no" >&6
23150 min_gtk_version
=1.2.3
23151 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23152 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23154 if test "$GTK_CONFIG" = "no" ; then
23157 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23158 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23159 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23161 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23163 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23165 if test "x$enable_gtktest" = "xyes" ; then
23166 ac_save_CFLAGS
="$CFLAGS"
23167 ac_save_LIBS
="$LIBS"
23168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23169 LIBS
="$GTK_LIBS $LIBS"
23171 if test "$cross_compiling" = yes; then
23172 echo $ac_n "cross compiling; assumed OK... $ac_c"
23174 cat >conftest.
$ac_ext <<_ACEOF
23177 cat confdefs.h
>>conftest.
$ac_ext
23178 cat >>conftest.
$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23181 #include <gtk/gtk.h>
23183 #include <stdlib.h>
23188 int major, minor, micro;
23191 system ("touch conf.gtktest");
23193 /* HP/UX 9 (%@#!) writes to sscanf strings */
23194 tmp_version = g_strdup("$min_gtk_version");
23195 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23196 printf("%s, bad version string\n", "$min_gtk_version");
23200 if ((gtk_major_version != $gtk_config_major_version) ||
23201 (gtk_minor_version != $gtk_config_minor_version) ||
23202 (gtk_micro_version != $gtk_config_micro_version))
23204 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23205 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23206 gtk_major_version, gtk_minor_version, gtk_micro_version);
23207 printf ("*** was found! If gtk-config was correct, then it is best\n");
23208 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23209 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23210 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23211 printf("*** required on your system.\n");
23212 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23213 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23214 printf("*** before re-running configure\n");
23216 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23217 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23218 (gtk_minor_version != GTK_MINOR_VERSION) ||
23219 (gtk_micro_version != GTK_MICRO_VERSION))
23221 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23222 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23223 printf("*** library (version %d.%d.%d)\n",
23224 gtk_major_version, gtk_minor_version, gtk_micro_version);
23226 #endif /* defined (GTK_MAJOR_VERSION) ... */
23229 if ((gtk_major_version > major) ||
23230 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23231 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23237 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23238 gtk_major_version, gtk_minor_version, gtk_micro_version);
23239 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23240 major, minor, micro);
23241 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23243 printf("*** If you have already installed a sufficiently new version, this error\n");
23244 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23245 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23246 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23247 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23248 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23249 printf("*** so that the correct libraries are found at run-time))\n");
23256 rm -f conftest
$ac_exeext
23257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23258 (eval $ac_link) 2>&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263 (eval $ac_try) 2>&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); }; }; then
23269 echo "$as_me: program exited with status $ac_status" >&5
23270 echo "$as_me: failed program was:" >&5
23271 sed 's/^/| /' conftest.
$ac_ext >&5
23273 ( exit $ac_status )
23276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23278 CFLAGS
="$ac_save_CFLAGS"
23279 LIBS
="$ac_save_LIBS"
23282 if test "x$no_gtk" = x
; then
23283 echo "$as_me:$LINENO: result: yes" >&5
23284 echo "${ECHO_T}yes" >&6
23285 wx_cv_lib_gtk
=1.2.3
23287 echo "$as_me:$LINENO: result: no" >&5
23288 echo "${ECHO_T}no" >&6
23289 if test "$GTK_CONFIG" = "no" ; then
23290 echo "*** The gtk-config script installed by GTK could not be found"
23291 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23292 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23293 echo "*** full path to gtk-config."
23295 if test -f conf.gtktest
; then
23298 echo "*** Could not run GTK test program, checking why..."
23299 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23300 LIBS
="$LIBS $GTK_LIBS"
23301 cat >conftest.
$ac_ext <<_ACEOF
23304 cat confdefs.h
>>conftest.
$ac_ext
23305 cat >>conftest.
$ac_ext <<_ACEOF
23306 /* end confdefs.h. */
23308 #include <gtk/gtk.h>
23314 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23319 rm -f conftest.
$ac_objext conftest
$ac_exeext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23321 (eval $ac_link) 2>conftest.er1
23323 grep -v '^ *+' conftest.er1
>conftest.err
23325 cat conftest.err
>&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } &&
23328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; } &&
23334 { ac_try
='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 echo "*** The test program compiled, but did not run. This usually means"
23341 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23342 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23343 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23344 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23345 echo "*** is required on your system"
23347 echo "*** If you have an old version installed, it is best to remove it, although"
23348 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23350 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23351 echo "*** came with the system with the command"
23353 echo "*** rpm --erase --nodeps gtk gtk-devel"
23355 echo "$as_me: failed program was:" >&5
23356 sed 's/^/| /' conftest.
$ac_ext >&5
23358 echo "*** The test program failed to compile or link. See the file config.log for the"
23359 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23360 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23361 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23363 rm -f conftest.err conftest.
$ac_objext \
23364 conftest
$ac_exeext conftest.
$ac_ext
23365 CFLAGS
="$ac_save_CFLAGS"
23366 LIBS
="$ac_save_LIBS"
23380 if test -z "$wx_cv_lib_gtk"; then
23383 wx_cv_cflags_gtk
=$GTK_CFLAGS
23384 wx_cv_libs_gtk
=$GTK_LIBS
23391 if test "$gtk_version_cached" = 1; then
23392 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23393 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23396 case "$wx_cv_lib_gtk" in
23405 *) { { echo "$as_me:$LINENO: error:
23406 Please check that gtk-config is in path, the directory
23407 where GTK+ libraries are installed (returned by
23408 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23409 equivalent variable and GTK+ is version 1.2.3 or above.
23411 echo "$as_me: error:
23412 Please check that gtk-config is in path, the directory
23413 where GTK+ libraries are installed (returned by
23414 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23415 equivalent variable and GTK+ is version 1.2.3 or above.
23417 { (exit 1); exit 1; }; }
23421 if test "$WXGTK20" = 1; then
23422 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23426 if test -z "$PKG_CONFIG"; then
23427 # Extract the first word of "pkg-config", so it can be a program name with args.
23428 set dummy pkg
-config; ac_word
=$2
23429 echo "$as_me:$LINENO: checking for $ac_word" >&5
23430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23432 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 case $PKG_CONFIG in
23436 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23440 for as_dir
in $PATH
23443 test -z "$as_dir" && as_dir
=.
23444 for ac_exec_ext
in '' $ac_executable_extensions; do
23445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23446 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23453 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23457 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23459 if test -n "$PKG_CONFIG"; then
23460 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23461 echo "${ECHO_T}$PKG_CONFIG" >&6
23463 echo "$as_me:$LINENO: result: no" >&5
23464 echo "${ECHO_T}no" >&6
23469 if test "$PKG_CONFIG" = "no" ; then
23470 echo "*** The pkg-config script could not be found. Make sure it is"
23471 echo "*** in your path, or set the PKG_CONFIG environment variable"
23472 echo "*** to the full path to pkg-config."
23473 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23475 PKG_CONFIG_MIN_VERSION
=0.9.0
23476 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23477 echo "$as_me:$LINENO: checking for pangoft2" >&5
23478 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23480 if $PKG_CONFIG --exists "pangoft2" ; then
23481 echo "$as_me:$LINENO: result: yes" >&5
23482 echo "${ECHO_T}yes" >&6
23485 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23486 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23487 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23488 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23489 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23491 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23492 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23493 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23494 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23495 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23499 ## If we have a custom action on failure, don't print errors, but
23500 ## do set a variable so people can do so.
23501 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23508 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23509 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23513 if test $succeeded = yes; then
23515 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23516 # FIXME: GTK_LIBS already has a lot of what this is
23517 # about to add, but we go ahead and just add
23518 # it all again anyway.
23519 # This is not a good way to manage things. And simply
23520 # uniq'ing the list later is hardly better.
23521 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23525 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23526 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23527 wxUSE_PRINTING_ARCHITECTURE
="no"
23534 save_CFLAGS
="$CFLAGS"
23536 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23537 LIBS
="$LIBS $GTK_LIBS"
23539 for ac_func
in pango_font_family_is_monospace
23541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23542 echo "$as_me:$LINENO: checking for $ac_func" >&5
23543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23544 if eval "test \"\${$as_ac_var+set}\" = set"; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 cat >conftest.
$ac_ext <<_ACEOF
23550 cat confdefs.h
>>conftest.
$ac_ext
23551 cat >>conftest.
$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23555 #define $ac_func innocuous_$ac_func
23557 /* System header to define __stub macros and hopefully few prototypes,
23558 which can conflict with char $ac_func (); below.
23559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23560 <limits.h> exists even on freestanding compilers. */
23563 # include <limits.h>
23565 # include <assert.h>
23570 /* Override any gcc2 internal prototype to avoid an error. */
23575 /* We use char because int might match the return type of a gcc2
23576 builtin and then its argument prototype would still apply. */
23578 /* The GNU C library defines this for functions which it implements
23579 to always fail with ENOSYS. Some functions are actually named
23580 something starting with __ and the normal name is an alias. */
23581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23584 char (*f) () = $ac_func;
23593 return f != $ac_func;
23598 rm -f conftest.
$ac_objext conftest
$ac_exeext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23600 (eval $ac_link) 2>conftest.er1
23602 grep -v '^ *+' conftest.er1
>conftest.err
23604 cat conftest.err
>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; } &&
23613 { ac_try
='test -s conftest$ac_exeext'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 eval "$as_ac_var=yes"
23621 echo "$as_me: failed program was:" >&5
23622 sed 's/^/| /' conftest.
$ac_ext >&5
23624 eval "$as_ac_var=no"
23626 rm -f conftest.err conftest.
$ac_objext \
23627 conftest
$ac_exeext conftest.
$ac_ext
23629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23631 if test `eval echo '${'$as_ac_var'}'` = yes; then
23632 cat >>confdefs.h
<<_ACEOF
23633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23639 CFLAGS
="$save_CFLAGS"
23642 if test "$wxUSE_UNICODE" = "yes"; then
23643 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23644 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23649 if test "$USE_DARWIN" != 1; then
23651 for ac_func
in poll
23653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23654 echo "$as_me:$LINENO: checking for $ac_func" >&5
23655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23656 if eval "test \"\${$as_ac_var+set}\" = set"; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 cat >conftest.
$ac_ext <<_ACEOF
23662 cat confdefs.h
>>conftest.
$ac_ext
23663 cat >>conftest.
$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23667 #define $ac_func innocuous_$ac_func
23669 /* System header to define __stub macros and hopefully few prototypes,
23670 which can conflict with char $ac_func (); below.
23671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23672 <limits.h> exists even on freestanding compilers. */
23675 # include <limits.h>
23677 # include <assert.h>
23682 /* Override any gcc2 internal prototype to avoid an error. */
23687 /* We use char because int might match the return type of a gcc2
23688 builtin and then its argument prototype would still apply. */
23690 /* The GNU C library defines this for functions which it implements
23691 to always fail with ENOSYS. Some functions are actually named
23692 something starting with __ and the normal name is an alias. */
23693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23696 char (*f) () = $ac_func;
23705 return f != $ac_func;
23710 rm -f conftest.
$ac_objext conftest
$ac_exeext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23712 (eval $ac_link) 2>conftest.er1
23714 grep -v '^ *+' conftest.er1
>conftest.err
23716 cat conftest.err
>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; } &&
23725 { ac_try
='test -s conftest$ac_exeext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 eval "$as_ac_var=yes"
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.
$ac_ext >&5
23736 eval "$as_ac_var=no"
23738 rm -f conftest.err conftest.
$ac_objext \
23739 conftest
$ac_exeext conftest.
$ac_ext
23741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23743 if test `eval echo '${'$as_ac_var'}'` = yes; then
23744 cat >>confdefs.h
<<_ACEOF
23745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23753 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23754 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23756 AFMINSTALL
=afminstall
23760 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23761 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23762 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 ac_check_lib_save_LIBS
=$LIBS
23767 cat >conftest.
$ac_ext <<_ACEOF
23770 cat confdefs.h
>>conftest.
$ac_ext
23771 cat >>conftest.
$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23774 /* Override any gcc2 internal prototype to avoid an error. */
23778 /* We use char because int might match the return type of a gcc2
23779 builtin and then its argument prototype would still apply. */
23780 char gdk_im_open ();
23789 rm -f conftest.
$ac_objext conftest
$ac_exeext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23791 (eval $ac_link) 2>conftest.er1
23793 grep -v '^ *+' conftest.er1
>conftest.err
23795 cat conftest.err
>&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23800 (eval $ac_try) 2>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); }; } &&
23804 { ac_try
='test -s conftest$ac_exeext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_lib_gdk_gdk_im_open
=yes
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.
$ac_ext >&5
23815 ac_cv_lib_gdk_gdk_im_open
=no
23817 rm -f conftest.err conftest.
$ac_objext \
23818 conftest
$ac_exeext conftest.
$ac_ext
23819 LIBS
=$ac_check_lib_save_LIBS
23821 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23822 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23823 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23824 cat >>confdefs.h
<<\_ACEOF
23832 if test "$wxUSE_GPE" = "yes"; then
23833 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23834 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23837 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23839 for ac_extension
in a so sl dylib
; do
23840 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23841 ac_find_libraries
=$ac_dir
23847 if test "$ac_find_libraries" != "" ; then
23849 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23851 if test $result = 0; then
23854 ac_path_to_link
=" -L$ac_find_libraries"
23857 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23859 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23860 echo "${ECHO_T}found at $ac_find_libraries" >&6
23862 echo "$as_me:$LINENO: result: not found" >&5
23863 echo "${ECHO_T}not found" >&6
23869 if test "$wxUSE_MGL" = 1; then
23870 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23871 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23872 if test "x$MGL_ROOT" = x
; then
23873 echo "$as_me:$LINENO: result: not found" >&5
23874 echo "${ECHO_T}not found" >&6
23875 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23876 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23877 { (exit 1); exit 1; }; }
23879 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23880 echo "${ECHO_T}$MGL_ROOT" >&6
23883 echo "$as_me:$LINENO: checking for libmgl location" >&5
23884 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23887 if test "x$wxUSE_SHARED" = xyes
; then
23888 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23890 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23894 mgl_os_candidates
="dos32/dj2"
23897 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23898 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23899 { (exit 1); exit 1; }; }
23905 for mgl_os_i
in $mgl_os_candidates ; do
23906 if test "x$mgl_os" = x
; then
23907 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23908 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23909 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23914 if test "x$mgl_lib_type" = x
; then
23915 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23916 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23917 mgl_lib_type
=release
23924 if test "x$mgl_os" = x
; then
23925 echo "$as_me:$LINENO: result: not found" >&5
23926 echo "${ECHO_T}not found" >&6
23927 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23928 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23929 { (exit 1); exit 1; }; }
23931 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23932 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23934 wxUSE_UNIVERSAL
="yes"
23936 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23937 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23939 AFMINSTALL
=afminstall
23944 if test "$wxUSE_MICROWIN" = 1; then
23945 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23946 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23947 if test "x$MICROWINDOWS" = x
; then
23948 echo "$as_me:$LINENO: result: not found" >&5
23949 echo "${ECHO_T}not found" >&6
23950 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23951 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23952 { (exit 1); exit 1; }; }
23954 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23955 echo "${ECHO_T}$MICROWINDOWS" >&6
23958 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23959 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23960 echo "${ECHO_T}MicroWindows' libraries found." >&6
23962 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23963 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23964 { (exit 1); exit 1; }; }
23967 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23968 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23970 wxUSE_UNIVERSAL
="yes"
23972 AFMINSTALL
=afminstall
23974 GUIDIST
=MICROWIN_DIST
23976 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23979 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23981 if test "x$ac_path_x_has_been_run" != xyes
; then
23982 echo "$as_me:$LINENO: checking for X" >&5
23983 echo $ECHO_N "checking for X... $ECHO_C" >&6
23985 ac_path_x_has_been_run
=yes
23987 # Check whether --with-x or --without-x was given.
23988 if test "${with_x+set}" = set; then
23992 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23993 if test "x$with_x" = xno
; then
23994 # The user explicitly disabled X.
23997 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23998 # Both variables are already set.
24001 if test "${ac_cv_have_x+set}" = set; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24004 # One or both of the vars are not set, and there is no cached value.
24005 ac_x_includes
=no ac_x_libraries
=no
24006 rm -fr conftest.dir
24007 if mkdir conftest.dir
; then
24009 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24010 cat >Imakefile
<<'_ACEOF'
24012 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24014 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24015 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24016 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24017 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24018 for ac_extension
in a so sl
; do
24019 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24020 test -f $ac_im_libdir/libX11.
$ac_extension; then
24021 ac_im_usrlibdir
=$ac_im_libdir; break
24024 # Screen out bogus values from the imake configuration. They are
24025 # bogus both because they are the default anyway, and because
24026 # using them would break gcc on systems where it needs fixed includes.
24027 case $ac_im_incroot in
24029 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24031 case $ac_im_usrlibdir in
24032 /usr
/lib
| /lib
) ;;
24033 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24037 rm -fr conftest.dir
24040 # Standard set of common directories for X headers.
24041 # Check X11 before X11Rn because it is often a symlink to the current release.
24053 /usr/local/X11/include
24054 /usr/local/X11R6/include
24055 /usr/local/X11R5/include
24056 /usr/local/X11R4/include
24058 /usr/local/include/X11
24059 /usr/local/include/X11R6
24060 /usr/local/include/X11R5
24061 /usr/local/include/X11R4
24065 /usr/XFree86/include/X11
24069 /usr/unsupported/include
24070 /usr/athena/include
24071 /usr/local/x11r5/include
24072 /usr/lpp/Xamples/include
24074 /usr/openwin/include
24075 /usr/openwin/share/include'
24077 if test "$ac_x_includes" = no
; then
24078 # Guess where to find include files, by looking for a specified header file.
24079 # First, try using that file with no special directory specified.
24080 cat >conftest.
$ac_ext <<_ACEOF
24083 cat confdefs.h
>>conftest.
$ac_ext
24084 cat >>conftest.
$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 #include <X11/Intrinsic.h>
24088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24091 grep -v '^ *+' conftest.er1
>conftest.err
24093 cat conftest.err
>&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); } >/dev
/null
; then
24096 if test -s conftest.err
; then
24097 ac_cpp_err
=$ac_c_preproc_warn_flag
24098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24105 if test -z "$ac_cpp_err"; then
24106 # We can compile using X headers with no special include directory.
24109 echo "$as_me: failed program was:" >&5
24110 sed 's/^/| /' conftest.
$ac_ext >&5
24112 for ac_dir
in $ac_x_header_dirs; do
24113 if test -r "$ac_dir/X11/Intrinsic.h"; then
24114 ac_x_includes
=$ac_dir
24119 rm -f conftest.err conftest.
$ac_ext
24120 fi # $ac_x_includes = no
24122 if test "$ac_x_libraries" = no
; then
24123 # Check for the libraries.
24124 # See if we find them without any special options.
24125 # Don't add to $LIBS permanently.
24128 cat >conftest.
$ac_ext <<_ACEOF
24131 cat confdefs.h
>>conftest.
$ac_ext
24132 cat >>conftest.
$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 #include <X11/Intrinsic.h>
24143 rm -f conftest.
$ac_objext conftest
$ac_exeext
24144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24145 (eval $ac_link) 2>conftest.er1
24147 grep -v '^ *+' conftest.er1
>conftest.err
24149 cat conftest.err
>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } &&
24152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; } &&
24158 { ac_try
='test -s conftest$ac_exeext'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; }; then
24165 # We can link X programs with no special library path.
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.
$ac_ext >&5
24172 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24174 # Don't even attempt the hair of trying to link an X program!
24175 for ac_extension
in a so sl
; do
24176 if test -r $ac_dir/libXt.
$ac_extension; then
24177 ac_x_libraries
=$ac_dir
24183 rm -f conftest.err conftest.
$ac_objext \
24184 conftest
$ac_exeext conftest.
$ac_ext
24185 fi # $ac_x_libraries = no
24187 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24188 # Didn't find X anywhere. Cache the known absence of X.
24189 ac_cv_have_x
="have_x=no"
24191 # Record where we found X for the cache.
24192 ac_cv_have_x
="have_x=yes \
24193 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24198 eval "$ac_cv_have_x"
24201 if test "$have_x" != yes; then
24202 echo "$as_me:$LINENO: result: $have_x" >&5
24203 echo "${ECHO_T}$have_x" >&6
24206 # If each of the values was on the command line, it overrides each guess.
24207 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24208 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24209 # Update the cache value to reflect the command line values.
24210 ac_cv_have_x
="have_x=yes \
24211 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24212 # It might be that x_includes is empty (headers are found in the
24213 # standard search path. Then output the corresponding message
24214 ac_out_x_includes
=$x_includes
24215 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24216 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24217 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24221 if test "$no_x" = yes; then
24222 # Not all programs may use this symbol, but it does not hurt to define it.
24224 cat >>confdefs.h
<<\_ACEOF
24225 #define X_DISPLAY_MISSING 1
24228 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24230 if test -n "$x_includes"; then
24231 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24234 # It would also be nice to do this for all -L options, not just this one.
24235 if test -n "$x_libraries"; then
24236 X_LIBS
="$X_LIBS -L$x_libraries"
24237 # For Solaris; some versions of Sun CC require a space after -R and
24238 # others require no space. Words are not sufficient . . . .
24239 case `(uname -sr) 2>/dev/null` in
24241 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24242 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24243 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24244 cat >conftest.
$ac_ext <<_ACEOF
24247 cat confdefs.h
>>conftest.
$ac_ext
24248 cat >>conftest.
$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24259 rm -f conftest.
$ac_objext conftest
$ac_exeext
24260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24261 (eval $ac_link) 2>conftest.er1
24263 grep -v '^ *+' conftest.er1
>conftest.err
24265 cat conftest.err
>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); } &&
24268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24270 (eval $ac_try) 2>&5
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); }; } &&
24274 { ac_try
='test -s conftest$ac_exeext'
24275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24276 (eval $ac_try) 2>&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; }; then
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24287 rm -f conftest.err conftest.
$ac_objext \
24288 conftest
$ac_exeext conftest.
$ac_ext
24289 if test $ac_R_nospace = yes; then
24290 echo "$as_me:$LINENO: result: no" >&5
24291 echo "${ECHO_T}no" >&6
24292 X_LIBS
="$X_LIBS -R$x_libraries"
24294 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24295 cat >conftest.
$ac_ext <<_ACEOF
24298 cat confdefs.h
>>conftest.
$ac_ext
24299 cat >>conftest.
$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24310 rm -f conftest.
$ac_objext conftest
$ac_exeext
24311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24312 (eval $ac_link) 2>conftest.er1
24314 grep -v '^ *+' conftest.er1
>conftest.err
24316 cat conftest.err
>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } &&
24319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; } &&
24325 { ac_try
='test -s conftest$ac_exeext'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; }; then
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.
$ac_ext >&5
24338 rm -f conftest.err conftest.
$ac_objext \
24339 conftest
$ac_exeext conftest.
$ac_ext
24340 if test $ac_R_space = yes; then
24341 echo "$as_me:$LINENO: result: yes" >&5
24342 echo "${ECHO_T}yes" >&6
24343 X_LIBS
="$X_LIBS -R $x_libraries"
24345 echo "$as_me:$LINENO: result: neither works" >&5
24346 echo "${ECHO_T}neither works" >&6
24349 LIBS
=$ac_xsave_LIBS
24353 # Check for system-dependent libraries X programs must link with.
24354 # Do this before checking for the system-independent R6 libraries
24355 # (-lICE), since we may need -lsocket or whatever for X linking.
24357 if test "$ISC" = yes; then
24358 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24360 # Martyn Johnson says this is needed for Ultrix, if the X
24361 # libraries were built with DECnet support. And Karl Berry says
24362 # the Alpha needs dnet_stub (dnet does not exist).
24363 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24364 cat >conftest.
$ac_ext <<_ACEOF
24367 cat confdefs.h
>>conftest.
$ac_ext
24368 cat >>conftest.
$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24371 /* Override any gcc2 internal prototype to avoid an error. */
24375 /* We use char because int might match the return type of a gcc2
24376 builtin and then its argument prototype would still apply. */
24377 char XOpenDisplay ();
24386 rm -f conftest.
$ac_objext conftest
$ac_exeext
24387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24388 (eval $ac_link) 2>conftest.er1
24390 grep -v '^ *+' conftest.er1
>conftest.err
24392 cat conftest.err
>&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try
='test -s conftest$ac_exeext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.
$ac_ext >&5
24412 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24413 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24414 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 ac_check_lib_save_LIBS
=$LIBS
24418 LIBS
="-ldnet $LIBS"
24419 cat >conftest.
$ac_ext <<_ACEOF
24422 cat confdefs.h
>>conftest.
$ac_ext
24423 cat >>conftest.
$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24426 /* Override any gcc2 internal prototype to avoid an error. */
24430 /* We use char because int might match the return type of a gcc2
24431 builtin and then its argument prototype would still apply. */
24441 rm -f conftest.
$ac_objext conftest
$ac_exeext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24443 (eval $ac_link) 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24452 (eval $ac_try) 2>&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); }; } &&
24456 { ac_try
='test -s conftest$ac_exeext'
24457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458 (eval $ac_try) 2>&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); }; }; then
24462 ac_cv_lib_dnet_dnet_ntoa
=yes
24464 echo "$as_me: failed program was:" >&5
24465 sed 's/^/| /' conftest.
$ac_ext >&5
24467 ac_cv_lib_dnet_dnet_ntoa
=no
24469 rm -f conftest.err conftest.
$ac_objext \
24470 conftest
$ac_exeext conftest.
$ac_ext
24471 LIBS
=$ac_check_lib_save_LIBS
24473 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24474 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24475 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24479 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24480 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24481 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24482 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24485 ac_check_lib_save_LIBS
=$LIBS
24486 LIBS
="-ldnet_stub $LIBS"
24487 cat >conftest.
$ac_ext <<_ACEOF
24490 cat confdefs.h
>>conftest.
$ac_ext
24491 cat >>conftest.
$ac_ext <<_ACEOF
24492 /* end confdefs.h. */
24494 /* Override any gcc2 internal prototype to avoid an error. */
24498 /* We use char because int might match the return type of a gcc2
24499 builtin and then its argument prototype would still apply. */
24509 rm -f conftest.
$ac_objext conftest
$ac_exeext
24510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24511 (eval $ac_link) 2>conftest.er1
24513 grep -v '^ *+' conftest.er1
>conftest.err
24515 cat conftest.err
>&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } &&
24518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24520 (eval $ac_try) 2>&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); }; } &&
24524 { ac_try
='test -s conftest$ac_exeext'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; }; then
24530 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24532 echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.
$ac_ext >&5
24535 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24537 rm -f conftest.err conftest.
$ac_objext \
24538 conftest
$ac_exeext conftest.
$ac_ext
24539 LIBS
=$ac_check_lib_save_LIBS
24541 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24542 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24543 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24544 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24549 rm -f conftest.err conftest.
$ac_objext \
24550 conftest
$ac_exeext conftest.
$ac_ext
24551 LIBS
="$ac_xsave_LIBS"
24553 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24554 # to get the SysV transport functions.
24555 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24557 # The nsl library prevents programs from opening the X display
24558 # on Irix 5.2, according to T.E. Dickey.
24559 # The functions gethostbyname, getservbyname, and inet_addr are
24560 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24561 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24562 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24563 if test "${ac_cv_func_gethostbyname+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 cat >conftest.
$ac_ext <<_ACEOF
24569 cat confdefs.h
>>conftest.
$ac_ext
24570 cat >>conftest.
$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24572 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24574 #define gethostbyname innocuous_gethostbyname
24576 /* System header to define __stub macros and hopefully few prototypes,
24577 which can conflict with char gethostbyname (); below.
24578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24579 <limits.h> exists even on freestanding compilers. */
24582 # include <limits.h>
24584 # include <assert.h>
24587 #undef gethostbyname
24589 /* Override any gcc2 internal prototype to avoid an error. */
24594 /* We use char because int might match the return type of a gcc2
24595 builtin and then its argument prototype would still apply. */
24596 char gethostbyname ();
24597 /* The GNU C library defines this for functions which it implements
24598 to always fail with ENOSYS. Some functions are actually named
24599 something starting with __ and the normal name is an alias. */
24600 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24603 char (*f) () = gethostbyname;
24612 return f != gethostbyname;
24617 rm -f conftest.
$ac_objext conftest
$ac_exeext
24618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24619 (eval $ac_link) 2>conftest.er1
24621 grep -v '^ *+' conftest.er1
>conftest.err
24623 cat conftest.err
>&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } &&
24626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; } &&
24632 { ac_try
='test -s conftest$ac_exeext'
24633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634 (eval $ac_try) 2>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); }; }; then
24638 ac_cv_func_gethostbyname
=yes
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.
$ac_ext >&5
24643 ac_cv_func_gethostbyname
=no
24645 rm -f conftest.err conftest.
$ac_objext \
24646 conftest
$ac_exeext conftest.
$ac_ext
24648 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24649 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24651 if test $ac_cv_func_gethostbyname = no
; then
24652 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24653 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24654 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 ac_check_lib_save_LIBS
=$LIBS
24659 cat >conftest.
$ac_ext <<_ACEOF
24662 cat confdefs.h
>>conftest.
$ac_ext
24663 cat >>conftest.
$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24666 /* Override any gcc2 internal prototype to avoid an error. */
24670 /* We use char because int might match the return type of a gcc2
24671 builtin and then its argument prototype would still apply. */
24672 char gethostbyname ();
24681 rm -f conftest.
$ac_objext conftest
$ac_exeext
24682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24683 (eval $ac_link) 2>conftest.er1
24685 grep -v '^ *+' conftest.er1
>conftest.err
24687 cat conftest.err
>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } &&
24690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; } &&
24696 { ac_try
='test -s conftest$ac_exeext'
24697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698 (eval $ac_try) 2>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); }; }; then
24702 ac_cv_lib_nsl_gethostbyname
=yes
24704 echo "$as_me: failed program was:" >&5
24705 sed 's/^/| /' conftest.
$ac_ext >&5
24707 ac_cv_lib_nsl_gethostbyname
=no
24709 rm -f conftest.err conftest.
$ac_objext \
24710 conftest
$ac_exeext conftest.
$ac_ext
24711 LIBS
=$ac_check_lib_save_LIBS
24713 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24714 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24715 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24719 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24720 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24721 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24722 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24723 echo $ECHO_N "(cached) $ECHO_C" >&6
24725 ac_check_lib_save_LIBS
=$LIBS
24727 cat >conftest.
$ac_ext <<_ACEOF
24730 cat confdefs.h
>>conftest.
$ac_ext
24731 cat >>conftest.
$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24734 /* Override any gcc2 internal prototype to avoid an error. */
24738 /* We use char because int might match the return type of a gcc2
24739 builtin and then its argument prototype would still apply. */
24740 char gethostbyname ();
24749 rm -f conftest.
$ac_objext conftest
$ac_exeext
24750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24751 (eval $ac_link) 2>conftest.er1
24753 grep -v '^ *+' conftest.er1
>conftest.err
24755 cat conftest.err
>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); } &&
24758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760 (eval $ac_try) 2>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); }; } &&
24764 { ac_try
='test -s conftest$ac_exeext'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; }; then
24770 ac_cv_lib_bsd_gethostbyname
=yes
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.
$ac_ext >&5
24775 ac_cv_lib_bsd_gethostbyname
=no
24777 rm -f conftest.err conftest.
$ac_objext \
24778 conftest
$ac_exeext conftest.
$ac_ext
24779 LIBS
=$ac_check_lib_save_LIBS
24781 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24782 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24783 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24784 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24790 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24791 # socket/setsockopt and other routines are undefined under SCO ODT
24792 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24793 # on later versions), says Simon Leinen: it contains gethostby*
24794 # variants that don't use the name server (or something). -lsocket
24795 # must be given before -lnsl if both are needed. We assume that
24796 # if connect needs -lnsl, so does gethostbyname.
24797 echo "$as_me:$LINENO: checking for connect" >&5
24798 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24799 if test "${ac_cv_func_connect+set}" = set; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 cat >conftest.
$ac_ext <<_ACEOF
24805 cat confdefs.h
>>conftest.
$ac_ext
24806 cat >>conftest.
$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24808 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24810 #define connect innocuous_connect
24812 /* System header to define __stub macros and hopefully few prototypes,
24813 which can conflict with char connect (); below.
24814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24815 <limits.h> exists even on freestanding compilers. */
24818 # include <limits.h>
24820 # include <assert.h>
24825 /* Override any gcc2 internal prototype to avoid an error. */
24830 /* We use char because int might match the return type of a gcc2
24831 builtin and then its argument prototype would still apply. */
24833 /* The GNU C library defines this for functions which it implements
24834 to always fail with ENOSYS. Some functions are actually named
24835 something starting with __ and the normal name is an alias. */
24836 #if defined (__stub_connect) || defined (__stub___connect)
24839 char (*f) () = connect;
24848 return f != connect;
24853 rm -f conftest.
$ac_objext conftest
$ac_exeext
24854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24855 (eval $ac_link) 2>conftest.er1
24857 grep -v '^ *+' conftest.er1
>conftest.err
24859 cat conftest.err
>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } &&
24862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; } &&
24868 { ac_try
='test -s conftest$ac_exeext'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; }; then
24874 ac_cv_func_connect
=yes
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.
$ac_ext >&5
24879 ac_cv_func_connect
=no
24881 rm -f conftest.err conftest.
$ac_objext \
24882 conftest
$ac_exeext conftest.
$ac_ext
24884 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24885 echo "${ECHO_T}$ac_cv_func_connect" >&6
24887 if test $ac_cv_func_connect = no
; then
24888 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24889 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24890 if test "${ac_cv_lib_socket_connect+set}" = set; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 ac_check_lib_save_LIBS
=$LIBS
24894 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24895 cat >conftest.
$ac_ext <<_ACEOF
24898 cat confdefs.h
>>conftest.
$ac_ext
24899 cat >>conftest.
$ac_ext <<_ACEOF
24900 /* end confdefs.h. */
24902 /* Override any gcc2 internal prototype to avoid an error. */
24906 /* We use char because int might match the return type of a gcc2
24907 builtin and then its argument prototype would still apply. */
24917 rm -f conftest.
$ac_objext conftest
$ac_exeext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24919 (eval $ac_link) 2>conftest.er1
24921 grep -v '^ *+' conftest.er1
>conftest.err
24923 cat conftest.err
>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } &&
24926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try
='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 ac_cv_lib_socket_connect
=yes
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.
$ac_ext >&5
24943 ac_cv_lib_socket_connect
=no
24945 rm -f conftest.err conftest.
$ac_objext \
24946 conftest
$ac_exeext conftest.
$ac_ext
24947 LIBS
=$ac_check_lib_save_LIBS
24949 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24950 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24951 if test $ac_cv_lib_socket_connect = yes; then
24952 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24957 # Guillermo Gomez says -lposix is necessary on A/UX.
24958 echo "$as_me:$LINENO: checking for remove" >&5
24959 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24960 if test "${ac_cv_func_remove+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 cat >conftest.
$ac_ext <<_ACEOF
24966 cat confdefs.h
>>conftest.
$ac_ext
24967 cat >>conftest.
$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24969 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24971 #define remove innocuous_remove
24973 /* System header to define __stub macros and hopefully few prototypes,
24974 which can conflict with char remove (); below.
24975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24976 <limits.h> exists even on freestanding compilers. */
24979 # include <limits.h>
24981 # include <assert.h>
24986 /* Override any gcc2 internal prototype to avoid an error. */
24991 /* We use char because int might match the return type of a gcc2
24992 builtin and then its argument prototype would still apply. */
24994 /* The GNU C library defines this for functions which it implements
24995 to always fail with ENOSYS. Some functions are actually named
24996 something starting with __ and the normal name is an alias. */
24997 #if defined (__stub_remove) || defined (__stub___remove)
25000 char (*f) () = remove;
25009 return f != remove;
25014 rm -f conftest.
$ac_objext conftest
$ac_exeext
25015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25016 (eval $ac_link) 2>conftest.er1
25018 grep -v '^ *+' conftest.er1
>conftest.err
25020 cat conftest.err
>&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } &&
25023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25025 (eval $ac_try) 2>&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; } &&
25029 { ac_try
='test -s conftest$ac_exeext'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 ac_cv_func_remove
=yes
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.
$ac_ext >&5
25040 ac_cv_func_remove
=no
25042 rm -f conftest.err conftest.
$ac_objext \
25043 conftest
$ac_exeext conftest.
$ac_ext
25045 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25046 echo "${ECHO_T}$ac_cv_func_remove" >&6
25048 if test $ac_cv_func_remove = no
; then
25049 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25050 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25051 if test "${ac_cv_lib_posix_remove+set}" = set; then
25052 echo $ECHO_N "(cached) $ECHO_C" >&6
25054 ac_check_lib_save_LIBS
=$LIBS
25055 LIBS
="-lposix $LIBS"
25056 cat >conftest.
$ac_ext <<_ACEOF
25059 cat confdefs.h
>>conftest.
$ac_ext
25060 cat >>conftest.
$ac_ext <<_ACEOF
25061 /* end confdefs.h. */
25063 /* Override any gcc2 internal prototype to avoid an error. */
25067 /* We use char because int might match the return type of a gcc2
25068 builtin and then its argument prototype would still apply. */
25078 rm -f conftest.
$ac_objext conftest
$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080 (eval $ac_link) 2>conftest.er1
25082 grep -v '^ *+' conftest.er1
>conftest.err
25084 cat conftest.err
>&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } &&
25087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25089 (eval $ac_try) 2>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); }; } &&
25093 { ac_try
='test -s conftest$ac_exeext'
25094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 (eval $ac_try) 2>&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); }; }; then
25099 ac_cv_lib_posix_remove
=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.
$ac_ext >&5
25104 ac_cv_lib_posix_remove
=no
25106 rm -f conftest.err conftest.
$ac_objext \
25107 conftest
$ac_exeext conftest.
$ac_ext
25108 LIBS
=$ac_check_lib_save_LIBS
25110 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25111 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25112 if test $ac_cv_lib_posix_remove = yes; then
25113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25118 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25119 echo "$as_me:$LINENO: checking for shmat" >&5
25120 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25121 if test "${ac_cv_func_shmat+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 cat >conftest.
$ac_ext <<_ACEOF
25127 cat confdefs.h
>>conftest.
$ac_ext
25128 cat >>conftest.
$ac_ext <<_ACEOF
25129 /* end confdefs.h. */
25130 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25132 #define shmat innocuous_shmat
25134 /* System header to define __stub macros and hopefully few prototypes,
25135 which can conflict with char shmat (); below.
25136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25137 <limits.h> exists even on freestanding compilers. */
25140 # include <limits.h>
25142 # include <assert.h>
25147 /* Override any gcc2 internal prototype to avoid an error. */
25152 /* We use char because int might match the return type of a gcc2
25153 builtin and then its argument prototype would still apply. */
25155 /* The GNU C library defines this for functions which it implements
25156 to always fail with ENOSYS. Some functions are actually named
25157 something starting with __ and the normal name is an alias. */
25158 #if defined (__stub_shmat) || defined (__stub___shmat)
25161 char (*f) () = shmat;
25175 rm -f conftest.
$ac_objext conftest
$ac_exeext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>conftest.er1
25179 grep -v '^ *+' conftest.er1
>conftest.err
25181 cat conftest.err
>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; } &&
25190 { ac_try
='test -s conftest$ac_exeext'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; }; then
25196 ac_cv_func_shmat
=yes
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.
$ac_ext >&5
25201 ac_cv_func_shmat
=no
25203 rm -f conftest.err conftest.
$ac_objext \
25204 conftest
$ac_exeext conftest.
$ac_ext
25206 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25207 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25209 if test $ac_cv_func_shmat = no
; then
25210 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25211 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25212 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 ac_check_lib_save_LIBS
=$LIBS
25217 cat >conftest.
$ac_ext <<_ACEOF
25220 cat confdefs.h
>>conftest.
$ac_ext
25221 cat >>conftest.
$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25224 /* Override any gcc2 internal prototype to avoid an error. */
25228 /* We use char because int might match the return type of a gcc2
25229 builtin and then its argument prototype would still apply. */
25239 rm -f conftest.
$ac_objext conftest
$ac_exeext
25240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25241 (eval $ac_link) 2>conftest.er1
25243 grep -v '^ *+' conftest.er1
>conftest.err
25245 cat conftest.err
>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); } &&
25248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; } &&
25254 { ac_try
='test -s conftest$ac_exeext'
25255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25256 (eval $ac_try) 2>&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); }; }; then
25260 ac_cv_lib_ipc_shmat
=yes
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.
$ac_ext >&5
25265 ac_cv_lib_ipc_shmat
=no
25267 rm -f conftest.err conftest.
$ac_objext \
25268 conftest
$ac_exeext conftest.
$ac_ext
25269 LIBS
=$ac_check_lib_save_LIBS
25271 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25272 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25273 if test $ac_cv_lib_ipc_shmat = yes; then
25274 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25280 # Check for libraries that X11R6 Xt/Xaw programs need.
25281 ac_save_LDFLAGS
=$LDFLAGS
25282 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25283 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25284 # check for ICE first), but we must link in the order -lSM -lICE or
25285 # we get undefined symbols. So assume we have SM if we have ICE.
25286 # These have to be linked with before -lX11, unlike the other
25287 # libraries we check for below, so use a different variable.
25288 # John Interrante, Karl Berry
25289 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25290 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25291 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 ac_check_lib_save_LIBS
=$LIBS
25295 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25296 cat >conftest.
$ac_ext <<_ACEOF
25299 cat confdefs.h
>>conftest.
$ac_ext
25300 cat >>conftest.
$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25303 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25309 char IceConnectionNumber ();
25313 IceConnectionNumber ();
25318 rm -f conftest.
$ac_objext conftest
$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25322 grep -v '^ *+' conftest.er1
>conftest.err
25324 cat conftest.err
>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; } &&
25333 { ac_try
='test -s conftest$ac_exeext'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; }; then
25339 ac_cv_lib_ICE_IceConnectionNumber
=yes
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.
$ac_ext >&5
25344 ac_cv_lib_ICE_IceConnectionNumber
=no
25346 rm -f conftest.err conftest.
$ac_objext \
25347 conftest
$ac_exeext conftest.
$ac_ext
25348 LIBS
=$ac_check_lib_save_LIBS
25350 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25351 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25352 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25353 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25356 LDFLAGS
=$ac_save_LDFLAGS
25361 if test "$no_x" = "yes"; then
25362 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25363 echo "$as_me: error: X11 not found" >&2;}
25364 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25367 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25368 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25369 AFMINSTALL
=afminstall
25370 COMPILED_X_PROGRAM
=0
25374 if test "$wxUSE_X11" = 1; then
25375 if test "$wxUSE_NANOX" = "yes"; then
25376 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25377 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25378 if test "x$MICROWIN" = x
; then
25379 echo "$as_me:$LINENO: result: not found" >&5
25380 echo "${ECHO_T}not found" >&6
25381 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25382 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25383 { (exit 1); exit 1; }; }
25385 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25386 echo "${ECHO_T}$MICROWIN" >&6
25387 cat >>confdefs.h
<<\_ACEOF
25388 #define wxUSE_NANOX 1
25394 if test "$wxUSE_UNICODE" = "yes"; then
25398 if test -z "$PKG_CONFIG"; then
25399 # Extract the first word of "pkg-config", so it can be a program name with args.
25400 set dummy pkg
-config; ac_word
=$2
25401 echo "$as_me:$LINENO: checking for $ac_word" >&5
25402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25403 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 case $PKG_CONFIG in
25408 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25412 for as_dir
in $PATH
25415 test -z "$as_dir" && as_dir
=.
25416 for ac_exec_ext
in '' $ac_executable_extensions; do
25417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25418 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25425 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25429 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25431 if test -n "$PKG_CONFIG"; then
25432 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25433 echo "${ECHO_T}$PKG_CONFIG" >&6
25435 echo "$as_me:$LINENO: result: no" >&5
25436 echo "${ECHO_T}no" >&6
25441 if test "$PKG_CONFIG" = "no" ; then
25442 echo "*** The pkg-config script could not be found. Make sure it is"
25443 echo "*** in your path, or set the PKG_CONFIG environment variable"
25444 echo "*** to the full path to pkg-config."
25445 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25447 PKG_CONFIG_MIN_VERSION
=0.9.0
25448 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25449 echo "$as_me:$LINENO: checking for pangox" >&5
25450 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25452 if $PKG_CONFIG --exists "pangox" ; then
25453 echo "$as_me:$LINENO: result: yes" >&5
25454 echo "${ECHO_T}yes" >&6
25457 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25458 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25459 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25460 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25461 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25463 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25464 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25465 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25466 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25467 echo "${ECHO_T}$PANGOX_LIBS" >&6
25471 ## If we have a custom action on failure, don't print errors, but
25472 ## do set a variable so people can do so.
25473 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25480 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25481 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25485 if test $succeeded = yes; then
25487 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25492 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25493 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25494 { (exit 1); exit 1; }; }
25502 if test -z "$PKG_CONFIG"; then
25503 # Extract the first word of "pkg-config", so it can be a program name with args.
25504 set dummy pkg
-config; ac_word
=$2
25505 echo "$as_me:$LINENO: checking for $ac_word" >&5
25506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25507 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25508 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 case $PKG_CONFIG in
25512 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25516 for as_dir
in $PATH
25519 test -z "$as_dir" && as_dir
=.
25520 for ac_exec_ext
in '' $ac_executable_extensions; do
25521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25522 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25529 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25533 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25535 if test -n "$PKG_CONFIG"; then
25536 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25537 echo "${ECHO_T}$PKG_CONFIG" >&6
25539 echo "$as_me:$LINENO: result: no" >&5
25540 echo "${ECHO_T}no" >&6
25545 if test "$PKG_CONFIG" = "no" ; then
25546 echo "*** The pkg-config script could not be found. Make sure it is"
25547 echo "*** in your path, or set the PKG_CONFIG environment variable"
25548 echo "*** to the full path to pkg-config."
25549 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25551 PKG_CONFIG_MIN_VERSION
=0.9.0
25552 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25553 echo "$as_me:$LINENO: checking for pangoft2" >&5
25554 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25556 if $PKG_CONFIG --exists "pangoft2" ; then
25557 echo "$as_me:$LINENO: result: yes" >&5
25558 echo "${ECHO_T}yes" >&6
25561 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25562 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25563 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25564 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25565 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25567 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25568 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25569 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25570 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25571 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25575 ## If we have a custom action on failure, don't print errors, but
25576 ## do set a variable so people can do so.
25577 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25584 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25585 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25589 if test $succeeded = yes; then
25591 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25592 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25596 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25597 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25598 wxUSE_PRINTING_ARCHITECTURE
="no"
25606 if test -z "$PKG_CONFIG"; then
25607 # Extract the first word of "pkg-config", so it can be a program name with args.
25608 set dummy pkg
-config; ac_word
=$2
25609 echo "$as_me:$LINENO: checking for $ac_word" >&5
25610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25611 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25612 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 case $PKG_CONFIG in
25616 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25620 for as_dir
in $PATH
25623 test -z "$as_dir" && as_dir
=.
25624 for ac_exec_ext
in '' $ac_executable_extensions; do
25625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25626 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25633 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25637 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25639 if test -n "$PKG_CONFIG"; then
25640 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25641 echo "${ECHO_T}$PKG_CONFIG" >&6
25643 echo "$as_me:$LINENO: result: no" >&5
25644 echo "${ECHO_T}no" >&6
25649 if test "$PKG_CONFIG" = "no" ; then
25650 echo "*** The pkg-config script could not be found. Make sure it is"
25651 echo "*** in your path, or set the PKG_CONFIG environment variable"
25652 echo "*** to the full path to pkg-config."
25653 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25655 PKG_CONFIG_MIN_VERSION
=0.9.0
25656 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25657 echo "$as_me:$LINENO: checking for pangoxft" >&5
25658 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25660 if $PKG_CONFIG --exists "pangoxft" ; then
25661 echo "$as_me:$LINENO: result: yes" >&5
25662 echo "${ECHO_T}yes" >&6
25665 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25666 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25667 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25668 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25669 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25671 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25672 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25673 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25674 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25675 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25679 ## If we have a custom action on failure, don't print errors, but
25680 ## do set a variable so people can do so.
25681 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25688 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25689 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25693 if test $succeeded = yes; then
25695 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25696 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25706 save_CFLAGS
="$CFLAGS"
25708 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25709 LIBS
="$LIBS $PANGOX_LIBS"
25711 for ac_func
in pango_font_family_is_monospace
25713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25714 echo "$as_me:$LINENO: checking for $ac_func" >&5
25715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25716 if eval "test \"\${$as_ac_var+set}\" = set"; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 cat >conftest.
$ac_ext <<_ACEOF
25722 cat confdefs.h
>>conftest.
$ac_ext
25723 cat >>conftest.
$ac_ext <<_ACEOF
25724 /* end confdefs.h. */
25725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25727 #define $ac_func innocuous_$ac_func
25729 /* System header to define __stub macros and hopefully few prototypes,
25730 which can conflict with char $ac_func (); below.
25731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25732 <limits.h> exists even on freestanding compilers. */
25735 # include <limits.h>
25737 # include <assert.h>
25742 /* Override any gcc2 internal prototype to avoid an error. */
25747 /* We use char because int might match the return type of a gcc2
25748 builtin and then its argument prototype would still apply. */
25750 /* The GNU C library defines this for functions which it implements
25751 to always fail with ENOSYS. Some functions are actually named
25752 something starting with __ and the normal name is an alias. */
25753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25756 char (*f) () = $ac_func;
25765 return f != $ac_func;
25770 rm -f conftest.
$ac_objext conftest
$ac_exeext
25771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25772 (eval $ac_link) 2>conftest.er1
25774 grep -v '^ *+' conftest.er1
>conftest.err
25776 cat conftest.err
>&5
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); } &&
25779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; } &&
25785 { ac_try
='test -s conftest$ac_exeext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 eval "$as_ac_var=yes"
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.
$ac_ext >&5
25796 eval "$as_ac_var=no"
25798 rm -f conftest.err conftest.
$ac_objext \
25799 conftest
$ac_exeext conftest.
$ac_ext
25801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25803 if test `eval echo '${'$as_ac_var'}'` = yes; then
25804 cat >>confdefs.h
<<_ACEOF
25805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25811 CFLAGS
="$save_CFLAGS"
25815 wxUSE_UNIVERSAL
="yes"
25817 if test "$wxUSE_NANOX" = "yes"; then
25818 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25819 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"
25820 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25822 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25829 if test "$wxUSE_MOTIF" = 1; then
25830 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25831 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25834 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25836 if test -f "$ac_dir/Xm/Xm.h"; then
25837 ac_find_includes
=$ac_dir
25842 if test "$ac_find_includes" != "" ; then
25843 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25844 echo "${ECHO_T}found in $ac_find_includes" >&6
25846 if test "x$ac_find_includes" = "x/usr/include"; then
25847 ac_path_to_include
=""
25849 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25851 if test $result = 0; then
25852 ac_path_to_include
=""
25854 ac_path_to_include
=" -I$ac_find_includes"
25858 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25860 cat >conftest.
$ac_ext <<_ACEOF
25863 cat confdefs.h
>>conftest.
$ac_ext
25864 cat >>conftest.
$ac_ext <<_ACEOF
25865 /* end confdefs.h. */
25874 version = xmUseVersion;
25880 rm -f conftest.
$ac_objext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25882 (eval $ac_compile) 2>conftest.er1
25884 grep -v '^ *+' conftest.er1
>conftest.err
25886 cat conftest.err
>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try
='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25902 echo "$as_me:$LINENO: result: found in default search path" >&5
25903 echo "${ECHO_T}found in default search path" >&6
25904 COMPILED_X_PROGRAM
=1
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.
$ac_ext >&5
25911 echo "$as_me:$LINENO: result: no" >&5
25912 echo "${ECHO_T}no" >&6
25913 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25914 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25915 { (exit 1); exit 1; }; }
25919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25922 if test "$COMPILED_X_PROGRAM" = 0; then
25923 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25924 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25927 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25929 for ac_extension
in a so sl dylib
; do
25930 if test -f "$ac_dir/libXm.$ac_extension"; then
25931 ac_find_libraries
=$ac_dir
25937 if test "$ac_find_libraries" != "" ; then
25938 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25939 echo "${ECHO_T}found at $ac_find_libraries" >&6
25942 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25944 if test $result = 0; then
25947 ac_path_to_link
=" -L$ac_find_libraries"
25950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25952 save_CFLAGS
=$CFLAGS
25953 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25955 cat >conftest.
$ac_ext <<_ACEOF
25958 cat confdefs.h
>>conftest.
$ac_ext
25959 cat >>conftest.
$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25969 version = xmUseVersion;
25975 rm -f conftest.
$ac_objext
25976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>conftest.er1
25979 grep -v '^ *+' conftest.er1
>conftest.err
25981 cat conftest.err
>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); } &&
25984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; } &&
25990 { ac_try
='test -s conftest.$ac_objext'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; }; then
25997 echo "$as_me:$LINENO: result: found in default search path" >&5
25998 echo "${ECHO_T}found in default search path" >&6
25999 COMPILED_X_PROGRAM
=1
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.
$ac_ext >&5
26006 echo "$as_me:$LINENO: result: no" >&5
26007 echo "${ECHO_T}no" >&6
26008 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26009 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26010 { (exit 1); exit 1; }; }
26014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26016 CFLAGS
=$save_CFLAGS
26020 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26021 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26025 for libp
in "" " -lXp"; do
26026 if test "$libs_found" = "0"; then
26027 for libsm_ice
in "" " -lSM -lICE"; do
26028 if test "$libs_found" = "0"; then
26030 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26031 save_CFLAGS
=$CFLAGS
26032 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26034 cat >conftest.
$ac_ext <<_ACEOF
26037 cat confdefs.h
>>conftest.
$ac_ext
26038 cat >>conftest.
$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26042 #include <Xm/List.h>
26048 XmString string = NULL;
26051 XmListAddItem(w, string, position);
26057 rm -f conftest.
$ac_objext conftest
$ac_exeext
26058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26059 (eval $ac_link) 2>conftest.er1
26061 grep -v '^ *+' conftest.er1
>conftest.err
26063 cat conftest.err
>&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } &&
26066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; } &&
26072 { ac_try
='test -s conftest$ac_exeext'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; }; then
26080 libsm_ice_link
="$libsm_ice"
26081 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26082 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.
$ac_ext >&5
26092 rm -f conftest.err conftest.
$ac_objext \
26093 conftest
$ac_exeext conftest.
$ac_ext
26096 CFLAGS
=$save_CFLAGS
26102 if test "$libs_found" = "0"; then
26103 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26104 echo "${ECHO_T}can't find the right libraries" >&6
26105 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26106 echo "$as_me: error: can't link a simple motif program" >&2;}
26107 { (exit 1); exit 1; }; }
26110 save_CFLAGS
=$CFLAGS
26111 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26112 echo "$as_me:$LINENO: checking for Motif 2" >&5
26113 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26114 cat >conftest.
$ac_ext <<_ACEOF
26117 cat confdefs.h
>>conftest.
$ac_ext
26118 cat >>conftest.
$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26127 #if XmVersion < 2000
26128 #error "Not Motif 2"
26135 rm -f conftest.
$ac_objext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26137 (eval $ac_compile) 2>conftest.er1
26139 grep -v '^ *+' conftest.er1
>conftest.err
26141 cat conftest.err
>&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); } &&
26144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; } &&
26150 { ac_try
='test -s conftest.$ac_objext'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; }; then
26157 cat >>confdefs.h
<<\_ACEOF
26158 #define __WXMOTIF20__ 1
26161 echo "$as_me:$LINENO: result: found" >&5
26162 echo "${ECHO_T}found" >&6
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.
$ac_ext >&5
26169 cat >>confdefs.h
<<\_ACEOF
26170 #define __WXMOTIF20__ 0
26173 echo "$as_me:$LINENO: result: not found" >&5
26174 echo "${ECHO_T}not found" >&6
26177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26178 CFLAGS
=$save_CFLAGS
26180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26185 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26186 if test "$wxUSE_LIBXPM" = "sys"; then
26187 echo "$as_me:$LINENO: checking for Xpm library" >&5
26188 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26191 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26193 for ac_extension
in a so sl dylib
; do
26194 if test -f "$ac_dir/libXpm.$ac_extension"; then
26195 ac_find_libraries
=$ac_dir
26201 if test "$ac_find_libraries" != "" ; then
26203 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26205 if test $result = 0; then
26208 ac_path_to_link
=" -L$ac_find_libraries"
26211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26212 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26213 echo "${ECHO_T}found at $ac_find_libraries" >&6
26215 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26216 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26217 if test "${wx_cv_x11_xpm_h+set}" = set; then
26218 echo $ECHO_N "(cached) $ECHO_C" >&6
26221 save_CFLAGS
=$CFLAGS
26222 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26224 cat >conftest.
$ac_ext <<_ACEOF
26227 cat confdefs.h
>>conftest.
$ac_ext
26228 cat >>conftest.
$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26231 #include <X11/xpm.h>
26238 version = XpmLibraryVersion();
26244 rm -f conftest.
$ac_objext
26245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26246 (eval $ac_compile) 2>conftest.er1
26248 grep -v '^ *+' conftest.er1
>conftest.err
26250 cat conftest.err
>&5
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); } &&
26253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26255 (eval $ac_try) 2>&5
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); }; } &&
26259 { ac_try
='test -s conftest.$ac_objext'
26260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26261 (eval $ac_try) 2>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); }; }; then
26265 wx_cv_x11_xpm_h
=yes
26267 echo "$as_me: failed program was:" >&5
26268 sed 's/^/| /' conftest.
$ac_ext >&5
26273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26275 CFLAGS
=$save_CFLAGS
26279 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26280 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26282 if test $wx_cv_x11_xpm_h = "yes"; then
26283 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26284 cat >>confdefs.h
<<\_ACEOF
26285 #define wxHAVE_LIB_XPM 1
26289 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26290 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26296 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26297 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26298 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS
=$LIBS
26302 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26310 /* Override any gcc2 internal prototype to avoid an error. */
26314 /* We use char because int might match the return type of a gcc2
26315 builtin and then its argument prototype would still apply. */
26316 char XShapeQueryExtension ();
26320 XShapeQueryExtension ();
26325 rm -f conftest.
$ac_objext conftest
$ac_exeext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26327 (eval $ac_link) 2>conftest.er1
26329 grep -v '^ *+' conftest.er1
>conftest.err
26331 cat conftest.err
>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try
='test -s conftest$ac_exeext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.
$ac_ext >&5
26351 ac_cv_lib_Xext_XShapeQueryExtension
=no
26353 rm -f conftest.err conftest.
$ac_objext \
26354 conftest
$ac_exeext conftest.
$ac_ext
26355 LIBS
=$ac_check_lib_save_LIBS
26357 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26358 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26359 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26361 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26367 if test "$wxHAVE_XEXT_LIB" = 1; then
26368 save_CFLAGS
="$CFLAGS"
26369 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26371 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26372 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26373 cat >conftest.
$ac_ext <<_ACEOF
26376 cat confdefs.h
>>conftest.
$ac_ext
26377 cat >>conftest.
$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26380 #include <X11/Xlib.h>
26381 #include <X11/extensions/shape.h>
26387 int dummy1, dummy2;
26388 XShapeQueryExtension((Display*)NULL,
26389 (int*)NULL, (int*)NULL);
26395 rm -f conftest.
$ac_objext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26397 (eval $ac_compile) 2>conftest.er1
26399 grep -v '^ *+' conftest.er1
>conftest.err
26401 cat conftest.err
>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; } &&
26410 { ac_try
='test -s conftest.$ac_objext'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; }; then
26417 cat >>confdefs.h
<<\_ACEOF
26418 #define HAVE_XSHAPE 1
26421 echo "$as_me:$LINENO: result: found" >&5
26422 echo "${ECHO_T}found" >&6
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.
$ac_ext >&5
26429 echo "$as_me:$LINENO: result: not found" >&5
26430 echo "${ECHO_T}not found" >&6
26433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26434 CFLAGS
="$save_CFLAGS"
26439 if test "$wxUSE_MAC" = 1; then
26440 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26441 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26442 if test "$GCC" = yes; then
26443 echo "$as_me:$LINENO: result: gcc" >&5
26444 echo "${ECHO_T}gcc" >&6
26445 CPPFLAGS_PASCAL
="-fpascal-strings"
26446 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26447 echo "$as_me:$LINENO: result: xlc" >&5
26448 echo "${ECHO_T}xlc" >&6
26449 CPPFLAGS_PASCAL
="-qmacpstr"
26451 echo "$as_me:$LINENO: result: none" >&5
26452 echo "${ECHO_T}none" >&6
26455 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26459 WXBASEPORT
="_carbon"
26462 if test "$wxUSE_COCOA" = 1; then
26467 if test "$wxUSE_PM" = 1; then
26470 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26471 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26472 if test "${wx_cv_spbcdata+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26476 cat >conftest.
$ac_ext <<_ACEOF
26479 cat confdefs.h
>>conftest.
$ac_ext
26480 cat >>conftest.
$ac_ext <<_ACEOF
26481 /* end confdefs.h. */
26496 rm -f conftest.
$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498 (eval $ac_compile) 2>conftest.er1
26500 grep -v '^ *+' conftest.er1
>conftest.err
26502 cat conftest.err
>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26507 (eval $ac_try) 2>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); }; } &&
26511 { ac_try
='test -s conftest.$ac_objext'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; }; then
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.
$ac_ext >&5
26525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26529 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26530 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26532 if test $wx_cv_spbcdata = "yes"; then
26533 cat >>confdefs.h
<<\_ACEOF
26534 #define HAVE_SPBCDATA 1
26540 if test "$TOOLKIT" = "PM" ; then
26543 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26546 if test "$wxUSE_UNIVERSAL" = "yes"; then
26547 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26551 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26552 DISTDIR
="wx\$(TOOLKIT)"
26558 if test "$USE_WIN32" = 1 ; then
26562 GUIDIST
="BASE_DIST"
26572 if test "$TOOLKIT" != "MSW" ; then
26574 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26576 if test "${ac_cv_header_sql_h+set}" = set; then
26577 echo "$as_me:$LINENO: checking for sql.h" >&5
26578 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26579 if test "${ac_cv_header_sql_h+set}" = set; then
26580 echo $ECHO_N "(cached) $ECHO_C" >&6
26582 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26583 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26585 # Is the header compilable?
26586 echo "$as_me:$LINENO: checking sql.h usability" >&5
26587 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26588 cat >conftest.
$ac_ext <<_ACEOF
26591 cat confdefs.h
>>conftest.
$ac_ext
26592 cat >>conftest.
$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 $ac_includes_default
26597 rm -f conftest.
$ac_objext
26598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26599 (eval $ac_compile) 2>conftest.er1
26601 grep -v '^ *+' conftest.er1
>conftest.err
26603 cat conftest.err
>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); } &&
26606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; } &&
26612 { ac_try
='test -s conftest.$ac_objext'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; }; then
26618 ac_header_compiler
=yes
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.
$ac_ext >&5
26623 ac_header_compiler
=no
26625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26627 echo "${ECHO_T}$ac_header_compiler" >&6
26629 # Is the header present?
26630 echo "$as_me:$LINENO: checking sql.h presence" >&5
26631 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26632 cat >conftest.
$ac_ext <<_ACEOF
26635 cat confdefs.h
>>conftest.
$ac_ext
26636 cat >>conftest.
$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26643 grep -v '^ *+' conftest.er1
>conftest.err
26645 cat conftest.err
>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } >/dev
/null
; then
26648 if test -s conftest.err
; then
26649 ac_cpp_err
=$ac_c_preproc_warn_flag
26650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26657 if test -z "$ac_cpp_err"; then
26658 ac_header_preproc
=yes
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.
$ac_ext >&5
26663 ac_header_preproc
=no
26665 rm -f conftest.err conftest.
$ac_ext
26666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26667 echo "${ECHO_T}$ac_header_preproc" >&6
26669 # So? What about this header?
26670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26672 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26673 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26674 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26675 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26676 ac_header_preproc
=yes
26679 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26680 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26681 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26682 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26683 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26684 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26685 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26686 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26687 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26688 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26689 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26690 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26693 ## ----------------------------------------- ##
26694 ## Report this to wx-dev@lists.wxwidgets.org ##
26695 ## ----------------------------------------- ##
26698 sed "s/^/$as_me: WARNING: /" >&2
26701 echo "$as_me:$LINENO: checking for sql.h" >&5
26702 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26703 if test "${ac_cv_header_sql_h+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26706 ac_cv_header_sql_h
=$ac_header_preproc
26708 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26709 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26712 if test $ac_cv_header_sql_h = yes; then
26717 if test "x$found_sql_h" = "x1" ; then
26718 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26719 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26720 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 ac_check_lib_save_LIBS
=$LIBS
26724 LIBS
="-liodbc $LIBS"
26725 cat >conftest.
$ac_ext <<_ACEOF
26728 cat confdefs.h
>>conftest.
$ac_ext
26729 cat >>conftest.
$ac_ext <<_ACEOF
26730 /* end confdefs.h. */
26732 /* Override any gcc2 internal prototype to avoid an error. */
26736 /* We use char because int might match the return type of a gcc2
26737 builtin and then its argument prototype would still apply. */
26738 char SQLAllocEnv ();
26747 rm -f conftest.
$ac_objext conftest
$ac_exeext
26748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26749 (eval $ac_link) 2>conftest.er1
26751 grep -v '^ *+' conftest.er1
>conftest.err
26753 cat conftest.err
>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; } &&
26762 { ac_try
='test -s conftest$ac_exeext'
26763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26764 (eval $ac_try) 2>&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); }; }; then
26768 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26770 echo "$as_me: failed program was:" >&5
26771 sed 's/^/| /' conftest.
$ac_ext >&5
26773 ac_cv_lib_iodbc_SQLAllocEnv
=no
26775 rm -f conftest.err conftest.
$ac_objext \
26776 conftest
$ac_exeext conftest.
$ac_ext
26777 LIBS
=$ac_check_lib_save_LIBS
26779 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26780 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26781 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26782 ODBC_LINK
=" -liodbc"
26785 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26786 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26787 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26790 ac_check_lib_save_LIBS
=$LIBS
26791 LIBS
="-lunixodbc $LIBS"
26792 cat >conftest.
$ac_ext <<_ACEOF
26795 cat confdefs.h
>>conftest.
$ac_ext
26796 cat >>conftest.
$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26799 /* Override any gcc2 internal prototype to avoid an error. */
26803 /* We use char because int might match the return type of a gcc2
26804 builtin and then its argument prototype would still apply. */
26805 char SQLAllocEnv ();
26814 rm -f conftest.
$ac_objext conftest
$ac_exeext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26816 (eval $ac_link) 2>conftest.er1
26818 grep -v '^ *+' conftest.er1
>conftest.err
26820 cat conftest.err
>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; } &&
26829 { ac_try
='test -s conftest$ac_exeext'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; }; then
26835 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.
$ac_ext >&5
26840 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26842 rm -f conftest.err conftest.
$ac_objext \
26843 conftest
$ac_exeext conftest.
$ac_ext
26844 LIBS
=$ac_check_lib_save_LIBS
26846 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26847 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26848 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26849 ODBC_LINK
=" -lunixodbc"
26852 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26853 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26854 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 ac_check_lib_save_LIBS
=$LIBS
26858 LIBS
="-lodbc $LIBS"
26859 cat >conftest.
$ac_ext <<_ACEOF
26862 cat confdefs.h
>>conftest.
$ac_ext
26863 cat >>conftest.
$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26866 /* Override any gcc2 internal prototype to avoid an error. */
26870 /* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26872 char SQLAllocEnv ();
26881 rm -f conftest.
$ac_objext conftest
$ac_exeext
26882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26883 (eval $ac_link) 2>conftest.er1
26885 grep -v '^ *+' conftest.er1
>conftest.err
26887 cat conftest.err
>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } &&
26890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try
='test -s conftest$ac_exeext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 ac_cv_lib_odbc_SQLAllocEnv
=yes
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.
$ac_ext >&5
26907 ac_cv_lib_odbc_SQLAllocEnv
=no
26909 rm -f conftest.err conftest.
$ac_objext \
26910 conftest
$ac_exeext conftest.
$ac_ext
26911 LIBS
=$ac_check_lib_save_LIBS
26913 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26914 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26915 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26916 ODBC_LINK
=" -lodbc"
26926 if test "x$ODBC_LINK" = "x" ; then
26927 if test "$wxUSE_ODBC" = "sys" ; then
26928 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26929 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26930 { (exit 1); exit 1; }; }
26932 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26933 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26940 if test "$wxUSE_ODBC" != "no" ; then
26941 cat >>confdefs.h
<<\_ACEOF
26942 #define wxUSE_ODBC 1
26945 if test "$wxUSE_ODBC" = "builtin" ; then
26946 cat >>confdefs.h
<<\_ACEOF
26947 #define wxUSE_BUILTIN_IODBC 1
26951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26953 WXODBCFLAG
="-D_IODBC_"
26959 if test "$wxUSE_DISPLAY" = "yes"; then
26960 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26961 echo "$as_me:$LINENO: checking for Xinerama" >&5
26962 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26965 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26967 for ac_extension
in a so sl dylib
; do
26968 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26969 ac_find_libraries
=$ac_dir
26975 if test "$ac_find_libraries" != "" ; then
26977 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26979 if test $result = 0; then
26982 ac_path_to_link
=" -L$ac_find_libraries"
26985 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26986 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26988 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26989 echo "$as_me:$LINENO: result: yes" >&5
26990 echo "${ECHO_T}yes" >&6
26992 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26993 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26996 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26998 for ac_extension
in a so sl dylib
; do
26999 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27000 ac_find_libraries
=$ac_dir
27006 if test "$ac_find_libraries" != "" ; then
27007 echo "$as_me:$LINENO: result: yes" >&5
27008 echo "${ECHO_T}yes" >&6
27010 for ac_header
in X
11/extensions
/xf86vmode.h
27012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27013 echo "$as_me:$LINENO: checking for $ac_header" >&5
27014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 cat >conftest.
$ac_ext <<_ACEOF
27021 cat confdefs.h
>>conftest.
$ac_ext
27022 cat >>conftest.
$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27025 #if HAVE_X11_XLIB_H
27026 #include <X11/Xlib.h>
27030 #include <$ac_header>
27032 rm -f conftest.
$ac_objext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27034 (eval $ac_compile) 2>conftest.er1
27036 grep -v '^ *+' conftest.er1
>conftest.err
27038 cat conftest.err
>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; } &&
27047 { ac_try
='test -s conftest.$ac_objext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 eval "$as_ac_Header=yes"
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.
$ac_ext >&5
27058 eval "$as_ac_Header=no"
27060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27065 cat >>confdefs.h
<<_ACEOF
27066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27069 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27076 echo "$as_me:$LINENO: result: no" >&5
27077 echo "${ECHO_T}no" >&6
27081 echo "$as_me:$LINENO: result: no" >&5
27082 echo "${ECHO_T}no" >&6
27083 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27084 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27087 elif test "$wxUSE_MSW" = 1; then
27090 for ac_header
in multimon.h ddraw.h
27092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27094 echo "$as_me:$LINENO: checking for $ac_header" >&5
27095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27102 # Is the header compilable?
27103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27105 cat >conftest.
$ac_ext <<_ACEOF
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 $ac_includes_default
27112 #include <$ac_header>
27114 rm -f conftest.
$ac_objext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27116 (eval $ac_compile) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27125 (eval $ac_try) 2>&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try
='test -s conftest.$ac_objext'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27135 ac_header_compiler
=yes
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.
$ac_ext >&5
27140 ac_header_compiler
=no
27142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27144 echo "${ECHO_T}$ac_header_compiler" >&6
27146 # Is the header present?
27147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27149 cat >conftest.
$ac_ext <<_ACEOF
27152 cat confdefs.h
>>conftest.
$ac_ext
27153 cat >>conftest.
$ac_ext <<_ACEOF
27154 /* end confdefs.h. */
27155 #include <$ac_header>
27157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27160 grep -v '^ *+' conftest.er1
>conftest.err
27162 cat conftest.err
>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } >/dev
/null
; then
27165 if test -s conftest.err
; then
27166 ac_cpp_err
=$ac_c_preproc_warn_flag
27167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27174 if test -z "$ac_cpp_err"; then
27175 ac_header_preproc
=yes
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.
$ac_ext >&5
27180 ac_header_preproc
=no
27182 rm -f conftest.err conftest.
$ac_ext
27183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27184 echo "${ECHO_T}$ac_header_preproc" >&6
27186 # So? What about this header?
27187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27193 ac_header_preproc
=yes
27196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27210 ## ----------------------------------------- ##
27211 ## Report this to wx-dev@lists.wxwidgets.org ##
27212 ## ----------------------------------------- ##
27215 sed "s/^/$as_me: WARNING: /" >&2
27218 echo "$as_me:$LINENO: checking for $ac_header" >&5
27219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27221 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 eval "$as_ac_Header=\$ac_header_preproc"
27225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27230 cat >>confdefs.h
<<_ACEOF
27231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27237 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27238 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27249 if test "$wxUSE_OPENGL" = "yes"; then
27250 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27251 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27252 elif test "$wxUSE_MSW" = 1; then
27253 OPENGL_LIBS
="-lopengl32 -lglu32"
27258 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27260 if test -f "$ac_dir/GL/gl.h"; then
27261 ac_find_includes
=$ac_dir
27266 if test "$ac_find_includes" != "" ; then
27267 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27268 echo "${ECHO_T}found in $ac_find_includes" >&6
27270 if test "x$ac_find_includes" = "x/usr/include"; then
27271 ac_path_to_include
=""
27273 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27275 if test $result = 0; then
27276 ac_path_to_include
=""
27278 ac_path_to_include
=" -I$ac_find_includes"
27282 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27285 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27286 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27287 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27288 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27292 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27294 # Is the header compilable?
27295 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27296 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27297 cat >conftest.
$ac_ext <<_ACEOF
27300 cat confdefs.h
>>conftest.
$ac_ext
27301 cat >>conftest.
$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27303 $ac_includes_default
27306 rm -f conftest.
$ac_objext
27307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27308 (eval $ac_compile) 2>conftest.er1
27310 grep -v '^ *+' conftest.er1
>conftest.err
27312 cat conftest.err
>&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; } &&
27321 { ac_try
='test -s conftest.$ac_objext'
27322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27323 (eval $ac_try) 2>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); }; }; then
27327 ac_header_compiler
=yes
27329 echo "$as_me: failed program was:" >&5
27330 sed 's/^/| /' conftest.
$ac_ext >&5
27332 ac_header_compiler
=no
27334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27336 echo "${ECHO_T}$ac_header_compiler" >&6
27338 # Is the header present?
27339 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27340 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27352 grep -v '^ *+' conftest.er1
>conftest.err
27354 cat conftest.err
>&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } >/dev
/null
; then
27357 if test -s conftest.err
; then
27358 ac_cpp_err
=$ac_c_preproc_warn_flag
27359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27366 if test -z "$ac_cpp_err"; then
27367 ac_header_preproc
=yes
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.
$ac_ext >&5
27372 ac_header_preproc
=no
27374 rm -f conftest.err conftest.
$ac_ext
27375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27376 echo "${ECHO_T}$ac_header_preproc" >&6
27378 # So? What about this header?
27379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27381 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27382 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27383 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27384 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27385 ac_header_preproc
=yes
27388 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27389 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27391 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27392 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27393 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27394 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27395 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27396 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27397 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27399 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27402 ## ----------------------------------------- ##
27403 ## Report this to wx-dev@lists.wxwidgets.org ##
27404 ## ----------------------------------------- ##
27407 sed "s/^/$as_me: WARNING: /" >&2
27410 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27411 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27412 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27415 ac_cv_header_GL_gl_h
=$ac_header_preproc
27417 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27418 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27421 if test $ac_cv_header_GL_gl_h = yes; then
27425 echo "$as_me:$LINENO: checking for -lGL" >&5
27426 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27429 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27431 for ac_extension
in a so sl dylib
; do
27432 if test -f "$ac_dir/libGL.$ac_extension"; then
27433 ac_find_libraries
=$ac_dir
27439 if test "$ac_find_libraries" != "" ; then
27441 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27443 if test $result = 0; then
27446 ac_path_to_link
=" -L$ac_find_libraries"
27449 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27450 LDFLAGS_GL
="$ac_path_to_link"
27455 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27457 for ac_extension
in a so sl dylib
; do
27458 if test -f "$ac_dir/libGLU.$ac_extension"; then
27459 ac_find_libraries
=$ac_dir
27465 if test "$ac_find_libraries" != "" ; then
27467 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27469 if test $result = 0; then
27472 ac_path_to_link
=" -L$ac_find_libraries"
27475 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27476 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27477 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27481 OPENGL_LIBS
="-lGL -lGLU"
27482 echo "$as_me:$LINENO: result: yes" >&5
27483 echo "${ECHO_T}yes" >&6
27487 if test "$found_gl" != 1; then
27488 echo "$as_me:$LINENO: result: no" >&5
27489 echo "${ECHO_T}no" >&6
27490 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27491 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27494 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27496 for ac_extension
in a so sl dylib
; do
27497 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27498 ac_find_libraries
=$ac_dir
27504 if test "$ac_find_libraries" != "" ; then
27506 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27508 if test $result = 0; then
27511 ac_path_to_link
=" -L$ac_find_libraries"
27514 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27515 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27516 echo "$as_me:$LINENO: result: yes" >&5
27517 echo "${ECHO_T}yes" >&6
27519 echo "$as_me:$LINENO: result: no" >&5
27520 echo "${ECHO_T}no" >&6
27528 if test "x$OPENGL_LIBS" = "x"; then
27529 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27530 echo "$as_me: error: OpenGL libraries not available" >&2;}
27531 { (exit 1); exit 1; }; }
27535 if test "$wxUSE_OPENGL" = "yes"; then
27537 cat >>confdefs.h
<<\_ACEOF
27538 #define wxUSE_OPENGL 1
27541 cat >>confdefs.h
<<\_ACEOF
27542 #define wxUSE_GLCANVAS 1
27545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27550 if test -n "$TOOLKIT" ; then
27551 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27556 if test "$wxUSE_SHARED" = "yes"; then
27560 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27561 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27566 if test "$wxUSE_SHARED" = "yes"; then
27569 found_versioning
=no
27572 if test $found_versioning = no
; then
27573 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27574 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27575 if test "${wx_cv_version_script+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 echo "VER_1 { *; };" >conftest.sym
27580 echo "int main() { return 0; }" >conftest.cpp
27583 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27584 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; } ; then
27590 if test -s conftest.stderr
; then
27591 wx_cv_version_script
=no
27593 wx_cv_version_script
=yes
27596 wx_cv_version_script
=no
27598 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27601 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27602 echo "${ECHO_T}$wx_cv_version_script" >&6
27603 if test $wx_cv_version_script = yes ; then
27604 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27610 *-*-linux* | *-*-gnu* )
27611 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27615 if test "$GCC" = yes ; then
27616 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27618 saveLdflags
="$LDFLAGS"
27619 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27620 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27621 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27622 cat >conftest.
$ac_ext <<_ACEOF
27625 cat confdefs.h
>>conftest.
$ac_ext
27626 cat >>conftest.
$ac_ext <<_ACEOF
27627 /* end confdefs.h. */
27637 rm -f conftest.
$ac_objext conftest
$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>conftest.er1
27641 grep -v '^ *+' conftest.er1
>conftest.err
27643 cat conftest.err
>&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } &&
27646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27648 (eval $ac_try) 2>&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); }; } &&
27652 { ac_try
='test -s conftest$ac_exeext'
27653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27654 (eval $ac_try) 2>&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); }; }; then
27659 echo "$as_me:$LINENO: result: yes" >&5
27660 echo "${ECHO_T}yes" >&6
27661 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.
$ac_ext >&5
27668 echo "$as_me:$LINENO: result: no" >&5
27669 echo "${ECHO_T}no" >&6
27670 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27671 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27672 LDFLAGS
="$saveLdflags -Wl,-R,/"
27673 cat >conftest.
$ac_ext <<_ACEOF
27676 cat confdefs.h
>>conftest.
$ac_ext
27677 cat >>conftest.
$ac_ext <<_ACEOF
27678 /* end confdefs.h. */
27688 rm -f conftest.
$ac_objext conftest
$ac_exeext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27690 (eval $ac_link) 2>conftest.er1
27692 grep -v '^ *+' conftest.er1
>conftest.err
27694 cat conftest.err
>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; } &&
27703 { ac_try
='test -s conftest$ac_exeext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27710 echo "$as_me:$LINENO: result: yes" >&5
27711 echo "${ECHO_T}yes" >&6
27712 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.
$ac_ext >&5
27718 echo "$as_me:$LINENO: result: no" >&5
27719 echo "${ECHO_T}no" >&6
27722 rm -f conftest.err conftest.
$ac_objext \
27723 conftest
$ac_exeext conftest.
$ac_ext
27726 rm -f conftest.err conftest.
$ac_objext \
27727 conftest
$ac_exeext conftest.
$ac_ext
27728 LDFLAGS
="$saveLdflags"
27730 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27734 powerpc
-*-darwin* )
27735 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27736 cat <<EOF >change-install-names
27738 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27739 inst_cmd="install_name_tool "
27740 for i in \${libnames} ; do
27741 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27745 chmod +x change
-install-names
27748 *-*-cygwin* | *-*-mingw32* )
27749 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27755 if test "$wxUSE_SHARED" = "no"; then
27756 config_linkage_component
="-static"
27764 lib_unicode_suffix
=
27766 if test "$wxUSE_UNICODE" = "yes"; then
27767 lib_unicode_suffix
=u
27768 WX_CHARTYPE
="unicode"
27773 WX_DEBUGTYPE
="release"
27775 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27777 WX_DEBUGTYPE
="debug"
27781 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27782 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27785 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27789 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27791 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27793 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27795 if test "$cross_compiling" = "yes"; then
27796 HOST_SUFFIX
="-$host_alias"
27797 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27798 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27801 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27802 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27806 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27807 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27808 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27810 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27812 # Extract the first word of "Rez", so it can be a program name with args.
27813 set dummy Rez
; ac_word
=$2
27814 echo "$as_me:$LINENO: checking for $ac_word" >&5
27815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27816 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27819 if test -n "$RESCOMP"; then
27820 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27823 for as_dir
in $PATH
27826 test -z "$as_dir" && as_dir
=.
27827 for ac_exec_ext
in '' $ac_executable_extensions; do
27828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27829 ac_cv_prog_RESCOMP
="Rez"
27830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27836 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27839 RESCOMP
=$ac_cv_prog_RESCOMP
27840 if test -n "$RESCOMP"; then
27841 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27842 echo "${ECHO_T}$RESCOMP" >&6
27844 echo "$as_me:$LINENO: result: no" >&5
27845 echo "${ECHO_T}no" >&6
27848 # Extract the first word of "DeRez", so it can be a program name with args.
27849 set dummy DeRez
; ac_word
=$2
27850 echo "$as_me:$LINENO: checking for $ac_word" >&5
27851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27852 if test "${ac_cv_prog_DEREZ+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 if test -n "$DEREZ"; then
27856 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27859 for as_dir
in $PATH
27862 test -z "$as_dir" && as_dir
=.
27863 for ac_exec_ext
in '' $ac_executable_extensions; do
27864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27865 ac_cv_prog_DEREZ
="DeRez"
27866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27872 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27875 DEREZ
=$ac_cv_prog_DEREZ
27876 if test -n "$DEREZ"; then
27877 echo "$as_me:$LINENO: result: $DEREZ" >&5
27878 echo "${ECHO_T}$DEREZ" >&6
27880 echo "$as_me:$LINENO: result: no" >&5
27881 echo "${ECHO_T}no" >&6
27884 # Extract the first word of "SetFile", so it can be a program name with args.
27885 set dummy SetFile
; ac_word
=$2
27886 echo "$as_me:$LINENO: checking for $ac_word" >&5
27887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27888 if test "${ac_cv_prog_SETFILE+set}" = set; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 if test -n "$SETFILE"; then
27892 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27895 for as_dir
in $PATH
27898 test -z "$as_dir" && as_dir
=.
27899 for ac_exec_ext
in '' $ac_executable_extensions; do
27900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27901 ac_cv_prog_SETFILE
="SetFile"
27902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27908 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27911 SETFILE
=$ac_cv_prog_SETFILE
27912 if test -n "$SETFILE"; then
27913 echo "$as_me:$LINENO: result: $SETFILE" >&5
27914 echo "${ECHO_T}$SETFILE" >&6
27916 echo "$as_me:$LINENO: result: no" >&5
27917 echo "${ECHO_T}no" >&6
27921 MACSETFILE
="\$(SETFILE)"
27923 if test "$wxUSE_MAC" = 1; then
27924 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27926 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27928 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27929 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27935 if test "$wxUSE_PM" = 1; then
27936 MACRESCOMP
="emxbind -ep"
27944 echo "$as_me:$LINENO: checking for mode_t" >&5
27945 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27946 if test "${ac_cv_type_mode_t+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 cat >conftest.
$ac_ext <<_ACEOF
27952 cat confdefs.h
>>conftest.
$ac_ext
27953 cat >>conftest.
$ac_ext <<_ACEOF
27954 /* end confdefs.h. */
27955 $ac_includes_default
27961 if (sizeof (mode_t))
27967 rm -f conftest.
$ac_objext
27968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27969 (eval $ac_compile) 2>conftest.er1
27971 grep -v '^ *+' conftest.er1
>conftest.err
27973 cat conftest.err
>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } &&
27976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; } &&
27982 { ac_try
='test -s conftest.$ac_objext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27988 ac_cv_type_mode_t
=yes
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.
$ac_ext >&5
27993 ac_cv_type_mode_t
=no
27995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27997 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27998 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27999 if test $ac_cv_type_mode_t = yes; then
28003 cat >>confdefs.h
<<_ACEOF
28009 echo "$as_me:$LINENO: checking for off_t" >&5
28010 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28011 if test "${ac_cv_type_off_t+set}" = set; then
28012 echo $ECHO_N "(cached) $ECHO_C" >&6
28014 cat >conftest.
$ac_ext <<_ACEOF
28017 cat confdefs.h
>>conftest.
$ac_ext
28018 cat >>conftest.
$ac_ext <<_ACEOF
28019 /* end confdefs.h. */
28020 $ac_includes_default
28026 if (sizeof (off_t))
28032 rm -f conftest.
$ac_objext
28033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28034 (eval $ac_compile) 2>conftest.er1
28036 grep -v '^ *+' conftest.er1
>conftest.err
28038 cat conftest.err
>&5
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); } &&
28041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28043 (eval $ac_try) 2>&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); }; } &&
28047 { ac_try
='test -s conftest.$ac_objext'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; }; then
28053 ac_cv_type_off_t
=yes
28055 echo "$as_me: failed program was:" >&5
28056 sed 's/^/| /' conftest.
$ac_ext >&5
28058 ac_cv_type_off_t
=no
28060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28062 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28063 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28064 if test $ac_cv_type_off_t = yes; then
28068 cat >>confdefs.h
<<_ACEOF
28074 echo "$as_me:$LINENO: checking for pid_t" >&5
28075 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28076 if test "${ac_cv_type_pid_t+set}" = set; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 cat >conftest.
$ac_ext <<_ACEOF
28082 cat confdefs.h
>>conftest.
$ac_ext
28083 cat >>conftest.
$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085 $ac_includes_default
28091 if (sizeof (pid_t))
28097 rm -f conftest.
$ac_objext
28098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28099 (eval $ac_compile) 2>conftest.er1
28101 grep -v '^ *+' conftest.er1
>conftest.err
28103 cat conftest.err
>&5
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); } &&
28106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; } &&
28112 { ac_try
='test -s conftest.$ac_objext'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; }; then
28118 ac_cv_type_pid_t
=yes
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.
$ac_ext >&5
28123 ac_cv_type_pid_t
=no
28125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28127 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28128 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28129 if test $ac_cv_type_pid_t = yes; then
28133 cat >>confdefs.h
<<_ACEOF
28139 echo "$as_me:$LINENO: checking for size_t" >&5
28140 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28141 if test "${ac_cv_type_size_t+set}" = set; then
28142 echo $ECHO_N "(cached) $ECHO_C" >&6
28144 cat >conftest.
$ac_ext <<_ACEOF
28147 cat confdefs.h
>>conftest.
$ac_ext
28148 cat >>conftest.
$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150 $ac_includes_default
28156 if (sizeof (size_t))
28162 rm -f conftest.
$ac_objext
28163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28164 (eval $ac_compile) 2>conftest.er1
28166 grep -v '^ *+' conftest.er1
>conftest.err
28168 cat conftest.err
>&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); } &&
28171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28173 (eval $ac_try) 2>&5
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); }; } &&
28177 { ac_try
='test -s conftest.$ac_objext'
28178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28179 (eval $ac_try) 2>&5
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); }; }; then
28183 ac_cv_type_size_t
=yes
28185 echo "$as_me: failed program was:" >&5
28186 sed 's/^/| /' conftest.
$ac_ext >&5
28188 ac_cv_type_size_t
=no
28190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28192 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28193 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28194 if test $ac_cv_type_size_t = yes; then
28198 cat >>confdefs.h
<<_ACEOF
28199 #define size_t unsigned
28204 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28205 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28206 if test "${ac_cv_type_uid_t+set}" = set; then
28207 echo $ECHO_N "(cached) $ECHO_C" >&6
28209 cat >conftest.
$ac_ext <<_ACEOF
28212 cat confdefs.h
>>conftest.
$ac_ext
28213 cat >>conftest.
$ac_ext <<_ACEOF
28214 /* end confdefs.h. */
28215 #include <sys/types.h>
28218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28219 $EGREP "uid_t" >/dev
/null
2>&1; then
28220 ac_cv_type_uid_t
=yes
28222 ac_cv_type_uid_t
=no
28227 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28228 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28229 if test $ac_cv_type_uid_t = no
; then
28231 cat >>confdefs.h
<<\_ACEOF
28236 cat >>confdefs.h
<<\_ACEOF
28246 ac_cpp
='$CXXCPP $CPPFLAGS'
28247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28251 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28252 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28253 if test "${wx_cv_size_t_is_uint+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28257 cat >conftest.
$ac_ext <<_ACEOF
28260 cat confdefs.h
>>conftest.
$ac_ext
28261 cat >>conftest.
$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263 #include <stddef.h>
28270 struct Foo { void foo(size_t); void foo(unsigned int); };
28278 rm -f conftest.
$ac_objext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28280 (eval $ac_compile) 2>conftest.er1
28282 grep -v '^ *+' conftest.er1
>conftest.err
28284 cat conftest.err
>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } &&
28287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; } &&
28293 { ac_try
='test -s conftest.$ac_objext'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; }; then
28299 wx_cv_size_t_is_uint
=no
28301 echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.
$ac_ext >&5
28304 wx_cv_size_t_is_uint
=yes
28307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28311 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28312 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28314 if test "$wx_cv_size_t_is_uint" = "yes"; then
28315 cat >>confdefs.h
<<\_ACEOF
28316 #define wxSIZE_T_IS_UINT 1
28320 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28321 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28322 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28325 cat >conftest.
$ac_ext <<_ACEOF
28328 cat confdefs.h
>>conftest.
$ac_ext
28329 cat >>conftest.
$ac_ext <<_ACEOF
28330 /* end confdefs.h. */
28331 #include <stddef.h>
28338 struct Foo { void foo(size_t); void foo(unsigned long); };
28346 rm -f conftest.
$ac_objext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28348 (eval $ac_compile) 2>conftest.er1
28350 grep -v '^ *+' conftest.er1
>conftest.err
28352 cat conftest.err
>&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28357 (eval $ac_try) 2>&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); }; } &&
28361 { ac_try
='test -s conftest.$ac_objext'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; }; then
28367 wx_cv_size_t_is_ulong
=no
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.
$ac_ext >&5
28372 wx_cv_size_t_is_ulong
=yes
28375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28378 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28379 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28381 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28382 cat >>confdefs.h
<<\_ACEOF
28383 #define wxSIZE_T_IS_ULONG 1
28390 ac_cpp
='$CPP $CPPFLAGS'
28391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28397 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28398 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28399 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28400 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 cat >conftest.
$ac_ext <<_ACEOF
28406 cat confdefs.h
>>conftest.
$ac_ext
28407 cat >>conftest.
$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28422 rm -f conftest.
$ac_objext
28423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28424 (eval $ac_compile) 2>conftest.er1
28426 grep -v '^ *+' conftest.er1
>conftest.err
28428 cat conftest.err
>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; } &&
28437 { ac_try
='test -s conftest.$ac_objext'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; }; then
28444 wx_cv_struct_pw_gecos
=yes
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.
$ac_ext >&5
28451 wx_cv_struct_pw_gecos
=no
28455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28459 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28460 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28462 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28463 cat >>confdefs.h
<<\_ACEOF
28464 #define HAVE_PW_GECOS 1
28470 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28471 cat >>confdefs.h
<<\_ACEOF
28472 #define wxUSE_WCHAR_T 1
28479 for ac_func
in wcslen
28481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28482 echo "$as_me:$LINENO: checking for $ac_func" >&5
28483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28484 if eval "test \"\${$as_ac_var+set}\" = set"; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28495 #define $ac_func innocuous_$ac_func
28497 /* System header to define __stub macros and hopefully few prototypes,
28498 which can conflict with char $ac_func (); below.
28499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28500 <limits.h> exists even on freestanding compilers. */
28503 # include <limits.h>
28505 # include <assert.h>
28510 /* Override any gcc2 internal prototype to avoid an error. */
28515 /* We use char because int might match the return type of a gcc2
28516 builtin and then its argument prototype would still apply. */
28518 /* The GNU C library defines this for functions which it implements
28519 to always fail with ENOSYS. Some functions are actually named
28520 something starting with __ and the normal name is an alias. */
28521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28524 char (*f) () = $ac_func;
28533 return f != $ac_func;
28538 rm -f conftest.
$ac_objext conftest
$ac_exeext
28539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28540 (eval $ac_link) 2>conftest.er1
28542 grep -v '^ *+' conftest.er1
>conftest.err
28544 cat conftest.err
>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } &&
28547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; } &&
28553 { ac_try
='test -s conftest$ac_exeext'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; }; then
28559 eval "$as_ac_var=yes"
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.
$ac_ext >&5
28564 eval "$as_ac_var=no"
28566 rm -f conftest.err conftest.
$ac_objext \
28567 conftest
$ac_exeext conftest.
$ac_ext
28569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28571 if test `eval echo '${'$as_ac_var'}'` = yes; then
28572 cat >>confdefs.h
<<_ACEOF
28573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28580 if test "$WCSLEN_FOUND" = 0; then
28581 if test "$TOOLKIT" = "MSW"; then
28582 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28583 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28584 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 ac_check_lib_save_LIBS
=$LIBS
28588 LIBS
="-lmsvcrt $LIBS"
28589 cat >conftest.
$ac_ext <<_ACEOF
28592 cat confdefs.h
>>conftest.
$ac_ext
28593 cat >>conftest.
$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28596 /* Override any gcc2 internal prototype to avoid an error. */
28600 /* We use char because int might match the return type of a gcc2
28601 builtin and then its argument prototype would still apply. */
28611 rm -f conftest.
$ac_objext conftest
$ac_exeext
28612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28613 (eval $ac_link) 2>conftest.er1
28615 grep -v '^ *+' conftest.er1
>conftest.err
28617 cat conftest.err
>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; } &&
28626 { ac_try
='test -s conftest$ac_exeext'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; }; then
28632 ac_cv_lib_msvcrt_wcslen
=yes
28634 echo "$as_me: failed program was:" >&5
28635 sed 's/^/| /' conftest.
$ac_ext >&5
28637 ac_cv_lib_msvcrt_wcslen
=no
28639 rm -f conftest.err conftest.
$ac_objext \
28640 conftest
$ac_exeext conftest.
$ac_ext
28641 LIBS
=$ac_check_lib_save_LIBS
28643 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28644 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28645 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28650 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28651 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28652 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28655 ac_check_lib_save_LIBS
=$LIBS
28657 cat >conftest.
$ac_ext <<_ACEOF
28660 cat confdefs.h
>>conftest.
$ac_ext
28661 cat >>conftest.
$ac_ext <<_ACEOF
28662 /* end confdefs.h. */
28664 /* Override any gcc2 internal prototype to avoid an error. */
28668 /* We use char because int might match the return type of a gcc2
28669 builtin and then its argument prototype would still apply. */
28679 rm -f conftest.
$ac_objext conftest
$ac_exeext
28680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28681 (eval $ac_link) 2>conftest.er1
28683 grep -v '^ *+' conftest.er1
>conftest.err
28685 cat conftest.err
>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); } &&
28688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; } &&
28694 { ac_try
='test -s conftest$ac_exeext'
28695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); }; }; then
28700 ac_cv_lib_w_wcslen
=yes
28702 echo "$as_me: failed program was:" >&5
28703 sed 's/^/| /' conftest.
$ac_ext >&5
28705 ac_cv_lib_w_wcslen
=no
28707 rm -f conftest.err conftest.
$ac_objext \
28708 conftest
$ac_exeext conftest.
$ac_ext
28709 LIBS
=$ac_check_lib_save_LIBS
28711 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28712 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28713 if test $ac_cv_lib_w_wcslen = yes; then
28723 if test "$WCSLEN_FOUND" = 1; then
28724 cat >>confdefs.h
<<\_ACEOF
28725 #define HAVE_WCSLEN 1
28730 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28731 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28735 for ac_func
in wcsrtombs
28737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28738 echo "$as_me:$LINENO: checking for $ac_func" >&5
28739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28740 if eval "test \"\${$as_ac_var+set}\" = set"; then
28741 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 cat >conftest.
$ac_ext <<_ACEOF
28746 cat confdefs.h
>>conftest.
$ac_ext
28747 cat >>conftest.
$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28751 #define $ac_func innocuous_$ac_func
28753 /* System header to define __stub macros and hopefully few prototypes,
28754 which can conflict with char $ac_func (); below.
28755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28756 <limits.h> exists even on freestanding compilers. */
28759 # include <limits.h>
28761 # include <assert.h>
28766 /* Override any gcc2 internal prototype to avoid an error. */
28771 /* We use char because int might match the return type of a gcc2
28772 builtin and then its argument prototype would still apply. */
28774 /* The GNU C library defines this for functions which it implements
28775 to always fail with ENOSYS. Some functions are actually named
28776 something starting with __ and the normal name is an alias. */
28777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28780 char (*f) () = $ac_func;
28789 return f != $ac_func;
28794 rm -f conftest.
$ac_objext conftest
$ac_exeext
28795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28796 (eval $ac_link) 2>conftest.er1
28798 grep -v '^ *+' conftest.er1
>conftest.err
28800 cat conftest.err
>&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); } &&
28803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; } &&
28809 { ac_try
='test -s conftest$ac_exeext'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; }; then
28815 eval "$as_ac_var=yes"
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.
$ac_ext >&5
28820 eval "$as_ac_var=no"
28822 rm -f conftest.err conftest.
$ac_objext \
28823 conftest
$ac_exeext conftest.
$ac_ext
28825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28827 if test `eval echo '${'$as_ac_var'}'` = yes; then
28828 cat >>confdefs.h
<<_ACEOF
28829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28836 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28837 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28843 ac_cpp
='$CXXCPP $CPPFLAGS'
28844 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28850 for ac_func
in vsnprintf
28852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28853 echo "$as_me:$LINENO: checking for $ac_func" >&5
28854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28855 if eval "test \"\${$as_ac_var+set}\" = set"; then
28856 echo $ECHO_N "(cached) $ECHO_C" >&6
28858 cat >conftest.
$ac_ext <<_ACEOF
28861 cat confdefs.h
>>conftest.
$ac_ext
28862 cat >>conftest.
$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28866 #define $ac_func innocuous_$ac_func
28868 /* System header to define __stub macros and hopefully few prototypes,
28869 which can conflict with char $ac_func (); below.
28870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28871 <limits.h> exists even on freestanding compilers. */
28874 # include <limits.h>
28876 # include <assert.h>
28881 /* Override any gcc2 internal prototype to avoid an error. */
28886 /* We use char because int might match the return type of a gcc2
28887 builtin and then its argument prototype would still apply. */
28889 /* The GNU C library defines this for functions which it implements
28890 to always fail with ENOSYS. Some functions are actually named
28891 something starting with __ and the normal name is an alias. */
28892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28895 char (*f) () = $ac_func;
28904 return f != $ac_func;
28909 rm -f conftest.
$ac_objext conftest
$ac_exeext
28910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28911 (eval $ac_link) 2>conftest.er1
28913 grep -v '^ *+' conftest.er1
>conftest.err
28915 cat conftest.err
>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; } &&
28924 { ac_try
='test -s conftest$ac_exeext'
28925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28926 (eval $ac_try) 2>&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); }; }; then
28930 eval "$as_ac_var=yes"
28932 echo "$as_me: failed program was:" >&5
28933 sed 's/^/| /' conftest.
$ac_ext >&5
28935 eval "$as_ac_var=no"
28937 rm -f conftest.err conftest.
$ac_objext \
28938 conftest
$ac_exeext conftest.
$ac_ext
28940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28942 if test `eval echo '${'$as_ac_var'}'` = yes; then
28943 cat >>confdefs.h
<<_ACEOF
28944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28951 if test "$ac_cv_func_vsnprintf" = "yes"; then
28952 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28953 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28954 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28955 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 cat >conftest.
$ac_ext <<_ACEOF
28961 cat confdefs.h
>>conftest.
$ac_ext
28962 cat >>conftest.
$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28966 #include <stdarg.h>
28974 vsnprintf(buf, 10u, "%s", ap);
28980 rm -f conftest.
$ac_objext
28981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28982 (eval $ac_compile) 2>conftest.er1
28984 grep -v '^ *+' conftest.er1
>conftest.err
28986 cat conftest.err
>&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } &&
28989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try
='test -s conftest.$ac_objext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 wx_cv_func_vsnprintf_decl
=yes
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.
$ac_ext >&5
29006 wx_cv_func_vsnprintf_decl
=no
29009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29013 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29014 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29016 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29017 cat >>confdefs.h
<<\_ACEOF
29018 #define HAVE_VSNPRINTF_DECL 1
29024 if test "$wxUSE_UNICODE" = yes; then
29031 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29034 echo "$as_me:$LINENO: checking for $ac_func" >&5
29035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29036 if eval "test \"\${$as_ac_var+set}\" = set"; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 cat >conftest.
$ac_ext <<_ACEOF
29042 cat confdefs.h
>>conftest.
$ac_ext
29043 cat >>conftest.
$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29047 #define $ac_func innocuous_$ac_func
29049 /* System header to define __stub macros and hopefully few prototypes,
29050 which can conflict with char $ac_func (); below.
29051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29052 <limits.h> exists even on freestanding compilers. */
29055 # include <limits.h>
29057 # include <assert.h>
29062 /* Override any gcc2 internal prototype to avoid an error. */
29067 /* We use char because int might match the return type of a gcc2
29068 builtin and then its argument prototype would still apply. */
29070 /* The GNU C library defines this for functions which it implements
29071 to always fail with ENOSYS. Some functions are actually named
29072 something starting with __ and the normal name is an alias. */
29073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29076 char (*f) () = $ac_func;
29085 return f != $ac_func;
29090 rm -f conftest.
$ac_objext conftest
$ac_exeext
29091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29092 (eval $ac_link) 2>conftest.er1
29094 grep -v '^ *+' conftest.er1
>conftest.err
29096 cat conftest.err
>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); } &&
29099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29101 (eval $ac_try) 2>&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); }; } &&
29105 { ac_try
='test -s conftest$ac_exeext'
29106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29107 (eval $ac_try) 2>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; }; then
29111 eval "$as_ac_var=yes"
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 eval "$as_ac_var=no"
29118 rm -f conftest.err conftest.
$ac_objext \
29119 conftest
$ac_exeext conftest.
$ac_ext
29121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29123 if test `eval echo '${'$as_ac_var'}'` = yes; then
29124 cat >>confdefs.h
<<_ACEOF
29125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29132 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29133 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29134 cat >conftest.
$ac_ext <<_ACEOF
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29149 rm -f conftest.
$ac_objext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29151 (eval $ac_compile) 2>conftest.er1
29153 grep -v '^ *+' conftest.er1
>conftest.err
29155 cat conftest.err
>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try
='test -s conftest.$ac_objext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170 echo "$as_me:$LINENO: result: yes" >&5
29171 echo "${ECHO_T}yes" >&6
29172 cat >>confdefs.h
<<\_ACEOF
29173 #define HAVE__VSNWPRINTF 1
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.
$ac_ext >&5
29180 echo "$as_me:$LINENO: result: no" >&5
29181 echo "${ECHO_T}no" >&6
29183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29187 ac_cpp
='$CPP $CPPFLAGS'
29188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29195 if test "$TOOLKIT" != "MSW"; then
29201 ac_cpp
='$CXXCPP $CPPFLAGS'
29202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29209 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29210 if test "${with_libiconv_prefix+set}" = set; then
29211 withval
="$with_libiconv_prefix"
29213 for dir
in `echo "$withval" | tr : ' '`; do
29214 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29215 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29220 echo "$as_me:$LINENO: checking for iconv" >&5
29221 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29222 if test "${am_cv_func_iconv+set}" = set; then
29223 echo $ECHO_N "(cached) $ECHO_C" >&6
29226 am_cv_func_iconv
="no, consider installing GNU libiconv"
29228 cat >conftest.
$ac_ext <<_ACEOF
29231 cat confdefs.h
>>conftest.
$ac_ext
29232 cat >>conftest.
$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29234 #include <stdlib.h>
29239 iconv_t cd = iconv_open("","");
29240 iconv(cd,NULL,NULL,NULL,NULL);
29246 rm -f conftest.
$ac_objext conftest
$ac_exeext
29247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29248 (eval $ac_link) 2>conftest.er1
29250 grep -v '^ *+' conftest.er1
>conftest.err
29252 cat conftest.err
>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); } &&
29255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29257 (eval $ac_try) 2>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); }; } &&
29261 { ac_try
='test -s conftest$ac_exeext'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; }; then
29267 am_cv_func_iconv
=yes
29269 echo "$as_me: failed program was:" >&5
29270 sed 's/^/| /' conftest.
$ac_ext >&5
29273 rm -f conftest.err conftest.
$ac_objext \
29274 conftest
$ac_exeext conftest.
$ac_ext
29275 if test "$am_cv_func_iconv" != yes; then
29276 am_save_LIBS
="$LIBS"
29277 LIBS
="$LIBS -liconv"
29278 cat >conftest.
$ac_ext <<_ACEOF
29281 cat confdefs.h
>>conftest.
$ac_ext
29282 cat >>conftest.
$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29284 #include <stdlib.h>
29289 iconv_t cd = iconv_open("","");
29290 iconv(cd,NULL,NULL,NULL,NULL);
29296 rm -f conftest.
$ac_objext conftest
$ac_exeext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29298 (eval $ac_link) 2>conftest.er1
29300 grep -v '^ *+' conftest.er1
>conftest.err
29302 cat conftest.err
>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try
='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 am_cv_lib_iconv
=yes
29318 am_cv_func_iconv
=yes
29320 echo "$as_me: failed program was:" >&5
29321 sed 's/^/| /' conftest.
$ac_ext >&5
29324 rm -f conftest.err conftest.
$ac_objext \
29325 conftest
$ac_exeext conftest.
$ac_ext
29326 LIBS
="$am_save_LIBS"
29330 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29331 echo "${ECHO_T}$am_cv_func_iconv" >&6
29332 if test "$am_cv_func_iconv" = yes; then
29334 cat >>confdefs.h
<<\_ACEOF
29335 #define HAVE_ICONV 1
29338 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29339 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29340 if test "${wx_cv_func_iconv_const+set}" = set; then
29341 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 cat >conftest.
$ac_ext <<_ACEOF
29346 cat confdefs.h
>>conftest.
$ac_ext
29347 cat >>conftest.
$ac_ext <<_ACEOF
29348 /* end confdefs.h. */
29350 #include <stdlib.h>
29356 #if defined(__STDC__) || defined(__cplusplus)
29357 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29370 rm -f conftest.
$ac_objext
29371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29372 (eval $ac_compile) 2>conftest.er1
29374 grep -v '^ *+' conftest.er1
>conftest.err
29376 cat conftest.err
>&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } &&
29379 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29381 (eval $ac_try) 2>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); }; } &&
29385 { ac_try
='test -s conftest.$ac_objext'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; }; then
29391 wx_cv_func_iconv_const
="no"
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.
$ac_ext >&5
29396 wx_cv_func_iconv_const
="yes"
29399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29402 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29403 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29406 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29407 iconv_const
="const"
29411 cat >>confdefs.h
<<_ACEOF
29412 #define ICONV_CONST $iconv_const
29417 if test "$am_cv_lib_iconv" = yes; then
29422 LIBS
="$LIBICONV $LIBS"
29424 ac_cpp
='$CPP $CPPFLAGS'
29425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29430 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29432 for ac_func
in sigaction
29434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29435 echo "$as_me:$LINENO: checking for $ac_func" >&5
29436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29437 if eval "test \"\${$as_ac_var+set}\" = set"; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 cat >conftest.
$ac_ext <<_ACEOF
29443 cat confdefs.h
>>conftest.
$ac_ext
29444 cat >>conftest.
$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29448 #define $ac_func innocuous_$ac_func
29450 /* System header to define __stub macros and hopefully few prototypes,
29451 which can conflict with char $ac_func (); below.
29452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29453 <limits.h> exists even on freestanding compilers. */
29456 # include <limits.h>
29458 # include <assert.h>
29463 /* Override any gcc2 internal prototype to avoid an error. */
29468 /* We use char because int might match the return type of a gcc2
29469 builtin and then its argument prototype would still apply. */
29471 /* The GNU C library defines this for functions which it implements
29472 to always fail with ENOSYS. Some functions are actually named
29473 something starting with __ and the normal name is an alias. */
29474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29477 char (*f) () = $ac_func;
29486 return f != $ac_func;
29491 rm -f conftest.
$ac_objext conftest
$ac_exeext
29492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29493 (eval $ac_link) 2>conftest.er1
29495 grep -v '^ *+' conftest.er1
>conftest.err
29497 cat conftest.err
>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } &&
29500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; } &&
29506 { ac_try
='test -s conftest$ac_exeext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 eval "$as_ac_var=yes"
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.
$ac_ext >&5
29517 eval "$as_ac_var=no"
29519 rm -f conftest.err conftest.
$ac_objext \
29520 conftest
$ac_exeext conftest.
$ac_ext
29522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29524 if test `eval echo '${'$as_ac_var'}'` = yes; then
29525 cat >>confdefs.h
<<_ACEOF
29526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29533 if test "$ac_cv_func_sigaction" = "no"; then
29534 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29535 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29536 wxUSE_ON_FATAL_EXCEPTION
=no
29539 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29543 ac_cpp
='$CXXCPP $CPPFLAGS'
29544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29549 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29550 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29551 if test "${wx_cv_type_sa_handler+set}" = set; then
29552 echo $ECHO_N "(cached) $ECHO_C" >&6
29555 cat >conftest.
$ac_ext <<_ACEOF
29558 cat confdefs.h
>>conftest.
$ac_ext
29559 cat >>conftest.
$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29561 #include <signal.h>
29566 extern void testSigHandler(int);
29568 struct sigaction sa;
29569 sa.sa_handler = testSigHandler;
29575 rm -f conftest.
$ac_objext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29577 (eval $ac_compile) 2>conftest.er1
29579 grep -v '^ *+' conftest.er1
>conftest.err
29581 cat conftest.err
>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try
='test -s conftest.$ac_objext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29597 wx_cv_type_sa_handler
=int
29600 echo "$as_me: failed program was:" >&5
29601 sed 's/^/| /' conftest.
$ac_ext >&5
29604 wx_cv_type_sa_handler
=void
29607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29610 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29611 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29614 ac_cpp
='$CPP $CPPFLAGS'
29615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29620 cat >>confdefs.h
<<_ACEOF
29621 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29629 for ac_func
in mkstemp mktemp
29631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29632 echo "$as_me:$LINENO: checking for $ac_func" >&5
29633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29634 if eval "test \"\${$as_ac_var+set}\" = set"; then
29635 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 cat >conftest.
$ac_ext <<_ACEOF
29640 cat confdefs.h
>>conftest.
$ac_ext
29641 cat >>conftest.
$ac_ext <<_ACEOF
29642 /* end confdefs.h. */
29643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29645 #define $ac_func innocuous_$ac_func
29647 /* System header to define __stub macros and hopefully few prototypes,
29648 which can conflict with char $ac_func (); below.
29649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29650 <limits.h> exists even on freestanding compilers. */
29653 # include <limits.h>
29655 # include <assert.h>
29660 /* Override any gcc2 internal prototype to avoid an error. */
29665 /* We use char because int might match the return type of a gcc2
29666 builtin and then its argument prototype would still apply. */
29668 /* The GNU C library defines this for functions which it implements
29669 to always fail with ENOSYS. Some functions are actually named
29670 something starting with __ and the normal name is an alias. */
29671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29674 char (*f) () = $ac_func;
29683 return f != $ac_func;
29688 rm -f conftest.
$ac_objext conftest
$ac_exeext
29689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29690 (eval $ac_link) 2>conftest.er1
29692 grep -v '^ *+' conftest.er1
>conftest.err
29694 cat conftest.err
>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; } &&
29703 { ac_try
='test -s conftest$ac_exeext'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29709 eval "$as_ac_var=yes"
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.
$ac_ext >&5
29714 eval "$as_ac_var=no"
29716 rm -f conftest.err conftest.
$ac_objext \
29717 conftest
$ac_exeext conftest.
$ac_ext
29719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29721 if test `eval echo '${'$as_ac_var'}'` = yes; then
29722 cat >>confdefs.h
<<_ACEOF
29723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29730 echo "$as_me:$LINENO: checking for statfs" >&5
29731 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29732 if test "${wx_cv_func_statfs+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 cat >conftest.
$ac_ext <<_ACEOF
29738 cat confdefs.h
>>conftest.
$ac_ext
29739 cat >>conftest.
$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29742 #if defined(__BSD__)
29743 #include <sys/param.h>
29744 #include <sys/mount.h>
29746 #include <sys/vfs.h>
29764 rm -f conftest.
$ac_objext
29765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29766 (eval $ac_compile) 2>conftest.er1
29768 grep -v '^ *+' conftest.er1
>conftest.err
29770 cat conftest.err
>&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); } &&
29773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29775 (eval $ac_try) 2>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; } &&
29779 { ac_try
='test -s conftest.$ac_objext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29786 wx_cv_func_statfs
=yes
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.
$ac_ext >&5
29793 wx_cv_func_statfs
=no
29797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29800 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29801 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29803 if test "$wx_cv_func_statfs" = "yes"; then
29804 wx_cv_type_statvfs_t
="struct statfs"
29805 cat >>confdefs.h
<<\_ACEOF
29806 #define HAVE_STATFS 1
29810 echo "$as_me:$LINENO: checking for statvfs" >&5
29811 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29812 if test "${wx_cv_func_statvfs+set}" = set; then
29813 echo $ECHO_N "(cached) $ECHO_C" >&6
29815 cat >conftest.
$ac_ext <<_ACEOF
29818 cat confdefs.h
>>conftest.
$ac_ext
29819 cat >>conftest.
$ac_ext <<_ACEOF
29820 /* end confdefs.h. */
29822 #include <stddef.h>
29823 #include <sys/statvfs.h>
29829 statvfs("/", NULL);
29835 rm -f conftest.
$ac_objext
29836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29837 (eval $ac_compile) 2>conftest.er1
29839 grep -v '^ *+' conftest.er1
>conftest.err
29841 cat conftest.err
>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } &&
29844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try
='test -s conftest.$ac_objext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 wx_cv_func_statvfs
=yes
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.
$ac_ext >&5
29861 wx_cv_func_statvfs
=no
29864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29867 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29868 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29870 if test "$wx_cv_func_statvfs" = "yes"; then
29874 ac_cpp
='$CXXCPP $CPPFLAGS'
29875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29880 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29881 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29882 if test "${wx_cv_type_statvfs_t+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29885 cat >conftest.
$ac_ext <<_ACEOF
29888 cat confdefs.h
>>conftest.
$ac_ext
29889 cat >>conftest.
$ac_ext <<_ACEOF
29890 /* end confdefs.h. */
29892 #include <sys/statvfs.h>
29909 rm -f conftest.
$ac_objext
29910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29911 (eval $ac_compile) 2>conftest.er1
29913 grep -v '^ *+' conftest.er1
>conftest.err
29915 cat conftest.err
>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } &&
29918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; } &&
29924 { ac_try
='test -s conftest.$ac_objext'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; }; then
29930 wx_cv_type_statvfs_t
=statvfs_t
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.
$ac_ext >&5
29936 cat >conftest.
$ac_ext <<_ACEOF
29939 cat confdefs.h
>>conftest.
$ac_ext
29940 cat >>conftest.
$ac_ext <<_ACEOF
29941 /* end confdefs.h. */
29943 #include <sys/statvfs.h>
29960 rm -f conftest.
$ac_objext
29961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29962 (eval $ac_compile) 2>conftest.er1
29964 grep -v '^ *+' conftest.er1
>conftest.err
29966 cat conftest.err
>&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); } &&
29969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; } &&
29975 { ac_try
='test -s conftest.$ac_objext'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; }; then
29981 wx_cv_type_statvfs_t
="struct statvfs"
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.
$ac_ext >&5
29986 wx_cv_type_statvfs_t
="unknown"
29989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29996 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29997 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30000 ac_cpp
='$CPP $CPPFLAGS'
30001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30006 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30007 cat >>confdefs.h
<<\_ACEOF
30008 #define HAVE_STATVFS 1
30013 wx_cv_type_statvfs_t
="unknown"
30017 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30018 cat >>confdefs.h
<<_ACEOF
30019 #define WX_STATFS_T $wx_cv_type_statvfs_t
30023 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30024 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30027 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30030 for ac_func
in fcntl flock
30032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 echo "$as_me:$LINENO: checking for $ac_func" >&5
30034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30035 if eval "test \"\${$as_ac_var+set}\" = set"; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 cat >conftest.
$ac_ext <<_ACEOF
30041 cat confdefs.h
>>conftest.
$ac_ext
30042 cat >>conftest.
$ac_ext <<_ACEOF
30043 /* end confdefs.h. */
30044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30046 #define $ac_func innocuous_$ac_func
30048 /* System header to define __stub macros and hopefully few prototypes,
30049 which can conflict with char $ac_func (); below.
30050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30051 <limits.h> exists even on freestanding compilers. */
30054 # include <limits.h>
30056 # include <assert.h>
30061 /* Override any gcc2 internal prototype to avoid an error. */
30066 /* We use char because int might match the return type of a gcc2
30067 builtin and then its argument prototype would still apply. */
30069 /* The GNU C library defines this for functions which it implements
30070 to always fail with ENOSYS. Some functions are actually named
30071 something starting with __ and the normal name is an alias. */
30072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30075 char (*f) () = $ac_func;
30084 return f != $ac_func;
30089 rm -f conftest.
$ac_objext conftest
$ac_exeext
30090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30091 (eval $ac_link) 2>conftest.er1
30093 grep -v '^ *+' conftest.er1
>conftest.err
30095 cat conftest.err
>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } &&
30098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; } &&
30104 { ac_try
='test -s conftest$ac_exeext'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; }; then
30110 eval "$as_ac_var=yes"
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.
$ac_ext >&5
30115 eval "$as_ac_var=no"
30117 rm -f conftest.err conftest.
$ac_objext \
30118 conftest
$ac_exeext conftest.
$ac_ext
30120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30122 if test `eval echo '${'$as_ac_var'}'` = yes; then
30123 cat >>confdefs.h
<<_ACEOF
30124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30131 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30132 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30133 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30134 wxUSE_SNGLINST_CHECKER
=no
30139 for ac_func
in timegm
30141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30142 echo "$as_me:$LINENO: checking for $ac_func" >&5
30143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30144 if eval "test \"\${$as_ac_var+set}\" = set"; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30155 #define $ac_func innocuous_$ac_func
30157 /* System header to define __stub macros and hopefully few prototypes,
30158 which can conflict with char $ac_func (); below.
30159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30160 <limits.h> exists even on freestanding compilers. */
30163 # include <limits.h>
30165 # include <assert.h>
30170 /* Override any gcc2 internal prototype to avoid an error. */
30175 /* We use char because int might match the return type of a gcc2
30176 builtin and then its argument prototype would still apply. */
30178 /* The GNU C library defines this for functions which it implements
30179 to always fail with ENOSYS. Some functions are actually named
30180 something starting with __ and the normal name is an alias. */
30181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30184 char (*f) () = $ac_func;
30193 return f != $ac_func;
30198 rm -f conftest.
$ac_objext conftest
$ac_exeext
30199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30200 (eval $ac_link) 2>conftest.er1
30202 grep -v '^ *+' conftest.er1
>conftest.err
30204 cat conftest.err
>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); } &&
30207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; } &&
30213 { ac_try
='test -s conftest$ac_exeext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 eval "$as_ac_var=yes"
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.
$ac_ext >&5
30224 eval "$as_ac_var=no"
30226 rm -f conftest.err conftest.
$ac_objext \
30227 conftest
$ac_exeext conftest.
$ac_ext
30229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30231 if test `eval echo '${'$as_ac_var'}'` = yes; then
30232 cat >>confdefs.h
<<_ACEOF
30233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30242 for ac_func
in putenv setenv
30244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30266 # include <limits.h>
30268 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 eval "$as_ac_var=no"
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h
<<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30343 HAVE_SOME_SLEEP_FUNC
=0
30344 if test "$USE_BEOS" = 1; then
30345 cat >>confdefs.h
<<\_ACEOF
30346 #define HAVE_SLEEP 1
30349 HAVE_SOME_SLEEP_FUNC
=1
30352 if test "$USE_DARWIN" = 1; then
30353 cat >>confdefs.h
<<\_ACEOF
30354 #define HAVE_USLEEP 1
30357 HAVE_SOME_SLEEP_FUNC
=1
30360 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30363 for ac_func
in nanosleep
30365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30366 echo "$as_me:$LINENO: checking for $ac_func" >&5
30367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30368 if eval "test \"\${$as_ac_var+set}\" = set"; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 cat >conftest.
$ac_ext <<_ACEOF
30374 cat confdefs.h
>>conftest.
$ac_ext
30375 cat >>conftest.
$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30379 #define $ac_func innocuous_$ac_func
30381 /* System header to define __stub macros and hopefully few prototypes,
30382 which can conflict with char $ac_func (); below.
30383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30384 <limits.h> exists even on freestanding compilers. */
30387 # include <limits.h>
30389 # include <assert.h>
30394 /* Override any gcc2 internal prototype to avoid an error. */
30399 /* We use char because int might match the return type of a gcc2
30400 builtin and then its argument prototype would still apply. */
30402 /* The GNU C library defines this for functions which it implements
30403 to always fail with ENOSYS. Some functions are actually named
30404 something starting with __ and the normal name is an alias. */
30405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30408 char (*f) () = $ac_func;
30417 return f != $ac_func;
30422 rm -f conftest.
$ac_objext conftest
$ac_exeext
30423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30424 (eval $ac_link) 2>conftest.er1
30426 grep -v '^ *+' conftest.er1
>conftest.err
30428 cat conftest.err
>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); } &&
30431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; } &&
30437 { ac_try
='test -s conftest$ac_exeext'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; }; then
30443 eval "$as_ac_var=yes"
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.
$ac_ext >&5
30448 eval "$as_ac_var=no"
30450 rm -f conftest.err conftest.
$ac_objext \
30451 conftest
$ac_exeext conftest.
$ac_ext
30453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30455 if test `eval echo '${'$as_ac_var'}'` = yes; then
30456 cat >>confdefs.h
<<_ACEOF
30457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30459 cat >>confdefs.h
<<\_ACEOF
30460 #define HAVE_NANOSLEEP 1
30465 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30466 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30467 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30470 ac_check_lib_save_LIBS
=$LIBS
30471 LIBS
="-lposix4 $LIBS"
30472 cat >conftest.
$ac_ext <<_ACEOF
30475 cat confdefs.h
>>conftest.
$ac_ext
30476 cat >>conftest.
$ac_ext <<_ACEOF
30477 /* end confdefs.h. */
30479 /* Override any gcc2 internal prototype to avoid an error. */
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30494 rm -f conftest.
$ac_objext conftest
$ac_exeext
30495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30496 (eval $ac_link) 2>conftest.er1
30498 grep -v '^ *+' conftest.er1
>conftest.err
30500 cat conftest.err
>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); } &&
30503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; } &&
30509 { ac_try
='test -s conftest$ac_exeext'
30510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511 (eval $ac_try) 2>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; }; then
30515 ac_cv_lib_posix4_nanosleep
=yes
30517 echo "$as_me: failed program was:" >&5
30518 sed 's/^/| /' conftest.
$ac_ext >&5
30520 ac_cv_lib_posix4_nanosleep
=no
30522 rm -f conftest.err conftest.
$ac_objext \
30523 conftest
$ac_exeext conftest.
$ac_ext
30524 LIBS
=$ac_check_lib_save_LIBS
30526 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30527 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30528 if test $ac_cv_lib_posix4_nanosleep = yes; then
30530 cat >>confdefs.h
<<\_ACEOF
30531 #define HAVE_NANOSLEEP 1
30534 POSIX4_LINK
=" -lposix4"
30539 for ac_func
in usleep
30541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30542 echo "$as_me:$LINENO: checking for $ac_func" >&5
30543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30544 if eval "test \"\${$as_ac_var+set}\" = set"; then
30545 echo $ECHO_N "(cached) $ECHO_C" >&6
30547 cat >conftest.
$ac_ext <<_ACEOF
30550 cat confdefs.h
>>conftest.
$ac_ext
30551 cat >>conftest.
$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30555 #define $ac_func innocuous_$ac_func
30557 /* System header to define __stub macros and hopefully few prototypes,
30558 which can conflict with char $ac_func (); below.
30559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30560 <limits.h> exists even on freestanding compilers. */
30563 # include <limits.h>
30565 # include <assert.h>
30570 /* Override any gcc2 internal prototype to avoid an error. */
30575 /* We use char because int might match the return type of a gcc2
30576 builtin and then its argument prototype would still apply. */
30578 /* The GNU C library defines this for functions which it implements
30579 to always fail with ENOSYS. Some functions are actually named
30580 something starting with __ and the normal name is an alias. */
30581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30584 char (*f) () = $ac_func;
30593 return f != $ac_func;
30598 rm -f conftest.
$ac_objext conftest
$ac_exeext
30599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30600 (eval $ac_link) 2>conftest.er1
30602 grep -v '^ *+' conftest.er1
>conftest.err
30604 cat conftest.err
>&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } &&
30607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 (eval $ac_try) 2>&5
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); }; } &&
30613 { ac_try
='test -s conftest$ac_exeext'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; }; then
30619 eval "$as_ac_var=yes"
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.
$ac_ext >&5
30624 eval "$as_ac_var=no"
30626 rm -f conftest.err conftest.
$ac_objext \
30627 conftest
$ac_exeext conftest.
$ac_ext
30629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30631 if test `eval echo '${'$as_ac_var'}'` = yes; then
30632 cat >>confdefs.h
<<_ACEOF
30633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30635 cat >>confdefs.h
<<\_ACEOF
30636 #define HAVE_USLEEP 1
30640 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30641 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30659 for ac_func
in uname gethostname
30661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30662 echo "$as_me:$LINENO: checking for $ac_func" >&5
30663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30664 if eval "test \"\${$as_ac_var+set}\" = set"; then
30665 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 cat >conftest.
$ac_ext <<_ACEOF
30670 cat confdefs.h
>>conftest.
$ac_ext
30671 cat >>conftest.
$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30675 #define $ac_func innocuous_$ac_func
30677 /* System header to define __stub macros and hopefully few prototypes,
30678 which can conflict with char $ac_func (); below.
30679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30680 <limits.h> exists even on freestanding compilers. */
30683 # include <limits.h>
30685 # include <assert.h>
30690 /* Override any gcc2 internal prototype to avoid an error. */
30695 /* We use char because int might match the return type of a gcc2
30696 builtin and then its argument prototype would still apply. */
30698 /* The GNU C library defines this for functions which it implements
30699 to always fail with ENOSYS. Some functions are actually named
30700 something starting with __ and the normal name is an alias. */
30701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30704 char (*f) () = $ac_func;
30713 return f != $ac_func;
30718 rm -f conftest.
$ac_objext conftest
$ac_exeext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30720 (eval $ac_link) 2>conftest.er1
30722 grep -v '^ *+' conftest.er1
>conftest.err
30724 cat conftest.err
>&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; } &&
30733 { ac_try
='test -s conftest$ac_exeext'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; }; then
30739 eval "$as_ac_var=yes"
30741 echo "$as_me: failed program was:" >&5
30742 sed 's/^/| /' conftest.
$ac_ext >&5
30744 eval "$as_ac_var=no"
30746 rm -f conftest.err conftest.
$ac_objext \
30747 conftest
$ac_exeext conftest.
$ac_ext
30749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30751 if test `eval echo '${'$as_ac_var'}'` = yes; then
30752 cat >>confdefs.h
<<_ACEOF
30753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30763 ac_cpp
='$CXXCPP $CPPFLAGS'
30764 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30765 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30766 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30770 for ac_func
in strtok_r
30772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30773 echo "$as_me:$LINENO: checking for $ac_func" >&5
30774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30775 if eval "test \"\${$as_ac_var+set}\" = set"; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 cat >conftest.
$ac_ext <<_ACEOF
30781 cat confdefs.h
>>conftest.
$ac_ext
30782 cat >>conftest.
$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30786 #define $ac_func innocuous_$ac_func
30788 /* System header to define __stub macros and hopefully few prototypes,
30789 which can conflict with char $ac_func (); below.
30790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30791 <limits.h> exists even on freestanding compilers. */
30794 # include <limits.h>
30796 # include <assert.h>
30801 /* Override any gcc2 internal prototype to avoid an error. */
30806 /* We use char because int might match the return type of a gcc2
30807 builtin and then its argument prototype would still apply. */
30809 /* The GNU C library defines this for functions which it implements
30810 to always fail with ENOSYS. Some functions are actually named
30811 something starting with __ and the normal name is an alias. */
30812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30815 char (*f) () = $ac_func;
30824 return f != $ac_func;
30829 rm -f conftest.
$ac_objext conftest
$ac_exeext
30830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30831 (eval $ac_link) 2>conftest.er1
30833 grep -v '^ *+' conftest.er1
>conftest.err
30835 cat conftest.err
>&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); } &&
30838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840 (eval $ac_try) 2>&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; } &&
30844 { ac_try
='test -s conftest$ac_exeext'
30845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846 (eval $ac_try) 2>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); }; }; then
30850 eval "$as_ac_var=yes"
30852 echo "$as_me: failed program was:" >&5
30853 sed 's/^/| /' conftest.
$ac_ext >&5
30855 eval "$as_ac_var=no"
30857 rm -f conftest.err conftest.
$ac_objext \
30858 conftest
$ac_exeext conftest.
$ac_ext
30860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30862 if test `eval echo '${'$as_ac_var'}'` = yes; then
30863 cat >>confdefs.h
<<_ACEOF
30864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30872 ac_cpp
='$CPP $CPPFLAGS'
30873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30880 for ac_func
in inet_addr
30882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30883 echo "$as_me:$LINENO: checking for $ac_func" >&5
30884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30885 if eval "test \"\${$as_ac_var+set}\" = set"; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 cat >conftest.
$ac_ext <<_ACEOF
30891 cat confdefs.h
>>conftest.
$ac_ext
30892 cat >>conftest.
$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30896 #define $ac_func innocuous_$ac_func
30898 /* System header to define __stub macros and hopefully few prototypes,
30899 which can conflict with char $ac_func (); below.
30900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30901 <limits.h> exists even on freestanding compilers. */
30904 # include <limits.h>
30906 # include <assert.h>
30911 /* Override any gcc2 internal prototype to avoid an error. */
30916 /* We use char because int might match the return type of a gcc2
30917 builtin and then its argument prototype would still apply. */
30919 /* The GNU C library defines this for functions which it implements
30920 to always fail with ENOSYS. Some functions are actually named
30921 something starting with __ and the normal name is an alias. */
30922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30925 char (*f) () = $ac_func;
30934 return f != $ac_func;
30939 rm -f conftest.
$ac_objext conftest
$ac_exeext
30940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30941 (eval $ac_link) 2>conftest.er1
30943 grep -v '^ *+' conftest.er1
>conftest.err
30945 cat conftest.err
>&5
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); } &&
30948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30950 (eval $ac_try) 2>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; } &&
30954 { ac_try
='test -s conftest$ac_exeext'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; }; then
30960 eval "$as_ac_var=yes"
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.
$ac_ext >&5
30965 eval "$as_ac_var=no"
30967 rm -f conftest.err conftest.
$ac_objext \
30968 conftest
$ac_exeext conftest.
$ac_ext
30970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30972 if test `eval echo '${'$as_ac_var'}'` = yes; then
30973 cat >>confdefs.h
<<_ACEOF
30974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30976 cat >>confdefs.h
<<\_ACEOF
30977 #define HAVE_INET_ADDR 1
30982 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30983 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30984 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30985 echo $ECHO_N "(cached) $ECHO_C" >&6
30987 ac_check_lib_save_LIBS
=$LIBS
30989 cat >conftest.
$ac_ext <<_ACEOF
30992 cat confdefs.h
>>conftest.
$ac_ext
30993 cat >>conftest.
$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30996 /* Override any gcc2 internal prototype to avoid an error. */
31000 /* We use char because int might match the return type of a gcc2
31001 builtin and then its argument prototype would still apply. */
31011 rm -f conftest.
$ac_objext conftest
$ac_exeext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31013 (eval $ac_link) 2>conftest.er1
31015 grep -v '^ *+' conftest.er1
>conftest.err
31017 cat conftest.err
>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; } &&
31026 { ac_try
='test -s conftest$ac_exeext'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; }; then
31032 ac_cv_lib_nsl_inet_addr
=yes
31034 echo "$as_me: failed program was:" >&5
31035 sed 's/^/| /' conftest.
$ac_ext >&5
31037 ac_cv_lib_nsl_inet_addr
=no
31039 rm -f conftest.err conftest.
$ac_objext \
31040 conftest
$ac_exeext conftest.
$ac_ext
31041 LIBS
=$ac_check_lib_save_LIBS
31043 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31044 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31045 if test $ac_cv_lib_nsl_inet_addr = yes; then
31049 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31050 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31051 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31052 echo $ECHO_N "(cached) $ECHO_C" >&6
31054 ac_check_lib_save_LIBS
=$LIBS
31055 LIBS
="-lresolv $LIBS"
31056 cat >conftest.
$ac_ext <<_ACEOF
31059 cat confdefs.h
>>conftest.
$ac_ext
31060 cat >>conftest.
$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31063 /* Override any gcc2 internal prototype to avoid an error. */
31067 /* We use char because int might match the return type of a gcc2
31068 builtin and then its argument prototype would still apply. */
31078 rm -f conftest.
$ac_objext conftest
$ac_exeext
31079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31080 (eval $ac_link) 2>conftest.er1
31082 grep -v '^ *+' conftest.er1
>conftest.err
31084 cat conftest.err
>&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); } &&
31087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31089 (eval $ac_try) 2>&5
31091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092 (exit $ac_status); }; } &&
31093 { ac_try
='test -s conftest$ac_exeext'
31094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31095 (eval $ac_try) 2>&5
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); }; }; then
31099 ac_cv_lib_resolv_inet_addr
=yes
31101 echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.
$ac_ext >&5
31104 ac_cv_lib_resolv_inet_addr
=no
31106 rm -f conftest.err conftest.
$ac_objext \
31107 conftest
$ac_exeext conftest.
$ac_ext
31108 LIBS
=$ac_check_lib_save_LIBS
31110 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31111 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31112 if test $ac_cv_lib_resolv_inet_addr = yes; then
31116 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31117 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31118 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31119 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 ac_check_lib_save_LIBS
=$LIBS
31122 LIBS
="-lsocket $LIBS"
31123 cat >conftest.
$ac_ext <<_ACEOF
31126 cat confdefs.h
>>conftest.
$ac_ext
31127 cat >>conftest.
$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31130 /* Override any gcc2 internal prototype to avoid an error. */
31134 /* We use char because int might match the return type of a gcc2
31135 builtin and then its argument prototype would still apply. */
31145 rm -f conftest.
$ac_objext conftest
$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31149 grep -v '^ *+' conftest.er1
>conftest.err
31151 cat conftest.err
>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try
='test -s conftest$ac_exeext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 ac_cv_lib_socket_inet_addr
=yes
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.
$ac_ext >&5
31171 ac_cv_lib_socket_inet_addr
=no
31173 rm -f conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31175 LIBS
=$ac_check_lib_save_LIBS
31177 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31178 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31179 if test $ac_cv_lib_socket_inet_addr = yes; then
31199 for ac_func
in inet_aton
31201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31202 echo "$as_me:$LINENO: checking for $ac_func" >&5
31203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31204 if eval "test \"\${$as_ac_var+set}\" = set"; then
31205 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 cat >conftest.
$ac_ext <<_ACEOF
31210 cat confdefs.h
>>conftest.
$ac_ext
31211 cat >>conftest.
$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31215 #define $ac_func innocuous_$ac_func
31217 /* System header to define __stub macros and hopefully few prototypes,
31218 which can conflict with char $ac_func (); below.
31219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31220 <limits.h> exists even on freestanding compilers. */
31223 # include <limits.h>
31225 # include <assert.h>
31230 /* Override any gcc2 internal prototype to avoid an error. */
31235 /* We use char because int might match the return type of a gcc2
31236 builtin and then its argument prototype would still apply. */
31238 /* The GNU C library defines this for functions which it implements
31239 to always fail with ENOSYS. Some functions are actually named
31240 something starting with __ and the normal name is an alias. */
31241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31244 char (*f) () = $ac_func;
31253 return f != $ac_func;
31258 rm -f conftest.
$ac_objext conftest
$ac_exeext
31259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31260 (eval $ac_link) 2>conftest.er1
31262 grep -v '^ *+' conftest.er1
>conftest.err
31264 cat conftest.err
>&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31273 { ac_try
='test -s conftest$ac_exeext'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; }; then
31279 eval "$as_ac_var=yes"
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.
$ac_ext >&5
31284 eval "$as_ac_var=no"
31286 rm -f conftest.err conftest.
$ac_objext \
31287 conftest
$ac_exeext conftest.
$ac_ext
31289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31291 if test `eval echo '${'$as_ac_var'}'` = yes; then
31292 cat >>confdefs.h
<<_ACEOF
31293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31295 cat >>confdefs.h
<<\_ACEOF
31296 #define HAVE_INET_ATON 1
31301 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31302 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31303 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31304 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31305 echo $ECHO_N "(cached) $ECHO_C" >&6
31307 ac_check_lib_save_LIBS
=$LIBS
31308 LIBS
="-l$INET_LINK $LIBS"
31309 cat >conftest.
$ac_ext <<_ACEOF
31312 cat confdefs.h
>>conftest.
$ac_ext
31313 cat >>conftest.
$ac_ext <<_ACEOF
31314 /* end confdefs.h. */
31316 /* Override any gcc2 internal prototype to avoid an error. */
31320 /* We use char because int might match the return type of a gcc2
31321 builtin and then its argument prototype would still apply. */
31331 rm -f conftest.
$ac_objext conftest
$ac_exeext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31333 (eval $ac_link) 2>conftest.er1
31335 grep -v '^ *+' conftest.er1
>conftest.err
31337 cat conftest.err
>&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } &&
31340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; } &&
31346 { ac_try
='test -s conftest$ac_exeext'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; }; then
31352 eval "$as_ac_Lib=yes"
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.
$ac_ext >&5
31357 eval "$as_ac_Lib=no"
31359 rm -f conftest.err conftest.
$ac_objext \
31360 conftest
$ac_exeext conftest.
$ac_ext
31361 LIBS
=$ac_check_lib_save_LIBS
31363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31364 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31365 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31366 cat >>confdefs.h
<<\_ACEOF
31367 #define HAVE_INET_ATON 1
31377 if test "x$INET_LINK" != "x"; then
31378 cat >>confdefs.h
<<\_ACEOF
31379 #define HAVE_INET_ADDR 1
31382 INET_LINK
=" -l$INET_LINK"
31390 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31391 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31392 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31393 echo $ECHO_N "(cached) $ECHO_C" >&6
31395 ac_check_lib_save_LIBS
=$LIBS
31397 cat >conftest.
$ac_ext <<_ACEOF
31400 cat confdefs.h
>>conftest.
$ac_ext
31401 cat >>conftest.
$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31404 /* Override any gcc2 internal prototype to avoid an error. */
31408 /* We use char because int might match the return type of a gcc2
31409 builtin and then its argument prototype would still apply. */
31419 rm -f conftest.
$ac_objext conftest
$ac_exeext
31420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31421 (eval $ac_link) 2>conftest.er1
31423 grep -v '^ *+' conftest.er1
>conftest.err
31425 cat conftest.err
>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); } &&
31428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; } &&
31434 { ac_try
='test -s conftest$ac_exeext'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; }; then
31440 ac_cv_lib_esd_esd_close
=yes
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.
$ac_ext >&5
31445 ac_cv_lib_esd_esd_close
=no
31447 rm -f conftest.err conftest.
$ac_objext \
31448 conftest
$ac_exeext conftest.
$ac_ext
31449 LIBS
=$ac_check_lib_save_LIBS
31451 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31452 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31453 if test $ac_cv_lib_esd_esd_close = yes; then
31456 for ac_header
in esd.h
31458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31460 echo "$as_me:$LINENO: checking for $ac_header" >&5
31461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31468 # Is the header compilable?
31469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31471 cat >conftest.
$ac_ext <<_ACEOF
31474 cat confdefs.h
>>conftest.
$ac_ext
31475 cat >>conftest.
$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 $ac_includes_default
31478 #include <$ac_header>
31480 rm -f conftest.
$ac_objext
31481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31482 (eval $ac_compile) 2>conftest.er1
31484 grep -v '^ *+' conftest.er1
>conftest.err
31486 cat conftest.err
>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); } &&
31489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; } &&
31495 { ac_try
='test -s conftest.$ac_objext'
31496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31497 (eval $ac_try) 2>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; }; then
31501 ac_header_compiler
=yes
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.
$ac_ext >&5
31506 ac_header_compiler
=no
31508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31510 echo "${ECHO_T}$ac_header_compiler" >&6
31512 # Is the header present?
31513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31515 cat >conftest.
$ac_ext <<_ACEOF
31518 cat confdefs.h
>>conftest.
$ac_ext
31519 cat >>conftest.
$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521 #include <$ac_header>
31523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31526 grep -v '^ *+' conftest.er1
>conftest.err
31528 cat conftest.err
>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } >/dev
/null
; then
31531 if test -s conftest.err
; then
31532 ac_cpp_err
=$ac_c_preproc_warn_flag
31533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31540 if test -z "$ac_cpp_err"; then
31541 ac_header_preproc
=yes
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.
$ac_ext >&5
31546 ac_header_preproc
=no
31548 rm -f conftest.err conftest.
$ac_ext
31549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31550 echo "${ECHO_T}$ac_header_preproc" >&6
31552 # So? What about this header?
31553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31559 ac_header_preproc
=yes
31562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31576 ## ----------------------------------------- ##
31577 ## Report this to wx-dev@lists.wxwidgets.org ##
31578 ## ----------------------------------------- ##
31581 sed "s/^/$as_me: WARNING: /" >&2
31584 echo "$as_me:$LINENO: checking for $ac_header" >&5
31585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31587 echo $ECHO_N "(cached) $ECHO_C" >&6
31589 eval "$as_ac_Header=\$ac_header_preproc"
31591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31596 cat >>confdefs.h
<<_ACEOF
31597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31600 EXTRALIBS_ESD
="-lesd"
31611 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31612 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31613 cat >conftest.
$ac_ext <<_ACEOF
31616 cat confdefs.h
>>conftest.
$ac_ext
31617 cat >>conftest.
$ac_ext <<_ACEOF
31618 /* end confdefs.h. */
31620 #include <linux/cdrom.h>
31623 #include <sys/cdio.h>
31629 struct cdrom_tocentry entry, old_entry;
31634 rm -f conftest.
$ac_objext
31635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31636 (eval $ac_compile) 2>conftest.er1
31638 grep -v '^ *+' conftest.er1
>conftest.err
31640 cat conftest.err
>&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); } &&
31643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645 (eval $ac_try) 2>&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; } &&
31649 { ac_try
='test -s conftest.$ac_objext'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; }; then
31655 echo "$as_me:$LINENO: result: yes" >&5
31656 echo "${ECHO_T}yes" >&6
31657 cat >>confdefs.h
<<\_ACEOF
31658 #define HAVE_KNOWN_CDROM_INTERFACE 1
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.
$ac_ext >&5
31665 echo "$as_me:$LINENO: result: no" >&5
31666 echo "${ECHO_T}no" >&6
31668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31671 cat >confcache
<<\_ACEOF
31672 # This file is a shell script that caches the results of configure
31673 # tests run on this system so they can be shared between configure
31674 # scripts and configure runs, see configure's option --config-cache.
31675 # It is not useful on other systems. If it contains results you don't
31676 # want to keep, you may remove or edit it.
31678 # config.status only pays attention to the cache file if you give it
31679 # the --recheck option to rerun configure.
31681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31683 # following values.
31687 # The following way of writing the cache mishandles newlines in values,
31688 # but we know of no workaround that is simple, portable, and efficient.
31689 # So, don't put newlines in cache variables' values.
31690 # Ultrix sh set writes to stderr and can't be redirected directly,
31691 # and sets the high bit in the cache file unless we assign to the vars.
31694 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31696 # `set' does not quote correctly, so add quotes (double-quote
31697 # substitution turns \\\\ into \\, and sed turns \\ into \).
31700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31703 # `set' quotes correctly as required by POSIX, so do not add quotes.
31705 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31714 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31716 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31717 if test -w $cache_file; then
31718 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31719 cat confcache
>$cache_file
31721 echo "not updating unwritable cache $cache_file"
31728 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31734 if test "$wxUSE_THREADS" = "yes" ; then
31735 if test "$USE_BEOS" = 1; then
31736 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31737 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31742 if test "$wxUSE_THREADS" = "yes" ; then
31745 THREAD_OPTS
="-pthread"
31747 *-*-solaris2* | *-*-sunos4* )
31748 if test "x$GCC" = "xyes"; then
31749 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31751 THREAD_OPTS
="-mt $THREAD_OPTS"
31755 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31757 *-*-darwin* | *-*-cygwin* )
31761 THREAD_OPTS
="pthreads"
31764 if test "x$GCC" != "xyes"; then
31770 if test "x$GCC" = "xyes"; then
31776 if test "x$GCC" != "xyes"; then
31777 THREAD_OPTS
="-Ethread"
31782 THREAD_OPTS
="$THREAD_OPTS pthread none"
31785 for flag
in $THREAD_OPTS; do
31788 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31789 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31793 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31794 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31795 THREADS_CFLAGS
="$flag"
31799 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31800 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31801 THREADS_LINK
="-l$flag"
31806 save_CFLAGS
="$CFLAGS"
31807 LIBS
="$THREADS_LINK $LIBS"
31808 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31810 cat >conftest.
$ac_ext <<_ACEOF
31813 cat confdefs.h
>>conftest.
$ac_ext
31814 cat >>conftest.
$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816 #include <pthread.h>
31820 pthread_create(0,0,0,0);
31825 rm -f conftest.
$ac_objext conftest
$ac_exeext
31826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31827 (eval $ac_link) 2>conftest.er1
31829 grep -v '^ *+' conftest.er1
>conftest.err
31831 cat conftest.err
>&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); } &&
31834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31836 (eval $ac_try) 2>&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); }; } &&
31840 { ac_try
='test -s conftest$ac_exeext'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; }; then
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.
$ac_ext >&5
31852 rm -f conftest.err conftest.
$ac_objext \
31853 conftest
$ac_exeext conftest.
$ac_ext
31856 CFLAGS
="$save_CFLAGS"
31858 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31859 echo "${ECHO_T}$THREADS_OK" >&6
31860 if test "x$THREADS_OK" = "xyes"; then
31868 if test "x$THREADS_OK" != "xyes"; then
31870 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31871 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31873 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31874 LIBS
="$THREADS_LINK $LIBS"
31876 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31877 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31881 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31882 flag
="-D_THREAD_SAFE"
31885 flag
="-D_THREAD_SAFE"
31888 flag
="-D_REENTRANT"
31889 if test "x$GCC" != "xyes"; then
31890 flag
="$flag -D_RWSTD_MULTI_THREAD"
31895 *solaris
* | alpha
*-osf*)
31896 flag
="-D_REENTRANT"
31899 echo "$as_me:$LINENO: result: ${flag}" >&5
31900 echo "${ECHO_T}${flag}" >&6
31901 if test "x$flag" != xno
; then
31902 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31905 if test "x$THREADS_CFLAGS" != "x"; then
31906 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31907 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31912 if test "$wxUSE_THREADS" = "yes" ; then
31914 for ac_func
in thr_setconcurrency
31916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917 echo "$as_me:$LINENO: checking for $ac_func" >&5
31918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919 if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 cat >conftest.
$ac_ext <<_ACEOF
31925 cat confdefs.h
>>conftest.
$ac_ext
31926 cat >>conftest.
$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31930 #define $ac_func innocuous_$ac_func
31932 /* System header to define __stub macros and hopefully few prototypes,
31933 which can conflict with char $ac_func (); below.
31934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31935 <limits.h> exists even on freestanding compilers. */
31938 # include <limits.h>
31940 # include <assert.h>
31945 /* Override any gcc2 internal prototype to avoid an error. */
31950 /* We use char because int might match the return type of a gcc2
31951 builtin and then its argument prototype would still apply. */
31953 /* The GNU C library defines this for functions which it implements
31954 to always fail with ENOSYS. Some functions are actually named
31955 something starting with __ and the normal name is an alias. */
31956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31959 char (*f) () = $ac_func;
31968 return f != $ac_func;
31973 rm -f conftest.
$ac_objext conftest
$ac_exeext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31975 (eval $ac_link) 2>conftest.er1
31977 grep -v '^ *+' conftest.er1
>conftest.err
31979 cat conftest.err
>&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; } &&
31988 { ac_try
='test -s conftest$ac_exeext'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; }; then
31994 eval "$as_ac_var=yes"
31996 echo "$as_me: failed program was:" >&5
31997 sed 's/^/| /' conftest.
$ac_ext >&5
31999 eval "$as_ac_var=no"
32001 rm -f conftest.err conftest.
$ac_objext \
32002 conftest
$ac_exeext conftest.
$ac_ext
32004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32006 if test `eval echo '${'$as_ac_var'}'` = yes; then
32007 cat >>confdefs.h
<<_ACEOF
32008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32016 for ac_header
in sched.h
32018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32020 echo "$as_me:$LINENO: checking for $ac_header" >&5
32021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32028 # Is the header compilable?
32029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 $ac_includes_default
32038 #include <$ac_header>
32040 rm -f conftest.
$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>conftest.er1
32044 grep -v '^ *+' conftest.er1
>conftest.err
32046 cat conftest.err
>&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; } &&
32055 { ac_try
='test -s conftest.$ac_objext'
32056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057 (eval $ac_try) 2>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); }; }; then
32061 ac_header_compiler
=yes
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.
$ac_ext >&5
32066 ac_header_compiler
=no
32068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32070 echo "${ECHO_T}$ac_header_compiler" >&6
32072 # Is the header present?
32073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32075 cat >conftest.
$ac_ext <<_ACEOF
32078 cat confdefs.h
>>conftest.
$ac_ext
32079 cat >>conftest.
$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081 #include <$ac_header>
32083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } >/dev
/null
; then
32091 if test -s conftest.err
; then
32092 ac_cpp_err
=$ac_c_preproc_warn_flag
32093 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32100 if test -z "$ac_cpp_err"; then
32101 ac_header_preproc
=yes
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.
$ac_ext >&5
32106 ac_header_preproc
=no
32108 rm -f conftest.err conftest.
$ac_ext
32109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32110 echo "${ECHO_T}$ac_header_preproc" >&6
32112 # So? What about this header?
32113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32119 ac_header_preproc
=yes
32122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32136 ## ----------------------------------------- ##
32137 ## Report this to wx-dev@lists.wxwidgets.org ##
32138 ## ----------------------------------------- ##
32141 sed "s/^/$as_me: WARNING: /" >&2
32144 echo "$as_me:$LINENO: checking for $ac_header" >&5
32145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32147 echo $ECHO_N "(cached) $ECHO_C" >&6
32149 eval "$as_ac_Header=\$ac_header_preproc"
32151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32156 cat >>confdefs.h
<<_ACEOF
32157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32164 if test "$ac_cv_header_sched_h" = "yes"; then
32165 echo "$as_me:$LINENO: checking for sched_yield" >&5
32166 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32167 if test "${ac_cv_func_sched_yield+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 cat >conftest.
$ac_ext <<_ACEOF
32173 cat confdefs.h
>>conftest.
$ac_ext
32174 cat >>conftest.
$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32178 #define sched_yield innocuous_sched_yield
32180 /* System header to define __stub macros and hopefully few prototypes,
32181 which can conflict with char sched_yield (); below.
32182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32183 <limits.h> exists even on freestanding compilers. */
32186 # include <limits.h>
32188 # include <assert.h>
32193 /* Override any gcc2 internal prototype to avoid an error. */
32198 /* We use char because int might match the return type of a gcc2
32199 builtin and then its argument prototype would still apply. */
32200 char sched_yield ();
32201 /* The GNU C library defines this for functions which it implements
32202 to always fail with ENOSYS. Some functions are actually named
32203 something starting with __ and the normal name is an alias. */
32204 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32207 char (*f) () = sched_yield;
32216 return f != sched_yield;
32221 rm -f conftest.
$ac_objext conftest
$ac_exeext
32222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32223 (eval $ac_link) 2>conftest.er1
32225 grep -v '^ *+' conftest.er1
>conftest.err
32227 cat conftest.err
>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } &&
32230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; } &&
32236 { ac_try
='test -s conftest$ac_exeext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 ac_cv_func_sched_yield
=yes
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.
$ac_ext >&5
32247 ac_cv_func_sched_yield
=no
32249 rm -f conftest.err conftest.
$ac_objext \
32250 conftest
$ac_exeext conftest.
$ac_ext
32252 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32253 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32254 if test $ac_cv_func_sched_yield = yes; then
32255 cat >>confdefs.h
<<\_ACEOF
32256 #define HAVE_SCHED_YIELD 1
32261 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32262 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32263 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 ac_check_lib_save_LIBS
=$LIBS
32267 LIBS
="-lposix4 $LIBS"
32268 cat >conftest.
$ac_ext <<_ACEOF
32271 cat confdefs.h
>>conftest.
$ac_ext
32272 cat >>conftest.
$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32275 /* Override any gcc2 internal prototype to avoid an error. */
32279 /* We use char because int might match the return type of a gcc2
32280 builtin and then its argument prototype would still apply. */
32281 char sched_yield ();
32290 rm -f conftest.
$ac_objext conftest
$ac_exeext
32291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32292 (eval $ac_link) 2>conftest.er1
32294 grep -v '^ *+' conftest.er1
>conftest.err
32296 cat conftest.err
>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } &&
32299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; } &&
32305 { ac_try
='test -s conftest$ac_exeext'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; }; then
32311 ac_cv_lib_posix4_sched_yield
=yes
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.
$ac_ext >&5
32316 ac_cv_lib_posix4_sched_yield
=no
32318 rm -f conftest.err conftest.
$ac_objext \
32319 conftest
$ac_exeext conftest.
$ac_ext
32320 LIBS
=$ac_check_lib_save_LIBS
32322 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32323 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32324 if test $ac_cv_lib_posix4_sched_yield = yes; then
32325 cat >>confdefs.h
<<\_ACEOF
32326 #define HAVE_SCHED_YIELD 1
32328 POSIX4_LINK
=" -lposix4"
32330 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32331 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32342 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32343 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32344 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32345 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 cat >conftest.
$ac_ext <<_ACEOF
32350 cat confdefs.h
>>conftest.
$ac_ext
32351 cat >>conftest.
$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32355 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32357 /* System header to define __stub macros and hopefully few prototypes,
32358 which can conflict with char pthread_attr_getschedpolicy (); below.
32359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32360 <limits.h> exists even on freestanding compilers. */
32363 # include <limits.h>
32365 # include <assert.h>
32368 #undef pthread_attr_getschedpolicy
32370 /* Override any gcc2 internal prototype to avoid an error. */
32375 /* We use char because int might match the return type of a gcc2
32376 builtin and then its argument prototype would still apply. */
32377 char pthread_attr_getschedpolicy ();
32378 /* The GNU C library defines this for functions which it implements
32379 to always fail with ENOSYS. Some functions are actually named
32380 something starting with __ and the normal name is an alias. */
32381 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32384 char (*f) () = pthread_attr_getschedpolicy;
32393 return f != pthread_attr_getschedpolicy;
32398 rm -f conftest.
$ac_objext conftest
$ac_exeext
32399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32400 (eval $ac_link) 2>conftest.er1
32402 grep -v '^ *+' conftest.er1
>conftest.err
32404 cat conftest.err
>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } &&
32407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409 (eval $ac_try) 2>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); }; } &&
32413 { ac_try
='test -s conftest$ac_exeext'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; }; then
32419 ac_cv_func_pthread_attr_getschedpolicy
=yes
32421 echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.
$ac_ext >&5
32424 ac_cv_func_pthread_attr_getschedpolicy
=no
32426 rm -f conftest.err conftest.
$ac_objext \
32427 conftest
$ac_exeext conftest.
$ac_ext
32429 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32430 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32431 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32432 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32433 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32434 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32435 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 cat >conftest.
$ac_ext <<_ACEOF
32440 cat confdefs.h
>>conftest.
$ac_ext
32441 cat >>conftest.
$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32445 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32447 /* System header to define __stub macros and hopefully few prototypes,
32448 which can conflict with char pthread_attr_setschedparam (); below.
32449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32450 <limits.h> exists even on freestanding compilers. */
32453 # include <limits.h>
32455 # include <assert.h>
32458 #undef pthread_attr_setschedparam
32460 /* Override any gcc2 internal prototype to avoid an error. */
32465 /* We use char because int might match the return type of a gcc2
32466 builtin and then its argument prototype would still apply. */
32467 char pthread_attr_setschedparam ();
32468 /* The GNU C library defines this for functions which it implements
32469 to always fail with ENOSYS. Some functions are actually named
32470 something starting with __ and the normal name is an alias. */
32471 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32474 char (*f) () = pthread_attr_setschedparam;
32483 return f != pthread_attr_setschedparam;
32488 rm -f conftest.
$ac_objext conftest
$ac_exeext
32489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32490 (eval $ac_link) 2>conftest.er1
32492 grep -v '^ *+' conftest.er1
>conftest.err
32494 cat conftest.err
>&5
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); } &&
32497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; } &&
32503 { ac_try
='test -s conftest$ac_exeext'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32509 ac_cv_func_pthread_attr_setschedparam
=yes
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.
$ac_ext >&5
32514 ac_cv_func_pthread_attr_setschedparam
=no
32516 rm -f conftest.err conftest.
$ac_objext \
32517 conftest
$ac_exeext conftest.
$ac_ext
32519 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32520 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32521 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32522 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32523 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32524 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 cat >conftest.
$ac_ext <<_ACEOF
32530 cat confdefs.h
>>conftest.
$ac_ext
32531 cat >>conftest.
$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32535 #define sched_get_priority_max innocuous_sched_get_priority_max
32537 /* System header to define __stub macros and hopefully few prototypes,
32538 which can conflict with char sched_get_priority_max (); below.
32539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32540 <limits.h> exists even on freestanding compilers. */
32543 # include <limits.h>
32545 # include <assert.h>
32548 #undef sched_get_priority_max
32550 /* Override any gcc2 internal prototype to avoid an error. */
32555 /* We use char because int might match the return type of a gcc2
32556 builtin and then its argument prototype would still apply. */
32557 char sched_get_priority_max ();
32558 /* The GNU C library defines this for functions which it implements
32559 to always fail with ENOSYS. Some functions are actually named
32560 something starting with __ and the normal name is an alias. */
32561 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32564 char (*f) () = sched_get_priority_max;
32573 return f != sched_get_priority_max;
32578 rm -f conftest.
$ac_objext conftest
$ac_exeext
32579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32580 (eval $ac_link) 2>conftest.er1
32582 grep -v '^ *+' conftest.er1
>conftest.err
32584 cat conftest.err
>&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try
='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 ac_cv_func_sched_get_priority_max
=yes
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.
$ac_ext >&5
32604 ac_cv_func_sched_get_priority_max
=no
32606 rm -f conftest.err conftest.
$ac_objext \
32607 conftest
$ac_exeext conftest.
$ac_ext
32609 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32610 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32611 if test $ac_cv_func_sched_get_priority_max = yes; then
32614 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32615 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32616 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32617 echo $ECHO_N "(cached) $ECHO_C" >&6
32619 ac_check_lib_save_LIBS
=$LIBS
32620 LIBS
="-lposix4 $LIBS"
32621 cat >conftest.
$ac_ext <<_ACEOF
32624 cat confdefs.h
>>conftest.
$ac_ext
32625 cat >>conftest.
$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32628 /* Override any gcc2 internal prototype to avoid an error. */
32632 /* We use char because int might match the return type of a gcc2
32633 builtin and then its argument prototype would still apply. */
32634 char sched_get_priority_max ();
32638 sched_get_priority_max ();
32643 rm -f conftest.
$ac_objext conftest
$ac_exeext
32644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32645 (eval $ac_link) 2>conftest.er1
32647 grep -v '^ *+' conftest.er1
>conftest.err
32649 cat conftest.err
>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } &&
32652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; } &&
32658 { ac_try
='test -s conftest$ac_exeext'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; }; then
32664 ac_cv_lib_posix4_sched_get_priority_max
=yes
32666 echo "$as_me: failed program was:" >&5
32667 sed 's/^/| /' conftest.
$ac_ext >&5
32669 ac_cv_lib_posix4_sched_get_priority_max
=no
32671 rm -f conftest.err conftest.
$ac_objext \
32672 conftest
$ac_exeext conftest.
$ac_ext
32673 LIBS
=$ac_check_lib_save_LIBS
32675 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32676 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32677 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32680 POSIX4_LINK
=" -lposix4"
32694 if test "$HAVE_PRIOR_FUNCS" = 1; then
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32700 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32701 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32704 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32705 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32706 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 cat >conftest.
$ac_ext <<_ACEOF
32712 cat confdefs.h
>>conftest.
$ac_ext
32713 cat >>conftest.
$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32715 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32717 #define pthread_cancel innocuous_pthread_cancel
32719 /* System header to define __stub macros and hopefully few prototypes,
32720 which can conflict with char pthread_cancel (); below.
32721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32722 <limits.h> exists even on freestanding compilers. */
32725 # include <limits.h>
32727 # include <assert.h>
32730 #undef pthread_cancel
32732 /* Override any gcc2 internal prototype to avoid an error. */
32737 /* We use char because int might match the return type of a gcc2
32738 builtin and then its argument prototype would still apply. */
32739 char pthread_cancel ();
32740 /* The GNU C library defines this for functions which it implements
32741 to always fail with ENOSYS. Some functions are actually named
32742 something starting with __ and the normal name is an alias. */
32743 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32746 char (*f) () = pthread_cancel;
32755 return f != pthread_cancel;
32760 rm -f conftest.
$ac_objext conftest
$ac_exeext
32761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32762 (eval $ac_link) 2>conftest.er1
32764 grep -v '^ *+' conftest.er1
>conftest.err
32766 cat conftest.err
>&5
32767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768 (exit $ac_status); } &&
32769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; } &&
32775 { ac_try
='test -s conftest$ac_exeext'
32776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32777 (eval $ac_try) 2>&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); }; }; then
32781 ac_cv_func_pthread_cancel
=yes
32783 echo "$as_me: failed program was:" >&5
32784 sed 's/^/| /' conftest.
$ac_ext >&5
32786 ac_cv_func_pthread_cancel
=no
32788 rm -f conftest.err conftest.
$ac_objext \
32789 conftest
$ac_exeext conftest.
$ac_ext
32791 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32792 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32793 if test $ac_cv_func_pthread_cancel = yes; then
32794 cat >>confdefs.h
<<\_ACEOF
32795 #define HAVE_PTHREAD_CANCEL 1
32799 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32800 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32806 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32807 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32808 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32812 cat >conftest.
$ac_ext <<_ACEOF
32815 cat confdefs.h
>>conftest.
$ac_ext
32816 cat >>conftest.
$ac_ext <<_ACEOF
32817 /* end confdefs.h. */
32818 #include <pthread.h>
32823 pthread_mutexattr_t attr;
32824 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32830 rm -f conftest.
$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832 (eval $ac_compile) 2>conftest.er1
32834 grep -v '^ *+' conftest.er1
>conftest.err
32836 cat conftest.err
>&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841 (eval $ac_try) 2>&5
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); }; } &&
32845 { ac_try
='test -s conftest.$ac_objext'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; }; then
32852 wx_cv_type_pthread_mutexattr_t
=yes
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.
$ac_ext >&5
32859 wx_cv_type_pthread_mutexattr_t
=no
32863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32866 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32867 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32869 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32870 cat >>confdefs.h
<<\_ACEOF
32871 #define HAVE_PTHREAD_MUTEXATTR_T 1
32875 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32876 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32877 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 cat >conftest.
$ac_ext <<_ACEOF
32884 cat confdefs.h
>>conftest.
$ac_ext
32885 cat >>conftest.
$ac_ext <<_ACEOF
32886 /* end confdefs.h. */
32887 #include <pthread.h>
32892 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32898 rm -f conftest.
$ac_objext
32899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32900 (eval $ac_compile) 2>conftest.er1
32902 grep -v '^ *+' conftest.er1
>conftest.err
32904 cat conftest.err
>&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); } &&
32907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; } &&
32913 { ac_try
='test -s conftest.$ac_objext'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; }; then
32920 wx_cv_type_pthread_rec_mutex_init
=yes
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.
$ac_ext >&5
32927 wx_cv_type_pthread_rec_mutex_init
=no
32931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32934 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32935 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32936 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32942 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32943 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32949 if test "$wxUSE_THREADS" = "yes" ; then
32952 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32953 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32954 if test "${wx_cv_cflags_mthread+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 CFLAGS_OLD
="$CFLAGS"
32959 CFLAGS
="$CFLAGS -mthreads"
32960 cat >conftest.
$ac_ext <<_ACEOF
32963 cat confdefs.h
>>conftest.
$ac_ext
32964 cat >>conftest.
$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32975 rm -f conftest.
$ac_objext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32977 (eval $ac_compile) 2>conftest.er1
32979 grep -v '^ *+' conftest.er1
>conftest.err
32981 cat conftest.err
>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try
='test -s conftest.$ac_objext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32996 wx_cv_cflags_mthread
=yes
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.
$ac_ext >&5
33001 wx_cv_cflags_mthread
=no
33004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33008 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33009 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33011 if test "$wx_cv_cflags_mthread" = "yes"; then
33012 CXXFLAGS
="$CXXFLAGS -mthreads"
33013 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33014 LDFLAGS
="$LDFLAGS -mthreads"
33016 CFLAGS
="$CFLAGS_OLD"
33020 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33021 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33022 LDFLAGS
="$LDFLAGS -Zmt"
33028 if test "$wxUSE_THREADS" = "yes"; then
33029 cat >>confdefs.h
<<\_ACEOF
33030 #define wxUSE_THREADS 1
33034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33036 if test "$ac_cv_func_strtok_r" = "yes"; then
33037 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33038 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33039 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33040 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33041 echo "$as_me:$LINENO: result: yes" >&5
33042 echo "${ECHO_T}yes" >&6
33044 echo "$as_me:$LINENO: result: no" >&5
33045 echo "${ECHO_T}no" >&6
33050 if test "$WXGTK20" = 1 ; then
33051 cat >>confdefs.h
<<_ACEOF
33052 #define __WXGTK20__ $WXGTK20
33058 if test "$WXGTK12" = 1 ; then
33059 cat >>confdefs.h
<<_ACEOF
33060 #define __WXGTK12__ $WXGTK12
33065 if test "$WXGTK127" = 1 ; then
33066 cat >>confdefs.h
<<_ACEOF
33067 #define __WXGTK127__ $WXGTK127
33072 if test "$WXGPE" = 1 ; then
33073 cat >>confdefs.h
<<_ACEOF
33074 #define __WXGPE__ $WXGPE
33081 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33086 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33087 wxUSE_DEBUG_INFO
=yes
33091 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33092 cat >>confdefs.h
<<\_ACEOF
33096 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33098 if test "$wxUSE_GTK" = 1 ; then
33099 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33103 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33104 cat >>confdefs.h
<<\_ACEOF
33105 #define wxUSE_MEMORY_TRACING 1
33108 cat >>confdefs.h
<<\_ACEOF
33109 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33112 cat >>confdefs.h
<<\_ACEOF
33113 #define wxUSE_DEBUG_NEW_ALWAYS 1
33116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33119 if test "$wxUSE_DMALLOC" = "yes" ; then
33120 DMALLOC_LIBS
="-ldmalloc"
33124 if test "$wxUSE_PROFILE" = "yes" ; then
33129 CODE_GEN_FLAGS_CXX
=
33130 if test "$GCC" = "yes" ; then
33131 if test "$wxUSE_NO_RTTI" = "yes" ; then
33132 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33134 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33135 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33137 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33138 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33143 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33146 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33152 if test "$wxUSE_OPTIMISE" = "no" ; then
33153 if test "$GCC" = yes ; then
33157 if test "$GCC" = yes ; then
33161 i586
-*-*|i686
-*-* )
33162 OPTIMISE
="${OPTIMISE} "
33171 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33172 cat >>confdefs.h
<<\_ACEOF
33173 #define WXWIN_COMPATIBILITY_2_2 1
33177 WXWIN_COMPATIBILITY_2_4
="yes"
33180 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33181 cat >>confdefs.h
<<\_ACEOF
33182 #define WXWIN_COMPATIBILITY_2_4 1
33188 if test "$wxUSE_GUI" = "yes"; then
33189 cat >>confdefs.h
<<\_ACEOF
33190 #define wxUSE_GUI 1
33195 cat >>confdefs.h
<<\_ACEOF
33196 #define wxUSE_NOGUI 1
33202 if test "$wxUSE_UNIX" = "yes"; then
33203 cat >>confdefs.h
<<\_ACEOF
33204 #define wxUSE_UNIX 1
33210 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33214 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33215 if test "$USE_DARWIN" = 1; then
33219 for ac_func
in dlopen
33221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33222 echo "$as_me:$LINENO: checking for $ac_func" >&5
33223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33224 if eval "test \"\${$as_ac_var+set}\" = set"; then
33225 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 cat >conftest.
$ac_ext <<_ACEOF
33230 cat confdefs.h
>>conftest.
$ac_ext
33231 cat >>conftest.
$ac_ext <<_ACEOF
33232 /* end confdefs.h. */
33233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33235 #define $ac_func innocuous_$ac_func
33237 /* System header to define __stub macros and hopefully few prototypes,
33238 which can conflict with char $ac_func (); below.
33239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33240 <limits.h> exists even on freestanding compilers. */
33243 # include <limits.h>
33245 # include <assert.h>
33250 /* Override any gcc2 internal prototype to avoid an error. */
33255 /* We use char because int might match the return type of a gcc2
33256 builtin and then its argument prototype would still apply. */
33258 /* The GNU C library defines this for functions which it implements
33259 to always fail with ENOSYS. Some functions are actually named
33260 something starting with __ and the normal name is an alias. */
33261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33264 char (*f) () = $ac_func;
33273 return f != $ac_func;
33278 rm -f conftest.
$ac_objext conftest
$ac_exeext
33279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33280 (eval $ac_link) 2>conftest.er1
33282 grep -v '^ *+' conftest.er1
>conftest.err
33284 cat conftest.err
>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); } &&
33287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try
='test -s conftest$ac_exeext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 eval "$as_ac_var=yes"
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.
$ac_ext >&5
33304 eval "$as_ac_var=no"
33306 rm -f conftest.err conftest.
$ac_objext \
33307 conftest
$ac_exeext conftest.
$ac_ext
33309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33311 if test `eval echo '${'$as_ac_var'}'` = yes; then
33312 cat >>confdefs.h
<<_ACEOF
33313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33316 cat >>confdefs.h
<<\_ACEOF
33317 #define HAVE_DLOPEN 1
33324 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33325 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 ac_check_lib_save_LIBS
=$LIBS
33331 cat >conftest.
$ac_ext <<_ACEOF
33334 cat confdefs.h
>>conftest.
$ac_ext
33335 cat >>conftest.
$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33338 /* Override any gcc2 internal prototype to avoid an error. */
33342 /* We use char because int might match the return type of a gcc2
33343 builtin and then its argument prototype would still apply. */
33353 rm -f conftest.
$ac_objext conftest
$ac_exeext
33354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33355 (eval $ac_link) 2>conftest.er1
33357 grep -v '^ *+' conftest.er1
>conftest.err
33359 cat conftest.err
>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } &&
33362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; } &&
33368 { ac_try
='test -s conftest$ac_exeext'
33369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33370 (eval $ac_try) 2>&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); }; }; then
33374 ac_cv_lib_dl_dlopen
=yes
33376 echo "$as_me: failed program was:" >&5
33377 sed 's/^/| /' conftest.
$ac_ext >&5
33379 ac_cv_lib_dl_dlopen
=no
33381 rm -f conftest.err conftest.
$ac_objext \
33382 conftest
$ac_exeext conftest.
$ac_ext
33383 LIBS
=$ac_check_lib_save_LIBS
33385 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33386 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33387 if test $ac_cv_lib_dl_dlopen = yes; then
33389 cat >>confdefs.h
<<\_ACEOF
33390 #define HAVE_DLOPEN 1
33394 DL_LINK
=" -ldl$DL_LINK"
33399 for ac_func
in shl_load
33401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33402 echo "$as_me:$LINENO: checking for $ac_func" >&5
33403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33404 if eval "test \"\${$as_ac_var+set}\" = set"; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 cat >conftest.
$ac_ext <<_ACEOF
33410 cat confdefs.h
>>conftest.
$ac_ext
33411 cat >>conftest.
$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33415 #define $ac_func innocuous_$ac_func
33417 /* System header to define __stub macros and hopefully few prototypes,
33418 which can conflict with char $ac_func (); below.
33419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33420 <limits.h> exists even on freestanding compilers. */
33423 # include <limits.h>
33425 # include <assert.h>
33430 /* Override any gcc2 internal prototype to avoid an error. */
33435 /* We use char because int might match the return type of a gcc2
33436 builtin and then its argument prototype would still apply. */
33438 /* The GNU C library defines this for functions which it implements
33439 to always fail with ENOSYS. Some functions are actually named
33440 something starting with __ and the normal name is an alias. */
33441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33444 char (*f) () = $ac_func;
33453 return f != $ac_func;
33458 rm -f conftest.
$ac_objext conftest
$ac_exeext
33459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33460 (eval $ac_link) 2>conftest.er1
33462 grep -v '^ *+' conftest.er1
>conftest.err
33464 cat conftest.err
>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; } &&
33473 { ac_try
='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.
$ac_ext >&5
33484 eval "$as_ac_var=no"
33486 rm -f conftest.err conftest.
$ac_objext \
33487 conftest
$ac_exeext conftest.
$ac_ext
33489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33491 if test `eval echo '${'$as_ac_var'}'` = yes; then
33492 cat >>confdefs.h
<<_ACEOF
33493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33496 cat >>confdefs.h
<<\_ACEOF
33497 #define HAVE_SHL_LOAD 1
33504 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33505 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33506 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 ac_check_lib_save_LIBS
=$LIBS
33510 LIBS
="-lshl_load $LIBS"
33511 cat >conftest.
$ac_ext <<_ACEOF
33514 cat confdefs.h
>>conftest.
$ac_ext
33515 cat >>conftest.
$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33518 /* Override any gcc2 internal prototype to avoid an error. */
33522 /* We use char because int might match the return type of a gcc2
33523 builtin and then its argument prototype would still apply. */
33533 rm -f conftest.
$ac_objext conftest
$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33537 grep -v '^ *+' conftest.er1
>conftest.err
33539 cat conftest.err
>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33544 (eval $ac_try) 2>&5
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); }; } &&
33548 { ac_try
='test -s conftest$ac_exeext'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; }; then
33554 ac_cv_lib_shl_load_dld
=yes
33556 echo "$as_me: failed program was:" >&5
33557 sed 's/^/| /' conftest.
$ac_ext >&5
33559 ac_cv_lib_shl_load_dld
=no
33561 rm -f conftest.err conftest.
$ac_objext \
33562 conftest
$ac_exeext conftest.
$ac_ext
33563 LIBS
=$ac_check_lib_save_LIBS
33565 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33566 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33567 if test $ac_cv_lib_shl_load_dld = yes; then
33570 DL_LINK
=" -ldld$DL_LINK"
33586 if test "$HAVE_DL_FUNCS" = 1; then
33588 for ac_func
in dlerror
33590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33591 echo "$as_me:$LINENO: checking for $ac_func" >&5
33592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33593 if eval "test \"\${$as_ac_var+set}\" = set"; then
33594 echo $ECHO_N "(cached) $ECHO_C" >&6
33596 cat >conftest.
$ac_ext <<_ACEOF
33599 cat confdefs.h
>>conftest.
$ac_ext
33600 cat >>conftest.
$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33604 #define $ac_func innocuous_$ac_func
33606 /* System header to define __stub macros and hopefully few prototypes,
33607 which can conflict with char $ac_func (); below.
33608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33609 <limits.h> exists even on freestanding compilers. */
33612 # include <limits.h>
33614 # include <assert.h>
33619 /* Override any gcc2 internal prototype to avoid an error. */
33624 /* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33627 /* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33633 char (*f) () = $ac_func;
33642 return f != $ac_func;
33647 rm -f conftest.
$ac_objext conftest
$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>conftest.er1
33651 grep -v '^ *+' conftest.er1
>conftest.err
33653 cat conftest.err
>&5
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); } &&
33656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658 (eval $ac_try) 2>&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); }; } &&
33662 { ac_try
='test -s conftest$ac_exeext'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; }; then
33668 eval "$as_ac_var=yes"
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.
$ac_ext >&5
33673 eval "$as_ac_var=no"
33675 rm -f conftest.err conftest.
$ac_objext \
33676 conftest
$ac_exeext conftest.
$ac_ext
33678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33680 if test `eval echo '${'$as_ac_var'}'` = yes; then
33681 cat >>confdefs.h
<<_ACEOF
33682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33684 cat >>confdefs.h
<<\_ACEOF
33685 #define HAVE_DLERROR 1
33690 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33691 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33692 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33693 echo $ECHO_N "(cached) $ECHO_C" >&6
33695 ac_check_lib_save_LIBS
=$LIBS
33697 cat >conftest.
$ac_ext <<_ACEOF
33700 cat confdefs.h
>>conftest.
$ac_ext
33701 cat >>conftest.
$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33704 /* Override any gcc2 internal prototype to avoid an error. */
33708 /* We use char because int might match the return type of a gcc2
33709 builtin and then its argument prototype would still apply. */
33719 rm -f conftest.
$ac_objext conftest
$ac_exeext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>conftest.er1
33723 grep -v '^ *+' conftest.er1
>conftest.err
33725 cat conftest.err
>&5
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); } &&
33728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33730 (eval $ac_try) 2>&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); }; } &&
33734 { ac_try
='test -s conftest$ac_exeext'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 ac_cv_lib_dl_dlerror
=yes
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.
$ac_ext >&5
33745 ac_cv_lib_dl_dlerror
=no
33747 rm -f conftest.err conftest.
$ac_objext \
33748 conftest
$ac_exeext conftest.
$ac_ext
33749 LIBS
=$ac_check_lib_save_LIBS
33751 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33752 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33753 if test $ac_cv_lib_dl_dlerror = yes; then
33754 cat >>confdefs.h
<<\_ACEOF
33755 #define HAVE_DLERROR 1
33768 if test "$HAVE_DL_FUNCS" = 0; then
33769 if test "$HAVE_SHL_FUNCS" = 0; then
33770 if test "$USE_UNIX" = 1; then
33771 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33772 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33773 wxUSE_DYNAMIC_LOADER
=no
33774 wxUSE_DYNLIB_CLASS
=no
33776 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33777 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33784 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33785 cat >>confdefs.h
<<\_ACEOF
33786 #define wxUSE_DYNAMIC_LOADER 1
33790 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33791 cat >>confdefs.h
<<\_ACEOF
33792 #define wxUSE_DYNLIB_CLASS 1
33799 if test "$wxUSE_PLUGINS" = "yes" ; then
33800 if test "$wxUSE_SHARED" = "no" ; then
33801 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33802 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33805 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33806 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33807 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33810 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33811 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33812 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33815 if test "$wxUSE_PLUGINS" = "yes" ; then
33816 cat >>confdefs.h
<<\_ACEOF
33817 #define wxUSE_PLUGINS 1
33824 if test "$wxUSE_STL" = "yes"; then
33825 cat >>confdefs.h
<<\_ACEOF
33826 #define wxUSE_STL 1
33831 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33832 cat >>confdefs.h
<<\_ACEOF
33833 #define wxUSE_APPLE_IEEE 1
33838 if test "$wxUSE_TIMER" = "yes"; then
33839 cat >>confdefs.h
<<\_ACEOF
33840 #define wxUSE_TIMER 1
33846 if test "$wxUSE_SOUND" = "yes"; then
33847 if test "$USE_UNIX" = "1" ; then
33849 for ac_header
in sys
/soundcard.h
33851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33853 echo "$as_me:$LINENO: checking for $ac_header" >&5
33854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33856 echo $ECHO_N "(cached) $ECHO_C" >&6
33858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33861 # Is the header compilable?
33862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33864 cat >conftest.
$ac_ext <<_ACEOF
33867 cat confdefs.h
>>conftest.
$ac_ext
33868 cat >>conftest.
$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870 $ac_includes_default
33871 #include <$ac_header>
33873 rm -f conftest.
$ac_objext
33874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33875 (eval $ac_compile) 2>conftest.er1
33877 grep -v '^ *+' conftest.er1
>conftest.err
33879 cat conftest.err
>&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } &&
33882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33884 (eval $ac_try) 2>&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); }; } &&
33888 { ac_try
='test -s conftest.$ac_objext'
33889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33890 (eval $ac_try) 2>&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); }; }; then
33894 ac_header_compiler
=yes
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.
$ac_ext >&5
33899 ac_header_compiler
=no
33901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33903 echo "${ECHO_T}$ac_header_compiler" >&6
33905 # Is the header present?
33906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33908 cat >conftest.
$ac_ext <<_ACEOF
33911 cat confdefs.h
>>conftest.
$ac_ext
33912 cat >>conftest.
$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914 #include <$ac_header>
33916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33919 grep -v '^ *+' conftest.er1
>conftest.err
33921 cat conftest.err
>&5
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); } >/dev
/null
; then
33924 if test -s conftest.err
; then
33925 ac_cpp_err
=$ac_c_preproc_warn_flag
33926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33933 if test -z "$ac_cpp_err"; then
33934 ac_header_preproc
=yes
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.
$ac_ext >&5
33939 ac_header_preproc
=no
33941 rm -f conftest.err conftest.
$ac_ext
33942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33943 echo "${ECHO_T}$ac_header_preproc" >&6
33945 # So? What about this header?
33946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33952 ac_header_preproc
=yes
33955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33969 ## ----------------------------------------- ##
33970 ## Report this to wx-dev@lists.wxwidgets.org ##
33971 ## ----------------------------------------- ##
33974 sed "s/^/$as_me: WARNING: /" >&2
33977 echo "$as_me:$LINENO: checking for $ac_header" >&5
33978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33982 eval "$as_ac_Header=\$ac_header_preproc"
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33989 cat >>confdefs.h
<<_ACEOF
33990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33998 if test "$wxUSE_LIBSDL" != "no"; then
34000 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34001 if test "${with_sdl_prefix+set}" = set; then
34002 withval
="$with_sdl_prefix"
34003 sdl_prefix
="$withval"
34008 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34009 if test "${with_sdl_exec_prefix+set}" = set; then
34010 withval
="$with_sdl_exec_prefix"
34011 sdl_exec_prefix
="$withval"
34015 # Check whether --enable-sdltest or --disable-sdltest was given.
34016 if test "${enable_sdltest+set}" = set; then
34017 enableval
="$enable_sdltest"
34023 if test x
$sdl_exec_prefix != x
; then
34024 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34025 if test x
${SDL_CONFIG+set} != xset
; then
34026 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34029 if test x
$sdl_prefix != x
; then
34030 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34031 if test x
${SDL_CONFIG+set} != xset
; then
34032 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34037 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34038 # Extract the first word of "sdl-config", so it can be a program name with args.
34039 set dummy sdl
-config; ac_word
=$2
34040 echo "$as_me:$LINENO: checking for $ac_word" >&5
34041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34042 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34045 case $SDL_CONFIG in
34047 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34051 for as_dir
in $PATH
34054 test -z "$as_dir" && as_dir
=.
34055 for ac_exec_ext
in '' $ac_executable_extensions; do
34056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34057 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34064 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34068 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34070 if test -n "$SDL_CONFIG"; then
34071 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34072 echo "${ECHO_T}$SDL_CONFIG" >&6
34074 echo "$as_me:$LINENO: result: no" >&5
34075 echo "${ECHO_T}no" >&6
34078 min_sdl_version
=1.2.0
34079 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34080 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34082 if test "$SDL_CONFIG" = "no" ; then
34085 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34086 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34088 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34090 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34092 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34094 if test "x$enable_sdltest" = "xyes" ; then
34095 ac_save_CFLAGS
="$CFLAGS"
34096 ac_save_LIBS
="$LIBS"
34097 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34098 LIBS
="$LIBS $SDL_LIBS"
34100 if test "$cross_compiling" = yes; then
34101 echo $ac_n "cross compiling; assumed OK... $ac_c"
34103 cat >conftest.
$ac_ext <<_ACEOF
34106 cat confdefs.h
>>conftest.
$ac_ext
34107 cat >>conftest.
$ac_ext <<_ACEOF
34108 /* end confdefs.h. */
34111 #include <stdlib.h>
34112 #include <string.h>
34116 my_strdup (char *str)
34122 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34123 strcpy (new_str, str);
34131 int main (int argc, char *argv[])
34133 int major, minor, micro;
34136 /* This hangs on some systems (?)
34137 system ("touch conf.sdltest");
34139 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34141 /* HP/UX 9 (%@#!) writes to sscanf strings */
34142 tmp_version = my_strdup("$min_sdl_version");
34143 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34144 printf("%s, bad version string\n", "$min_sdl_version");
34148 if (($sdl_major_version > major) ||
34149 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34150 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34156 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34157 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34158 printf("*** best to upgrade to the required version.\n");
34159 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34160 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34161 printf("*** config.cache before re-running configure\n");
34168 rm -f conftest
$ac_exeext
34169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34170 (eval $ac_link) 2>&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175 (eval $ac_try) 2>&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); }; }; then
34181 echo "$as_me: program exited with status $ac_status" >&5
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.
$ac_ext >&5
34185 ( exit $ac_status )
34188 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34190 CFLAGS
="$ac_save_CFLAGS"
34191 LIBS
="$ac_save_LIBS"
34194 if test "x$no_sdl" = x
; then
34195 echo "$as_me:$LINENO: result: yes" >&5
34196 echo "${ECHO_T}yes" >&6
34198 EXTRALIBS_SDL
="$SDL_LIBS"
34199 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34200 cat >>confdefs.h
<<\_ACEOF
34201 #define wxUSE_LIBSDL 1
34206 echo "$as_me:$LINENO: result: no" >&5
34207 echo "${ECHO_T}no" >&6
34208 if test "$SDL_CONFIG" = "no" ; then
34209 echo "*** The sdl-config script installed by SDL could not be found"
34210 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34211 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34212 echo "*** full path to sdl-config."
34214 if test -f conf.sdltest
; then
34217 echo "*** Could not run SDL test program, checking why..."
34218 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34219 LIBS
="$LIBS $SDL_LIBS"
34220 cat >conftest.
$ac_ext <<_ACEOF
34223 cat confdefs.h
>>conftest.
$ac_ext
34224 cat >>conftest.
$ac_ext <<_ACEOF
34225 /* end confdefs.h. */
34230 int main(int argc, char *argv[])
34233 #define main K_and_R_C_main
34243 rm -f conftest.
$ac_objext conftest
$ac_exeext
34244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34245 (eval $ac_link) 2>conftest.er1
34247 grep -v '^ *+' conftest.er1
>conftest.err
34249 cat conftest.err
>&5
34250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34251 (exit $ac_status); } &&
34252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254 (eval $ac_try) 2>&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); }; } &&
34258 { ac_try
='test -s conftest$ac_exeext'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; }; then
34264 echo "*** The test program compiled, but did not run. This usually means"
34265 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34266 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34267 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34268 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34269 echo "*** is required on your system"
34271 echo "*** If you have an old version installed, it is best to remove it, although"
34272 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.
$ac_ext >&5
34277 echo "*** The test program failed to compile or link. See the file config.log for the"
34278 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34279 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34280 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34282 rm -f conftest.err conftest.
$ac_objext \
34283 conftest
$ac_exeext conftest.
$ac_ext
34284 CFLAGS
="$ac_save_CFLAGS"
34285 LIBS
="$ac_save_LIBS"
34296 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34302 cat >>confdefs.h
<<\_ACEOF
34303 #define wxUSE_SOUND 1
34306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34309 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34310 cat >>confdefs.h
<<\_ACEOF
34311 #define wxUSE_CMDLINE_PARSER 1
34316 if test "$wxUSE_STOPWATCH" = "yes"; then
34317 cat >>confdefs.h
<<\_ACEOF
34318 #define wxUSE_STOPWATCH 1
34323 if test "$wxUSE_DATETIME" = "yes"; then
34324 cat >>confdefs.h
<<\_ACEOF
34325 #define wxUSE_DATETIME 1
34330 if test "$wxUSE_FILE" = "yes"; then
34331 cat >>confdefs.h
<<\_ACEOF
34332 #define wxUSE_FILE 1
34337 if test "$wxUSE_FFILE" = "yes"; then
34338 cat >>confdefs.h
<<\_ACEOF
34339 #define wxUSE_FFILE 1
34344 if test "$wxUSE_FILESYSTEM" = "yes"; then
34345 cat >>confdefs.h
<<\_ACEOF
34346 #define wxUSE_FILESYSTEM 1
34351 if test "$wxUSE_FS_ZIP" = "yes"; then
34352 cat >>confdefs.h
<<\_ACEOF
34353 #define wxUSE_FS_ZIP 1
34358 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34359 cat >>confdefs.h
<<\_ACEOF
34360 #define wxUSE_ZIPSTREAM 1
34365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34366 cat >>confdefs.h
<<\_ACEOF
34367 #define wxUSE_ON_FATAL_EXCEPTION 1
34372 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34373 cat >>confdefs.h
<<\_ACEOF
34374 #define wxUSE_SNGLINST_CHECKER 1
34379 if test "$wxUSE_BUSYINFO" = "yes"; then
34380 cat >>confdefs.h
<<\_ACEOF
34381 #define wxUSE_BUSYINFO 1
34386 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34387 cat >>confdefs.h
<<\_ACEOF
34388 #define wxUSE_STD_IOSTREAM 1
34393 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34394 cat >>confdefs.h
<<\_ACEOF
34395 #define wxUSE_TEXTBUFFER 1
34400 if test "$wxUSE_TEXTFILE" = "yes"; then
34401 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34402 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34403 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34405 cat >>confdefs.h
<<\_ACEOF
34406 #define wxUSE_TEXTFILE 1
34412 if test "$wxUSE_CONFIG" = "yes" ; then
34413 if test "$wxUSE_TEXTFILE" != "yes"; then
34414 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34415 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34417 cat >>confdefs.h
<<\_ACEOF
34418 #define wxUSE_CONFIG 1
34421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34425 if test "$wxUSE_INTL" = "yes" ; then
34426 if test "$wxUSE_FILE" != "yes"; then
34427 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34428 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_INTL 1
34434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34435 GUIDIST
="$GUIDIST INTL_DIST"
34439 if test "$wxUSE_LOG" = "yes"; then
34440 cat >>confdefs.h
<<\_ACEOF
34441 #define wxUSE_LOG 1
34445 if test "$wxUSE_LOGGUI" = "yes"; then
34446 cat >>confdefs.h
<<\_ACEOF
34447 #define wxUSE_LOGGUI 1
34452 if test "$wxUSE_LOGWINDOW" = "yes"; then
34453 cat >>confdefs.h
<<\_ACEOF
34454 #define wxUSE_LOGWINDOW 1
34459 if test "$wxUSE_LOGDIALOG" = "yes"; then
34460 cat >>confdefs.h
<<\_ACEOF
34461 #define wxUSE_LOG_DIALOG 1
34467 if test "$wxUSE_LONGLONG" = "yes"; then
34468 cat >>confdefs.h
<<\_ACEOF
34469 #define wxUSE_LONGLONG 1
34474 if test "$wxUSE_GEOMETRY" = "yes"; then
34475 cat >>confdefs.h
<<\_ACEOF
34476 #define wxUSE_GEOMETRY 1
34481 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34482 cat >>confdefs.h
<<\_ACEOF
34483 #define wxUSE_DIALUP_MANAGER 1
34486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34489 if test "$wxUSE_STREAMS" = "yes" ; then
34490 cat >>confdefs.h
<<\_ACEOF
34491 #define wxUSE_STREAMS 1
34497 if test "$wxUSE_DATETIME" = "yes"; then
34499 for ac_func
in strptime
34501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34502 echo "$as_me:$LINENO: checking for $ac_func" >&5
34503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34504 if eval "test \"\${$as_ac_var+set}\" = set"; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34507 cat >conftest.
$ac_ext <<_ACEOF
34510 cat confdefs.h
>>conftest.
$ac_ext
34511 cat >>conftest.
$ac_ext <<_ACEOF
34512 /* end confdefs.h. */
34513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34515 #define $ac_func innocuous_$ac_func
34517 /* System header to define __stub macros and hopefully few prototypes,
34518 which can conflict with char $ac_func (); below.
34519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34520 <limits.h> exists even on freestanding compilers. */
34523 # include <limits.h>
34525 # include <assert.h>
34530 /* Override any gcc2 internal prototype to avoid an error. */
34535 /* We use char because int might match the return type of a gcc2
34536 builtin and then its argument prototype would still apply. */
34538 /* The GNU C library defines this for functions which it implements
34539 to always fail with ENOSYS. Some functions are actually named
34540 something starting with __ and the normal name is an alias. */
34541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34544 char (*f) () = $ac_func;
34553 return f != $ac_func;
34558 rm -f conftest.
$ac_objext conftest
$ac_exeext
34559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34560 (eval $ac_link) 2>conftest.er1
34562 grep -v '^ *+' conftest.er1
>conftest.err
34564 cat conftest.err
>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } &&
34567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34569 (eval $ac_try) 2>&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); }; } &&
34573 { ac_try
='test -s conftest$ac_exeext'
34574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34575 (eval $ac_try) 2>&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); }; }; then
34579 eval "$as_ac_var=yes"
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.
$ac_ext >&5
34584 eval "$as_ac_var=no"
34586 rm -f conftest.err conftest.
$ac_objext \
34587 conftest
$ac_exeext conftest.
$ac_ext
34589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34591 if test `eval echo '${'$as_ac_var'}'` = yes; then
34592 cat >>confdefs.h
<<_ACEOF
34593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34600 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34601 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34602 if test "${wx_cv_var_timezone+set}" = set; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 cat >conftest.
$ac_ext <<_ACEOF
34609 cat confdefs.h
>>conftest.
$ac_ext
34610 cat >>conftest.
$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34626 rm -f conftest.
$ac_objext
34627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34628 (eval $ac_compile) 2>conftest.er1
34630 grep -v '^ *+' conftest.er1
>conftest.err
34632 cat conftest.err
>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } &&
34635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; } &&
34641 { ac_try
='test -s conftest.$ac_objext'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; }; then
34648 wx_cv_var_timezone
=timezone
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.
$ac_ext >&5
34655 cat >conftest.
$ac_ext <<_ACEOF
34658 cat confdefs.h
>>conftest.
$ac_ext
34659 cat >>conftest.
$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34675 rm -f conftest.
$ac_objext
34676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34677 (eval $ac_compile) 2>conftest.er1
34679 grep -v '^ *+' conftest.er1
>conftest.err
34681 cat conftest.err
>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } &&
34684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; } &&
34690 { ac_try
='test -s conftest.$ac_objext'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; }; then
34697 wx_cv_var_timezone
=_timezone
34700 echo "$as_me: failed program was:" >&5
34701 sed 's/^/| /' conftest.
$ac_ext >&5
34704 cat >conftest.
$ac_ext <<_ACEOF
34707 cat confdefs.h
>>conftest.
$ac_ext
34708 cat >>conftest.
$ac_ext <<_ACEOF
34709 /* end confdefs.h. */
34724 rm -f conftest.
$ac_objext
34725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34726 (eval $ac_compile) 2>conftest.er1
34728 grep -v '^ *+' conftest.er1
>conftest.err
34730 cat conftest.err
>&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } &&
34733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34735 (eval $ac_try) 2>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); }; } &&
34739 { ac_try
='test -s conftest.$ac_objext'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; }; then
34746 wx_cv_var_timezone
=__timezone
34749 echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.
$ac_ext >&5
34753 if test "$USE_DOS" = 0 ; then
34754 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34755 echo "$as_me: WARNING: no timezone variable" >&2;}
34760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34772 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34773 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34775 if test "x$wx_cv_var_timezone" != x
; then
34776 cat >>confdefs.h
<<_ACEOF
34777 #define WX_TIMEZONE $wx_cv_var_timezone
34783 for ac_func
in localtime
34785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34786 echo "$as_me:$LINENO: checking for $ac_func" >&5
34787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34788 if eval "test \"\${$as_ac_var+set}\" = set"; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 cat >conftest.
$ac_ext <<_ACEOF
34794 cat confdefs.h
>>conftest.
$ac_ext
34795 cat >>conftest.
$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34799 #define $ac_func innocuous_$ac_func
34801 /* System header to define __stub macros and hopefully few prototypes,
34802 which can conflict with char $ac_func (); below.
34803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34804 <limits.h> exists even on freestanding compilers. */
34807 # include <limits.h>
34809 # include <assert.h>
34814 /* Override any gcc2 internal prototype to avoid an error. */
34819 /* We use char because int might match the return type of a gcc2
34820 builtin and then its argument prototype would still apply. */
34822 /* The GNU C library defines this for functions which it implements
34823 to always fail with ENOSYS. Some functions are actually named
34824 something starting with __ and the normal name is an alias. */
34825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34828 char (*f) () = $ac_func;
34837 return f != $ac_func;
34842 rm -f conftest.
$ac_objext conftest
$ac_exeext
34843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34844 (eval $ac_link) 2>conftest.er1
34846 grep -v '^ *+' conftest.er1
>conftest.err
34848 cat conftest.err
>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } &&
34851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34853 (eval $ac_try) 2>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); }; } &&
34857 { ac_try
='test -s conftest$ac_exeext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34863 eval "$as_ac_var=yes"
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.
$ac_ext >&5
34868 eval "$as_ac_var=no"
34870 rm -f conftest.err conftest.
$ac_objext \
34871 conftest
$ac_exeext conftest.
$ac_ext
34873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34875 if test `eval echo '${'$as_ac_var'}'` = yes; then
34876 cat >>confdefs.h
<<_ACEOF
34877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34884 if test "$ac_cv_func_localtime" = "yes"; then
34885 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34886 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34887 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34888 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 cat >conftest.
$ac_ext <<_ACEOF
34894 cat confdefs.h
>>conftest.
$ac_ext
34895 cat >>conftest.
$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34911 rm -f conftest.
$ac_objext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34913 (eval $ac_compile) 2>conftest.er1
34915 grep -v '^ *+' conftest.er1
>conftest.err
34917 cat conftest.err
>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; } &&
34926 { ac_try
='test -s conftest.$ac_objext'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; }; then
34933 wx_cv_struct_tm_has_gmtoff
=yes
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.
$ac_ext >&5
34939 wx_cv_struct_tm_has_gmtoff
=no
34942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34945 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34946 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34949 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34950 cat >>confdefs.h
<<\_ACEOF
34951 #define WX_GMTOFF_IN_TM 1
34958 for ac_func
in gettimeofday ftime
34960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34961 echo "$as_me:$LINENO: checking for $ac_func" >&5
34962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34963 if eval "test \"\${$as_ac_var+set}\" = set"; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 cat >conftest.
$ac_ext <<_ACEOF
34969 cat confdefs.h
>>conftest.
$ac_ext
34970 cat >>conftest.
$ac_ext <<_ACEOF
34971 /* end confdefs.h. */
34972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34974 #define $ac_func innocuous_$ac_func
34976 /* System header to define __stub macros and hopefully few prototypes,
34977 which can conflict with char $ac_func (); below.
34978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34979 <limits.h> exists even on freestanding compilers. */
34982 # include <limits.h>
34984 # include <assert.h>
34989 /* Override any gcc2 internal prototype to avoid an error. */
34994 /* We use char because int might match the return type of a gcc2
34995 builtin and then its argument prototype would still apply. */
34997 /* The GNU C library defines this for functions which it implements
34998 to always fail with ENOSYS. Some functions are actually named
34999 something starting with __ and the normal name is an alias. */
35000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35003 char (*f) () = $ac_func;
35012 return f != $ac_func;
35017 rm -f conftest.
$ac_objext conftest
$ac_exeext
35018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35019 (eval $ac_link) 2>conftest.er1
35021 grep -v '^ *+' conftest.er1
>conftest.err
35023 cat conftest.err
>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } &&
35026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; } &&
35032 { ac_try
='test -s conftest$ac_exeext'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; }; then
35038 eval "$as_ac_var=yes"
35040 echo "$as_me: failed program was:" >&5
35041 sed 's/^/| /' conftest.
$ac_ext >&5
35043 eval "$as_ac_var=no"
35045 rm -f conftest.err conftest.
$ac_objext \
35046 conftest
$ac_exeext conftest.
$ac_ext
35048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35050 if test `eval echo '${'$as_ac_var'}'` = yes; then
35051 cat >>confdefs.h
<<_ACEOF
35052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35059 if test "$ac_cv_func_gettimeofday" = "yes"; then
35060 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35061 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35062 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 ac_cpp
='$CXXCPP $CPPFLAGS'
35070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35075 cat >conftest.
$ac_ext <<_ACEOF
35078 cat confdefs.h
>>conftest.
$ac_ext
35079 cat >>conftest.
$ac_ext <<_ACEOF
35080 /* end confdefs.h. */
35082 #include <sys/time.h>
35083 #include <unistd.h>
35090 gettimeofday(&tv, NULL);
35096 rm -f conftest.
$ac_objext
35097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35098 (eval $ac_compile) 2>conftest.er1
35100 grep -v '^ *+' conftest.er1
>conftest.err
35102 cat conftest.err
>&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } &&
35105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35107 (eval $ac_try) 2>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); }; } &&
35111 { ac_try
='test -s conftest.$ac_objext'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117 wx_cv_func_gettimeofday_has_2_args
=yes
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.
$ac_ext >&5
35122 cat >conftest.
$ac_ext <<_ACEOF
35125 cat confdefs.h
>>conftest.
$ac_ext
35126 cat >>conftest.
$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35129 #include <sys/time.h>
35130 #include <unistd.h>
35143 rm -f conftest.
$ac_objext
35144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35145 (eval $ac_compile) 2>conftest.er1
35147 grep -v '^ *+' conftest.er1
>conftest.err
35149 cat conftest.err
>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } &&
35152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; } &&
35158 { ac_try
='test -s conftest.$ac_objext'
35159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160 (eval $ac_try) 2>&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); }; }; then
35164 wx_cv_func_gettimeofday_has_2_args
=no
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.
$ac_ext >&5
35170 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35171 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35172 wx_cv_func_gettimeofday_has_2_args
=unknown
35176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35181 ac_cpp
='$CPP $CPPFLAGS'
35182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35188 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35189 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35191 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35192 cat >>confdefs.h
<<\_ACEOF
35193 #define WX_GETTIMEOFDAY_NO_TZ 1
35199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35203 if test "$wxUSE_SOCKETS" = "yes"; then
35204 if test "$wxUSE_MGL" = "1"; then
35205 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35206 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35211 if test "$wxUSE_SOCKETS" = "yes"; then
35212 if test "$TOOLKIT" != "MSW"; then
35213 echo "$as_me:$LINENO: checking for socket" >&5
35214 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35215 if test "${ac_cv_func_socket+set}" = set; then
35216 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 cat >conftest.
$ac_ext <<_ACEOF
35221 cat confdefs.h
>>conftest.
$ac_ext
35222 cat >>conftest.
$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35224 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35226 #define socket innocuous_socket
35228 /* System header to define __stub macros and hopefully few prototypes,
35229 which can conflict with char socket (); below.
35230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35231 <limits.h> exists even on freestanding compilers. */
35234 # include <limits.h>
35236 # include <assert.h>
35241 /* Override any gcc2 internal prototype to avoid an error. */
35246 /* We use char because int might match the return type of a gcc2
35247 builtin and then its argument prototype would still apply. */
35249 /* The GNU C library defines this for functions which it implements
35250 to always fail with ENOSYS. Some functions are actually named
35251 something starting with __ and the normal name is an alias. */
35252 #if defined (__stub_socket) || defined (__stub___socket)
35255 char (*f) () = socket;
35264 return f != socket;
35269 rm -f conftest.
$ac_objext conftest
$ac_exeext
35270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35271 (eval $ac_link) 2>conftest.er1
35273 grep -v '^ *+' conftest.er1
>conftest.err
35275 cat conftest.err
>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } &&
35278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; } &&
35284 { ac_try
='test -s conftest$ac_exeext'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; }; then
35290 ac_cv_func_socket
=yes
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.
$ac_ext >&5
35295 ac_cv_func_socket
=no
35297 rm -f conftest.err conftest.
$ac_objext \
35298 conftest
$ac_exeext conftest.
$ac_ext
35300 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35301 echo "${ECHO_T}$ac_cv_func_socket" >&6
35302 if test $ac_cv_func_socket = yes; then
35306 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35307 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35308 if test "${ac_cv_lib_socket_socket+set}" = set; then
35309 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 ac_check_lib_save_LIBS
=$LIBS
35312 LIBS
="-lsocket $LIBS"
35313 cat >conftest.
$ac_ext <<_ACEOF
35316 cat confdefs.h
>>conftest.
$ac_ext
35317 cat >>conftest.
$ac_ext <<_ACEOF
35318 /* end confdefs.h. */
35320 /* Override any gcc2 internal prototype to avoid an error. */
35324 /* We use char because int might match the return type of a gcc2
35325 builtin and then its argument prototype would still apply. */
35335 rm -f conftest.
$ac_objext conftest
$ac_exeext
35336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35337 (eval $ac_link) 2>conftest.er1
35339 grep -v '^ *+' conftest.er1
>conftest.err
35341 cat conftest.err
>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } &&
35344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35346 (eval $ac_try) 2>&5
35348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35349 (exit $ac_status); }; } &&
35350 { ac_try
='test -s conftest$ac_exeext'
35351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35352 (eval $ac_try) 2>&5
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; }; then
35356 ac_cv_lib_socket_socket
=yes
35358 echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.
$ac_ext >&5
35361 ac_cv_lib_socket_socket
=no
35363 rm -f conftest.err conftest.
$ac_objext \
35364 conftest
$ac_exeext conftest.
$ac_ext
35365 LIBS
=$ac_check_lib_save_LIBS
35367 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35368 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35369 if test $ac_cv_lib_socket_socket = yes; then
35370 if test "$INET_LINK" != " -lsocket"; then
35371 INET_LINK
="$INET_LINK -lsocket"
35375 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35376 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35389 if test "$wxUSE_SOCKETS" = "yes" ; then
35390 if test "$TOOLKIT" != "MSW"; then
35392 ac_cpp
='$CXXCPP $CPPFLAGS'
35393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35397 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35398 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35399 if test "${wx_cv_type_getsockname3+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.
$ac_ext <<_ACEOF
35406 cat confdefs.h
>>conftest.
$ac_ext
35407 cat >>conftest.
$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35410 #include <sys/types.h>
35411 #include <sys/socket.h>
35418 getsockname(0, 0, &len);
35424 rm -f conftest.
$ac_objext
35425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35426 (eval $ac_compile) 2>conftest.er1
35428 grep -v '^ *+' conftest.er1
>conftest.err
35430 cat conftest.err
>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } &&
35433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try
='test -s conftest.$ac_objext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 wx_cv_type_getsockname3
=socklen_t
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.
$ac_ext >&5
35451 CFLAGS_OLD
="$CFLAGS"
35452 if test "$GCC" = yes ; then
35453 CFLAGS
="$CFLAGS -Werror"
35456 cat >conftest.
$ac_ext <<_ACEOF
35459 cat confdefs.h
>>conftest.
$ac_ext
35460 cat >>conftest.
$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35463 #include <sys/types.h>
35464 #include <sys/socket.h>
35471 getsockname(0, 0, &len);
35477 rm -f conftest.
$ac_objext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35479 (eval $ac_compile) 2>conftest.er1
35481 grep -v '^ *+' conftest.er1
>conftest.err
35483 cat conftest.err
>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; } &&
35492 { ac_try
='test -s conftest.$ac_objext'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; }; then
35498 wx_cv_type_getsockname3
=size_t
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.
$ac_ext >&5
35503 cat >conftest.
$ac_ext <<_ACEOF
35506 cat confdefs.h
>>conftest.
$ac_ext
35507 cat >>conftest.
$ac_ext <<_ACEOF
35508 /* end confdefs.h. */
35510 #include <sys/types.h>
35511 #include <sys/socket.h>
35518 getsockname(0, 0, &len);
35524 rm -f conftest.
$ac_objext
35525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35526 (eval $ac_compile) 2>conftest.er1
35528 grep -v '^ *+' conftest.er1
>conftest.err
35530 cat conftest.err
>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); } &&
35533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; } &&
35539 { ac_try
='test -s conftest.$ac_objext'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; }; then
35545 wx_cv_type_getsockname3
=int
35547 echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.
$ac_ext >&5
35550 wx_cv_type_getsockname3
=unknown
35553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35558 CFLAGS
="$CFLAGS_OLD"
35562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35565 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35566 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35568 if test "$wx_cv_type_getsockname3" = "unknown"; then
35570 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35571 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35573 cat >>confdefs.h
<<_ACEOF
35574 #define SOCKLEN_T $wx_cv_type_getsockname3
35579 ac_cpp
='$CPP $CPPFLAGS'
35580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35587 if test "$wxUSE_SOCKETS" = "yes" ; then
35588 cat >>confdefs.h
<<\_ACEOF
35589 #define wxUSE_SOCKETS 1
35592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35595 if test "$wxUSE_PROTOCOL" = "yes"; then
35596 if test "$wxUSE_SOCKETS" != "yes"; then
35597 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35598 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35603 if test "$wxUSE_PROTOCOL" = "yes"; then
35604 cat >>confdefs.h
<<\_ACEOF
35605 #define wxUSE_PROTOCOL 1
35609 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35610 cat >>confdefs.h
<<\_ACEOF
35611 #define wxUSE_PROTOCOL_HTTP 1
35615 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35616 cat >>confdefs.h
<<\_ACEOF
35617 #define wxUSE_PROTOCOL_FTP 1
35621 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35622 cat >>confdefs.h
<<\_ACEOF
35623 #define wxUSE_PROTOCOL_FILE 1
35628 if test "$wxUSE_FS_INET" = "yes"; then
35629 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35630 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35635 if test "$wxUSE_URL" = "yes"; then
35636 if test "$wxUSE_PROTOCOL" != "yes"; then
35637 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35638 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35641 if test "$wxUSE_URL" = "yes"; then
35642 cat >>confdefs.h
<<\_ACEOF
35643 #define wxUSE_URL 1
35649 if test "$wxUSE_FS_INET" = "yes"; then
35650 cat >>confdefs.h
<<\_ACEOF
35651 #define wxUSE_FS_INET 1
35657 if test "$wxUSE_GUI" = "yes"; then
35659 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35660 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35661 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35665 if test "$TOOLKIT" != "MSW"; then
35666 if test "$wxUSE_JOYSTICK" = "yes"; then
35668 for ac_header
in linux
/joystick.h
35670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35672 echo "$as_me:$LINENO: checking for $ac_header" >&5
35673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35675 echo $ECHO_N "(cached) $ECHO_C" >&6
35677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35680 # Is the header compilable?
35681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35683 cat >conftest.
$ac_ext <<_ACEOF
35686 cat confdefs.h
>>conftest.
$ac_ext
35687 cat >>conftest.
$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35689 $ac_includes_default
35690 #include <$ac_header>
35692 rm -f conftest.
$ac_objext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35694 (eval $ac_compile) 2>conftest.er1
35696 grep -v '^ *+' conftest.er1
>conftest.err
35698 cat conftest.err
>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } &&
35701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try
='test -s conftest.$ac_objext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35713 ac_header_compiler
=yes
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.
$ac_ext >&5
35718 ac_header_compiler
=no
35720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35722 echo "${ECHO_T}$ac_header_compiler" >&6
35724 # Is the header present?
35725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35727 cat >conftest.
$ac_ext <<_ACEOF
35730 cat confdefs.h
>>conftest.
$ac_ext
35731 cat >>conftest.
$ac_ext <<_ACEOF
35732 /* end confdefs.h. */
35733 #include <$ac_header>
35735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35738 grep -v '^ *+' conftest.er1
>conftest.err
35740 cat conftest.err
>&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } >/dev
/null
; then
35743 if test -s conftest.err
; then
35744 ac_cpp_err
=$ac_c_preproc_warn_flag
35745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35752 if test -z "$ac_cpp_err"; then
35753 ac_header_preproc
=yes
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.
$ac_ext >&5
35758 ac_header_preproc
=no
35760 rm -f conftest.err conftest.
$ac_ext
35761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35762 echo "${ECHO_T}$ac_header_preproc" >&6
35764 # So? What about this header?
35765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35771 ac_header_preproc
=yes
35774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35788 ## ----------------------------------------- ##
35789 ## Report this to wx-dev@lists.wxwidgets.org ##
35790 ## ----------------------------------------- ##
35793 sed "s/^/$as_me: WARNING: /" >&2
35796 echo "$as_me:$LINENO: checking for $ac_header" >&5
35797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35799 echo $ECHO_N "(cached) $ECHO_C" >&6
35801 eval "$as_ac_Header=\$ac_header_preproc"
35803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35808 cat >>confdefs.h
<<_ACEOF
35809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35816 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35818 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35819 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35824 if test "$wxUSE_JOYSTICK" = "yes"; then
35825 cat >>confdefs.h
<<\_ACEOF
35826 #define wxUSE_JOYSTICK 1
35829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35835 if test "$wxUSE_FONTMAP" = "yes" ; then
35836 cat >>confdefs.h
<<\_ACEOF
35837 #define wxUSE_FONTMAP 1
35842 if test "$wxUSE_UNICODE" = "yes" ; then
35843 cat >>confdefs.h
<<\_ACEOF
35844 #define wxUSE_UNICODE 1
35848 if test "$USE_WIN32" != 1; then
35849 wxUSE_UNICODE_MSLU
=no
35852 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35853 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35854 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35855 if test "${ac_cv_lib_unicows_main+set}" = set; then
35856 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 ac_check_lib_save_LIBS
=$LIBS
35859 LIBS
="-lunicows $LIBS"
35860 cat >conftest.
$ac_ext <<_ACEOF
35863 cat confdefs.h
>>conftest.
$ac_ext
35864 cat >>conftest.
$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35876 rm -f conftest.
$ac_objext conftest
$ac_exeext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35878 (eval $ac_link) 2>conftest.er1
35880 grep -v '^ *+' conftest.er1
>conftest.err
35882 cat conftest.err
>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35887 (eval $ac_try) 2>&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); }; } &&
35891 { ac_try
='test -s conftest$ac_exeext'
35892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35893 (eval $ac_try) 2>&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); }; }; then
35897 ac_cv_lib_unicows_main
=yes
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.
$ac_ext >&5
35902 ac_cv_lib_unicows_main
=no
35904 rm -f conftest.err conftest.
$ac_objext \
35905 conftest
$ac_exeext conftest.
$ac_ext
35906 LIBS
=$ac_check_lib_save_LIBS
35908 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35909 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35910 if test $ac_cv_lib_unicows_main = yes; then
35912 cat >>confdefs.h
<<\_ACEOF
35913 #define wxUSE_UNICODE_MSLU 1
35919 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35920 Applications will only run on Windows NT/2000/XP!" >&5
35921 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35922 Applications will only run on Windows NT/2000/XP!" >&2;}
35923 wxUSE_UNICODE_MSLU
=no
35930 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35931 cat >>confdefs.h
<<\_ACEOF
35932 #define wxUSE_EXPERIMENTAL_PRINTF 1
35938 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35939 cat >>confdefs.h
<<\_ACEOF
35940 #define wxUSE_POSTSCRIPT 1
35945 cat >>confdefs.h
<<\_ACEOF
35946 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35950 cat >>confdefs.h
<<\_ACEOF
35951 #define wxUSE_NORMALIZED_PS_FONTS 1
35956 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35957 cat >>confdefs.h
<<\_ACEOF
35958 #define wxUSE_CONSTRAINTS 1
35961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35964 if test "$wxUSE_MDI" = "yes"; then
35965 cat >>confdefs.h
<<\_ACEOF
35966 #define wxUSE_MDI 1
35970 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35971 cat >>confdefs.h
<<\_ACEOF
35972 #define wxUSE_MDI_ARCHITECTURE 1
35975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35979 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35980 cat >>confdefs.h
<<\_ACEOF
35981 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35985 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35990 if test "$wxUSE_HELP" = "yes"; then
35991 cat >>confdefs.h
<<\_ACEOF
35992 #define wxUSE_HELP 1
35995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35997 if test "$wxUSE_MSW" = 1; then
35998 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35999 cat >>confdefs.h
<<\_ACEOF
36000 #define wxUSE_MS_HTML_HELP 1
36006 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36007 if test "$wxUSE_HTML" = "yes"; then
36008 cat >>confdefs.h
<<\_ACEOF
36009 #define wxUSE_WXHTML_HELP 1
36013 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36014 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36015 wxUSE_WXHTML_HELP
=no
36020 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36022 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36023 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36025 cat >>confdefs.h
<<\_ACEOF
36026 #define wxUSE_PRINTING_ARCHITECTURE 1
36030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36033 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36034 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36035 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36036 { (exit 1); exit 1; }; }
36040 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36041 -o "$wxUSE_CLIPBOARD" = "yes" \
36042 -o "$wxUSE_OLE" = "yes" \
36043 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36045 for ac_header
in ole2.h
36047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36049 echo "$as_me:$LINENO: checking for $ac_header" >&5
36050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36057 # Is the header compilable?
36058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36060 cat >conftest.
$ac_ext <<_ACEOF
36063 cat confdefs.h
>>conftest.
$ac_ext
36064 cat >>conftest.
$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 $ac_includes_default
36067 #include <$ac_header>
36069 rm -f conftest.
$ac_objext
36070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36071 (eval $ac_compile) 2>conftest.er1
36073 grep -v '^ *+' conftest.er1
>conftest.err
36075 cat conftest.err
>&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); } &&
36078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; } &&
36084 { ac_try
='test -s conftest.$ac_objext'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }; then
36090 ac_header_compiler
=yes
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.
$ac_ext >&5
36095 ac_header_compiler
=no
36097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36099 echo "${ECHO_T}$ac_header_compiler" >&6
36101 # Is the header present?
36102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36104 cat >conftest.
$ac_ext <<_ACEOF
36107 cat confdefs.h
>>conftest.
$ac_ext
36108 cat >>conftest.
$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 #include <$ac_header>
36112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36115 grep -v '^ *+' conftest.er1
>conftest.err
36117 cat conftest.err
>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } >/dev
/null
; then
36120 if test -s conftest.err
; then
36121 ac_cpp_err
=$ac_c_preproc_warn_flag
36122 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36129 if test -z "$ac_cpp_err"; then
36130 ac_header_preproc
=yes
36132 echo "$as_me: failed program was:" >&5
36133 sed 's/^/| /' conftest.
$ac_ext >&5
36135 ac_header_preproc
=no
36137 rm -f conftest.err conftest.
$ac_ext
36138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36139 echo "${ECHO_T}$ac_header_preproc" >&6
36141 # So? What about this header?
36142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36148 ac_header_preproc
=yes
36151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36165 ## ----------------------------------------- ##
36166 ## Report this to wx-dev@lists.wxwidgets.org ##
36167 ## ----------------------------------------- ##
36170 sed "s/^/$as_me: WARNING: /" >&2
36173 echo "$as_me:$LINENO: checking for $ac_header" >&5
36174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36176 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 eval "$as_ac_Header=\$ac_header_preproc"
36180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36185 cat >>confdefs.h
<<_ACEOF
36186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36194 if test "$ac_cv_header_ole2_h" = "yes" ; then
36195 if test "$GCC" = yes ; then
36199 ac_cpp
='$CXXCPP $CPPFLAGS'
36200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36205 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36206 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36207 cat >conftest.
$ac_ext <<_ACEOF
36210 cat confdefs.h
>>conftest.
$ac_ext
36211 cat >>conftest.
$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213 #include <windows.h>
36223 rm -f conftest.
$ac_objext
36224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36225 (eval $ac_compile) 2>conftest.er1
36227 grep -v '^ *+' conftest.er1
>conftest.err
36229 cat conftest.err
>&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } &&
36232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36234 (eval $ac_try) 2>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; } &&
36238 { ac_try
='test -s conftest.$ac_objext'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; }; then
36244 echo "$as_me:$LINENO: result: no" >&5
36245 echo "${ECHO_T}no" >&6
36247 echo "$as_me: failed program was:" >&5
36248 sed 's/^/| /' conftest.
$ac_ext >&5
36250 echo "$as_me:$LINENO: result: yes" >&5
36251 echo "${ECHO_T}yes" >&6
36252 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36256 ac_cpp
='$CPP $CPPFLAGS'
36257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36261 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36262 if test "$wxUSE_OLE" = "yes" ; then
36263 cat >>confdefs.h
<<\_ACEOF
36264 #define wxUSE_OLE 1
36270 if test "$wxUSE_DATAOBJ" = "yes" ; then
36271 cat >>confdefs.h
<<\_ACEOF
36272 #define wxUSE_DATAOBJ 1
36277 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36278 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36281 wxUSE_DRAG_AND_DROP
=no
36286 if test "$wxUSE_METAFILE" = "yes"; then
36287 cat >>confdefs.h
<<\_ACEOF
36288 #define wxUSE_METAFILE 1
36292 cat >>confdefs.h
<<\_ACEOF
36293 #define wxUSE_ENH_METAFILE 1
36299 if test "$wxUSE_IPC" = "yes"; then
36300 if test "$wxUSE_SOCKETS" != "yes"; then
36301 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36302 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define wxUSE_IPC 1
36311 if test "$wxUSE_CLIPBOARD" = "yes"; then
36312 if test "$wxUSE_MGL" = 1; then
36313 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36314 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36318 if test "$wxUSE_CLIPBOARD" = "yes"; then
36319 cat >>confdefs.h
<<\_ACEOF
36320 #define wxUSE_CLIPBOARD 1
36324 cat >>confdefs.h
<<\_ACEOF
36325 #define wxUSE_DATAOBJ 1
36331 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36332 if test "$wxUSE_GTK" = 1; then
36333 if test "$WXGTK12" != 1; then
36334 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36335 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36336 wxUSE_DRAG_AND_DROP
=no
36340 if test "$wxUSE_MOTIF" = 1; then
36341 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36342 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36343 wxUSE_DRAG_AND_DROP
=no
36346 if test "$wxUSE_X11" = 1; then
36347 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36348 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36349 wxUSE_DRAG_AND_DROP
=no
36352 if test "$wxUSE_MGL" = 1; then
36353 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36354 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36355 wxUSE_DRAG_AND_DROP
=no
36358 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36359 cat >>confdefs.h
<<\_ACEOF
36360 #define wxUSE_DRAG_AND_DROP 1
36367 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36371 if test "$wxUSE_SPLINES" = "yes" ; then
36372 cat >>confdefs.h
<<\_ACEOF
36373 #define wxUSE_SPLINES 1
36380 if test "$wxUSE_CONTROLS" = "yes"; then
36384 if test "$wxUSE_ACCEL" = "yes"; then
36385 cat >>confdefs.h
<<\_ACEOF
36386 #define wxUSE_ACCEL 1
36392 if test "$wxUSE_BUTTON" = "yes"; then
36393 cat >>confdefs.h
<<\_ACEOF
36394 #define wxUSE_BUTTON 1
36400 if test "$wxUSE_BMPBUTTON" = "yes"; then
36401 cat >>confdefs.h
<<\_ACEOF
36402 #define wxUSE_BMPBUTTON 1
36408 if test "$wxUSE_CALCTRL" = "yes"; then
36409 cat >>confdefs.h
<<\_ACEOF
36410 #define wxUSE_CALENDARCTRL 1
36414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36417 if test "$wxUSE_CARET" = "yes"; then
36418 cat >>confdefs.h
<<\_ACEOF
36419 #define wxUSE_CARET 1
36423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36426 if test "$wxUSE_COMBOBOX" = "yes"; then
36427 cat >>confdefs.h
<<\_ACEOF
36428 #define wxUSE_COMBOBOX 1
36434 if test "$wxUSE_CHOICE" = "yes"; then
36435 cat >>confdefs.h
<<\_ACEOF
36436 #define wxUSE_CHOICE 1
36442 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36443 cat >>confdefs.h
<<\_ACEOF
36444 #define wxUSE_CHOICEBOOK 1
36450 if test "$wxUSE_CHECKBOX" = "yes"; then
36451 cat >>confdefs.h
<<\_ACEOF
36452 #define wxUSE_CHECKBOX 1
36458 if test "$wxUSE_CHECKLST" = "yes"; then
36459 cat >>confdefs.h
<<\_ACEOF
36460 #define wxUSE_CHECKLISTBOX 1
36464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36467 if test "$wxUSE_DISPLAY" = "yes"; then
36468 cat >>confdefs.h
<<\_ACEOF
36469 #define wxUSE_DISPLAY 1
36472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36475 if test "$wxUSE_GAUGE" = "yes"; then
36476 cat >>confdefs.h
<<\_ACEOF
36477 #define wxUSE_GAUGE 1
36483 if test "$wxUSE_GRID" = "yes"; then
36484 cat >>confdefs.h
<<\_ACEOF
36485 #define wxUSE_GRID 1
36489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36492 if test "$wxUSE_IMAGLIST" = "yes"; then
36493 cat >>confdefs.h
<<\_ACEOF
36494 #define wxUSE_IMAGLIST 1
36499 if test "$wxUSE_LISTBOOK" = "yes"; then
36500 cat >>confdefs.h
<<\_ACEOF
36501 #define wxUSE_LISTBOOK 1
36507 if test "$wxUSE_LISTBOX" = "yes"; then
36508 cat >>confdefs.h
<<\_ACEOF
36509 #define wxUSE_LISTBOX 1
36515 if test "$wxUSE_LISTCTRL" = "yes"; then
36516 if test "$wxUSE_IMAGLIST" = "yes"; then
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define wxUSE_LISTCTRL 1
36522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36524 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36525 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36529 if test "$wxUSE_NOTEBOOK" = "yes"; then
36530 cat >>confdefs.h
<<\_ACEOF
36531 #define wxUSE_NOTEBOOK 1
36535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36539 if test "$wxUSE_RADIOBOX" = "yes"; then
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define wxUSE_RADIOBOX 1
36547 if test "$wxUSE_RADIOBTN" = "yes"; then
36548 cat >>confdefs.h
<<\_ACEOF
36549 #define wxUSE_RADIOBTN 1
36555 if test "$wxUSE_SASH" = "yes"; then
36556 cat >>confdefs.h
<<\_ACEOF
36557 #define wxUSE_SASH 1
36560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36563 if test "$wxUSE_SCROLLBAR" = "yes"; then
36564 cat >>confdefs.h
<<\_ACEOF
36565 #define wxUSE_SCROLLBAR 1
36569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36572 if test "$wxUSE_SLIDER" = "yes"; then
36573 cat >>confdefs.h
<<\_ACEOF
36574 #define wxUSE_SLIDER 1
36580 if test "$wxUSE_SPINBTN" = "yes"; then
36581 cat >>confdefs.h
<<\_ACEOF
36582 #define wxUSE_SPINBTN 1
36588 if test "$wxUSE_SPINCTRL" = "yes"; then
36589 cat >>confdefs.h
<<\_ACEOF
36590 #define wxUSE_SPINCTRL 1
36596 if test "$wxUSE_SPLITTER" = "yes"; then
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define wxUSE_SPLITTER 1
36601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36604 if test "$wxUSE_STATBMP" = "yes"; then
36605 cat >>confdefs.h
<<\_ACEOF
36606 #define wxUSE_STATBMP 1
36612 if test "$wxUSE_STATBOX" = "yes"; then
36613 cat >>confdefs.h
<<\_ACEOF
36614 #define wxUSE_STATBOX 1
36620 if test "$wxUSE_STATTEXT" = "yes"; then
36621 cat >>confdefs.h
<<\_ACEOF
36622 #define wxUSE_STATTEXT 1
36628 if test "$wxUSE_STATLINE" = "yes"; then
36629 cat >>confdefs.h
<<\_ACEOF
36630 #define wxUSE_STATLINE 1
36636 if test "$wxUSE_STATUSBAR" = "yes"; then
36637 cat >>confdefs.h
<<\_ACEOF
36638 #define wxUSE_STATUSBAR 1
36643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36646 if test "$wxUSE_TABDIALOG" = "yes"; then
36647 cat >>confdefs.h
<<\_ACEOF
36648 #define wxUSE_TAB_DIALOG 1
36651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36654 if test "$wxUSE_TEXTCTRL" = "yes"; then
36655 cat >>confdefs.h
<<\_ACEOF
36656 #define wxUSE_TEXTCTRL 1
36660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36664 if test "$wxUSE_COCOA" = 1 ; then
36665 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36666 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36669 if test "$wxUSE_PM" = 1; then
36670 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36671 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36675 if test "$wxUSE_UNIVERSAL" = "yes"; then
36676 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36677 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36681 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36682 cat >>confdefs.h
<<\_ACEOF
36683 #define wxUSE_TOGGLEBTN 1
36690 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36691 cat >>confdefs.h
<<\_ACEOF
36692 #define wxUSE_TOOLBAR_SIMPLE 1
36695 wxUSE_TOOLBAR
="yes"
36699 if test "$wxUSE_TOOLBAR" = "yes"; then
36700 cat >>confdefs.h
<<\_ACEOF
36701 #define wxUSE_TOOLBAR 1
36706 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36707 wxUSE_TOOLBAR_NATIVE
="yes"
36710 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_TOOLBAR_NATIVE 1
36718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36721 if test "$wxUSE_TOOLTIPS" = "yes"; then
36722 if test "$wxUSE_MOTIF" = 1; then
36723 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36724 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36726 if test "$wxUSE_UNIVERSAL" = "yes"; then
36727 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36728 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36730 cat >>confdefs.h
<<\_ACEOF
36731 #define wxUSE_TOOLTIPS 1
36738 if test "$wxUSE_TREECTRL" = "yes"; then
36739 if test "$wxUSE_IMAGLIST" = "yes"; then
36740 cat >>confdefs.h
<<\_ACEOF
36741 #define wxUSE_TREECTRL 1
36745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36747 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36748 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36752 if test "$wxUSE_POPUPWIN" = "yes"; then
36753 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36754 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36755 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36757 if test "$wxUSE_PM" = 1; then
36758 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36759 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_POPUPWIN 1
36771 if test "$wxUSE_TIPWINDOW" = "yes"; then
36772 if test "$wxUSE_PM" = 1; then
36773 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36774 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_TIPWINDOW 1
36783 if test "$USES_CONTROLS" = 1; then
36784 cat >>confdefs.h
<<\_ACEOF
36785 #define wxUSE_CONTROLS 1
36791 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define wxUSE_ACCESSIBILITY 1
36796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36799 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_DRAGIMAGE 1
36804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36807 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36808 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36809 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36810 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36812 cat >>confdefs.h
<<\_ACEOF
36813 #define wxUSE_EXCEPTIONS 1
36816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36821 if test "$wxUSE_HTML" = "yes"; then
36822 cat >>confdefs.h
<<\_ACEOF
36823 #define wxUSE_HTML 1
36827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36828 if test "$wxUSE_MAC" = 1; then
36829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36832 if test "$wxUSE_WEBKIT" = "yes"; then
36833 if test "$wxUSE_MAC" = 1; then
36834 old_CPPFLAGS
="$CPPFLAGS"
36835 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36836 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36837 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36838 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 cat >conftest.
$ac_ext <<_ACEOF
36844 cat confdefs.h
>>conftest.
$ac_ext
36845 cat >>conftest.
$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36847 #include <Carbon/Carbon.h>
36849 #include <WebKit/HIWebView.h>
36851 rm -f conftest.
$ac_objext
36852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36853 (eval $ac_compile) 2>conftest.er1
36855 grep -v '^ *+' conftest.er1
>conftest.err
36857 cat conftest.err
>&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); } &&
36860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; } &&
36866 { ac_try
='test -s conftest.$ac_objext'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; }; then
36872 ac_cv_header_WebKit_HIWebView_h
=yes
36874 echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.
$ac_ext >&5
36877 ac_cv_header_WebKit_HIWebView_h
=no
36879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36881 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36882 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36883 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36885 cat >>confdefs.h
<<\_ACEOF
36886 #define wxUSE_WEBKIT 1
36889 WEBKIT_LINK
="-framework WebKit"
36893 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36894 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36900 CPPFLAGS
="$old_CPPFLAGS"
36901 elif test "$wxUSE_COCOA" = 1; then
36902 cat >>confdefs.h
<<\_ACEOF
36903 #define wxUSE_WEBKIT 1
36912 if test "$wxUSE_XRC" = "yes"; then
36913 if test "$wxUSE_XML" != "yes"; then
36914 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
36915 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36918 cat >>confdefs.h
<<\_ACEOF
36919 #define wxUSE_XRC 1
36923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36927 if test "$wxUSE_MENUS" = "yes"; then
36928 cat >>confdefs.h
<<\_ACEOF
36929 #define wxUSE_MENUS 1
36932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36935 if test "$wxUSE_METAFILE" = "yes"; then
36936 cat >>confdefs.h
<<\_ACEOF
36937 #define wxUSE_METAFILE 1
36942 if test "$wxUSE_MIMETYPE" = "yes"; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define wxUSE_MIMETYPE 1
36949 if test "$wxUSE_MINIFRAME" = "yes"; then
36950 cat >>confdefs.h
<<\_ACEOF
36951 #define wxUSE_MINIFRAME 1
36954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36957 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36958 cat >>confdefs.h
<<\_ACEOF
36959 #define wxUSE_SYSTEM_OPTIONS 1
36962 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36963 "$TOOLKIT" = "MOTIF"; then
36964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36969 if test "$wxUSE_VALIDATORS" = "yes"; then
36970 cat >>confdefs.h
<<\_ACEOF
36971 #define wxUSE_VALIDATORS 1
36974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36977 if test "$wxUSE_PALETTE" = "yes" ; then
36978 cat >>confdefs.h
<<\_ACEOF
36979 #define wxUSE_PALETTE 1
36984 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36985 LIBS
=" -lunicows $LIBS"
36989 if test "$wxUSE_IMAGE" = "yes" ; then
36990 cat >>confdefs.h
<<\_ACEOF
36991 #define wxUSE_IMAGE 1
36995 if test "$wxUSE_GIF" = "yes" ; then
36996 cat >>confdefs.h
<<\_ACEOF
36997 #define wxUSE_GIF 1
37002 if test "$wxUSE_PCX" = "yes" ; then
37003 cat >>confdefs.h
<<\_ACEOF
37004 #define wxUSE_PCX 1
37009 if test "$wxUSE_IFF" = "yes" ; then
37010 cat >>confdefs.h
<<\_ACEOF
37011 #define wxUSE_IFF 1
37016 if test "$wxUSE_PNM" = "yes" ; then
37017 cat >>confdefs.h
<<\_ACEOF
37018 #define wxUSE_PNM 1
37023 if test "$wxUSE_XPM" = "yes" ; then
37024 cat >>confdefs.h
<<\_ACEOF
37025 #define wxUSE_XPM 1
37030 if test "$wxUSE_ICO_CUR" = "yes" ; then
37031 cat >>confdefs.h
<<\_ACEOF
37032 #define wxUSE_ICO_CUR 1
37039 if test "$wxUSE_CHOICEDLG" = "yes"; then
37040 cat >>confdefs.h
<<\_ACEOF
37041 #define wxUSE_CHOICEDLG 1
37046 if test "$wxUSE_COLOURDLG" = "yes"; then
37047 cat >>confdefs.h
<<\_ACEOF
37048 #define wxUSE_COLOURDLG 1
37053 if test "$wxUSE_FILEDLG" = "yes"; then
37054 cat >>confdefs.h
<<\_ACEOF
37055 #define wxUSE_FILEDLG 1
37060 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37061 cat >>confdefs.h
<<\_ACEOF
37062 #define wxUSE_FINDREPLDLG 1
37067 if test "$wxUSE_FONTDLG" = "yes"; then
37068 cat >>confdefs.h
<<\_ACEOF
37069 #define wxUSE_FONTDLG 1
37074 if test "$wxUSE_DIRDLG" = "yes"; then
37075 if test "$wxUSE_TREECTRL" != "yes"; then
37076 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37077 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define wxUSE_DIRDLG 1
37086 if test "$wxUSE_MSGDLG" = "yes"; then
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_MSGDLG 1
37093 if test "$wxUSE_NUMBERDLG" = "yes"; then
37094 cat >>confdefs.h
<<\_ACEOF
37095 #define wxUSE_NUMBERDLG 1
37100 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37101 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37102 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37103 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37105 cat >>confdefs.h
<<\_ACEOF
37106 #define wxUSE_PROGRESSDLG 1
37112 if test "$wxUSE_SPLASH" = "yes"; then
37113 cat >>confdefs.h
<<\_ACEOF
37114 #define wxUSE_SPLASH 1
37117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37120 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37121 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37122 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37123 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37125 cat >>confdefs.h
<<\_ACEOF
37126 #define wxUSE_STARTUP_TIPS 1
37132 if test "$wxUSE_TEXTDLG" = "yes"; then
37133 cat >>confdefs.h
<<\_ACEOF
37134 #define wxUSE_TEXTDLG 1
37139 if test "$wxUSE_WIZARDDLG" = "yes"; then
37140 cat >>confdefs.h
<<\_ACEOF
37141 #define wxUSE_WIZARDDLG 1
37144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37148 if test "$cross_compiling" = "yes"; then
37151 OSINFO
=`uname -s -r -m`
37152 OSINFO
="\"$OSINFO\""
37155 cat >>confdefs.h
<<_ACEOF
37156 #define WXWIN_OS_DESCRIPTION $OSINFO
37161 if test "x$prefix" != "xNONE"; then
37164 wxPREFIX
=$ac_default_prefix
37167 cat >>confdefs.h
<<_ACEOF
37168 #define wxINSTALL_PREFIX "$wxPREFIX"
37174 CORE_BASE_LIBS
="net base"
37175 CORE_GUI_LIBS
="adv core"
37177 if test "$wxUSE_XML" = "yes" ; then
37178 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37180 if test "$wxUSE_ODBC" != "no" ; then
37181 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37182 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37184 if test "$wxUSE_HTML" = "yes" ; then
37185 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37187 if test "$wxUSE_XRC" = "yes" ; then
37188 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37191 if test "$wxUSE_GUI" != "yes"; then
37202 if test "$wxUSE_MAC" = 1 ; then
37203 if test "$wxUSE_SOUND" = "yes"; then
37204 LDFLAGS
="$LDFLAGS -framework QuickTime"
37206 if test "$USE_DARWIN" = 1; then
37207 LDFLAGS
="$LDFLAGS -framework IOKit"
37209 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37211 if test "$wxUSE_COCOA" = 1 ; then
37212 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37216 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37226 if eval "test \"\${$as_ac_var+set}\" = set"; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 cat >conftest.
$ac_ext <<_ACEOF
37232 cat confdefs.h
>>conftest.
$ac_ext
37233 cat >>conftest.
$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37245 # include <limits.h>
37247 # include <assert.h>
37252 /* Override any gcc2 internal prototype to avoid an error. */
37257 /* We use char because int might match the return type of a gcc2
37258 builtin and then its argument prototype would still apply. */
37260 /* The GNU C library defines this for functions which it implements
37261 to always fail with ENOSYS. Some functions are actually named
37262 something starting with __ and the normal name is an alias. */
37263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37266 char (*f) () = $ac_func;
37275 return f != $ac_func;
37280 rm -f conftest.
$ac_objext conftest
$ac_exeext
37281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37282 (eval $ac_link) 2>conftest.er1
37284 grep -v '^ *+' conftest.er1
>conftest.err
37286 cat conftest.err
>&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291 (eval $ac_try) 2>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); }; } &&
37295 { ac_try
='test -s conftest$ac_exeext'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; }; then
37301 eval "$as_ac_var=yes"
37303 echo "$as_me: failed program was:" >&5
37304 sed 's/^/| /' conftest.
$ac_ext >&5
37306 eval "$as_ac_var=no"
37308 rm -f conftest.err conftest.
$ac_objext \
37309 conftest
$ac_exeext conftest.
$ac_ext
37311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37313 if test `eval echo '${'$as_ac_var'}'` = yes; then
37314 cat >>confdefs.h
<<_ACEOF
37315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37322 for ac_func
in floor
37324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37325 echo "$as_me:$LINENO: checking for $ac_func" >&5
37326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37327 if eval "test \"\${$as_ac_var+set}\" = set"; then
37328 echo $ECHO_N "(cached) $ECHO_C" >&6
37330 cat >conftest.
$ac_ext <<_ACEOF
37333 cat confdefs.h
>>conftest.
$ac_ext
37334 cat >>conftest.
$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37338 #define $ac_func innocuous_$ac_func
37340 /* System header to define __stub macros and hopefully few prototypes,
37341 which can conflict with char $ac_func (); below.
37342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37343 <limits.h> exists even on freestanding compilers. */
37346 # include <limits.h>
37348 # include <assert.h>
37353 /* Override any gcc2 internal prototype to avoid an error. */
37358 /* We use char because int might match the return type of a gcc2
37359 builtin and then its argument prototype would still apply. */
37361 /* The GNU C library defines this for functions which it implements
37362 to always fail with ENOSYS. Some functions are actually named
37363 something starting with __ and the normal name is an alias. */
37364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37367 char (*f) () = $ac_func;
37376 return f != $ac_func;
37381 rm -f conftest.
$ac_objext conftest
$ac_exeext
37382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37383 (eval $ac_link) 2>conftest.er1
37385 grep -v '^ *+' conftest.er1
>conftest.err
37387 cat conftest.err
>&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } &&
37390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37392 (eval $ac_try) 2>&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); }; } &&
37396 { ac_try
='test -s conftest$ac_exeext'
37397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37398 (eval $ac_try) 2>&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); }; }; then
37402 eval "$as_ac_var=yes"
37404 echo "$as_me: failed program was:" >&5
37405 sed 's/^/| /' conftest.
$ac_ext >&5
37407 eval "$as_ac_var=no"
37409 rm -f conftest.err conftest.
$ac_objext \
37410 conftest
$ac_exeext conftest.
$ac_ext
37412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37414 if test `eval echo '${'$as_ac_var'}'` = yes; then
37415 cat >>confdefs.h
<<_ACEOF
37416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37422 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37423 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37424 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37425 echo "$as_me:$LINENO: result: yes" >&5
37426 echo "${ECHO_T}yes" >&6
37428 echo "$as_me:$LINENO: result: no" >&5
37429 echo "${ECHO_T}no" >&6
37431 # use different functions to avoid configure caching
37437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 cat >conftest.
$ac_ext <<_ACEOF
37446 cat confdefs.h
>>conftest.
$ac_ext
37447 cat >>conftest.
$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37459 # include <limits.h>
37461 # include <assert.h>
37466 /* Override any gcc2 internal prototype to avoid an error. */
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37480 char (*f) () = $ac_func;
37489 return f != $ac_func;
37494 rm -f conftest.
$ac_objext conftest
$ac_exeext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37496 (eval $ac_link) 2>conftest.er1
37498 grep -v '^ *+' conftest.er1
>conftest.err
37500 cat conftest.err
>&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } &&
37503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; } &&
37509 { ac_try
='test -s conftest$ac_exeext'
37510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511 (eval $ac_try) 2>&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); }; }; then
37515 eval "$as_ac_var=yes"
37517 echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.
$ac_ext >&5
37520 eval "$as_ac_var=no"
37522 rm -f conftest.err conftest.
$ac_objext \
37523 conftest
$ac_exeext conftest.
$ac_ext
37525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37527 if test `eval echo '${'$as_ac_var'}'` = yes; then
37528 cat >>confdefs.h
<<_ACEOF
37529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 for ac_func
in ceil
37538 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37539 echo "$as_me:$LINENO: checking for $ac_func" >&5
37540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37541 if eval "test \"\${$as_ac_var+set}\" = set"; then
37542 echo $ECHO_N "(cached) $ECHO_C" >&6
37544 cat >conftest.
$ac_ext <<_ACEOF
37547 cat confdefs.h
>>conftest.
$ac_ext
37548 cat >>conftest.
$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37552 #define $ac_func innocuous_$ac_func
37554 /* System header to define __stub macros and hopefully few prototypes,
37555 which can conflict with char $ac_func (); below.
37556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37557 <limits.h> exists even on freestanding compilers. */
37560 # include <limits.h>
37562 # include <assert.h>
37567 /* Override any gcc2 internal prototype to avoid an error. */
37572 /* We use char because int might match the return type of a gcc2
37573 builtin and then its argument prototype would still apply. */
37575 /* The GNU C library defines this for functions which it implements
37576 to always fail with ENOSYS. Some functions are actually named
37577 something starting with __ and the normal name is an alias. */
37578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37581 char (*f) () = $ac_func;
37590 return f != $ac_func;
37595 rm -f conftest.
$ac_objext conftest
$ac_exeext
37596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37597 (eval $ac_link) 2>conftest.er1
37599 grep -v '^ *+' conftest.er1
>conftest.err
37601 cat conftest.err
>&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); } &&
37604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37606 (eval $ac_try) 2>&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); }; } &&
37610 { ac_try
='test -s conftest$ac_exeext'
37611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37612 (eval $ac_try) 2>&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); }; }; then
37616 eval "$as_ac_var=yes"
37618 echo "$as_me: failed program was:" >&5
37619 sed 's/^/| /' conftest.
$ac_ext >&5
37621 eval "$as_ac_var=no"
37623 rm -f conftest.err conftest.
$ac_objext \
37624 conftest
$ac_exeext conftest.
$ac_ext
37626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37628 if test `eval echo '${'$as_ac_var'}'` = yes; then
37629 cat >>confdefs.h
<<_ACEOF
37630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37636 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37637 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37638 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37639 echo "$as_me:$LINENO: result: yes" >&5
37640 echo "${ECHO_T}yes" >&6
37642 echo "$as_me:$LINENO: result: no" >&5
37643 echo "${ECHO_T}no" >&6
37644 # not sure we should warn the user, crash, etc.
37648 if test "$wxUSE_GUI" = "yes"; then
37651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37652 drawing dynamic erase event exec font image \
37653 minimal propsize rotate shaped widgets render"
37655 if test "$wxUSE_MONOLITHIC" != "yes"; then
37656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37659 SAMPLES_SUBDIRS
="console"
37663 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37664 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37666 if test "$GXX" = yes ; then
37667 CXXWARNINGS
="-Wall"
37670 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37672 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37673 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37674 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37678 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37679 EXTRALIBS_XML
="$EXPAT_LINK"
37680 EXTRALIBS_HTML
="$MSPACK_LINK"
37681 EXTRALIBS_ODBC
="$ODBC_LINK"
37682 if test "$wxUSE_GUI" = "yes"; then
37683 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37685 if test "$wxUSE_OPENGL" = "yes"; then
37686 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37689 LDFLAGS
="$LDFLAGS $PROFILE"
37691 if test "$wxUSE_GTK" = 1; then
37694 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37697 WXCONFIG_EXTRALIBS
="$LIBS"
37699 if test "$wxUSE_REGEX" = "builtin" ; then
37700 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37702 if test "$wxUSE_EXPAT" = "builtin" ; then
37703 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37705 if test "$wxUSE_ODBC" = "builtin" ; then
37706 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37708 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37709 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37711 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37712 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37714 if test "$wxUSE_LIBPNG" = "builtin" ; then
37715 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37717 if test "$wxUSE_ZLIB" = "builtin" ; then
37718 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37720 if test "$wxUSE_ODBC" = "builtin" ; then
37721 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37724 for i
in $wxconfig_3rdparty ; do
37725 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37729 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37743 if test $wxUSE_MONOLITHIC = "yes" ; then
37749 if test $wxUSE_PLUGINS = "yes" ; then
37755 if test $wxUSE_ODBC != "no" ; then
37761 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37788 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37799 TOOLKIT_USER
="GTK+"
37800 if test "$WXGTK20" = 1; then
37801 TOOLKIT_USER
="$TOOLKIT_USER 2"
37806 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
37811 if test "x$BAKEFILE_HOST" = "x"; then
37812 BAKEFILE_HOST
="${host}"
37815 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37817 if test -n "$ac_tool_prefix"; then
37818 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37819 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37820 echo "$as_me:$LINENO: checking for $ac_word" >&5
37821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37822 if test "${ac_cv_prog_RANLIB+set}" = set; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 if test -n "$RANLIB"; then
37826 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37829 for as_dir
in $PATH
37832 test -z "$as_dir" && as_dir
=.
37833 for ac_exec_ext
in '' $ac_executable_extensions; do
37834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37835 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37844 RANLIB
=$ac_cv_prog_RANLIB
37845 if test -n "$RANLIB"; then
37846 echo "$as_me:$LINENO: result: $RANLIB" >&5
37847 echo "${ECHO_T}$RANLIB" >&6
37849 echo "$as_me:$LINENO: result: no" >&5
37850 echo "${ECHO_T}no" >&6
37854 if test -z "$ac_cv_prog_RANLIB"; then
37855 ac_ct_RANLIB
=$RANLIB
37856 # Extract the first word of "ranlib", so it can be a program name with args.
37857 set dummy ranlib
; ac_word
=$2
37858 echo "$as_me:$LINENO: checking for $ac_word" >&5
37859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37860 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37863 if test -n "$ac_ct_RANLIB"; then
37864 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37867 for as_dir
in $PATH
37870 test -z "$as_dir" && as_dir
=.
37871 for ac_exec_ext
in '' $ac_executable_extensions; do
37872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37873 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37880 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37883 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37884 if test -n "$ac_ct_RANLIB"; then
37885 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37886 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37888 echo "$as_me:$LINENO: result: no" >&5
37889 echo "${ECHO_T}no" >&6
37892 RANLIB
=$ac_ct_RANLIB
37894 RANLIB
="$ac_cv_prog_RANLIB"
37897 # Find a good install program. We prefer a C program (faster),
37898 # so one script is as good as another. But avoid the broken or
37899 # incompatible versions:
37900 # SysV /etc/install, /usr/sbin/install
37901 # SunOS /usr/etc/install
37902 # IRIX /sbin/install
37904 # AmigaOS /C/install, which installs bootblocks on floppy discs
37905 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37906 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37907 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37908 # OS/2's system install, which has a completely different semantic
37909 # ./install, which can be erroneously created by make from ./install.sh.
37910 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37911 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37912 if test -z "$INSTALL"; then
37913 if test "${ac_cv_path_install+set}" = set; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37917 for as_dir
in $PATH
37920 test -z "$as_dir" && as_dir
=.
37921 # Account for people who put trailing slashes in PATH elements.
37923 .
/ | .
// | /cC
/* | \
37924 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37925 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37928 # OSF1 and SCO ODT 3.0 have their own names for install.
37929 # Don't use installbsd from OSF since it installs stuff as root
37931 for ac_prog
in ginstall scoinst
install; do
37932 for ac_exec_ext
in '' $ac_executable_extensions; do
37933 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37934 if test $ac_prog = install &&
37935 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37936 # AIX install. It has an incompatible calling convention.
37938 elif test $ac_prog = install &&
37939 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37940 # program-specific install script used by HP pwplus--don't use.
37943 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37955 if test "${ac_cv_path_install+set}" = set; then
37956 INSTALL
=$ac_cv_path_install
37958 # As a last resort, use the slow shell script. We don't cache a
37959 # path for INSTALL within a source directory, because that will
37960 # break other packages using the cache if that directory is
37961 # removed, or if the path is relative.
37962 INSTALL
=$ac_install_sh
37965 echo "$as_me:$LINENO: result: $INSTALL" >&5
37966 echo "${ECHO_T}$INSTALL" >&6
37968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37969 # It thinks the first close brace ends the variable substitution.
37970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37974 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37976 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37977 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37979 if test "$LN_S" = "ln -s"; then
37980 echo "$as_me:$LINENO: result: yes" >&5
37981 echo "${ECHO_T}yes" >&6
37983 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37984 echo "${ECHO_T}no, using $LN_S" >&6
37988 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37989 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37990 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37991 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37994 cat >conftest.
make <<\_ACEOF
37996 @
echo 'ac_maketemp="$(MAKE)"'
37998 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37999 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38000 if test -n "$ac_maketemp"; then
38001 eval ac_cv_prog_make_
${ac_make}_set
=yes
38003 eval ac_cv_prog_make_
${ac_make}_set
=no
38005 rm -f conftest.
make
38007 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38008 echo "$as_me:$LINENO: result: yes" >&5
38009 echo "${ECHO_T}yes" >&6
38012 echo "$as_me:$LINENO: result: no" >&5
38013 echo "${ECHO_T}no" >&6
38014 SET_MAKE
="MAKE=${MAKE-make}"
38019 if test -n "$ac_tool_prefix"; then
38020 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38021 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38022 echo "$as_me:$LINENO: checking for $ac_word" >&5
38023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38024 if test "${ac_cv_prog_AR+set}" = set; then
38025 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 if test -n "$AR"; then
38028 ac_cv_prog_AR
="$AR" # Let the user override the test.
38030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38031 for as_dir
in $PATH
38034 test -z "$as_dir" && as_dir
=.
38035 for ac_exec_ext
in '' $ac_executable_extensions; do
38036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38037 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38047 if test -n "$AR"; then
38048 echo "$as_me:$LINENO: result: $AR" >&5
38049 echo "${ECHO_T}$AR" >&6
38051 echo "$as_me:$LINENO: result: no" >&5
38052 echo "${ECHO_T}no" >&6
38056 if test -z "$ac_cv_prog_AR"; then
38058 # Extract the first word of "ar", so it can be a program name with args.
38059 set dummy
ar; ac_word
=$2
38060 echo "$as_me:$LINENO: checking for $ac_word" >&5
38061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38062 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38063 echo $ECHO_N "(cached) $ECHO_C" >&6
38065 if test -n "$ac_ct_AR"; then
38066 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38069 for as_dir
in $PATH
38072 test -z "$as_dir" && as_dir
=.
38073 for ac_exec_ext
in '' $ac_executable_extensions; do
38074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38075 ac_cv_prog_ac_ct_AR
="ar"
38076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38082 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38085 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38086 if test -n "$ac_ct_AR"; then
38087 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38088 echo "${ECHO_T}$ac_ct_AR" >&6
38090 echo "$as_me:$LINENO: result: no" >&5
38091 echo "${ECHO_T}no" >&6
38096 AR
="$ac_cv_prog_AR"
38099 if test -n "$ac_tool_prefix"; then
38100 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38101 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38102 echo "$as_me:$LINENO: checking for $ac_word" >&5
38103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38104 if test "${ac_cv_prog_STRIP+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 if test -n "$STRIP"; then
38108 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38111 for as_dir
in $PATH
38114 test -z "$as_dir" && as_dir
=.
38115 for ac_exec_ext
in '' $ac_executable_extensions; do
38116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38117 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38126 STRIP
=$ac_cv_prog_STRIP
38127 if test -n "$STRIP"; then
38128 echo "$as_me:$LINENO: result: $STRIP" >&5
38129 echo "${ECHO_T}$STRIP" >&6
38131 echo "$as_me:$LINENO: result: no" >&5
38132 echo "${ECHO_T}no" >&6
38136 if test -z "$ac_cv_prog_STRIP"; then
38138 # Extract the first word of "strip", so it can be a program name with args.
38139 set dummy strip
; ac_word
=$2
38140 echo "$as_me:$LINENO: checking for $ac_word" >&5
38141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38142 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38143 echo $ECHO_N "(cached) $ECHO_C" >&6
38145 if test -n "$ac_ct_STRIP"; then
38146 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38149 for as_dir
in $PATH
38152 test -z "$as_dir" && as_dir
=.
38153 for ac_exec_ext
in '' $ac_executable_extensions; do
38154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38155 ac_cv_prog_ac_ct_STRIP
="strip"
38156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38162 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38165 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38166 if test -n "$ac_ct_STRIP"; then
38167 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38168 echo "${ECHO_T}$ac_ct_STRIP" >&6
38170 echo "$as_me:$LINENO: result: no" >&5
38171 echo "${ECHO_T}no" >&6
38176 STRIP
="$ac_cv_prog_STRIP"
38179 if test -n "$ac_tool_prefix"; then
38180 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38181 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38182 echo "$as_me:$LINENO: checking for $ac_word" >&5
38183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38184 if test "${ac_cv_prog_NM+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 if test -n "$NM"; then
38188 ac_cv_prog_NM
="$NM" # Let the user override the test.
38190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38191 for as_dir
in $PATH
38194 test -z "$as_dir" && as_dir
=.
38195 for ac_exec_ext
in '' $ac_executable_extensions; do
38196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38197 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38207 if test -n "$NM"; then
38208 echo "$as_me:$LINENO: result: $NM" >&5
38209 echo "${ECHO_T}$NM" >&6
38211 echo "$as_me:$LINENO: result: no" >&5
38212 echo "${ECHO_T}no" >&6
38216 if test -z "$ac_cv_prog_NM"; then
38218 # Extract the first word of "nm", so it can be a program name with args.
38219 set dummy nm
; ac_word
=$2
38220 echo "$as_me:$LINENO: checking for $ac_word" >&5
38221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38222 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38223 echo $ECHO_N "(cached) $ECHO_C" >&6
38225 if test -n "$ac_ct_NM"; then
38226 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38229 for as_dir
in $PATH
38232 test -z "$as_dir" && as_dir
=.
38233 for ac_exec_ext
in '' $ac_executable_extensions; do
38234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38235 ac_cv_prog_ac_ct_NM
="nm"
38236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38242 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38245 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38246 if test -n "$ac_ct_NM"; then
38247 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38248 echo "${ECHO_T}$ac_ct_NM" >&6
38250 echo "$as_me:$LINENO: result: no" >&5
38251 echo "${ECHO_T}no" >&6
38256 NM
="$ac_cv_prog_NM"
38260 case ${BAKEFILE_HOST} in
38262 INSTALL_DIR
="mkdir -p"
38264 *) INSTALL_DIR
="$INSTALL -d"
38270 case ${BAKEFILE_HOST} in
38271 *-*-cygwin* | *-*-mingw32* )
38272 LDFLAGS_GUI
="-mwindows"
38278 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38279 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38280 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38285 egrep -s GNU
> /dev
/null
); then
38286 bakefile_cv_prog_makeisgnu
="yes"
38288 bakefile_cv_prog_makeisgnu
="no"
38292 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38293 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38295 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38310 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38311 case "${BAKEFILE_HOST}" in
38312 *-*-cygwin* | *-*-mingw32* )
38318 *-pc-os2_emx | *-pc-os2-emx )
38321 powerpc
-*-darwin* )
38330 case "$BAKEFILE_FORCE_PLATFORM" in
38348 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38349 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38350 { (exit 1); exit 1; }; }
38363 # Check whether --enable-omf or --disable-omf was given.
38364 if test "${enable_omf+set}" = set; then
38365 enableval
="$enable_omf"
38366 bk_os2_use_omf
="$enableval"
38369 case "${BAKEFILE_HOST}" in
38371 CFLAGS
="$CFLAGS -fno-common"
38372 CXXFLAGS
="$CXXFLAGS -fno-common"
38375 *-pc-os2_emx | *-pc-os2-emx )
38376 if test "x$bk_os2_use_omf" = "xyes" ; then
38379 LDFLAGS
="-Zomf $LDFLAGS"
38380 CFLAGS
="-Zomf $CFLAGS"
38381 CXXFLAGS
="-Zomf $CXXFLAGS"
38391 SO_SUFFIX_MODULE
="so"
38396 DLLPREFIX_MODULE
=""
38399 case "${BAKEFILE_HOST}" in
38402 SO_SUFFIX_MODULE
="sl"
38406 SO_SUFFIX_MODULE
="a"
38408 *-*-cygwin* | *-*-mingw32* )
38410 SO_SUFFIX_MODULE
="dll"
38411 DLLIMP_SUFFIX
="dll.a"
38419 *-pc-os2_emx | *-pc-os2-emx )
38421 SO_SUFFIX_MODULE
="dll"
38422 DLLIMP_SUFFIX
=$OS2_LIBEXT
38426 LIBEXT
=".$OS2_LIBEXT"
38428 powerpc
-*-darwin* )
38430 SO_SUFFIX_MODULE
="bundle"
38434 if test "x$DLLIMP_SUFFIX" = "x" ; then
38435 DLLIMP_SUFFIX
="$SO_SUFFIX"
38448 SHARED_LD_CC
="\$(CC) -shared -o"
38449 SHARED_LD_CXX
="\$(CXX) -shared -o"
38451 if test "x$GCC" = "xyes"; then
38455 case "${BAKEFILE_HOST}" in
38457 if test "x$GCC" = "xyes"; then
38458 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38459 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38461 LDFLAGS
="$LDFLAGS -L/usr/lib"
38463 SHARED_LD_CC
="${CC} -b -o"
38464 SHARED_LD_CXX
="${CXX} -b -o"
38470 if test "x$GCC" != "xyes"; then
38471 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38472 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38473 if test "${bakefile_cv_prog_icc+set}" = set; then
38474 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 cat >conftest.
$ac_ext <<_ACEOF
38480 cat confdefs.h
>>conftest.
$ac_ext
38481 cat >>conftest.
$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38488 #ifndef __INTEL_COMPILER
38496 rm -f conftest.
$ac_objext
38497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38498 (eval $ac_compile) 2>conftest.er1
38500 grep -v '^ *+' conftest.er1
>conftest.err
38502 cat conftest.err
>&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); } &&
38505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; } &&
38511 { ac_try
='test -s conftest.$ac_objext'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; }; then
38517 bakefile_cv_prog_icc
=yes
38519 echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.
$ac_ext >&5
38522 bakefile_cv_prog_icc
=no
38525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38528 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38529 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38530 if test "$bakefile_cv_prog_icc" = "yes"; then
38537 if test "x$GCC" != xyes
; then
38538 SHARED_LD_CC
="${CC} -G -o"
38539 SHARED_LD_CXX
="${CXX} -G -o"
38546 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38547 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38548 if test "${wx_cv_gcc31+set}" = set; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 cat >conftest.
$ac_ext <<_ACEOF
38555 cat confdefs.h
>>conftest.
$ac_ext
38556 cat >>conftest.
$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38563 #if (__GNUC__ < 3) || \
38564 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38572 rm -f conftest.
$ac_objext
38573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38574 (eval $ac_compile) 2>conftest.er1
38576 grep -v '^ *+' conftest.er1
>conftest.err
38578 cat conftest.err
>&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } &&
38581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583 (eval $ac_try) 2>&5
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); }; } &&
38587 { ac_try
='test -s conftest.$ac_objext'
38588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589 (eval $ac_try) 2>&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; }; then
38597 echo "$as_me: failed program was:" >&5
38598 sed 's/^/| /' conftest.
$ac_ext >&5
38605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38608 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38609 echo "${ECHO_T}$wx_cv_gcc31" >&6
38610 if test "$wx_cv_gcc31" = "no"; then
38613 cat <<EOF >shared-ld-sh
38615 #-----------------------------------------------------------------------------
38616 #-- Name: distrib/mac/shared-ld-sh
38617 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38618 #-- Author: Gilles Depeyrot
38619 #-- Copyright: (c) 2002 Gilles Depeyrot
38620 #-- Licence: any use permitted
38621 #-----------------------------------------------------------------------------
38626 linking_flag="-dynamiclib"
38628 while test ${D}# -gt 0; do
38635 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38636 # collect these options and values
38637 args="${D}{args} ${D}1 ${D}2"
38641 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38642 # collect these options
38643 args="${D}{args} ${D}1"
38646 -dynamiclib|-bundle)
38647 linking_flag="${D}1"
38651 echo "shared-ld: unhandled option '${D}1'"
38655 *.o | *.a | *.dylib)
38656 # collect object files
38657 objects="${D}{objects} ${D}1"
38661 echo "shared-ld: unhandled argument '${D}1'"
38670 # Link one module containing all the others
38672 if test ${D}{verbose} = 1; then
38673 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38675 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38677 if test ${D}{status} != 0; then
38682 # Link the shared library from the single module created
38684 if test ${D}{verbose} = 1; then
38685 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38687 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38689 if test ${D}{status} != 0; then
38694 # Remove intermediate module
38696 rm -f master.${D}${D}.o
38701 chmod +x shared
-ld-sh
38703 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38704 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38705 SHARED_LD_CXX
="$SHARED_LD_CC"
38706 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38708 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38709 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38710 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38711 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38714 PIC_FLAG
="-dynamic -fPIC"
38718 if test "x$GCC" != "xyes"; then
38719 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38720 set dummy makeC
++SharedLib
; ac_word
=$2
38721 echo "$as_me:$LINENO: checking for $ac_word" >&5
38722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38723 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38726 if test -n "$AIX_CXX_LD"; then
38727 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38730 for as_dir
in $PATH
38733 test -z "$as_dir" && as_dir
=.
38734 for ac_exec_ext
in '' $ac_executable_extensions; do
38735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38736 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38743 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38746 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38747 if test -n "$AIX_CXX_LD"; then
38748 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38749 echo "${ECHO_T}$AIX_CXX_LD" >&6
38751 echo "$as_me:$LINENO: result: no" >&5
38752 echo "${ECHO_T}no" >&6
38755 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38756 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38761 SHARED_LD_CC
="${LD} -shared -o"
38762 SHARED_LD_CXX
="${LD} -shared -o"
38766 if test "x$GCC" != "xyes"; then
38771 *-*-cygwin* | *-*-mingw32* )
38775 *-pc-os2_emx | *-pc-os2-emx )
38776 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38777 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38781 cat <<EOF >dllar.sh
38784 # dllar - a tool to build both a .dll and an .a file
38785 # from a set of object (.o) files for EMX/OS2.
38787 # Written by Andrew Zabolotny, bit@freya.etu.ru
38788 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38790 # This script will accept a set of files on the command line.
38791 # All the public symbols from the .o files will be exported into
38792 # a .DEF file, then linker will be run (through gcc) against them to
38793 # build a shared library consisting of all given .o files. All libraries
38794 # (.a) will be first decompressed into component .o files then act as
38795 # described above. You can optionally give a description (-d "description")
38796 # which will be put into .DLL. To see the list of accepted options (as well
38797 # as command-line format) simply run this program without options. The .DLL
38798 # is built to be imported by name (there is no guarantee that new versions
38799 # of the library you build will have same ordinals for same symbols).
38801 # dllar is free software; you can redistribute it and/or modify
38802 # it under the terms of the GNU General Public License as published by
38803 # the Free Software Foundation; either version 2, or (at your option)
38804 # any later version.
38806 # dllar is distributed in the hope that it will be useful,
38807 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38808 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38809 # GNU General Public License for more details.
38811 # You should have received a copy of the GNU General Public License
38812 # along with dllar; see the file COPYING. If not, write to the Free
38813 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38816 # To successfuly run this program you will need:
38817 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38818 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38820 # (used to build the .dll)
38822 # (used to create .def file from .o files)
38824 # (used to create .a file from .def file)
38825 # - GNU text utilites (cat, sort, uniq)
38826 # used to process emxexp output
38827 # - GNU file utilities (mv, rm)
38829 # - lxlite (optional, see flag below)
38830 # (used for general .dll cleanup)
38837 # basnam, variant of basename, which does _not_ remove the path, _iff_
38838 # second argument (suffix to remove) is given
38842 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38845 echo ${D}1 | sed 's/'${D}2'${D}//'
38848 echo "error in basnam ${D}*"
38854 # Cleanup temporary files and output
38857 for i in ${D}inputFiles ; do
38860 rm -rf \`basnam ${D}i !\`
38867 # Kill result in case of failure as there is just to many stupid make/nmake
38868 # things out there which doesn't do this.
38869 if [] ${D}# -eq 0 []; then
38870 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38874 # Print usage and exit script with rc=1.
38876 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38877 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38878 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38879 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38880 echo ' []*.o[] []*.a[]'
38881 echo '*> "output_file" should have no extension.'
38882 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38883 echo ' The import library name is derived from this and is set to "name".a,'
38884 echo ' unless overridden by -import'
38885 echo '*> "importlib_name" should have no extension.'
38886 echo ' If it has the .o, or .a extension, it is automatically removed.'
38887 echo ' This name is used as the import library name and may be longer and'
38888 echo ' more descriptive than the DLL name which has to follow the old '
38889 echo ' 8.3 convention of FAT.'
38890 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38891 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38892 echo ' These flags will be put at the start of GCC command line.'
38893 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38894 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38895 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38896 echo ' If the last character of a symbol is "*", all symbols beginning'
38897 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38898 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38899 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38900 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38901 echo ' C runtime DLLs.'
38902 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38903 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38904 echo ' unchanged to GCC at the end of command line.'
38905 echo '*> If you create a DLL from a library and you do not specify -o,'
38906 echo ' the basename for DLL and import library will be set to library name,'
38907 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38908 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38909 echo ' library will be renamed into gcc_s.a.'
38912 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38913 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38918 # Execute a command.
38919 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38920 # @Uses Whatever CleanUp() uses.
38926 if [] ${D}rcCmd -ne 0 []; then
38927 echo "command failed, exit code="${D}rcCmd
38941 CFLAGS="-s -Zcrtdll"
38943 EXPORT_BY_ORDINALS=0
38948 case ${D}curDirS in
38952 curDirS=${D}{curDirS}"/"
38955 # Parse commandline
38957 while [] ${D}1 []; do
38960 EXPORT_BY_ORDINALS=1;
38987 exclude_symbols=${D}{exclude_symbols}${D}1" "
38991 library_flags=${D}{library_flags}${D}1" "
39007 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39011 if [] ${D}libsToLink -ne 0 []; then
39012 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39014 for file in ${D}1 ; do
39015 if [] -f ${D}file []; then
39016 inputFiles="${D}{inputFiles} ${D}file"
39020 if [] ${D}found -eq 0 []; then
39021 echo "ERROR: No file(s) found: "${D}1
39028 done # iterate cmdline words
39031 if [] -z "${D}inputFiles" []; then
39032 echo "dllar: no input files"
39036 # Now extract all .o files from .a files
39038 for file in ${D}inputFiles ; do
39049 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39054 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39056 if [] ${D}? -ne 0 []; then
39057 echo "Failed to create subdirectory ./${D}dirname"
39061 # Append '!' to indicate archive
39062 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39063 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39066 for subfile in ${D}dirname/*.o* ; do
39067 if [] -f ${D}subfile []; then
39069 if [] -s ${D}subfile []; then
39070 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39071 newInputFiles="${D}newInputFiles ${D}subfile"
39075 if [] ${D}found -eq 0 []; then
39076 echo "WARNING: there are no files in archive \'${D}file\'"
39080 newInputFiles="${D}{newInputFiles} ${D}file"
39084 inputFiles="${D}newInputFiles"
39086 # Output filename(s).
39088 if [] -z ${D}outFile []; then
39090 set outFile ${D}inputFiles; outFile=${D}2
39093 # If it is an archive, remove the '!' and the '_%' suffixes
39094 case ${D}outFile in
39096 outFile=\`basnam ${D}outFile _%!\`
39101 case ${D}outFile in
39103 outFile=\`basnam ${D}outFile .dll\`
39106 outFile=\`basnam ${D}outFile .DLL\`
39109 outFile=\`basnam ${D}outFile .o\`
39112 outFile=\`basnam ${D}outFile .obj\`
39115 outFile=\`basnam ${D}outFile .a\`
39118 outFile=\`basnam ${D}outFile .lib\`
39123 case ${D}outimpFile in
39125 outimpFile=\`basnam ${D}outimpFile .a\`
39128 outimpFile=\`basnam ${D}outimpFile .lib\`
39133 if [] -z ${D}outimpFile []; then
39134 outimpFile=${D}outFile
39136 defFile="${D}{outFile}.def"
39137 arcFile="${D}{outimpFile}.a"
39138 arcFile2="${D}{outimpFile}.lib"
39139 dllFile="${D}outFile"
39140 # Add suffix to dllFile later, first we need a version to use as
39141 # name in .def file.
39143 if [] ${D}do_backup -ne 0 [] ; then
39144 if [] -f ${D}arcFile [] ; then
39145 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39147 if [] -f ${D}arcFile2 [] ; then
39148 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39152 # Extract public symbols from all the object files.
39153 tmpdefFile=${D}{defFile}_%
39154 rm -f ${D}tmpdefFile
39155 for file in ${D}inputFiles ; do
39160 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39165 # Create the def file.
39167 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39168 dllFile="${D}dllFile.dll"
39169 if [] -n ${D}description []; then
39170 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39172 echo "EXPORTS" >> ${D}defFile
39174 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39175 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39177 # Checks if the export is ok or not.
39178 for word in ${D}exclude_symbols; do
39179 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39180 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39184 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39185 sed "=" < ${D}tmpdefFile | \
39189 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39191 ' > ${D}{tmpdefFile}%
39192 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39194 rm -f ${D}{tmpdefFile}%
39196 cat ${D}tmpdefFile >> ${D}defFile
39197 rm -f ${D}tmpdefFile
39199 # Do linking, create implib, and apply lxlite.
39201 for file in ${D}inputFiles ; do
39206 gccCmdl="${D}gccCmdl ${D}file"
39210 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39211 touch "${D}{outFile}.dll"
39213 doCommand "emximp -o ${D}arcFile ${D}defFile"
39214 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39216 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39219 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39221 doCommand "emxomf -s -l ${D}arcFile"
39231 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39239 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39240 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39241 { (exit 1); exit 1; }; }
39244 if test "x$PIC_FLAG" != "x" ; then
39245 PIC_FLAG
="$PIC_FLAG -DPIC"
39248 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39249 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39251 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39252 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39269 case "${BAKEFILE_HOST}" in
39271 SONAME_FLAG
="-Wl,-soname,"
39299 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39300 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39303 if test "x$GCC" = "xyes"; then
39306 case "${BAKEFILE_HOST}" in
39307 powerpc
-*-darwin* )
39308 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39311 DEPSFLAG_GCC
="-MMD"
39314 echo "$as_me:$LINENO: result: gcc" >&5
39315 echo "${ECHO_T}gcc" >&6
39317 echo "$as_me:$LINENO: result: none" >&5
39318 echo "${ECHO_T}none" >&6
39321 if test $DEPS_TRACKING = 1 ; then
39327 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39328 # script. It is used to track C/C++ files dependencies in portable way.
39330 # Permission is given to use this file in any way.
39332 DEPSMODE=${DEPSMODE}
39334 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39336 mkdir -p ${D}DEPSDIR
39338 if test ${D}DEPSMODE = gcc ; then
39339 ${D}* ${D}{DEPSFLAG_GCC}
39341 if test ${D}{status} != 0 ; then
39344 # move created file to the location we want it in:
39345 while test ${D}# -gt 0; do
39359 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39360 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39361 if test -f ${D}depfile ; then
39362 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39365 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39366 if test -f ${D}depfile ; then
39367 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39387 case ${BAKEFILE_HOST} in
39388 *-*-cygwin* | *-*-mingw32* )
39389 if test "$build" != "$host" ; then
39390 RESCOMP
=$host_alias-windres
39392 # Extract the first word of "windres", so it can be a program name with args.
39393 set dummy windres
; ac_word
=$2
39394 echo "$as_me:$LINENO: checking for $ac_word" >&5
39395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39396 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39397 echo $ECHO_N "(cached) $ECHO_C" >&6
39399 if test -n "$RESCOMP"; then
39400 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39403 for as_dir
in $PATH
39406 test -z "$as_dir" && as_dir
=.
39407 for ac_exec_ext
in '' $ac_executable_extensions; do
39408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39409 ac_cv_prog_RESCOMP
="windres"
39410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39416 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39419 RESCOMP
=$ac_cv_prog_RESCOMP
39420 if test -n "$RESCOMP"; then
39421 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39422 echo "${ECHO_T}$RESCOMP" >&6
39424 echo "$as_me:$LINENO: result: no" >&5
39425 echo "${ECHO_T}no" >&6
39432 # Extract the first word of "Rez", so it can be a program name with args.
39433 set dummy Rez
; ac_word
=$2
39434 echo "$as_me:$LINENO: checking for $ac_word" >&5
39435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39436 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39437 echo $ECHO_N "(cached) $ECHO_C" >&6
39439 if test -n "$RESCOMP"; then
39440 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39443 for as_dir
in $PATH
39446 test -z "$as_dir" && as_dir
=.
39447 for ac_exec_ext
in '' $ac_executable_extensions; do
39448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39449 ac_cv_prog_RESCOMP
="Rez"
39450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39456 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39459 RESCOMP
=$ac_cv_prog_RESCOMP
39460 if test -n "$RESCOMP"; then
39461 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39462 echo "${ECHO_T}$RESCOMP" >&6
39464 echo "$as_me:$LINENO: result: no" >&5
39465 echo "${ECHO_T}no" >&6
39468 # Extract the first word of "SetFile", so it can be a program name with args.
39469 set dummy SetFile
; ac_word
=$2
39470 echo "$as_me:$LINENO: checking for $ac_word" >&5
39471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39472 if test "${ac_cv_prog_SETFILE+set}" = set; then
39473 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 if test -n "$SETFILE"; then
39476 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39479 for as_dir
in $PATH
39482 test -z "$as_dir" && as_dir
=.
39483 for ac_exec_ext
in '' $ac_executable_extensions; do
39484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39485 ac_cv_prog_SETFILE
="SetFile"
39486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39492 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39495 SETFILE
=$ac_cv_prog_SETFILE
39496 if test -n "$SETFILE"; then
39497 echo "$as_me:$LINENO: result: $SETFILE" >&5
39498 echo "${ECHO_T}$SETFILE" >&6
39500 echo "$as_me:$LINENO: result: no" >&5
39501 echo "${ECHO_T}no" >&6
39511 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39515 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39519 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39520 if test "${enable_precomp_headers+set}" = set; then
39521 enableval
="$enable_precomp_headers"
39522 bk_use_pch
="$enableval"
39527 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39528 if test "x$GCC" = "xyes"; then
39529 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39530 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39531 cat >conftest.
$ac_ext <<_ACEOF
39534 cat confdefs.h
>>conftest.
$ac_ext
39535 cat >>conftest.
$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39542 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39543 #error "no pch support"
39546 #error "no pch support"
39548 #if (__GNUC__ == 3) && \
39549 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39550 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39551 #error "no pch support"
39558 rm -f conftest.
$ac_objext
39559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39560 (eval $ac_compile) 2>conftest.er1
39562 grep -v '^ *+' conftest.er1
>conftest.err
39564 cat conftest.err
>&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } &&
39567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569 (eval $ac_try) 2>&5
39571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572 (exit $ac_status); }; } &&
39573 { ac_try
='test -s conftest.$ac_objext'
39574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39575 (eval $ac_try) 2>&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); }; }; then
39580 echo "$as_me:$LINENO: result: yes" >&5
39581 echo "${ECHO_T}yes" >&6
39585 echo "$as_me: failed program was:" >&5
39586 sed 's/^/| /' conftest.
$ac_ext >&5
39589 echo "$as_me:$LINENO: result: no" >&5
39590 echo "${ECHO_T}no" >&6
39593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39594 if test $GCC_PCH = 1 ; then
39595 cat <<EOF >bk-make-pch
39598 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39599 # script. It is used to generated precompiled headers.
39601 # Permission is given to use this file in any way.
39610 while test \${#} -gt 0; do
39613 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39614 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39615 headerfile="\${incdir}/\${header}"
39619 compiler="\${compiler} \${1}"
39623 if test "x\${headerfile}" = "x" ; then
39624 echo "error: can't find header \${header} in include paths" >2
39626 if test -f \${outfile} ; then
39629 mkdir -p \`dirname \${outfile}\`
39631 depsfile=".deps/\`basename \${outfile}\`.d"
39633 # can do this because gcc is >= 3.4:
39634 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39638 chmod +x bk
-make-pch
39649 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39650 if test "${enable_precomp_headers+set}" = set; then
39651 enableval
="$enable_precomp_headers"
39652 bk_use_pch
="$enableval"
39657 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39658 if test "x$GCC" = "xyes"; then
39659 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39660 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39661 cat >conftest.
$ac_ext <<_ACEOF
39664 cat confdefs.h
>>conftest.
$ac_ext
39665 cat >>conftest.
$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39672 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39673 #error "no pch support"
39676 #error "no pch support"
39678 #if (__GNUC__ == 3) && \
39679 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39680 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39681 #error "no pch support"
39688 rm -f conftest.
$ac_objext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39690 (eval $ac_compile) 2>conftest.er1
39692 grep -v '^ *+' conftest.er1
>conftest.err
39694 cat conftest.err
>&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } &&
39697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; } &&
39703 { ac_try
='test -s conftest.$ac_objext'
39704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39705 (eval $ac_try) 2>&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); }; }; then
39710 echo "$as_me:$LINENO: result: yes" >&5
39711 echo "${ECHO_T}yes" >&6
39715 echo "$as_me: failed program was:" >&5
39716 sed 's/^/| /' conftest.
$ac_ext >&5
39719 echo "$as_me:$LINENO: result: no" >&5
39720 echo "${ECHO_T}no" >&6
39723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39724 if test $GCC_PCH = 1 ; then
39725 cat <<EOF >bk-make-pch
39728 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39729 # script. It is used to generated precompiled headers.
39731 # Permission is given to use this file in any way.
39740 while test \${#} -gt 0; do
39743 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39744 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39745 headerfile="\${incdir}/\${header}"
39749 compiler="\${compiler} \${1}"
39753 if test "x\${headerfile}" = "x" ; then
39754 echo "error: can't find header \${header} in include paths" >2
39756 if test -f \${outfile} ; then
39759 mkdir -p \`dirname \${outfile}\`
39761 depsfile=".deps/\`basename \${outfile}\`.d"
39763 # can do this because gcc is >= 3.4:
39764 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39768 chmod +x bk
-make-pch
39775 COND_BUILD_DEBUG
="#"
39776 if test "x$BUILD" = "xdebug" ; then
39777 COND_BUILD_DEBUG
=""
39780 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39781 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39782 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39785 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39786 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39787 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39790 COND_BUILD_DEBUG_UNICODE_0
="#"
39791 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39792 COND_BUILD_DEBUG_UNICODE_0
=""
39795 COND_BUILD_DEBUG_UNICODE_1
="#"
39796 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39797 COND_BUILD_DEBUG_UNICODE_1
=""
39800 COND_BUILD_RELEASE
="#"
39801 if test "x$BUILD" = "xrelease" ; then
39802 COND_BUILD_RELEASE
=""
39805 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39806 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39807 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39810 COND_BUILD_RELEASE_UNICODE_0
="#"
39811 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39812 COND_BUILD_RELEASE_UNICODE_0
=""
39815 COND_BUILD_RELEASE_UNICODE_1
="#"
39816 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39817 COND_BUILD_RELEASE_UNICODE_1
=""
39820 COND_DEBUG_FLAG_1
="#"
39821 if test "x$DEBUG_FLAG" = "x1" ; then
39822 COND_DEBUG_FLAG_1
=""
39825 COND_DEBUG_INFO_0
="#"
39826 if test "x$DEBUG_INFO" = "x0" ; then
39827 COND_DEBUG_INFO_0
=""
39830 COND_DEBUG_INFO_1
="#"
39831 if test "x$DEBUG_INFO" = "x1" ; then
39832 COND_DEBUG_INFO_1
=""
39835 COND_DEPS_TRACKING_0
="#"
39836 if test "x$DEPS_TRACKING" = "x0" ; then
39837 COND_DEPS_TRACKING_0
=""
39840 COND_DEPS_TRACKING_1
="#"
39841 if test "x$DEPS_TRACKING" = "x1" ; then
39842 COND_DEPS_TRACKING_1
=""
39846 if test "x$GCC_PCH" = "x1" ; then
39850 COND_MONOLITHIC_0
="#"
39851 if test "x$MONOLITHIC" = "x0" ; then
39852 COND_MONOLITHIC_0
=""
39855 COND_MONOLITHIC_0_SHARED_0
="#"
39856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39857 COND_MONOLITHIC_0_SHARED_0
=""
39860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39870 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39872 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39875 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39877 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39880 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39882 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39885 COND_MONOLITHIC_0_SHARED_1
="#"
39886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39887 COND_MONOLITHIC_0_SHARED_1
=""
39890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39900 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39902 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39905 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39907 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39910 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39912 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39915 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39916 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39917 COND_MONOLITHIC_0_USE_ODBC_1
=""
39920 COND_MONOLITHIC_1
="#"
39921 if test "x$MONOLITHIC" = "x1" ; then
39922 COND_MONOLITHIC_1
=""
39925 COND_MONOLITHIC_1_SHARED_0
="#"
39926 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39927 COND_MONOLITHIC_1_SHARED_0
=""
39930 COND_MONOLITHIC_1_SHARED_1
="#"
39931 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39932 COND_MONOLITHIC_1_SHARED_1
=""
39935 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39936 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39937 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39940 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39941 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39942 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39945 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39946 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39947 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39950 COND_PLATFORM_MACOSX_1
="#"
39951 if test "x$PLATFORM_MACOSX" = "x1" ; then
39952 COND_PLATFORM_MACOSX_1
=""
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39957 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39962 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39965 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39967 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39970 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
39971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
39972 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
39975 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
39976 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
39977 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
39980 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39982 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39985 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39986 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39987 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39990 COND_PLATFORM_MAC_1
="#"
39991 if test "x$PLATFORM_MAC" = "x1" ; then
39992 COND_PLATFORM_MAC_1
=""
39995 COND_PLATFORM_OS2_1
="#"
39996 if test "x$PLATFORM_OS2" = "x1" ; then
39997 COND_PLATFORM_OS2_1
=""
40000 COND_PLATFORM_UNIX_0
="#"
40001 if test "x$PLATFORM_UNIX" = "x0" ; then
40002 COND_PLATFORM_UNIX_0
=""
40005 COND_PLATFORM_UNIX_1
="#"
40006 if test "x$PLATFORM_UNIX" = "x1" ; then
40007 COND_PLATFORM_UNIX_1
=""
40010 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40011 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40012 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40015 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40016 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40017 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40020 COND_PLATFORM_WIN32_0
="#"
40021 if test "x$PLATFORM_WIN32" = "x0" ; then
40022 COND_PLATFORM_WIN32_0
=""
40025 COND_PLATFORM_WIN32_1
="#"
40026 if test "x$PLATFORM_WIN32" = "x1" ; then
40027 COND_PLATFORM_WIN32_1
=""
40031 if test "x$SHARED" = "x0" ; then
40035 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40036 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40037 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40040 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40041 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40042 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40045 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40046 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40047 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40050 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40051 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40052 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40055 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40056 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40057 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40060 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40061 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40062 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40065 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40066 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40070 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40071 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40072 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40075 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40076 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40077 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40080 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40081 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40082 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40085 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40086 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40087 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40091 if test "x$SHARED" = "x1" ; then
40095 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40096 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40097 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40100 COND_TOOLKIT_COCOA
="#"
40101 if test "x$TOOLKIT" = "xCOCOA" ; then
40102 COND_TOOLKIT_COCOA
=""
40105 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40106 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40107 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40110 COND_TOOLKIT_GTK
="#"
40111 if test "x$TOOLKIT" = "xGTK" ; then
40112 COND_TOOLKIT_GTK
=""
40115 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40116 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40117 COND_TOOLKIT_GTK_USE_GUI_1
=""
40120 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40121 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40122 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40125 COND_TOOLKIT_MAC
="#"
40126 if test "x$TOOLKIT" = "xMAC" ; then
40127 COND_TOOLKIT_MAC
=""
40130 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40131 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40132 COND_TOOLKIT_MAC_USE_GUI_1
=""
40135 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40136 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40137 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40140 COND_TOOLKIT_MGL
="#"
40141 if test "x$TOOLKIT" = "xMGL" ; then
40142 COND_TOOLKIT_MGL
=""
40145 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40146 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40147 COND_TOOLKIT_MGL_USE_GUI_1
=""
40150 COND_TOOLKIT_MOTIF
="#"
40151 if test "x$TOOLKIT" = "xMOTIF" ; then
40152 COND_TOOLKIT_MOTIF
=""
40155 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40156 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40157 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40160 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40161 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40162 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40165 COND_TOOLKIT_MSW
="#"
40166 if test "x$TOOLKIT" = "xMSW" ; then
40167 COND_TOOLKIT_MSW
=""
40170 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40171 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40172 COND_TOOLKIT_MSW_USE_GUI_1
=""
40175 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40176 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40177 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40180 COND_TOOLKIT_PM
="#"
40181 if test "x$TOOLKIT" = "xPM" ; then
40185 COND_TOOLKIT_PM_USE_GUI_1
="#"
40186 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40187 COND_TOOLKIT_PM_USE_GUI_1
=""
40190 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40191 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40192 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40195 COND_TOOLKIT_WINCE
="#"
40196 if test "x$TOOLKIT" = "xWINCE" ; then
40197 COND_TOOLKIT_WINCE
=""
40200 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40201 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40202 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40205 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40206 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40207 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40210 COND_TOOLKIT_X11
="#"
40211 if test "x$TOOLKIT" = "xX11" ; then
40212 COND_TOOLKIT_X11
=""
40215 COND_TOOLKIT_X11_USE_GUI_1
="#"
40216 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40217 COND_TOOLKIT_X11_USE_GUI_1
=""
40221 if test "x$UNICODE" = "x1" ; then
40225 COND_USE_EXCEPTIONS_0
="#"
40226 if test "x$USE_EXCEPTIONS" = "x0" ; then
40227 COND_USE_EXCEPTIONS_0
=""
40230 COND_USE_EXCEPTIONS_1
="#"
40231 if test "x$USE_EXCEPTIONS" = "x1" ; then
40232 COND_USE_EXCEPTIONS_1
=""
40236 if test "x$USE_GUI" = "x0" ; then
40241 if test "x$USE_GUI" = "x1" ; then
40245 COND_USE_GUI_1_WXUNIV_0
="#"
40246 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40247 COND_USE_GUI_1_WXUNIV_0
=""
40250 COND_USE_GUI_1_WXUNIV_1
="#"
40251 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40252 COND_USE_GUI_1_WXUNIV_1
=""
40255 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40256 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40257 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40260 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40261 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40262 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40265 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40266 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40267 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40270 COND_USE_ODBC_1
="#"
40271 if test "x$USE_ODBC" = "x1" ; then
40275 COND_USE_PLUGINS_0
="#"
40276 if test "x$USE_PLUGINS" = "x0" ; then
40277 COND_USE_PLUGINS_0
=""
40280 COND_USE_SOSYMLINKS_1
="#"
40281 if test "x$USE_SOSYMLINKS" = "x1" ; then
40282 COND_USE_SOSYMLINKS_1
=""
40285 COND_USE_SOVERLINUX_1
="#"
40286 if test "x$USE_SOVERLINUX" = "x1" ; then
40287 COND_USE_SOVERLINUX_1
=""
40290 COND_USE_SOVERSION_0
="#"
40291 if test "x$USE_SOVERSION" = "x0" ; then
40292 COND_USE_SOVERSION_0
=""
40295 COND_USE_SOVERSOLARIS_1
="#"
40296 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40297 COND_USE_SOVERSOLARIS_1
=""
40301 if test "x$USE_XRC" = "x1" ; then
40305 COND_WITH_PLUGIN_SDL_1
="#"
40306 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40307 COND_WITH_PLUGIN_SDL_1
=""
40311 if test "x$WXUNIV" = "x1" ; then
40315 COND_WXUSE_EXPAT_BUILTIN
="#"
40316 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40317 COND_WXUSE_EXPAT_BUILTIN
=""
40320 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40321 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40322 COND_WXUSE_LIBJPEG_BUILTIN
=""
40325 COND_WXUSE_LIBPNG_BUILTIN
="#"
40326 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40327 COND_WXUSE_LIBPNG_BUILTIN
=""
40330 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40331 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40332 COND_WXUSE_LIBTIFF_BUILTIN
=""
40335 COND_WXUSE_ODBC_BUILTIN
="#"
40336 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40337 COND_WXUSE_ODBC_BUILTIN
=""
40340 COND_WXUSE_REGEX_BUILTIN
="#"
40341 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40342 COND_WXUSE_REGEX_BUILTIN
=""
40345 COND_WXUSE_ZLIB_BUILTIN
="#"
40346 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40347 COND_WXUSE_ZLIB_BUILTIN
=""
40350 COND_BUILD_DEBUG
="#"
40351 if test "x$BUILD" = "xdebug" ; then
40352 COND_BUILD_DEBUG
=""
40355 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40356 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40357 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40360 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40361 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40362 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40365 COND_BUILD_DEBUG_UNICODE_0
="#"
40366 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40367 COND_BUILD_DEBUG_UNICODE_0
=""
40370 COND_BUILD_DEBUG_UNICODE_1
="#"
40371 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40372 COND_BUILD_DEBUG_UNICODE_1
=""
40375 COND_BUILD_RELEASE
="#"
40376 if test "x$BUILD" = "xrelease" ; then
40377 COND_BUILD_RELEASE
=""
40380 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40381 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40382 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40385 COND_BUILD_RELEASE_UNICODE_0
="#"
40386 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40387 COND_BUILD_RELEASE_UNICODE_0
=""
40390 COND_BUILD_RELEASE_UNICODE_1
="#"
40391 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40392 COND_BUILD_RELEASE_UNICODE_1
=""
40395 COND_DEBUG_FLAG_1
="#"
40396 if test "x$DEBUG_FLAG" = "x1" ; then
40397 COND_DEBUG_FLAG_1
=""
40400 COND_DEBUG_INFO_0
="#"
40401 if test "x$DEBUG_INFO" = "x0" ; then
40402 COND_DEBUG_INFO_0
=""
40405 COND_DEBUG_INFO_1
="#"
40406 if test "x$DEBUG_INFO" = "x1" ; then
40407 COND_DEBUG_INFO_1
=""
40410 COND_DEPS_TRACKING_0
="#"
40411 if test "x$DEPS_TRACKING" = "x0" ; then
40412 COND_DEPS_TRACKING_0
=""
40415 COND_DEPS_TRACKING_1
="#"
40416 if test "x$DEPS_TRACKING" = "x1" ; then
40417 COND_DEPS_TRACKING_1
=""
40421 if test "x$GCC_PCH" = "x1" ; then
40425 COND_MONOLITHIC_0
="#"
40426 if test "x$MONOLITHIC" = "x0" ; then
40427 COND_MONOLITHIC_0
=""
40430 COND_MONOLITHIC_0_SHARED_0
="#"
40431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40432 COND_MONOLITHIC_0_SHARED_0
=""
40435 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40437 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40440 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40441 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40442 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40445 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40446 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40447 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40450 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40451 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40452 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40455 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40456 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40457 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40460 COND_MONOLITHIC_0_SHARED_1
="#"
40461 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40462 COND_MONOLITHIC_0_SHARED_1
=""
40465 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40467 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40470 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40472 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40475 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40477 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40480 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40482 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40485 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40487 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40490 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40491 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40492 COND_MONOLITHIC_0_USE_ODBC_1
=""
40495 COND_MONOLITHIC_1
="#"
40496 if test "x$MONOLITHIC" = "x1" ; then
40497 COND_MONOLITHIC_1
=""
40500 COND_MONOLITHIC_1_SHARED_0
="#"
40501 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40502 COND_MONOLITHIC_1_SHARED_0
=""
40505 COND_MONOLITHIC_1_SHARED_1
="#"
40506 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40507 COND_MONOLITHIC_1_SHARED_1
=""
40510 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40511 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40512 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40515 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40516 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40517 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40520 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40521 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40522 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40525 COND_PLATFORM_MACOSX_1
="#"
40526 if test "x$PLATFORM_MACOSX" = "x1" ; then
40527 COND_PLATFORM_MACOSX_1
=""
40530 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40532 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40535 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40537 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40540 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40542 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40545 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40547 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40550 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40552 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40555 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40556 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40557 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40560 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40562 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40565 COND_PLATFORM_MAC_1
="#"
40566 if test "x$PLATFORM_MAC" = "x1" ; then
40567 COND_PLATFORM_MAC_1
=""
40570 COND_PLATFORM_OS2_1
="#"
40571 if test "x$PLATFORM_OS2" = "x1" ; then
40572 COND_PLATFORM_OS2_1
=""
40575 COND_PLATFORM_UNIX_0
="#"
40576 if test "x$PLATFORM_UNIX" = "x0" ; then
40577 COND_PLATFORM_UNIX_0
=""
40580 COND_PLATFORM_UNIX_1
="#"
40581 if test "x$PLATFORM_UNIX" = "x1" ; then
40582 COND_PLATFORM_UNIX_1
=""
40585 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40586 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40587 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40590 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40591 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40592 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40595 COND_PLATFORM_WIN32_0
="#"
40596 if test "x$PLATFORM_WIN32" = "x0" ; then
40597 COND_PLATFORM_WIN32_0
=""
40600 COND_PLATFORM_WIN32_1
="#"
40601 if test "x$PLATFORM_WIN32" = "x1" ; then
40602 COND_PLATFORM_WIN32_1
=""
40606 if test "x$SHARED" = "x0" ; then
40610 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40611 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40612 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40615 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40616 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40617 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40620 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40621 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40622 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40625 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40627 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40630 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40631 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40632 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40635 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40636 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40637 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40640 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40641 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40642 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40645 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40646 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40647 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40651 if test "x$SHARED" = "x1" ; then
40655 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40656 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40657 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40660 COND_TOOLKIT_COCOA
="#"
40661 if test "x$TOOLKIT" = "xCOCOA" ; then
40662 COND_TOOLKIT_COCOA
=""
40665 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40666 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40667 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40670 COND_TOOLKIT_GTK
="#"
40671 if test "x$TOOLKIT" = "xGTK" ; then
40672 COND_TOOLKIT_GTK
=""
40675 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40676 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40677 COND_TOOLKIT_GTK_USE_GUI_1
=""
40680 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40681 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40682 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40685 COND_TOOLKIT_MAC
="#"
40686 if test "x$TOOLKIT" = "xMAC" ; then
40687 COND_TOOLKIT_MAC
=""
40690 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40691 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40692 COND_TOOLKIT_MAC_USE_GUI_1
=""
40695 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40696 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40697 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40700 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40701 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40702 COND_TOOLKIT_MAC_WXUNIV_0
=""
40705 COND_TOOLKIT_MGL
="#"
40706 if test "x$TOOLKIT" = "xMGL" ; then
40707 COND_TOOLKIT_MGL
=""
40710 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40711 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40712 COND_TOOLKIT_MGL_USE_GUI_1
=""
40715 COND_TOOLKIT_MOTIF
="#"
40716 if test "x$TOOLKIT" = "xMOTIF" ; then
40717 COND_TOOLKIT_MOTIF
=""
40720 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40721 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40722 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40725 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40726 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40730 COND_TOOLKIT_MSW
="#"
40731 if test "x$TOOLKIT" = "xMSW" ; then
40732 COND_TOOLKIT_MSW
=""
40735 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40736 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40737 COND_TOOLKIT_MSW_USE_GUI_1
=""
40740 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40741 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40742 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40745 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40746 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40747 COND_TOOLKIT_MSW_WXUNIV_0
=""
40750 COND_TOOLKIT_PM
="#"
40751 if test "x$TOOLKIT" = "xPM" ; then
40755 COND_TOOLKIT_PM_USE_GUI_1
="#"
40756 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40757 COND_TOOLKIT_PM_USE_GUI_1
=""
40760 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40761 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40762 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40765 COND_TOOLKIT_PM_WXUNIV_0
="#"
40766 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40767 COND_TOOLKIT_PM_WXUNIV_0
=""
40770 COND_TOOLKIT_WINCE
="#"
40771 if test "x$TOOLKIT" = "xWINCE" ; then
40772 COND_TOOLKIT_WINCE
=""
40775 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40776 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40777 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40780 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40781 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40782 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40785 COND_TOOLKIT_X11
="#"
40786 if test "x$TOOLKIT" = "xX11" ; then
40787 COND_TOOLKIT_X11
=""
40790 COND_TOOLKIT_X11_USE_GUI_1
="#"
40791 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40792 COND_TOOLKIT_X11_USE_GUI_1
=""
40796 if test "x$UNICODE" = "x1" ; then
40800 COND_USE_EXCEPTIONS_0
="#"
40801 if test "x$USE_EXCEPTIONS" = "x0" ; then
40802 COND_USE_EXCEPTIONS_0
=""
40805 COND_USE_EXCEPTIONS_1
="#"
40806 if test "x$USE_EXCEPTIONS" = "x1" ; then
40807 COND_USE_EXCEPTIONS_1
=""
40811 if test "x$USE_GUI" = "x0" ; then
40816 if test "x$USE_GUI" = "x1" ; then
40820 COND_USE_GUI_1_WXUNIV_0
="#"
40821 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40822 COND_USE_GUI_1_WXUNIV_0
=""
40825 COND_USE_GUI_1_WXUNIV_1
="#"
40826 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40827 COND_USE_GUI_1_WXUNIV_1
=""
40830 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40831 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40832 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40835 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40836 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40837 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40840 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40841 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40842 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40845 COND_USE_ODBC_1
="#"
40846 if test "x$USE_ODBC" = "x1" ; then
40850 COND_USE_PLUGINS_0
="#"
40851 if test "x$USE_PLUGINS" = "x0" ; then
40852 COND_USE_PLUGINS_0
=""
40855 COND_USE_SOSYMLINKS_1
="#"
40856 if test "x$USE_SOSYMLINKS" = "x1" ; then
40857 COND_USE_SOSYMLINKS_1
=""
40860 COND_USE_SOVERLINUX_1
="#"
40861 if test "x$USE_SOVERLINUX" = "x1" ; then
40862 COND_USE_SOVERLINUX_1
=""
40865 COND_USE_SOVERSION_0
="#"
40866 if test "x$USE_SOVERSION" = "x0" ; then
40867 COND_USE_SOVERSION_0
=""
40870 COND_USE_SOVERSOLARIS_1
="#"
40871 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40872 COND_USE_SOVERSOLARIS_1
=""
40875 COND_WITH_PLUGIN_SDL_1
="#"
40876 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40877 COND_WITH_PLUGIN_SDL_1
=""
40881 if test "x$WXUNIV" = "x1" ; then
40885 COND_WXUSE_EXPAT_BUILTIN
="#"
40886 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40887 COND_WXUSE_EXPAT_BUILTIN
=""
40890 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40891 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40892 COND_WXUSE_LIBJPEG_BUILTIN
=""
40895 COND_WXUSE_LIBPNG_BUILTIN
="#"
40896 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40897 COND_WXUSE_LIBPNG_BUILTIN
=""
40900 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40901 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40902 COND_WXUSE_LIBTIFF_BUILTIN
=""
40905 COND_WXUSE_ODBC_BUILTIN
="#"
40906 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40907 COND_WXUSE_ODBC_BUILTIN
=""
40910 COND_WXUSE_REGEX_BUILTIN
="#"
40911 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40912 COND_WXUSE_REGEX_BUILTIN
=""
40915 COND_WXUSE_ZLIB_BUILTIN
="#"
40916 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40917 COND_WXUSE_ZLIB_BUILTIN
=""
40922 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40923 { { 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
40924 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;}
40925 { (exit 1); exit 1; }; }
40929 if test "$wxUSE_SHARED" = "yes"; then
40931 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
40932 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
40936 EXE_LINKER
="$CXX -o"
40940 GCC_PRAGMA_FLAGS
=""
40941 if test $GCC_PCH = 1 ; then
40942 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40945 powerpc
-*-darwin* )
40946 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40949 if test "$wxUSE_STL" = "yes" -o \
40950 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40951 "$wxUSE_NO_RTTI" != "yes"; then
40952 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40953 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40954 cat >conftest.
$ac_ext <<_ACEOF
40957 cat confdefs.h
>>conftest.
$ac_ext
40958 cat >>conftest.
$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40964 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40965 #error "Not GCC 3.2 or greater"
40972 rm -f conftest.
$ac_objext
40973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40974 (eval $ac_compile) 2>conftest.er1
40976 grep -v '^ *+' conftest.er1
>conftest.err
40978 cat conftest.err
>&5
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); } &&
40981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40983 (eval $ac_try) 2>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); }; } &&
40987 { ac_try
='test -s conftest.$ac_objext'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; }; then
40993 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40994 echo "$as_me:$LINENO: result: yes" >&5
40995 echo "${ECHO_T}yes" >&6
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.
$ac_ext >&5
41000 echo "$as_me:$LINENO: result: no" >&5
41001 echo "${ECHO_T}no" >&6
41003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41008 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41011 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41075 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41076 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41077 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41078 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 cat >conftest.
make <<\_ACEOF
41083 @
echo 'ac_maketemp="$(MAKE)"'
41085 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41086 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41087 if test -n "$ac_maketemp"; then
41088 eval ac_cv_prog_make_
${ac_make}_set
=yes
41090 eval ac_cv_prog_make_
${ac_make}_set
=no
41092 rm -f conftest.
make
41094 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41095 echo "$as_me:$LINENO: result: yes" >&5
41096 echo "${ECHO_T}yes" >&6
41099 echo "$as_me:$LINENO: result: no" >&5
41100 echo "${ECHO_T}no" >&6
41101 SET_MAKE
="MAKE=${MAKE-make}"
41106 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41109 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41112 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41115 ac_config_files
="$ac_config_files version-script Makefile"
41118 ac_config_commands
="$ac_config_commands wx-config
41124 if test "$wxUSE_GUI" = "yes"; then
41125 SUBDIRS
="samples demos utils contrib"
41126 else SUBDIRS
="samples utils"
41131 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41132 if test "${with_cppunit_prefix+set}" = set; then
41133 withval
="$with_cppunit_prefix"
41134 cppunit_config_prefix
="$withval"
41136 cppunit_config_prefix
=""
41139 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41140 if test "${with_cppunit_exec_prefix+set}" = set; then
41141 withval
="$with_cppunit_exec_prefix"
41142 cppunit_config_exec_prefix
="$withval"
41144 cppunit_config_exec_prefix
=""
41147 if test x
$cppunit_config_exec_prefix != x
; then
41148 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41149 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41150 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41153 if test x
$cppunit_config_prefix != x
; then
41154 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41155 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41156 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41160 # Extract the first word of "cppunit-config", so it can be a program name with args.
41161 set dummy cppunit
-config; ac_word
=$2
41162 echo "$as_me:$LINENO: checking for $ac_word" >&5
41163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41164 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41165 echo $ECHO_N "(cached) $ECHO_C" >&6
41167 case $CPPUNIT_CONFIG in
41169 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41173 for as_dir
in $PATH
41176 test -z "$as_dir" && as_dir
=.
41177 for ac_exec_ext
in '' $ac_executable_extensions; do
41178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41179 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41186 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41190 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41192 if test -n "$CPPUNIT_CONFIG"; then
41193 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41194 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41196 echo "$as_me:$LINENO: result: no" >&5
41197 echo "${ECHO_T}no" >&6
41200 cppunit_version_min
=1.8.0
41202 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41203 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41205 if test "$CPPUNIT_CONFIG" = "no" ; then
41208 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41209 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41210 cppunit_version
=`$CPPUNIT_CONFIG --version`
41212 cppunit_major_version
=`echo $cppunit_version | \
41213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41214 cppunit_minor_version
=`echo $cppunit_version | \
41215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41216 cppunit_micro_version
=`echo $cppunit_version | \
41217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41219 cppunit_major_min
=`echo $cppunit_version_min | \
41220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41221 cppunit_minor_min
=`echo $cppunit_version_min | \
41222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41223 cppunit_micro_min
=`echo $cppunit_version_min | \
41224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41226 cppunit_version_proper
=`expr \
41227 $cppunit_major_version \> $cppunit_major_min \| \
41228 $cppunit_major_version \= $cppunit_major_min \& \
41229 $cppunit_minor_version \> $cppunit_minor_min \| \
41230 $cppunit_major_version \= $cppunit_major_min \& \
41231 $cppunit_minor_version \= $cppunit_minor_min \& \
41232 $cppunit_micro_version \>= $cppunit_micro_min `
41234 if test "$cppunit_version_proper" = "1" ; then
41235 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41236 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41238 echo "$as_me:$LINENO: result: no" >&5
41239 echo "${ECHO_T}no" >&6
41244 if test "x$no_cppunit" = x
; then
41245 SUBDIRS
="$SUBDIRS tests"
41256 for subdir
in `echo $SUBDIRS`; do
41257 if test -d ${srcdir}/${subdir} ; then
41258 if test "$wxUSE_GUI" = "yes"; then
41259 if test ${subdir} = "samples"; then
41260 makefiles
="samples/Makefile.in $makefiles"
41261 for sample
in `echo $SAMPLES_SUBDIRS`; do
41262 if test -d $srcdir/samples
/$sample; then
41263 makefiles
="samples/$sample/Makefile.in $makefiles"
41266 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41268 else if test ${subdir} = "samples"; then
41269 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41270 elif test ${subdir} = "utils"; then
41271 makefiles
="utils/HelpGen/Makefile.in \
41272 utils/HelpGen/src/Makefile.in \
41273 utils/tex2rtf/Makefile.in \
41274 utils/tex2rtf/src/Makefile.in"
41275 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41279 for mkin
in $makefiles ; do
41280 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41281 ac_config_files
="$ac_config_files $mk"
41288 cat >confcache
<<\_ACEOF
41289 # This file is a shell script that caches the results of configure
41290 # tests run on this system so they can be shared between configure
41291 # scripts and configure runs, see configure's option --config-cache.
41292 # It is not useful on other systems. If it contains results you don't
41293 # want to keep, you may remove or edit it.
41295 # config.status only pays attention to the cache file if you give it
41296 # the --recheck option to rerun configure.
41298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41300 # following values.
41304 # The following way of writing the cache mishandles newlines in values,
41305 # but we know of no workaround that is simple, portable, and efficient.
41306 # So, don't put newlines in cache variables' values.
41307 # Ultrix sh set writes to stderr and can't be redirected directly,
41308 # and sets the high bit in the cache file unless we assign to the vars.
41311 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41313 # `set' does not quote correctly, so add quotes (double-quote
41314 # substitution turns \\\\ into \\, and sed turns \\ into \).
41317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41320 # `set' quotes correctly as required by POSIX, so do not add quotes.
41322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41329 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41333 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41334 if test -w $cache_file; then
41335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41336 cat confcache
>$cache_file
41338 echo "not updating unwritable cache $cache_file"
41343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41344 # Let make expand exec_prefix.
41345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41349 # trailing colons and then remove the whole line if VPATH becomes empty
41350 # (actually we leave an empty line to preserve line numbers).
41351 if test "x$srcdir" = x.
; then
41352 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41353 s/:*\$(srcdir):*/:/;
41354 s/:*\${srcdir}:*/:/;
41356 s/^\([^=]*=[ ]*\):*/\1/;
41362 DEFS
=-DHAVE_CONFIG_H
41366 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41367 # 1. Remove the extension, and $U if already installed.
41368 ac_i
=`echo "$ac_i" |
41369 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41371 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41372 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41374 LIBOBJS
=$ac_libobjs
41376 LTLIBOBJS
=$ac_ltlibobjs
41380 : ${CONFIG_STATUS=./config.status}
41381 ac_clean_files_save
=$ac_clean_files
41382 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41383 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41384 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41385 cat >$CONFIG_STATUS <<_ACEOF
41387 # Generated by $as_me.
41388 # Run this file to recreate the current configuration.
41389 # Compiler output produced by configure, useful for debugging
41390 # configure, is in config.log if it exists.
41393 ac_cs_recheck=false
41395 SHELL=\${CONFIG_SHELL-$SHELL}
41398 cat >>$CONFIG_STATUS <<\_ACEOF
41399 ## --------------------- ##
41400 ## M4sh Initialization. ##
41401 ## --------------------- ##
41403 # Be Bourne compatible
41404 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41407 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41408 # is contrary to our usage. Disable this feature.
41409 alias -g '${1+"$@"}'='"$@"'
41410 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41413 DUALCASE
=1; export DUALCASE
# for MKS sh
41415 # Support unset when possible.
41416 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41423 # Work around bugs in pre-3.0 UWIN ksh.
41424 $as_unset ENV MAIL MAILPATH
41431 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41432 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41433 LC_TELEPHONE LC_TIME
41435 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41436 eval $as_var=C
; export $as_var
41442 # Required to use basename.
41443 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41449 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41450 as_basename
=basename
41456 # Name of the executable.
41457 as_me
=`$as_basename "$0" ||
41458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41459 X"$0" : 'X\(//\)$' \| \
41460 X"$0" : 'X\(/\)$' \| \
41461 . : '\(.\)' 2>/dev/null ||
41463 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41464 /^X\/\(\/\/\)$/{ s//\1/; q; }
41465 /^X\/\(\/\).*/{ s//\1/; q; }
41469 # PATH needs CR, and LINENO needs CR and PATH.
41470 # Avoid depending upon Character Ranges.
41471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41474 as_cr_digits
='0123456789'
41475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41477 # The user is always right.
41478 if test "${PATH_SEPARATOR+set}" != set; then
41479 echo "#! /bin/sh" >conf$$.sh
41480 echo "exit 0" >>conf$$.sh
41482 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41491 as_lineno_1
=$LINENO
41492 as_lineno_2
=$LINENO
41493 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41494 test "x$as_lineno_1" != "x$as_lineno_2" &&
41495 test "x$as_lineno_3" = "x$as_lineno_2" || {
41496 # Find who we are. Look in the path if we contain no path at all
41499 *[\\/]* ) as_myself
=$0 ;;
41500 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41501 for as_dir
in $PATH
41504 test -z "$as_dir" && as_dir
=.
41505 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41510 # We did not find ourselves, most probably we were run as `sh COMMAND'
41511 # in which case we are not to be found in the path.
41512 if test "x$as_myself" = x
; then
41515 if test ! -f "$as_myself"; then
41516 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41517 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41518 { (exit 1); exit 1; }; }
41520 case $CONFIG_SHELL in
41522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41523 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41526 test -z "$as_dir" && as_dir
=.
41527 for as_base
in sh bash ksh sh5
; do
41530 if ("$as_dir/$as_base" -c '
41531 as_lineno_1=$LINENO
41532 as_lineno_2=$LINENO
41533 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41534 test "x$as_lineno_1" != "x$as_lineno_2" &&
41535 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41536 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41537 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41538 CONFIG_SHELL
=$as_dir/$as_base
41539 export CONFIG_SHELL
41540 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41548 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41549 # uniformly replaced by the line number. The first 'sed' inserts a
41550 # line-number line before each line; the second 'sed' does the real
41551 # work. The second script uses 'N' to pair each line-number line
41552 # with the numbered line, and appends trailing '-' during
41553 # substitution so that $LINENO is not a special case at line end.
41554 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41555 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41556 sed '=' <$as_myself |
41561 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41564 s,^['$as_cr_digits']*\n,,
41565 ' >$as_me.lineno
&&
41566 chmod +x
$as_me.lineno
||
41567 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41568 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41569 { (exit 1); exit 1; }; }
41571 # Don't try to exec as it changes $[0], causing all sort of problems
41572 # (the dirname of $[0] is not the place where we might find the
41573 # original and so on. Autoconf is especially sensible to this).
41575 # Exit status is that of the last command.
41580 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41581 *c
*,-n*) ECHO_N
= ECHO_C
='
41583 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41584 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41587 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41593 rm -f conf$$ conf$$.exe conf$$.
file
41595 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41596 # We could just check for DJGPP; but this test a) works b) is more generic
41597 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41598 if test -f conf$$.exe
; then
41599 # Don't use ln at all; we don't have any links
41604 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41609 rm -f conf$$ conf$$.exe conf$$.
file
41611 if mkdir -p .
2>/dev
/null
; then
41614 test -d .
/-p && rmdir .
/-p
41618 as_executable_p
="test -f"
41620 # Sed expression to map a string onto a valid CPP name.
41621 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41623 # Sed expression to map a string onto a valid variable name.
41624 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41628 # We need space, tab and new line, in precisely that order.
41638 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41639 # report actual input values of CONFIG_FILES etc. instead of their
41640 # values after options handling. Logging --version etc. is OK.
41644 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41645 ## Running $as_me. ##
41650 This file was extended by wxWidgets $as_me 2.5.3, which was
41651 generated by GNU Autoconf 2.59. Invocation command line was
41653 CONFIG_FILES = $CONFIG_FILES
41654 CONFIG_HEADERS = $CONFIG_HEADERS
41655 CONFIG_LINKS = $CONFIG_LINKS
41656 CONFIG_COMMANDS = $CONFIG_COMMANDS
41660 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41664 # Files that config.status was made for.
41665 if test -n "$ac_config_files"; then
41666 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41669 if test -n "$ac_config_headers"; then
41670 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41673 if test -n "$ac_config_links"; then
41674 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41677 if test -n "$ac_config_commands"; then
41678 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41681 cat >>$CONFIG_STATUS <<\_ACEOF
41684 \`$as_me' instantiates files from templates according to the
41685 current configuration.
41687 Usage: $0 [OPTIONS] [FILE]...
41689 -h, --help print this help, then exit
41690 -V, --version print version number, then exit
41691 -q, --quiet do not print progress messages
41692 -d, --debug don't remove temporary files
41693 --recheck update $as_me by reconfiguring in the same conditions
41694 --file=FILE[:TEMPLATE]
41695 instantiate the configuration file FILE
41696 --header=FILE[:TEMPLATE]
41697 instantiate the configuration header FILE
41699 Configuration files:
41702 Configuration headers:
41705 Configuration commands:
41708 Report bugs to <bug-autoconf@gnu.org>."
41711 cat >>$CONFIG_STATUS <<_ACEOF
41713 wxWidgets config.status 2.5.3
41714 configured by $0, generated by GNU Autoconf 2.59,
41715 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41717 Copyright (C) 2003 Free Software Foundation, Inc.
41718 This config.status script is free software; the Free Software Foundation
41719 gives unlimited permission to copy, distribute and modify it."
41724 cat >>$CONFIG_STATUS <<\_ACEOF
41725 # If no file are specified by the user, then we need to provide default
41726 # value. By we need to know if files were specified by the user.
41732 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41733 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41741 *) # This is not an option, so the user has probably given explicit
41744 ac_need_defaults
=false
;;
41748 # Handling of the options.
41750 cat >>$CONFIG_STATUS <<\_ACEOF
41751 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41753 --version | --vers* | -V )
41754 echo "$ac_cs_version"; exit 0 ;;
41756 # Conflict between --help and --header
41757 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41758 Try \`$0 --help' for more information." >&5
41759 echo "$as_me: error: ambiguous option: $1
41760 Try \`$0 --help' for more information." >&2;}
41761 { (exit 1); exit 1; }; };;
41762 --help | --hel | -h )
41763 echo "$ac_cs_usage"; exit 0 ;;
41764 --debug | --d* | -d )
41766 --file | --fil | --fi | --f )
41768 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41769 ac_need_defaults
=false
;;
41770 --header | --heade | --head | --hea )
41772 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41773 ac_need_defaults
=false
;;
41774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41775 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41778 # This is an error.
41779 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41780 Try \`$0 --help' for more information." >&5
41781 echo "$as_me: error: unrecognized option: $1
41782 Try \`$0 --help' for more information." >&2;}
41783 { (exit 1); exit 1; }; } ;;
41785 *) ac_config_targets
="$ac_config_targets $1" ;;
41791 ac_configure_extra_args
=
41793 if $ac_cs_silent; then
41795 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41799 cat >>$CONFIG_STATUS <<_ACEOF
41800 if \$ac_cs_recheck; then
41801 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41802 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41807 cat >>$CONFIG_STATUS <<_ACEOF
41809 # INIT-COMMANDS section.
41812 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41813 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41814 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41822 cat >>$CONFIG_STATUS <<\_ACEOF
41823 for ac_config_target
in $ac_config_targets
41825 case "$ac_config_target" in
41826 # Handling of arguments.
41827 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41828 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41829 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41830 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41831 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41832 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41833 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41834 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41835 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41836 { (exit 1); exit 1; }; };;
41840 # If the user did not use the arguments to specify the items to instantiate,
41841 # then the envvar interface is used. Set only those that are not.
41842 # We use the long form for the default assignment because of an extremely
41843 # bizarre bug on SunOS 4.1.3.
41844 if $ac_need_defaults; then
41845 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41846 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41847 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41850 # Have a temporary directory for convenience. Make it in the build tree
41851 # simply because there is no reason to put it here, and in addition,
41852 # creating and moving files from /tmp can sometimes cause problems.
41853 # Create a temporary directory, and hook for its removal unless debugging.
41856 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41857 trap '{ (exit 1); exit 1; }' 1 2 13 15
41860 # Create a (secure) tmp directory for tmp files.
41863 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41864 test -n "$tmp" && test -d "$tmp"
41867 tmp
=.
/confstat$$
-$RANDOM
41868 (umask 077 && mkdir $tmp)
41871 echo "$me: cannot create a temporary directory in ." >&2
41872 { (exit 1); exit 1; }
41877 cat >>$CONFIG_STATUS <<_ACEOF
41880 # CONFIG_FILES section.
41883 # No need to generate the scripts if there are no CONFIG_FILES.
41884 # This happens for instance when ./config.status config.h
41885 if test -n "\$CONFIG_FILES"; then
41886 # Protect against being on the right side of a sed subst in config.status.
41887 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41888 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41889 s,@SHELL@,$SHELL,;t t
41890 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41891 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41892 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41893 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41894 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41895 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41896 s,@exec_prefix@,$exec_prefix,;t t
41897 s,@prefix@,$prefix,;t t
41898 s,@program_transform_name@,$program_transform_name,;t t
41899 s,@bindir@,$bindir,;t t
41900 s,@sbindir@,$sbindir,;t t
41901 s,@libexecdir@,$libexecdir,;t t
41902 s,@datadir@,$datadir,;t t
41903 s,@sysconfdir@,$sysconfdir,;t t
41904 s,@sharedstatedir@,$sharedstatedir,;t t
41905 s,@localstatedir@,$localstatedir,;t t
41906 s,@libdir@,$libdir,;t t
41907 s,@includedir@,$includedir,;t t
41908 s,@oldincludedir@,$oldincludedir,;t t
41909 s,@infodir@,$infodir,;t t
41910 s,@mandir@,$mandir,;t t
41911 s,@build_alias@,$build_alias,;t t
41912 s,@host_alias@,$host_alias,;t t
41913 s,@target_alias@,$target_alias,;t t
41914 s,@DEFS@,$DEFS,;t t
41915 s,@ECHO_C@,$ECHO_C,;t t
41916 s,@ECHO_N@,$ECHO_N,;t t
41917 s,@ECHO_T@,$ECHO_T,;t t
41918 s,@LIBS@,$LIBS,;t t
41919 s,@build@,$build,;t t
41920 s,@build_cpu@,$build_cpu,;t t
41921 s,@build_vendor@,$build_vendor,;t t
41922 s,@build_os@,$build_os,;t t
41923 s,@host@,$host,;t t
41924 s,@host_cpu@,$host_cpu,;t t
41925 s,@host_vendor@,$host_vendor,;t t
41926 s,@host_os@,$host_os,;t t
41927 s,@target@,$target,;t t
41928 s,@target_cpu@,$target_cpu,;t t
41929 s,@target_vendor@,$target_vendor,;t t
41930 s,@target_os@,$target_os,;t t
41932 s,@CFLAGS@,$CFLAGS,;t t
41933 s,@LDFLAGS@,$LDFLAGS,;t t
41934 s,@CPPFLAGS@,$CPPFLAGS,;t t
41935 s,@ac_ct_CC@,$ac_ct_CC,;t t
41936 s,@EXEEXT@,$EXEEXT,;t t
41937 s,@OBJEXT@,$OBJEXT,;t t
41939 s,@EGREP@,$EGREP,;t t
41941 s,@CXXFLAGS@,$CXXFLAGS,;t t
41942 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41943 s,@RANLIB@,$RANLIB,;t t
41944 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41946 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41947 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41948 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41949 s,@STRIP@,$STRIP,;t t
41950 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41951 s,@LN_S@,$LN_S,;t t
41952 s,@CXXCPP@,$CXXCPP,;t t
41953 s,@subdirs@,$subdirs,;t t
41954 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41955 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41956 s,@GTK_LIBS@,$GTK_LIBS,;t t
41957 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41958 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41959 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41960 s,@X_CFLAGS@,$X_CFLAGS,;t t
41961 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41962 s,@X_LIBS@,$X_LIBS,;t t
41963 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41964 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41965 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41966 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41967 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41968 s,@RESCOMP@,$RESCOMP,;t t
41969 s,@DEREZ@,$DEREZ,;t t
41970 s,@SETFILE@,$SETFILE,;t t
41971 s,@LIBICONV@,$LIBICONV,;t t
41972 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41973 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41974 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41975 s,@SDL_LIBS@,$SDL_LIBS,;t t
41976 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41977 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41978 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41979 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41980 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41981 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41982 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41983 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41984 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41985 s,@VENDOR@,$VENDOR,;t t
41986 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41987 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
41988 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
41989 s,@WXUNIV@,$WXUNIV,;t t
41990 s,@MONOLITHIC@,$MONOLITHIC,;t t
41991 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41992 s,@EXTRALIBS@,$EXTRALIBS,;t t
41993 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41994 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41995 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41996 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41997 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41998 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41999 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42000 s,@UNICODE@,$UNICODE,;t t
42001 s,@BUILD@,$BUILD,;t t
42002 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42003 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42004 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42005 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42006 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42007 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42008 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42009 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42010 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42011 s,@SET_MAKE@,$SET_MAKE,;t t
42012 s,@MAKE_SET@,$MAKE_SET,;t t
42013 s,@ac_ct_AR@,$ac_ct_AR,;t t
42014 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42016 s,@ac_ct_NM@,$ac_ct_NM,;t t
42017 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42018 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42019 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42020 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42021 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42022 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42023 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42024 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42025 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42026 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42027 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42028 s,@LIBPREFIX@,$LIBPREFIX,;t t
42029 s,@LIBEXT@,$LIBEXT,;t t
42030 s,@DLLPREFIX@,$DLLPREFIX,;t t
42031 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42032 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42033 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42034 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42035 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42036 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42037 s,@PIC_FLAG@,$PIC_FLAG,;t t
42038 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42039 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42040 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42041 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42042 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42043 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42044 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42045 s,@GCC_PCH@,$GCC_PCH,;t t
42046 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42047 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42048 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42049 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42050 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42051 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42052 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42053 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42054 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42055 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42056 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42057 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42058 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42059 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42060 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42061 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42062 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42063 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42064 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
42065 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42066 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42067 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42068 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42069 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42070 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
42071 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42072 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42073 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42074 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42075 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42076 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42077 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42078 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42079 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42080 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42081 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42082 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42083 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42084 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42085 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42086 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42087 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42088 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42089 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42090 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42091 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42092 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42093 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42094 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42095 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42096 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42097 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42098 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42099 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42100 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42101 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42102 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42103 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42104 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42105 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42106 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42107 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42108 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42109 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42110 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42111 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42112 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42113 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42114 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42115 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42116 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42117 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42118 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42119 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42120 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42121 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42122 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42123 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42124 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42125 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42126 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42127 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42128 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42129 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42130 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42131 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42132 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42133 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42134 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42135 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42136 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42137 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42138 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42139 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42140 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42141 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42142 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42143 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42144 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42145 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42146 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42147 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42148 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42149 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42150 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42151 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42152 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42153 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42154 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42155 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42156 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42157 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42158 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42159 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42160 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42161 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42162 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42163 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42164 s,@SHARED@,$SHARED,;t t
42165 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42166 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42167 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42168 s,@USE_GUI@,$USE_GUI,;t t
42169 s,@AFMINSTALL@,$AFMINSTALL,;t t
42170 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42171 s,@TOOLKIT@,$TOOLKIT,;t t
42172 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42173 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42174 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42175 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42176 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42177 s,@cross_compiling@,$cross_compiling,;t t
42178 s,@WIDGET_SET@,$WIDGET_SET,;t t
42179 s,@WX_RELEASE@,$WX_RELEASE,;t t
42180 s,@WX_VERSION@,$WX_VERSION,;t t
42181 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42182 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42183 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42184 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42185 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42186 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42187 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42188 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42189 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42190 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42191 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42192 s,@EXE_LINKER@,$EXE_LINKER,;t t
42193 s,@GUIDIST@,$GUIDIST,;t t
42194 s,@DISTDIR@,$DISTDIR,;t t
42195 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42196 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42197 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42198 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42199 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42200 s,@RESFLAGS@,$RESFLAGS,;t t
42201 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42202 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42203 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42204 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42205 s,@MACRESCOMP@,$MACRESCOMP,;t t
42206 s,@MACSETFILE@,$MACSETFILE,;t t
42207 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42209 s,@DLLTOOL@,$DLLTOOL,;t t
42210 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42211 s,@LIBOBJS@,$LIBOBJS,;t t
42212 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42217 cat >>$CONFIG_STATUS <<\_ACEOF
42218 # Split the substitutions into bite-sized pieces for seds with
42219 # small command number limits, like on Digital OSF/1 and HP-UX.
42220 ac_max_sed_lines
=48
42221 ac_sed_frag
=1 # Number of current file.
42222 ac_beg
=1 # First line for current file.
42223 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42226 while $ac_more_lines; do
42227 if test $ac_beg -gt 1; then
42228 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42230 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42232 if test ! -s $tmp/subs.frag
; then
42233 ac_more_lines
=false
42235 # The purpose of the label and of the branching condition is to
42236 # speed up the sed processing (if there are no `@' at all, there
42237 # is no need to browse any of the substitutions).
42238 # These are the two extra sed commands mentioned above.
42240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42241 if test -z "$ac_sed_cmds"; then
42242 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42244 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42246 ac_sed_frag
=`expr $ac_sed_frag + 1`
42248 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42251 if test -z "$ac_sed_cmds"; then
42254 fi # test -n "$CONFIG_FILES"
42257 cat >>$CONFIG_STATUS <<\_ACEOF
42258 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42259 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42261 - | *:- | *:-:* ) # input from stdin
42263 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42264 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42265 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42266 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42267 * ) ac_file_in
=$ac_file.
in ;;
42270 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42271 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42272 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42273 X"$ac_file" : 'X\(//\)[^/]' \| \
42274 X"$ac_file" : 'X\(//\)$' \| \
42275 X"$ac_file" : 'X\(/\)' \| \
42276 . : '\(.\)' 2>/dev/null ||
42278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42280 /^X\(\/\/\)$/{ s//\1/; q; }
42281 /^X\(\/\).*/{ s//\1/; q; }
42283 { if $as_mkdir_p; then
42288 while test ! -d "$as_dir"; do
42289 as_dirs
="$as_dir $as_dirs"
42290 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42292 X"$as_dir" : 'X\(//\)[^/]' \| \
42293 X"$as_dir" : 'X\(//\)$' \| \
42294 X"$as_dir" : 'X\(/\)' \| \
42295 . : '\(.\)' 2>/dev/null ||
42297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42299 /^X\(\/\/\)$/{ s//\1/; q; }
42300 /^X\(\/\).*/{ s//\1/; q; }
42303 test ! -n "$as_dirs" || mkdir $as_dirs
42304 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42305 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42306 { (exit 1); exit 1; }; }; }
42310 if test "$ac_dir" != .
; then
42311 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42312 # A "../" for each directory in $ac_dir_suffix.
42313 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42315 ac_dir_suffix
= ac_top_builddir
=
42319 .
) # No --srcdir option. We are building in place.
42321 if test -z "$ac_top_builddir"; then
42324 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42326 [\\/]* | ?
:[\\/]* ) # Absolute path.
42327 ac_srcdir
=$srcdir$ac_dir_suffix;
42328 ac_top_srcdir
=$srcdir ;;
42329 *) # Relative path.
42330 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42331 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42334 # Do not use `cd foo && pwd` to compute absolute paths, because
42335 # the directories may not exist.
42337 .
) ac_abs_builddir
="$ac_dir";;
42340 .
) ac_abs_builddir
=`pwd`;;
42341 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42342 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42345 case $ac_abs_builddir in
42346 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42348 case ${ac_top_builddir}.
in
42349 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42350 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42351 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42354 case $ac_abs_builddir in
42355 .
) ac_abs_srcdir
=$ac_srcdir;;
42358 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42359 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42360 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42363 case $ac_abs_builddir in
42364 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42366 case $ac_top_srcdir in
42367 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42368 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42369 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42375 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42376 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42379 # Let's still pretend it is `configure' which instantiates (i.e., don't
42380 # use $as_me), people would be surprised to read:
42381 # /* config.h. Generated by config.status. */
42382 if test x
"$ac_file" = x
-; then
42385 configure_input
="$ac_file. "
42387 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42388 sed 's,.*/,,'` by configure."
42390 # First look for the input files in the build tree, otherwise in the
42392 ac_file_inputs
=`IFS=:
42393 for f in $ac_file_in; do
42395 -) echo $tmp/stdin ;;
42397 # Absolute (can't be DOS-style, as IFS=:)
42398 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42399 echo "$as_me: error: cannot find input file: $f" >&2;}
42400 { (exit 1); exit 1; }; }
42403 if test -f "$f"; then
42406 elif test -f "$srcdir/$f"; then
42411 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42412 echo "$as_me: error: cannot find input file: $f" >&2;}
42413 { (exit 1); exit 1; }; }
42416 done` || { (exit 1); exit 1; }
42418 if test x
"$ac_file" != x
-; then
42419 { echo "$as_me:$LINENO: creating $ac_file" >&5
42420 echo "$as_me: creating $ac_file" >&6;}
42424 cat >>$CONFIG_STATUS <<_ACEOF
42428 cat >>$CONFIG_STATUS <<\_ACEOF
42430 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42431 s
,@configure_input@
,$configure_input,;t t
42432 s
,@srcdir@
,$ac_srcdir,;t t
42433 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42434 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42435 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42436 s
,@builddir@
,$ac_builddir,;t t
42437 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42438 s
,@top_builddir@
,$ac_top_builddir,;t t
42439 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42440 s
,@INSTALL@
,$ac_INSTALL,;t t
42441 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42443 if test x"$ac_file" != x-; then
42444 mv $tmp/out $ac_file
42450 # Run the commands associated with the file.
42452 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42453 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42457 cat >>$CONFIG_STATUS <<\_ACEOF
42460 # CONFIG_HEADER section.
42463 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42464 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42466 # ac_d sets the value in "#define NAME VALUE" lines.
42467 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42468 ac_dB
='[ ].*$,\1#\2'
42471 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42472 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42473 ac_uB
='$,\1#\2define\3'
42477 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42478 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42480 - | *:- | *:-:* ) # input from stdin
42482 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42483 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42484 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42485 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42486 * ) ac_file_in
=$ac_file.
in ;;
42489 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42490 echo "$as_me: creating $ac_file" >&6;}
42492 # First look for the input files in the build tree, otherwise in the
42494 ac_file_inputs
=`IFS=:
42495 for f in $ac_file_in; do
42497 -) echo $tmp/stdin ;;
42499 # Absolute (can't be DOS-style, as IFS=:)
42500 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42501 echo "$as_me: error: cannot find input file: $f" >&2;}
42502 { (exit 1); exit 1; }; }
42503 # Do quote $f, to prevent DOS paths from being IFS'd.
42506 if test -f "$f"; then
42509 elif test -f "$srcdir/$f"; then
42514 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42515 echo "$as_me: error: cannot find input file: $f" >&2;}
42516 { (exit 1); exit 1; }; }
42519 done` || { (exit 1); exit 1; }
42520 # Remove the trailing spaces.
42521 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42525 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42526 # `conftest.undefs', that substitutes the proper values into
42527 # config.h.in to produce config.h. The first handles `#define'
42528 # templates, and the second `#undef' templates.
42529 # And first: Protect against being on the right side of a sed subst in
42530 # config.status. Protect against being in an unquoted here document
42531 # in config.status.
42532 rm -f conftest.defines conftest.undefs
42533 # Using a here document instead of a string reduces the quoting nightmare.
42534 # Putting comments in sed scripts is not portable.
42536 # `end' is used to avoid that the second main sed command (meant for
42537 # 0-ary CPP macros) applies to n-ary macro definitions.
42538 # See the Autoconf documentation for `clear'.
42539 cat >confdef2sed.
sed <<\_ACEOF
42544 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42546 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42549 # If some macros were called several times there might be several times
42550 # the same #defines, which is useless. Nevertheless, we may not want to
42551 # sort them, since we want the *last* AC-DEFINE to be honored.
42552 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42553 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42554 rm -f confdef2sed.sed
42556 # This sed command replaces #undef with comments. This is necessary, for
42557 # example, in the case of _POSIX_SOURCE, which is predefined and required
42558 # on some systems where configure will not decide to define it.
42559 cat >>conftest.undefs <<\_ACEOF
42560 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42563 # Break up conftest.defines because some shells have a limit on the size
42564 # of here documents, and old seds have small limits too (100 cmds).
42565 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42566 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42567 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42568 echo ' :' >>$CONFIG_STATUS
42569 rm -f conftest.tail
42570 while grep . conftest.defines >/dev/null
42572 # Write a limited-size here document to $tmp/defines.sed.
42573 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42574 # Speed up: don't consider the non `#define' lines.
42575 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42576 # Work around the forget-to-reset-the-flag bug.
42577 echo 't clr' >>$CONFIG_STATUS
42578 echo ': clr' >>$CONFIG_STATUS
42579 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42581 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42583 mv $tmp/out $tmp/in
42585 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42586 rm -f conftest.defines
42587 mv conftest.
tail conftest.defines
42589 rm -f conftest.defines
42590 echo ' fi # grep' >>$CONFIG_STATUS
42591 echo >>$CONFIG_STATUS
42593 # Break up conftest.undefs because some shells have a limit on the size
42594 # of here documents, and old seds have small limits too (100 cmds).
42595 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42596 rm -f conftest.
tail
42597 while grep . conftest.undefs
>/dev
/null
42599 # Write a limited-size here document to $tmp/undefs.sed.
42600 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42601 # Speed up: don't consider the non
`#undef'
42602 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42603 # Work around the forget-to-reset-the-flag bug.
42604 echo 't clr' >>$CONFIG_STATUS
42605 echo ': clr' >>$CONFIG_STATUS
42606 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42608 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42610 mv $tmp/out $tmp/in
42612 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42613 rm -f conftest.undefs
42614 mv conftest.tail conftest.undefs
42616 rm -f conftest.undefs
42618 cat >>$CONFIG_STATUS <<\_ACEOF
42619 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42620 # use $as_me), people would be surprised to read:
42621 # /* config.h. Generated by config.status. */
42622 if test x
"$ac_file" = x
-; then
42623 echo "/* Generated by configure. */" >$tmp/config.h
42625 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42627 cat $tmp/in >>$tmp/config.h
42629 if test x
"$ac_file" != x
-; then
42630 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42631 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42632 echo "$as_me: $ac_file is unchanged" >&6;}
42634 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42636 X"$ac_file" : 'X\(//\)[^/]' \| \
42637 X"$ac_file" : 'X\(//\)$' \| \
42638 X"$ac_file" : 'X\(/\)' \| \
42639 . : '\(.\)' 2>/dev/null ||
42641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42643 /^X\(\/\/\)$/{ s//\1/; q; }
42644 /^X\(\/\).*/{ s//\1/; q; }
42646 { if $as_mkdir_p; then
42651 while test ! -d "$as_dir"; do
42652 as_dirs
="$as_dir $as_dirs"
42653 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42655 X"$as_dir" : 'X\(//\)[^/]' \| \
42656 X"$as_dir" : 'X\(//\)$' \| \
42657 X"$as_dir" : 'X\(/\)' \| \
42658 . : '\(.\)' 2>/dev/null ||
42660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42662 /^X\(\/\/\)$/{ s//\1/; q; }
42663 /^X\(\/\).*/{ s//\1/; q; }
42666 test ! -n "$as_dirs" || mkdir $as_dirs
42667 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42668 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42669 { (exit 1); exit 1; }; }; }
42672 mv $tmp/config.h
$ac_file
42676 rm -f $tmp/config.h
42680 cat >>$CONFIG_STATUS <<\_ACEOF
42683 # CONFIG_COMMANDS section.
42685 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42686 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42687 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42688 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42689 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42690 X"$ac_dest" : 'X\(//\)[^/]' \| \
42691 X"$ac_dest" : 'X\(//\)$' \| \
42692 X"$ac_dest" : 'X\(/\)' \| \
42693 . : '\(.\)' 2>/dev/null ||
42695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42697 /^X\(\/\/\)$/{ s//\1/; q; }
42698 /^X\(\/\).*/{ s//\1/; q; }
42700 { if $as_mkdir_p; then
42705 while test ! -d "$as_dir"; do
42706 as_dirs
="$as_dir $as_dirs"
42707 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42709 X"$as_dir" : 'X\(//\)[^/]' \| \
42710 X"$as_dir" : 'X\(//\)$' \| \
42711 X"$as_dir" : 'X\(/\)' \| \
42712 . : '\(.\)' 2>/dev/null ||
42714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42716 /^X\(\/\/\)$/{ s//\1/; q; }
42717 /^X\(\/\).*/{ s//\1/; q; }
42720 test ! -n "$as_dirs" || mkdir $as_dirs
42721 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42722 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42723 { (exit 1); exit 1; }; }; }
42727 if test "$ac_dir" != .
; then
42728 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42729 # A "../" for each directory in $ac_dir_suffix.
42730 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42732 ac_dir_suffix
= ac_top_builddir
=
42736 .
) # No --srcdir option. We are building in place.
42738 if test -z "$ac_top_builddir"; then
42741 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42743 [\\/]* | ?
:[\\/]* ) # Absolute path.
42744 ac_srcdir
=$srcdir$ac_dir_suffix;
42745 ac_top_srcdir
=$srcdir ;;
42746 *) # Relative path.
42747 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42748 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42751 # Do not use `cd foo && pwd` to compute absolute paths, because
42752 # the directories may not exist.
42754 .
) ac_abs_builddir
="$ac_dir";;
42757 .
) ac_abs_builddir
=`pwd`;;
42758 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42759 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42762 case $ac_abs_builddir in
42763 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42765 case ${ac_top_builddir}.
in
42766 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42767 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42768 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42771 case $ac_abs_builddir in
42772 .
) ac_abs_srcdir
=$ac_srcdir;;
42775 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42776 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42777 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42780 case $ac_abs_builddir in
42781 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42783 case $ac_top_srcdir in
42784 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42785 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42786 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42791 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42792 echo "$as_me: executing $ac_dest commands" >&6;}
42794 wx
-config ) rm -f wx
-config
42795 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42801 cat >>$CONFIG_STATUS <<\_ACEOF
42803 { (exit 0); exit 0; }
42805 chmod +x
$CONFIG_STATUS
42806 ac_clean_files
=$ac_clean_files_save
42809 # configure is writing to config.log, and then calls config.status.
42810 # config.status does its own redirection, appending to config.log.
42811 # Unfortunately, on DOS this fails, as config.log is still kept open
42812 # by configure, so config.status won't be able to write to it; its
42813 # output is simply discarded. So we exec the FD to /dev/null,
42814 # effectively closing config.log, so it can be properly (re)opened and
42815 # appended to by config.status. When coming back to configure, we
42816 # need to make the FD available again.
42817 if test "$no_create" != yes; then
42819 ac_config_status_args
=
42820 test "$silent" = yes &&
42821 ac_config_status_args
="$ac_config_status_args --quiet"
42823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42826 # would make configure fail if this is the last instruction.
42827 $ac_cs_success || { (exit 1); exit 1; }
42831 # CONFIG_SUBDIRS section.
42833 if test "$no_recursion" != yes; then
42835 # Remove --cache-file and --srcdir arguments so they do not pile up.
42836 ac_sub_configure_args
=
42838 for ac_arg
in $ac_configure_args; do
42839 if test -n "$ac_prev"; then
42844 -cache-file | --cache-file | --cache-fil | --cache-fi \
42845 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42846 ac_prev
=cache_file
;;
42847 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42848 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42851 --config-cache | -C)
42853 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42855 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42861 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42865 # Always prepend --prefix to ensure using the same prefix
42866 # in subdir configurations.
42867 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42870 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42872 # Do not complain, so a configure script can configure whichever
42873 # parts of a large source tree are present.
42874 test -d $srcdir/$ac_dir || continue
42876 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42877 echo "$as_me: configuring in $ac_dir" >&6;}
42878 { if $as_mkdir_p; then
42883 while test ! -d "$as_dir"; do
42884 as_dirs
="$as_dir $as_dirs"
42885 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42887 X"$as_dir" : 'X\(//\)[^/]' \| \
42888 X"$as_dir" : 'X\(//\)$' \| \
42889 X"$as_dir" : 'X\(/\)' \| \
42890 . : '\(.\)' 2>/dev/null ||
42892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42894 /^X\(\/\/\)$/{ s//\1/; q; }
42895 /^X\(\/\).*/{ s//\1/; q; }
42898 test ! -n "$as_dirs" || mkdir $as_dirs
42899 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42900 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42901 { (exit 1); exit 1; }; }; }
42905 if test "$ac_dir" != .
; then
42906 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42907 # A "../" for each directory in $ac_dir_suffix.
42908 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42910 ac_dir_suffix
= ac_top_builddir
=
42914 .
) # No --srcdir option. We are building in place.
42916 if test -z "$ac_top_builddir"; then
42919 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42921 [\\/]* | ?
:[\\/]* ) # Absolute path.
42922 ac_srcdir
=$srcdir$ac_dir_suffix;
42923 ac_top_srcdir
=$srcdir ;;
42924 *) # Relative path.
42925 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42926 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42929 # Do not use `cd foo && pwd` to compute absolute paths, because
42930 # the directories may not exist.
42932 .
) ac_abs_builddir
="$ac_dir";;
42935 .
) ac_abs_builddir
=`pwd`;;
42936 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42937 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42940 case $ac_abs_builddir in
42941 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42943 case ${ac_top_builddir}.
in
42944 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42945 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42946 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42949 case $ac_abs_builddir in
42950 .
) ac_abs_srcdir
=$ac_srcdir;;
42953 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42954 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42955 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42958 case $ac_abs_builddir in
42959 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42961 case $ac_top_srcdir in
42962 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42963 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42964 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42971 # Check for guested configure; otherwise get Cygnus style configure.
42972 if test -f $ac_srcdir/configure.gnu
; then
42973 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42974 elif test -f $ac_srcdir/configure
; then
42975 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42976 elif test -f $ac_srcdir/configure.
in; then
42977 ac_sub_configure
=$ac_configure
42979 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42984 # The recursion is here.
42985 if test -n "$ac_sub_configure"; then
42986 # Make the cache file name correct relative to the subdirectory.
42987 case $cache_file in
42988 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42989 *) # Relative path.
42990 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42993 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42994 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42995 # The eval makes quoting arguments work.
42996 eval $ac_sub_configure $ac_sub_configure_args \
42997 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42998 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42999 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43000 { (exit 1); exit 1; }; }
43009 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43011 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43012 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43014 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43015 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43016 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43018 echo " What level of wxWidgets compatibility should be enabled?"
43019 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43020 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43022 echo " Which libraries should wxWidgets use?"
43023 echo " jpeg ${wxUSE_LIBJPEG-none}"
43024 echo " png ${wxUSE_LIBPNG-none}"
43025 echo " regex ${wxUSE_REGEX}"
43026 echo " tiff ${wxUSE_LIBTIFF-none}"
43027 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43028 echo " xpm ${wxUSE_LIBXPM-none}"
43030 echo " zlib ${wxUSE_ZLIB}"
43031 echo " odbc ${wxUSE_ODBC}"
43032 echo " expat ${wxUSE_EXPAT}"
43033 echo " libmspack ${wxUSE_LIBMSPACK}"
43034 echo " sdl ${wxUSE_LIBSDL}"