2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.3:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-xrc use XRC resources sub
-library
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl
(Mac
)
956 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
957 --enable-prologio not available
; see contrib
958 --enable-resources not available
; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag
'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick
(Linux only
)
1024 --enable-metafiles use wxMetaFile
(Windows only
)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images
(GIF
file format
)
1030 --enable-pcx use pcx images
(PCX
file format
)
1031 --enable-iff use iff images
(IFF
file format
)
1032 --enable-pnm use pnm images
(PNM
file format
)
1033 --enable-xpm use xpm images
(XPM
file format
)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1036 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1037 --disable-largefile omit support
for large files
1038 --disable-gtktest do not try to compile and run a
test GTK
+ program
1039 --disable-gtktest Do not try to compile and run a
test GTK program
1040 --disable-sdltest Do not try to compile and run a
test SDL program
1041 --enable-omf use OMF object format
(OS
/2)
1042 --disable-precomp-headers
1043 don
't use precompiled headers even if compiler can
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-gnomeprint use GNOME print for audio printing under Unix
1065 --with-opengl use OpenGL (or Mesa)
1066 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1067 --with-regex enable support for wxRegEx class
1068 --with-zlib use zlib for LZW compression
1069 --with-odbc use the IODBC and wxODBC classes
1070 --with-expat enable XML support using expat parser
1071 --with-flavour=NAME specify a name to identify this build
1072 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1073 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1074 --with-x use the X Window System
1075 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1076 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1077 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1078 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1079 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1089 CXX C++ compiler command
1090 CXXFLAGS C++ compiler flags
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to
help
1094 it to
find libraries and programs with nonstandard names
/locations.
1096 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1100 if test "$ac_init_help" = "recursive"; then
1101 # If there are subdirs, report their specific --help.
1103 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1104 test -d $ac_dir || continue
1107 if test "$ac_dir" != .
; then
1108 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109 # A "../" for each directory in $ac_dir_suffix.
1110 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1112 ac_dir_suffix
= ac_top_builddir
=
1116 .
) # No --srcdir option. We are building in place.
1118 if test -z "$ac_top_builddir"; then
1121 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1123 [\\/]* | ?
:[\\/]* ) # Absolute path.
1124 ac_srcdir
=$srcdir$ac_dir_suffix;
1125 ac_top_srcdir
=$srcdir ;;
1127 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1128 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1134 .
) ac_abs_builddir
="$ac_dir";;
1137 .
) ac_abs_builddir
=`pwd`;;
1138 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1139 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1142 case $ac_abs_builddir in
1143 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1145 case ${ac_top_builddir}.
in
1146 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1148 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_srcdir
=$ac_srcdir;;
1155 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1157 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1163 case $ac_top_srcdir in
1164 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1166 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1171 # Check for guested configure; otherwise get Cygnus style configure.
1172 if test -f $ac_srcdir/configure.gnu
; then
1174 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1175 elif test -f $ac_srcdir/configure
; then
1177 $SHELL $ac_srcdir/configure
--help=recursive
1178 elif test -f $ac_srcdir/configure.ac
||
1179 test -f $ac_srcdir/configure.
in; then
1181 $ac_configure --help
1183 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1192 wxWidgets configure
2.5.3
1193 generated by GNU Autoconf
2.59
1195 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1196 This configure
script is free software
; the Free Software Foundation
1197 gives unlimited permission to copy
, distribute and modify it.
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1206 It was created by wxWidgets $as_me 2.5.3, which was
1207 generated by GNU Autoconf 2.59. Invocation command line was
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1241 test -z "$as_dir" && as_dir
=.
1242 echo "PATH: $as_dir"
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1266 ac_must_keep_next
=false
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1282 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true
; then
1284 ac_must_keep_next
=false
# Got value, back to normal.
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 -* ) ac_must_keep_next
=true
;;
1298 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1305 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1306 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log. We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314 # Save into config.log some information that might help in debugging.
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1324 # The following way of writing the cache mishandles newlines in values,
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1347 for ac_var in $ac_subst_vars
1349 eval ac_val=$`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1354 if test -n "$ac_subst_files"; then
1361 for ac_var in $ac_subst_files
1363 eval ac_val=$`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1369 if test -s confdefs.h; then
1376 sed "/^$/d" confdefs.h | sort
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1383 rm -f core *.core &&
1384 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387 for ac_signal
in 1 2 13 15; do
1388 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest
* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 # Predefined preprocessor variables.
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE
; then
1428 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1430 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 for ac_site_file
in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's/^/| /' "$ac_site_file" >&5
1442 if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1449 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1450 *) . .
/$cache_file;;
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1459 # Check that the precious variables saved in the cache have kept the same
1461 ac_cache_corrupted
=false
1462 for ac_var
in `(set) 2>&1 |
1463 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1465 eval ac_new_set
=\
$ac_env_${ac_var}_set
1466 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val
="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472 ac_cache_corrupted
=: ;;
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted
=: ;;
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
1480 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1481 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1482 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1483 echo "$as_me: former value: $ac_old_val" >&2;}
1484 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1485 echo "$as_me: current value: $ac_new_val" >&2;}
1486 ac_cache_corrupted
=:
1489 # Pass precious variables to config.status.
1490 if test "$ac_new_set" = set; then
1492 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1493 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1494 *) ac_arg
=$ac_var=$ac_new_val ;;
1496 case " $ac_configure_args " in
1497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1498 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1502 if $ac_cache_corrupted; then
1503 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1504 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1505 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1506 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1507 { (exit 1); exit 1; }; }
1511 ac_cpp
='$CPP $CPPFLAGS'
1512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1546 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1547 if test -f $ac_dir/install-sh; then
1549 ac_install_sh
="$ac_aux_dir/install-sh -c"
1551 elif test -f $ac_dir/install.sh
; then
1553 ac_install_sh
="$ac_aux_dir/install.sh -c"
1555 elif test -f $ac_dir/shtool
; then
1557 ac_install_sh
="$ac_aux_dir/shtool install -c"
1561 if test -z "$ac_aux_dir"; then
1562 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1563 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1564 { (exit 1); exit 1; }; }
1566 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1567 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1568 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570 # Make sure we can run config.sub.
1571 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1576 echo "$as_me:$LINENO: checking build system type" >&5
1577 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578 if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 ac_cv_build_alias
=$build_alias
1582 test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias
=`$ac_config_guess`
1584 test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595 echo "${ECHO_T}$ac_cv_build" >&6
1597 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 echo "$as_me:$LINENO: checking host system type" >&5
1603 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604 if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 ac_cv_host_alias
=$host_alias
1608 test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias
=$ac_cv_build_alias
1610 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1616 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617 echo "${ECHO_T}$ac_cv_host" >&6
1619 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1624 echo "$as_me:$LINENO: checking target system type" >&5
1625 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1626 if test "${ac_cv_target+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 ac_cv_target_alias
=$target_alias
1630 test "x$ac_cv_target_alias" = "x" &&
1631 ac_cv_target_alias
=$ac_cv_host_alias
1632 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1633 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1634 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1635 { (exit 1); exit 1; }; }
1638 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1639 echo "${ECHO_T}$ac_cv_target" >&6
1640 target
=$ac_cv_target
1641 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1642 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1643 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1646 # The aliases save the names the user supplied, while $host etc.
1647 # will get canonicalized.
1648 test -n "$target_alias" &&
1649 test "$program_prefix$program_suffix$program_transform_name" = \
1651 program_prefix
=${target_alias}-
1655 wx_major_version_number
=2
1656 wx_minor_version_number
=5
1658 wx_subrelease_number
=1
1660 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1661 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1662 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1664 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1680 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1686 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1692 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1694 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696 DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_wxUSE_MICROWIN
=0
1701 DEFAULT_wxUSE_MOTIF
=0
1706 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1707 DEFAULT_DEFAULT_wxUSE_GTK
=0
1708 DEFAULT_DEFAULT_wxUSE_MAC
=0
1709 DEFAULT_DEFAULT_wxUSE_MGL
=0
1710 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1711 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_MSW
=0
1713 DEFAULT_DEFAULT_wxUSE_PM
=0
1714 DEFAULT_DEFAULT_wxUSE_X11
=0
1719 SAMPLES_RPATH_POSTLINK
=
1724 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1725 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1727 cat >>confdefs.h
<<\_ACEOF
1734 cat >>confdefs.h
<<\_ACEOF
1739 if test "x$TMP" = "xalpha"; then
1741 cat >>confdefs.h
<<\_ACEOF
1746 DEFAULT_DEFAULT_wxUSE_GTK
=1
1748 *-*-gnu* | *-*-k*bsd
*-gnu )
1751 if test "x$TMP" = "xalpha"; then
1753 cat >>confdefs.h
<<\_ACEOF
1758 DEFAULT_DEFAULT_wxUSE_GTK
=1
1760 *-*-irix5* | *-*-irix6* )
1763 cat >>confdefs.h
<<\_ACEOF
1767 cat >>confdefs.h
<<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1777 cat >>confdefs.h
<<\_ACEOF
1781 cat >>confdefs.h
<<\_ACEOF
1782 #define __SOLARIS__ 1
1785 cat >>confdefs.h
<<\_ACEOF
1789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1790 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1796 cat >>confdefs.h
<<\_ACEOF
1800 cat >>confdefs.h
<<\_ACEOF
1804 cat >>confdefs.h
<<\_ACEOF
1808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1813 cat >>confdefs.h
<<\_ACEOF
1814 #define __FREEBSD__ 1
1817 cat >>confdefs.h
<<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_GTK
=1
1826 cat >>confdefs.h
<<\_ACEOF
1827 #define __OPENBSD__ 1
1830 cat >>confdefs.h
<<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_GTK
=1
1839 cat >>confdefs.h
<<\_ACEOF
1840 #define __NETBSD__ 1
1843 cat >>confdefs.h
<<\_ACEOF
1847 DEFAULT_DEFAULT_wxUSE_GTK
=1
1852 cat >>confdefs.h
<<\_ACEOF
1856 cat >>confdefs.h
<<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1866 cat >>confdefs.h
<<\_ACEOF
1870 cat >>confdefs.h
<<\_ACEOF
1874 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1879 cat >>confdefs.h
<<\_ACEOF
1883 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1913 cat >>confdefs.h
<<\_ACEOF
1914 #define __UNIXWARE__ 1
1919 *-*-cygwin* | *-*-mingw32* )
1923 DEFAULT_DEFAULT_wxUSE_MSW
=1
1929 cat >>confdefs.h
<<\_ACEOF
1934 DEFAULT_DEFAULT_wxUSE_MGL
=1
1935 LIBS
="$LIBS -lstdc++"
1938 *-pc-os2_emx | *-pc-os2-emx )
1939 cat >>confdefs.h
<<\_ACEOF
1944 cat >>confdefs.h
<<\_ACEOF
1949 DEFAULT_DEFAULT_wxUSE_PM
=1
1951 LDFLAGS
="$LDFLAGS -Zcrtdll"
1952 ac_executable_extensions
=".exe"
1953 export ac_executable_extensions
1957 for ac_dir
in $PATH; do
1959 if test -z "$ac_TEMP_PATH"; then
1960 ac_TEMP_PATH
="$ac_dir"
1962 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1965 export PATH
="$ac_TEMP_PATH"
1973 cat >>confdefs.h
<<\_ACEOF
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __DARWIN__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define __POWERPC__ 1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define TARGET_CARBON 1
1989 DEFAULT_DEFAULT_wxUSE_MAC
=1
1994 cat >>confdefs.h
<<\_ACEOF
2001 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2002 echo "$as_me: error: unknown system type ${host}." >&2;}
2003 { (exit 1); exit 1; }; }
2009 wx_arg_cache_file
="configarg.cache"
2010 echo "loading argument cache $wx_arg_cache_file"
2011 rm -f ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}
2017 if test $DEBUG_CONFIGURE = 1; then
2018 DEFAULT_wxUSE_UNIVERSAL
=no
2019 DEFAULT_wxUSE_STL
=no
2021 DEFAULT_wxUSE_NANOX
=no
2023 DEFAULT_wxUSE_THREADS
=yes
2025 DEFAULT_wxUSE_SHARED
=yes
2026 DEFAULT_wxUSE_OPTIMISE
=no
2027 DEFAULT_wxUSE_PROFILE
=no
2028 DEFAULT_wxUSE_NO_DEPS
=no
2029 DEFAULT_wxUSE_NO_RTTI
=no
2030 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2031 DEFAULT_wxUSE_RPATH
=yes
2032 DEFAULT_wxUSE_PERMISSIVE
=no
2033 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2034 DEFAULT_wxUSE_DEBUG_INFO
=yes
2035 DEFAULT_wxUSE_DEBUG_GDB
=yes
2036 DEFAULT_wxUSE_MEM_TRACING
=no
2037 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2038 DEFAULT_wxUSE_DMALLOC
=no
2039 DEFAULT_wxUSE_APPLE_IEEE
=no
2041 DEFAULT_wxUSE_EXCEPTIONS
=no
2042 DEFAULT_wxUSE_LOG
=yes
2043 DEFAULT_wxUSE_LOGWINDOW
=no
2044 DEFAULT_wxUSE_LOGGUI
=no
2045 DEFAULT_wxUSE_LOGDIALOG
=no
2047 DEFAULT_wxUSE_GUI
=yes
2048 DEFAULT_wxUSE_CONTROLS
=no
2050 DEFAULT_wxUSE_REGEX
=no
2051 DEFAULT_wxUSE_XML
=no
2052 DEFAULT_wxUSE_EXPAT
=no
2053 DEFAULT_wxUSE_ZLIB
=no
2054 DEFAULT_wxUSE_LIBPNG
=no
2055 DEFAULT_wxUSE_LIBJPEG
=no
2056 DEFAULT_wxUSE_LIBTIFF
=no
2057 DEFAULT_wxUSE_LIBXPM
=no
2058 DEFAULT_wxUSE_LIBMSPACK
=no
2059 DEFAULT_wxUSE_LIBSDL
=no
2060 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2061 DEFAULT_wxUSE_ODBC
=no
2062 DEFAULT_wxUSE_OPENGL
=no
2064 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2065 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2066 DEFAULT_wxUSE_STD_IOSTREAM
=no
2067 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2068 DEFAULT_wxUSE_DATETIME
=no
2069 DEFAULT_wxUSE_TIMER
=no
2070 DEFAULT_wxUSE_STOPWATCH
=no
2071 DEFAULT_wxUSE_FILE
=no
2072 DEFAULT_wxUSE_FFILE
=no
2073 DEFAULT_wxUSE_TEXTBUFFER
=no
2074 DEFAULT_wxUSE_TEXTFILE
=no
2075 DEFAULT_wxUSE_SOUND
=no
2076 DEFAULT_wxUSE_INTL
=no
2077 DEFAULT_wxUSE_CONFIG
=no
2078 DEFAULT_wxUSE_FONTMAP
=no
2079 DEFAULT_wxUSE_STREAMS
=no
2080 DEFAULT_wxUSE_SOCKETS
=no
2081 DEFAULT_wxUSE_OLE
=no
2082 DEFAULT_wxUSE_DATAOBJ
=no
2083 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2084 DEFAULT_wxUSE_JOYSTICK
=no
2085 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2086 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2087 DEFAULT_wxUSE_LONGLONG
=no
2088 DEFAULT_wxUSE_GEOMETRY
=no
2090 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2091 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2092 DEFAULT_wxUSE_POSTSCRIPT
=no
2094 DEFAULT_wxUSE_CLIPBOARD
=no
2095 DEFAULT_wxUSE_TOOLTIPS
=no
2096 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2097 DEFAULT_wxUSE_DRAGIMAGE
=no
2098 DEFAULT_wxUSE_SPLINES
=no
2100 DEFAULT_wxUSE_MDI
=no
2101 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2102 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2103 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2105 DEFAULT_wxUSE_RESOURCES
=no
2106 DEFAULT_wxUSE_CONSTRAINTS
=no
2107 DEFAULT_wxUSE_IPC
=no
2108 DEFAULT_wxUSE_HELP
=no
2109 DEFAULT_wxUSE_MS_HTML_HELP
=no
2110 DEFAULT_wxUSE_WXHTML_HELP
=no
2111 DEFAULT_wxUSE_TREELAYOUT
=no
2112 DEFAULT_wxUSE_METAFILE
=no
2113 DEFAULT_wxUSE_MIMETYPE
=no
2114 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2115 DEFAULT_wxUSE_PROTOCOL
=no
2116 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2117 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2118 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2119 DEFAULT_wxUSE_URL
=no
2121 DEFAULT_wxUSE_COMMONDLGS
=no
2122 DEFAULT_wxUSE_CHOICEDLG
=no
2123 DEFAULT_wxUSE_COLOURDLG
=no
2124 DEFAULT_wxUSE_DIRDLG
=no
2125 DEFAULT_wxUSE_FILEDLG
=no
2126 DEFAULT_wxUSE_FINDREPLDLG
=no
2127 DEFAULT_wxUSE_FONTDLG
=no
2128 DEFAULT_wxUSE_MSGDLG
=no
2129 DEFAULT_wxUSE_NUMBERDLG
=no
2130 DEFAULT_wxUSE_TEXTDLG
=no
2131 DEFAULT_wxUSE_SPLASH
=no
2132 DEFAULT_wxUSE_STARTUP_TIPS
=no
2133 DEFAULT_wxUSE_PROGRESSDLG
=no
2134 DEFAULT_wxUSE_WIZARDDLG
=no
2136 DEFAULT_wxUSE_MENUS
=no
2137 DEFAULT_wxUSE_MINIFRAME
=no
2138 DEFAULT_wxUSE_HTML
=no
2139 DEFAULT_wxUSE_XRC
=no
2140 DEFAULT_wxUSE_WEBKIT
=no
2141 DEFAULT_wxUSE_FILESYSTEM
=no
2142 DEFAULT_wxUSE_FS_INET
=no
2143 DEFAULT_wxUSE_FS_ZIP
=no
2144 DEFAULT_wxUSE_BUSYINFO
=no
2145 DEFAULT_wxUSE_ZIPSTREAM
=no
2146 DEFAULT_wxUSE_VALIDATORS
=no
2148 DEFAULT_wxUSE_ACCEL
=no
2149 DEFAULT_wxUSE_BUTTON
=no
2150 DEFAULT_wxUSE_BMPBUTTON
=no
2151 DEFAULT_wxUSE_CALCTRL
=no
2152 DEFAULT_wxUSE_CARET
=no
2153 DEFAULT_wxUSE_CHECKBOX
=no
2154 DEFAULT_wxUSE_CHECKLST
=no
2155 DEFAULT_wxUSE_CHOICE
=no
2156 DEFAULT_wxUSE_CHOICEBOOK
=no
2157 DEFAULT_wxUSE_COMBOBOX
=no
2158 DEFAULT_wxUSE_DISPLAY
=no
2159 DEFAULT_wxUSE_GAUGE
=no
2160 DEFAULT_wxUSE_GRID
=no
2161 DEFAULT_wxUSE_IMAGLIST
=no
2162 DEFAULT_wxUSE_LISTBOOK
=no
2163 DEFAULT_wxUSE_LISTBOX
=no
2164 DEFAULT_wxUSE_LISTCTRL
=no
2165 DEFAULT_wxUSE_NOTEBOOK
=no
2166 DEFAULT_wxUSE_RADIOBOX
=no
2167 DEFAULT_wxUSE_RADIOBTN
=no
2168 DEFAULT_wxUSE_SASH
=no
2169 DEFAULT_wxUSE_SCROLLBAR
=no
2170 DEFAULT_wxUSE_SLIDER
=no
2171 DEFAULT_wxUSE_SPINBTN
=no
2172 DEFAULT_wxUSE_SPINCTRL
=no
2173 DEFAULT_wxUSE_SPLITTER
=no
2174 DEFAULT_wxUSE_STATBMP
=no
2175 DEFAULT_wxUSE_STATBOX
=no
2176 DEFAULT_wxUSE_STATLINE
=no
2177 DEFAULT_wxUSE_STATTEXT
=no
2178 DEFAULT_wxUSE_STATUSBAR
=yes
2179 DEFAULT_wxUSE_TABDIALOG
=no
2180 DEFAULT_wxUSE_TEXTCTRL
=no
2181 DEFAULT_wxUSE_TOGGLEBTN
=no
2182 DEFAULT_wxUSE_TOOLBAR
=no
2183 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2184 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2185 DEFAULT_wxUSE_TREECTRL
=no
2186 DEFAULT_wxUSE_POPUPWIN
=no
2187 DEFAULT_wxUSE_TIPWINDOW
=no
2189 DEFAULT_wxUSE_UNICODE
=no
2190 DEFAULT_wxUSE_UNICODE_MSLU
=no
2191 DEFAULT_wxUSE_WCSRTOMBS
=no
2193 DEFAULT_wxUSE_PALETTE
=no
2194 DEFAULT_wxUSE_IMAGE
=no
2195 DEFAULT_wxUSE_GIF
=no
2196 DEFAULT_wxUSE_PCX
=no
2197 DEFAULT_wxUSE_PNM
=no
2198 DEFAULT_wxUSE_IFF
=no
2199 DEFAULT_wxUSE_XPM
=no
2200 DEFAULT_wxUSE_ICO_CUR
=no
2201 DEFAULT_wxUSE_ACCESSIBILITY
=no
2203 DEFAULT_wxUSE_MONOLITHIC
=no
2204 DEFAULT_wxUSE_PLUGINS
=no
2205 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2207 DEFAULT_wxUSE_UNIVERSAL
=no
2208 DEFAULT_wxUSE_STL
=no
2210 DEFAULT_wxUSE_NANOX
=no
2212 DEFAULT_wxUSE_THREADS
=yes
2214 DEFAULT_wxUSE_SHARED
=yes
2215 DEFAULT_wxUSE_OPTIMISE
=yes
2216 DEFAULT_wxUSE_PROFILE
=no
2217 DEFAULT_wxUSE_NO_DEPS
=no
2218 DEFAULT_wxUSE_NO_RTTI
=no
2219 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2220 DEFAULT_wxUSE_RPATH
=yes
2221 DEFAULT_wxUSE_PERMISSIVE
=no
2222 DEFAULT_wxUSE_DEBUG_FLAG
=no
2223 DEFAULT_wxUSE_DEBUG_INFO
=no
2224 DEFAULT_wxUSE_DEBUG_GDB
=no
2225 DEFAULT_wxUSE_MEM_TRACING
=no
2226 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2227 DEFAULT_wxUSE_DMALLOC
=no
2228 DEFAULT_wxUSE_APPLE_IEEE
=yes
2230 DEFAULT_wxUSE_EXCEPTIONS
=yes
2231 DEFAULT_wxUSE_LOG
=yes
2232 DEFAULT_wxUSE_LOGWINDOW
=yes
2233 DEFAULT_wxUSE_LOGGUI
=yes
2234 DEFAULT_wxUSE_LOGDIALOG
=yes
2236 DEFAULT_wxUSE_GUI
=yes
2238 DEFAULT_wxUSE_REGEX
=yes
2239 DEFAULT_wxUSE_XML
=yes
2240 DEFAULT_wxUSE_EXPAT
=yes
2241 DEFAULT_wxUSE_ZLIB
=yes
2242 DEFAULT_wxUSE_LIBPNG
=yes
2243 DEFAULT_wxUSE_LIBJPEG
=yes
2244 DEFAULT_wxUSE_LIBTIFF
=yes
2245 DEFAULT_wxUSE_LIBXPM
=yes
2246 DEFAULT_wxUSE_LIBMSPACK
=yes
2247 DEFAULT_wxUSE_LIBSDL
=no
2248 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2249 DEFAULT_wxUSE_ODBC
=no
2250 DEFAULT_wxUSE_OPENGL
=no
2252 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2253 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2254 DEFAULT_wxUSE_STD_IOSTREAM
=no
2255 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2256 DEFAULT_wxUSE_DATETIME
=yes
2257 DEFAULT_wxUSE_TIMER
=yes
2258 DEFAULT_wxUSE_STOPWATCH
=yes
2259 DEFAULT_wxUSE_FILE
=yes
2260 DEFAULT_wxUSE_FFILE
=yes
2261 DEFAULT_wxUSE_TEXTBUFFER
=yes
2262 DEFAULT_wxUSE_TEXTFILE
=yes
2263 DEFAULT_wxUSE_SOUND
=yes
2264 DEFAULT_wxUSE_INTL
=yes
2265 DEFAULT_wxUSE_CONFIG
=yes
2266 DEFAULT_wxUSE_FONTMAP
=yes
2267 DEFAULT_wxUSE_STREAMS
=yes
2268 DEFAULT_wxUSE_SOCKETS
=yes
2269 DEFAULT_wxUSE_OLE
=yes
2270 DEFAULT_wxUSE_DATAOBJ
=yes
2271 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2272 DEFAULT_wxUSE_JOYSTICK
=yes
2273 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2274 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2275 DEFAULT_wxUSE_LONGLONG
=yes
2276 DEFAULT_wxUSE_GEOMETRY
=yes
2278 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2279 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2280 DEFAULT_wxUSE_POSTSCRIPT
=yes
2282 DEFAULT_wxUSE_CLIPBOARD
=yes
2283 DEFAULT_wxUSE_TOOLTIPS
=yes
2284 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2285 DEFAULT_wxUSE_DRAGIMAGE
=yes
2286 DEFAULT_wxUSE_SPLINES
=yes
2288 DEFAULT_wxUSE_MDI
=yes
2289 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2293 DEFAULT_wxUSE_RESOURCES
=no
2294 DEFAULT_wxUSE_CONSTRAINTS
=yes
2295 DEFAULT_wxUSE_IPC
=yes
2296 DEFAULT_wxUSE_HELP
=yes
2297 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2298 DEFAULT_wxUSE_WXHTML_HELP
=yes
2299 DEFAULT_wxUSE_TREELAYOUT
=yes
2300 DEFAULT_wxUSE_METAFILE
=yes
2301 DEFAULT_wxUSE_MIMETYPE
=yes
2302 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2303 DEFAULT_wxUSE_PROTOCOL
=yes
2304 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2305 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2306 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2307 DEFAULT_wxUSE_URL
=yes
2309 DEFAULT_wxUSE_COMMONDLGS
=yes
2310 DEFAULT_wxUSE_CHOICEDLG
=yes
2311 DEFAULT_wxUSE_COLOURDLG
=yes
2312 DEFAULT_wxUSE_DIRDLG
=yes
2313 DEFAULT_wxUSE_FILEDLG
=yes
2314 DEFAULT_wxUSE_FINDREPLDLG
=yes
2315 DEFAULT_wxUSE_FONTDLG
=yes
2316 DEFAULT_wxUSE_MSGDLG
=yes
2317 DEFAULT_wxUSE_NUMBERDLG
=yes
2318 DEFAULT_wxUSE_TEXTDLG
=yes
2319 DEFAULT_wxUSE_SPLASH
=yes
2320 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2321 DEFAULT_wxUSE_PROGRESSDLG
=yes
2322 DEFAULT_wxUSE_WIZARDDLG
=yes
2324 DEFAULT_wxUSE_MENUS
=yes
2325 DEFAULT_wxUSE_MINIFRAME
=yes
2326 DEFAULT_wxUSE_HTML
=yes
2327 DEFAULT_wxUSE_XRC
=yes
2328 DEFAULT_wxUSE_WEBKIT
=yes
2329 DEFAULT_wxUSE_FILESYSTEM
=yes
2330 DEFAULT_wxUSE_FS_INET
=yes
2331 DEFAULT_wxUSE_FS_ZIP
=yes
2332 DEFAULT_wxUSE_BUSYINFO
=yes
2333 DEFAULT_wxUSE_ZIPSTREAM
=yes
2334 DEFAULT_wxUSE_VALIDATORS
=yes
2336 DEFAULT_wxUSE_ACCEL
=yes
2337 DEFAULT_wxUSE_BUTTON
=yes
2338 DEFAULT_wxUSE_BMPBUTTON
=yes
2339 DEFAULT_wxUSE_CALCTRL
=yes
2340 DEFAULT_wxUSE_CARET
=yes
2341 DEFAULT_wxUSE_CHECKBOX
=yes
2342 DEFAULT_wxUSE_CHECKLST
=yes
2343 DEFAULT_wxUSE_CHOICE
=yes
2344 DEFAULT_wxUSE_CHOICEBOOK
=yes
2345 DEFAULT_wxUSE_COMBOBOX
=yes
2346 DEFAULT_wxUSE_DISPLAY
=yes
2347 DEFAULT_wxUSE_GAUGE
=yes
2348 DEFAULT_wxUSE_GRID
=yes
2349 DEFAULT_wxUSE_IMAGLIST
=yes
2350 DEFAULT_wxUSE_LISTBOOK
=yes
2351 DEFAULT_wxUSE_LISTBOX
=yes
2352 DEFAULT_wxUSE_LISTCTRL
=yes
2353 DEFAULT_wxUSE_NOTEBOOK
=yes
2354 DEFAULT_wxUSE_RADIOBOX
=yes
2355 DEFAULT_wxUSE_RADIOBTN
=yes
2356 DEFAULT_wxUSE_SASH
=yes
2357 DEFAULT_wxUSE_SCROLLBAR
=yes
2358 DEFAULT_wxUSE_SLIDER
=yes
2359 DEFAULT_wxUSE_SPINBTN
=yes
2360 DEFAULT_wxUSE_SPINCTRL
=yes
2361 DEFAULT_wxUSE_SPLITTER
=yes
2362 DEFAULT_wxUSE_STATBMP
=yes
2363 DEFAULT_wxUSE_STATBOX
=yes
2364 DEFAULT_wxUSE_STATLINE
=yes
2365 DEFAULT_wxUSE_STATTEXT
=yes
2366 DEFAULT_wxUSE_STATUSBAR
=yes
2367 DEFAULT_wxUSE_TABDIALOG
=no
2368 DEFAULT_wxUSE_TEXTCTRL
=yes
2369 DEFAULT_wxUSE_TOGGLEBTN
=yes
2370 DEFAULT_wxUSE_TOOLBAR
=yes
2371 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2372 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2373 DEFAULT_wxUSE_TREECTRL
=yes
2374 DEFAULT_wxUSE_POPUPWIN
=yes
2375 DEFAULT_wxUSE_TIPWINDOW
=yes
2377 DEFAULT_wxUSE_UNICODE
=no
2378 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2379 DEFAULT_wxUSE_WCSRTOMBS
=no
2381 DEFAULT_wxUSE_PALETTE
=yes
2382 DEFAULT_wxUSE_IMAGE
=yes
2383 DEFAULT_wxUSE_GIF
=yes
2384 DEFAULT_wxUSE_PCX
=yes
2385 DEFAULT_wxUSE_IFF
=no
2386 DEFAULT_wxUSE_PNM
=yes
2387 DEFAULT_wxUSE_XPM
=yes
2388 DEFAULT_wxUSE_ICO_CUR
=yes
2389 DEFAULT_wxUSE_ACCESSIBILITY
=no
2391 DEFAULT_wxUSE_MONOLITHIC
=no
2392 DEFAULT_wxUSE_PLUGINS
=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2395 DEFAULT_wxUSE_GTK2
=yes
2400 for toolkit
in `echo $ALL_TOOLKITS`; do
2401 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2402 if test "x$LINE" != "x" ; then
2403 has_toolkit_in_cache
=1
2404 eval "DEFAULT_$LINE"
2405 eval "CACHE_$toolkit=1"
2412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2413 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2415 # Check whether --enable-gui or --disable-gui was given.
2416 if test "${enable_gui+set}" = set; then
2417 enableval
="$enable_gui"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_gui
='wxUSE_GUI=yes'
2422 ac_cv_use_gui
='wxUSE_GUI=no'
2427 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2438 eval "$ac_cv_use_gui"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_GUI" = yes; then
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2447 echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6
2453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2454 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2456 # Check whether --enable-monolithic or --disable-monolithic was given.
2457 if test "${enable_monolithic+set}" = set; then
2458 enableval
="$enable_monolithic"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2463 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2468 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2479 eval "$ac_cv_use_monolithic"
2480 if test "$no_cache" != 1; then
2481 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2484 if test "$wxUSE_MONOLITHIC" = yes; then
2485 echo "$as_me:$LINENO: result: yes" >&5
2486 echo "${ECHO_T}yes" >&6
2488 echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6
2494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2495 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2497 # Check whether --enable-plugins or --disable-plugins was given.
2498 if test "${enable_plugins+set}" = set; then
2499 enableval
="$enable_plugins"
2501 if test "$enableval" = yes; then
2502 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2504 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2509 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x
; then
2511 eval "DEFAULT_$LINE"
2516 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2520 eval "$ac_cv_use_plugins"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_PLUGINS" = yes; then
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2534 if test "$wxUSE_GUI" = "yes"; then
2538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2539 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2541 # Check whether --enable-universal or --disable-universal was given.
2542 if test "${enable_universal+set}" = set; then
2543 enableval
="$enable_universal"
2545 if test "$enableval" = yes; then
2546 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2548 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2553 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x
; then
2555 eval "DEFAULT_$LINE"
2560 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2564 eval "$ac_cv_use_universal"
2565 if test "$no_cache" != 1; then
2566 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2569 if test "$wxUSE_UNIVERSAL" = yes; then
2570 echo "$as_me:$LINENO: result: yes" >&5
2571 echo "${ECHO_T}yes" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2578 # Check whether --with-gtk or --without-gtk was given.
2579 if test "${with_gtk+set}" = set; then
2581 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2584 # Check whether --with-motif or --without-motif was given.
2585 if test "${with_motif+set}" = set; then
2586 withval
="$with_motif"
2587 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2590 # Check whether --with-mac or --without-mac was given.
2591 if test "${with_mac+set}" = set; then
2593 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2596 # Check whether --with-cocoa or --without-cocoa was given.
2597 if test "${with_cocoa+set}" = set; then
2598 withval
="$with_cocoa"
2599 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2602 # Check whether --with-wine or --without-wine was given.
2603 if test "${with_wine+set}" = set; then
2604 withval
="$with_wine"
2605 wxUSE_WINE
="$withval" CACHE_WINE
=1
2608 # Check whether --with-msw or --without-msw was given.
2609 if test "${with_msw+set}" = set; then
2611 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2614 # Check whether --with-pm or --without-pm was given.
2615 if test "${with_pm+set}" = set; then
2617 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2620 # Check whether --with-mgl or --without-mgl was given.
2621 if test "${with_mgl+set}" = set; then
2623 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2626 # Check whether --with-microwin or --without-microwin was given.
2627 if test "${with_microwin+set}" = set; then
2628 withval
="$with_microwin"
2629 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2632 # Check whether --with-x11 or --without-x11 was given.
2633 if test "${with_x11+set}" = set; then
2635 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2640 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2642 # Check whether --enable-nanox or --disable-nanox was given.
2643 if test "${enable_nanox+set}" = set; then
2644 enableval
="$enable_nanox"
2646 if test "$enableval" = yes; then
2647 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2649 ac_cv_use_nanox
='wxUSE_NANOX=no'
2654 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x
; then
2656 eval "DEFAULT_$LINE"
2661 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2665 eval "$ac_cv_use_nanox"
2666 if test "$no_cache" != 1; then
2667 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2670 if test "$wxUSE_NANOX" = yes; then
2671 echo "$as_me:$LINENO: result: yes" >&5
2672 echo "${ECHO_T}yes" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2682 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2684 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2685 if test "${enable_gtk2+set}" = set; then
2686 enableval
="$enable_gtk2"
2688 if test "$enableval" = yes; then
2689 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2691 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2696 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2697 if test "x$LINE" != x
; then
2698 eval "DEFAULT_$LINE"
2703 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2707 eval "$ac_cv_use_gtk2"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_GTK2" = yes; then
2713 echo "$as_me:$LINENO: result: yes" >&5
2714 echo "${ECHO_T}yes" >&6
2716 echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6
2722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2723 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 # Check whether --enable-gpe or --disable-gpe was given.
2726 if test "${enable_gpe+set}" = set; then
2727 enableval
="$enable_gpe"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_gpe
='wxUSE_GPE=yes'
2732 ac_cv_use_gpe
='wxUSE_GPE=no'
2737 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2748 eval "$ac_cv_use_gpe"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2753 if test "$wxUSE_GPE" = yes; then
2754 echo "$as_me:$LINENO: result: yes" >&5
2755 echo "${ECHO_T}yes" >&6
2757 echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6
2763 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2764 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2767 # Check whether --with-libpng or --without-libpng was given.
2768 if test "${with_libpng+set}" = set; then
2769 withval
="$with_libpng"
2771 if test "$withval" = yes; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2773 elif test "$withval" = no
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2775 elif test "$withval" = sys
; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2777 elif test "$withval" = builtin; then
2778 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2781 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2787 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2798 eval "$ac_cv_use_libpng"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_LIBPNG" = yes; then
2804 echo "$as_me:$LINENO: result: yes" >&5
2805 echo "${ECHO_T}yes" >&6
2806 elif test "$wxUSE_LIBPNG" = no
; then
2807 echo "$as_me:$LINENO: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2809 elif test "$wxUSE_LIBPNG" = sys
; then
2810 echo "$as_me:$LINENO: result: system version" >&5
2811 echo "${ECHO_T}system version" >&6
2812 elif test "$wxUSE_LIBPNG" = builtin; then
2813 echo "$as_me:$LINENO: result: builtin version" >&5
2814 echo "${ECHO_T}builtin version" >&6
2816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2817 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2818 { (exit 1); exit 1; }; }
2822 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2823 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2826 # Check whether --with-libjpeg or --without-libjpeg was given.
2827 if test "${with_libjpeg+set}" = set; then
2828 withval
="$with_libjpeg"
2830 if test "$withval" = yes; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2832 elif test "$withval" = no
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2834 elif test "$withval" = sys
; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2836 elif test "$withval" = builtin; then
2837 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2840 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2846 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x
; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2857 eval "$ac_cv_use_libjpeg"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2862 if test "$wxUSE_LIBJPEG" = yes; then
2863 echo "$as_me:$LINENO: result: yes" >&5
2864 echo "${ECHO_T}yes" >&6
2865 elif test "$wxUSE_LIBJPEG" = no
; then
2866 echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2868 elif test "$wxUSE_LIBJPEG" = sys
; then
2869 echo "$as_me:$LINENO: result: system version" >&5
2870 echo "${ECHO_T}system version" >&6
2871 elif test "$wxUSE_LIBJPEG" = builtin; then
2872 echo "$as_me:$LINENO: result: builtin version" >&5
2873 echo "${ECHO_T}builtin version" >&6
2875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2876 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2877 { (exit 1); exit 1; }; }
2881 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2882 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2885 # Check whether --with-libtiff or --without-libtiff was given.
2886 if test "${with_libtiff+set}" = set; then
2887 withval
="$with_libtiff"
2889 if test "$withval" = yes; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2891 elif test "$withval" = no
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2893 elif test "$withval" = sys
; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2895 elif test "$withval" = builtin; then
2896 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2905 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2916 eval "$ac_cv_use_libtiff"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2921 if test "$wxUSE_LIBTIFF" = yes; then
2922 echo "$as_me:$LINENO: result: yes" >&5
2923 echo "${ECHO_T}yes" >&6
2924 elif test "$wxUSE_LIBTIFF" = no
; then
2925 echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2927 elif test "$wxUSE_LIBTIFF" = sys
; then
2928 echo "$as_me:$LINENO: result: system version" >&5
2929 echo "${ECHO_T}system version" >&6
2930 elif test "$wxUSE_LIBTIFF" = builtin; then
2931 echo "$as_me:$LINENO: result: builtin version" >&5
2932 echo "${ECHO_T}builtin version" >&6
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2940 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2941 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2944 # Check whether --with-libxpm or --without-libxpm was given.
2945 if test "${with_libxpm+set}" = set; then
2946 withval
="$with_libxpm"
2948 if test "$withval" = yes; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2950 elif test "$withval" = no
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2952 elif test "$withval" = sys
; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2954 elif test "$withval" = builtin; then
2955 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2964 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x
; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2975 eval "$ac_cv_use_libxpm"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2980 if test "$wxUSE_LIBXPM" = yes; then
2981 echo "$as_me:$LINENO: result: yes" >&5
2982 echo "${ECHO_T}yes" >&6
2983 elif test "$wxUSE_LIBXPM" = no
; then
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2986 elif test "$wxUSE_LIBXPM" = sys
; then
2987 echo "$as_me:$LINENO: result: system version" >&5
2988 echo "${ECHO_T}system version" >&6
2989 elif test "$wxUSE_LIBXPM" = builtin; then
2990 echo "$as_me:$LINENO: result: builtin version" >&5
2991 echo "${ECHO_T}builtin version" >&6
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2999 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3000 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3003 # Check whether --with-libmspack or --without-libmspack was given.
3004 if test "${with_libmspack+set}" = set; then
3005 withval
="$with_libmspack"
3007 if test "$withval" = yes; then
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3010 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3015 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3016 if test "x$LINE" != x
; then
3017 eval "DEFAULT_$LINE"
3022 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3026 eval "$ac_cv_use_libmspack"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3031 if test "$wxUSE_LIBMSPACK" = yes; then
3032 echo "$as_me:$LINENO: result: yes" >&5
3033 echo "${ECHO_T}yes" >&6
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3040 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3041 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3044 # Check whether --with-sdl or --without-sdl was given.
3045 if test "${with_sdl+set}" = set; then
3048 if test "$withval" = yes; then
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3051 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3056 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3067 eval "$ac_cv_use_sdl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3072 if test "$wxUSE_LIBSDL" = yes; then
3073 echo "$as_me:$LINENO: result: yes" >&5
3074 echo "${ECHO_T}yes" >&6
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3081 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3082 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3085 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3086 if test "${with_gnomeprint+set}" = set; then
3087 withval
="$with_gnomeprint"
3089 if test "$withval" = yes; then
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3092 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3097 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3108 eval "$ac_cv_use_gnomeprint"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3114 echo "$as_me:$LINENO: result: yes" >&5
3115 echo "${ECHO_T}yes" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3122 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3123 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3126 # Check whether --with-opengl or --without-opengl was given.
3127 if test "${with_opengl+set}" = set; then
3128 withval
="$with_opengl"
3130 if test "$withval" = yes; then
3131 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3133 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3138 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3149 eval "$ac_cv_use_opengl"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_OPENGL" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3166 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3167 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3170 # Check whether --with-dmalloc or --without-dmalloc was given.
3171 if test "${with_dmalloc+set}" = set; then
3172 withval
="$with_dmalloc"
3174 if test "$withval" = yes; then
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3177 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3182 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3193 eval "$ac_cv_use_dmalloc"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_DMALLOC" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3207 echo "$as_me:$LINENO: checking for --with-regex" >&5
3208 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3211 # Check whether --with-regex or --without-regex was given.
3212 if test "${with_regex+set}" = set; then
3213 withval
="$with_regex"
3215 if test "$withval" = yes; then
3216 ac_cv_use_regex
='wxUSE_REGEX=yes'
3217 elif test "$withval" = no
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=no'
3219 elif test "$withval" = sys
; then
3220 ac_cv_use_regex
='wxUSE_REGEX=sys'
3221 elif test "$withval" = builtin; then
3222 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3224 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3225 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3226 { (exit 1); exit 1; }; }
3231 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x
; then
3233 eval "DEFAULT_$LINE"
3238 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3242 eval "$ac_cv_use_regex"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3247 if test "$wxUSE_REGEX" = yes; then
3248 echo "$as_me:$LINENO: result: yes" >&5
3249 echo "${ECHO_T}yes" >&6
3250 elif test "$wxUSE_REGEX" = no
; then
3251 echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6
3253 elif test "$wxUSE_REGEX" = sys
; then
3254 echo "$as_me:$LINENO: result: system version" >&5
3255 echo "${ECHO_T}system version" >&6
3256 elif test "$wxUSE_REGEX" = builtin; then
3257 echo "$as_me:$LINENO: result: builtin version" >&5
3258 echo "${ECHO_T}builtin version" >&6
3260 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3261 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3262 { (exit 1); exit 1; }; }
3266 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3267 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3270 # Check whether --with-zlib or --without-zlib was given.
3271 if test "${with_zlib+set}" = set; then
3272 withval
="$with_zlib"
3274 if test "$withval" = yes; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3276 elif test "$withval" = no
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3278 elif test "$withval" = sys
; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3280 elif test "$withval" = builtin; then
3281 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3283 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3284 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3285 { (exit 1); exit 1; }; }
3290 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3301 eval "$ac_cv_use_zlib"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_ZLIB" = yes; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308 echo "${ECHO_T}yes" >&6
3309 elif test "$wxUSE_ZLIB" = no
; then
3310 echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3312 elif test "$wxUSE_ZLIB" = sys
; then
3313 echo "$as_me:$LINENO: result: system version" >&5
3314 echo "${ECHO_T}system version" >&6
3315 elif test "$wxUSE_ZLIB" = builtin; then
3316 echo "$as_me:$LINENO: result: builtin version" >&5
3317 echo "${ECHO_T}builtin version" >&6
3319 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3320 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3321 { (exit 1); exit 1; }; }
3325 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3326 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3329 # Check whether --with-odbc or --without-odbc was given.
3330 if test "${with_odbc+set}" = set; then
3331 withval
="$with_odbc"
3333 if test "$withval" = yes; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3335 elif test "$withval" = no
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=no'
3337 elif test "$withval" = sys
; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3339 elif test "$withval" = builtin; then
3340 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3342 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3343 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3344 { (exit 1); exit 1; }; }
3349 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x
; then
3351 eval "DEFAULT_$LINE"
3356 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3360 eval "$ac_cv_use_odbc"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_ODBC" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 elif test "$wxUSE_ODBC" = no
; then
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 elif test "$wxUSE_ODBC" = sys
; then
3372 echo "$as_me:$LINENO: result: system version" >&5
3373 echo "${ECHO_T}system version" >&6
3374 elif test "$wxUSE_ODBC" = builtin; then
3375 echo "$as_me:$LINENO: result: builtin version" >&5
3376 echo "${ECHO_T}builtin version" >&6
3378 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3379 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3380 { (exit 1); exit 1; }; }
3384 echo "$as_me:$LINENO: checking for --with-expat" >&5
3385 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3388 # Check whether --with-expat or --without-expat was given.
3389 if test "${with_expat+set}" = set; then
3390 withval
="$with_expat"
3392 if test "$withval" = yes; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3394 elif test "$withval" = no
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=no'
3396 elif test "$withval" = sys
; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3398 elif test "$withval" = builtin; then
3399 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3402 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3403 { (exit 1); exit 1; }; }
3408 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3419 eval "$ac_cv_use_expat"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_EXPAT" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3427 elif test "$wxUSE_EXPAT" = no
; then
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3430 elif test "$wxUSE_EXPAT" = sys
; then
3431 echo "$as_me:$LINENO: result: system version" >&5
3432 echo "${ECHO_T}system version" >&6
3433 elif test "$wxUSE_EXPAT" = builtin; then
3434 echo "$as_me:$LINENO: result: builtin version" >&5
3435 echo "${ECHO_T}builtin version" >&6
3437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3439 { (exit 1); exit 1; }; }
3446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3447 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 # Check whether --enable-shared or --disable-shared was given.
3450 if test "${enable_shared+set}" = set; then
3451 enableval
="$enable_shared"
3453 if test "$enableval" = yes; then
3454 ac_cv_use_shared
='wxUSE_SHARED=yes'
3456 ac_cv_use_shared
='wxUSE_SHARED=no'
3461 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x
; then
3463 eval "DEFAULT_$LINE"
3468 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3472 eval "$ac_cv_use_shared"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_SHARED" = yes; then
3478 echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3488 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 # Check whether --enable-optimise or --disable-optimise was given.
3491 if test "${enable_optimise+set}" = set; then
3492 enableval
="$enable_optimise"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3497 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3502 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3513 eval "$ac_cv_use_optimise"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_OPTIMISE" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6
3522 echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6
3528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 # Check whether --enable-debug or --disable-debug was given.
3532 if test "${enable_debug+set}" = set; then
3533 enableval
="$enable_debug"
3535 if test "$enableval" = yes; then
3536 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3538 ac_cv_use_debug
='wxUSE_DEBUG=no'
3543 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x
; then
3545 eval "DEFAULT_$LINE"
3550 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3554 eval "$ac_cv_use_debug"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_DEBUG" = yes; then
3560 echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3570 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 # Check whether --enable-stl or --disable-stl was given.
3573 if test "${enable_stl+set}" = set; then
3574 enableval
="$enable_stl"
3576 if test "$enableval" = yes; then
3577 ac_cv_use_stl
='wxUSE_STL=yes'
3579 ac_cv_use_stl
='wxUSE_STL=no'
3584 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x
; then
3586 eval "DEFAULT_$LINE"
3591 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3595 eval "$ac_cv_use_stl"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_STL" = yes; then
3601 echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3608 if test "$USE_OS2" = "1"; then
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval
="$enable_omf"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf
='wxUSE_OMF=yes'
3621 ac_cv_use_omf
='wxUSE_OMF=no'
3626 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3654 DEFAULT_wxUSE_DEBUG_INFO
=yes
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=no
3658 DEFAULT_wxUSE_DEBUG_INFO
=no
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval
="$enable_debug_flag"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3679 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval
="$enable_debug_info"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3720 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval
="$enable_debug_gdb"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3761 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval
="$enable_debug_cntxt"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3802 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval
="$enable_mem_tracing"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3843 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval
="$enable_profile"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3879 ac_cv_use_profile
='wxUSE_PROFILE=no'
3884 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval
="$enable_no_rtti"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3925 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval
="$enable_no_exceptions"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3966 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval
="$enable_permissive"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4007 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval
="$enable_no_deps"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4048 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval
="$enable_compat22"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4090 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 enablestring
=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval
="$enable_compat24"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4131 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval
="$enable_rpath"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4168 ac_cv_use_rpath
='wxUSE_RPATH=no'
4173 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval
="$enable_intl"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl
='wxUSE_INTL=yes'
4212 ac_cv_use_intl
='wxUSE_INTL=no'
4217 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval
="$enable_config"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config
='wxUSE_CONFIG=yes'
4253 ac_cv_use_config
='wxUSE_CONFIG=no'
4258 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval
="$enable_protocols"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4300 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval
="$enable_ftp"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4341 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval
="$enable_http"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4382 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval
="$enable_fileproto"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4423 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval
="$enable_sockets"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4464 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval
="$enable_ole"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole
='wxUSE_OLE=yes'
4500 ac_cv_use_ole
='wxUSE_OLE=no'
4505 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval
="$enable_dataobj"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4546 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval
="$enable_ipc"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc
='wxUSE_IPC=yes'
4583 ac_cv_use_ipc
='wxUSE_IPC=no'
4588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval
="$enable_apple_ieee"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4630 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4659 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4660 if test "${enable_catch_segvs+set}" = set; then
4661 enableval
="$enable_catch_segvs"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4666 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4671 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4682 eval "$ac_cv_use_catch_segvs"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4700 # Check whether --enable-cmdline or --disable-cmdline was given.
4701 if test "${enable_cmdline+set}" = set; then
4702 enableval
="$enable_cmdline"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4707 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4712 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4723 eval "$ac_cv_use_cmdline"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4741 # Check whether --enable-datetime or --disable-datetime was given.
4742 if test "${enable_datetime+set}" = set; then
4743 enableval
="$enable_datetime"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4748 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4753 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4764 eval "$ac_cv_use_datetime"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_DATETIME" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4782 # Check whether --enable-dialupman or --disable-dialupman was given.
4783 if test "${enable_dialupman+set}" = set; then
4784 enableval
="$enable_dialupman"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4789 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4794 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4805 eval "$ac_cv_use_dialupman"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4823 # Check whether --enable-dynlib or --disable-dynlib was given.
4824 if test "${enable_dynlib+set}" = set; then
4825 enableval
="$enable_dynlib"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4830 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4835 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4846 eval "$ac_cv_use_dynlib"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4864 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4865 if test "${enable_dynamicloader+set}" = set; then
4866 enableval
="$enable_dynamicloader"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4871 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4876 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4887 eval "$ac_cv_use_dynamicloader"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4905 # Check whether --enable-exceptions or --disable-exceptions was given.
4906 if test "${enable_exceptions+set}" = set; then
4907 enableval
="$enable_exceptions"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4912 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4917 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4928 eval "$ac_cv_use_exceptions"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_EXCEPTIONS" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4946 # Check whether --enable-ffile or --disable-ffile was given.
4947 if test "${enable_ffile+set}" = set; then
4948 enableval
="$enable_ffile"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4953 ac_cv_use_ffile
='wxUSE_FFILE=no'
4958 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4969 eval "$ac_cv_use_ffile"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_FFILE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4987 # Check whether --enable-file or --disable-file was given.
4988 if test "${enable_file+set}" = set; then
4989 enableval
="$enable_file"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_file
='wxUSE_FILE=yes'
4994 ac_cv_use_file
='wxUSE_FILE=no'
4999 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5010 eval "$ac_cv_use_file"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_FILE" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5028 # Check whether --enable-filesystem or --disable-filesystem was given.
5029 if test "${enable_filesystem+set}" = set; then
5030 enableval
="$enable_filesystem"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5035 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5040 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5051 eval "$ac_cv_use_filesystem"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_FILESYSTEM" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5069 # Check whether --enable-fontmap or --disable-fontmap was given.
5070 if test "${enable_fontmap+set}" = set; then
5071 enableval
="$enable_fontmap"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5076 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5081 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5092 eval "$ac_cv_use_fontmap"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_FONTMAP" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5110 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5111 if test "${enable_fs_inet+set}" = set; then
5112 enableval
="$enable_fs_inet"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5117 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5122 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5133 eval "$ac_cv_use_fs_inet"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_FS_INET" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5151 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5152 if test "${enable_fs_zip+set}" = set; then
5153 enableval
="$enable_fs_zip"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5158 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5163 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5174 eval "$ac_cv_use_fs_zip"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_FS_ZIP" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5192 # Check whether --enable-geometry or --disable-geometry was given.
5193 if test "${enable_geometry+set}" = set; then
5194 enableval
="$enable_geometry"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5199 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5204 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5215 eval "$ac_cv_use_geometry"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_GEOMETRY" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5233 # Check whether --enable-log or --disable-log was given.
5234 if test "${enable_log+set}" = set; then
5235 enableval
="$enable_log"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_log
='wxUSE_LOG=yes'
5240 ac_cv_use_log
='wxUSE_LOG=no'
5245 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5256 eval "$ac_cv_use_log"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_LOG" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5274 # Check whether --enable-longlong or --disable-longlong was given.
5275 if test "${enable_longlong+set}" = set; then
5276 enableval
="$enable_longlong"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5281 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5286 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5297 eval "$ac_cv_use_longlong"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_LONGLONG" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5315 # Check whether --enable-mimetype or --disable-mimetype was given.
5316 if test "${enable_mimetype+set}" = set; then
5317 enableval
="$enable_mimetype"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5322 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5327 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5338 eval "$ac_cv_use_mimetype"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_MIMETYPE" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5356 # Check whether --enable-mslu or --disable-mslu was given.
5357 if test "${enable_mslu+set}" = set; then
5358 enableval
="$enable_mslu"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5363 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5368 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5379 eval "$ac_cv_use_mslu"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_UNICODE_MSLU" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5397 # Check whether --enable-snglinst or --disable-snglinst was given.
5398 if test "${enable_snglinst+set}" = set; then
5399 enableval
="$enable_snglinst"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5404 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5409 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5420 eval "$ac_cv_use_snglinst"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5438 # Check whether --enable-streams or --disable-streams was given.
5439 if test "${enable_streams+set}" = set; then
5440 enableval
="$enable_streams"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5445 ac_cv_use_streams
='wxUSE_STREAMS=no'
5450 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5461 eval "$ac_cv_use_streams"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_STREAMS" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5479 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5480 if test "${enable_std_iostreams+set}" = set; then
5481 enableval
="$enable_std_iostreams"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5486 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5491 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5502 eval "$ac_cv_use_std_iostreams"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_STD_IOSTREAM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5520 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5521 if test "${enable_stopwatch+set}" = set; then
5522 enableval
="$enable_stopwatch"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5527 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5532 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5543 eval "$ac_cv_use_stopwatch"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_STOPWATCH" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5561 # Check whether --enable-system_options or --disable-system_options was given.
5562 if test "${enable_system_options+set}" = set; then
5563 enableval
="$enable_system_options"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5568 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5573 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5584 eval "$ac_cv_use_system_options"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5602 # Check whether --enable-textbuf or --disable-textbuf was given.
5603 if test "${enable_textbuf+set}" = set; then
5604 enableval
="$enable_textbuf"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5609 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5614 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5625 eval "$ac_cv_use_textbuf"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_TEXTBUFFER" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5643 # Check whether --enable-textfile or --disable-textfile was given.
5644 if test "${enable_textfile+set}" = set; then
5645 enableval
="$enable_textfile"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5650 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5655 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5666 eval "$ac_cv_use_textfile"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_TEXTFILE" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5684 # Check whether --enable-timer or --disable-timer was given.
5685 if test "${enable_timer+set}" = set; then
5686 enableval
="$enable_timer"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_timer
='wxUSE_TIMER=yes'
5691 ac_cv_use_timer
='wxUSE_TIMER=no'
5696 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5707 eval "$ac_cv_use_timer"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_TIMER" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5725 # Check whether --enable-unicode or --disable-unicode was given.
5726 if test "${enable_unicode+set}" = set; then
5727 enableval
="$enable_unicode"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5732 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5737 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5748 eval "$ac_cv_use_unicode"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_UNICODE" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5766 # Check whether --enable-sound or --disable-sound was given.
5767 if test "${enable_sound+set}" = set; then
5768 enableval
="$enable_sound"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_sound
='wxUSE_SOUND=yes'
5773 ac_cv_use_sound
='wxUSE_SOUND=no'
5778 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5789 eval "$ac_cv_use_sound"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_SOUND" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5807 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5808 if test "${enable_wxprintfv+set}" = set; then
5809 enableval
="$enable_wxprintfv"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5814 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5819 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5830 eval "$ac_cv_use_wxprintfv"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5848 # Check whether --enable-zipstream or --disable-zipstream was given.
5849 if test "${enable_zipstream+set}" = set; then
5850 enableval
="$enable_zipstream"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5855 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5860 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5871 eval "$ac_cv_use_zipstream"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_ZIPSTREAM" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5890 # Check whether --enable-url or --disable-url was given.
5891 if test "${enable_url+set}" = set; then
5892 enableval
="$enable_url"
5894 if test "$enableval" = yes; then
5895 ac_cv_use_url
='wxUSE_URL=yes'
5897 ac_cv_use_url
='wxUSE_URL=no'
5902 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x
; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5913 eval "$ac_cv_use_url"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_URL" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5931 # Check whether --enable-protocol or --disable-protocol was given.
5932 if test "${enable_protocol+set}" = set; then
5933 enableval
="$enable_protocol"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5938 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5943 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5954 eval "$ac_cv_use_protocol"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_PROTOCOL" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5972 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5973 if test "${enable_protocol_http+set}" = set; then
5974 enableval
="$enable_protocol_http"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5979 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5984 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5995 eval "$ac_cv_use_protocol_http"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6013 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6014 if test "${enable_protocol_ftp+set}" = set; then
6015 enableval
="$enable_protocol_ftp"
6017 if test "$enableval" = yes; then
6018 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6020 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6025 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x
; then
6027 eval "DEFAULT_$LINE"
6032 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6036 eval "$ac_cv_use_protocol_ftp"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043 echo "${ECHO_T}yes" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6054 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6055 if test "${enable_protocol_file+set}" = set; then
6056 enableval
="$enable_protocol_file"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6061 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6066 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6077 eval "$ac_cv_use_protocol_file"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6098 # Check whether --enable-threads or --disable-threads was given.
6099 if test "${enable_threads+set}" = set; then
6100 enableval
="$enable_threads"
6102 if test "$enableval" = yes; then
6103 ac_cv_use_threads
='wxUSE_THREADS=yes'
6105 ac_cv_use_threads
='wxUSE_THREADS=no'
6110 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x
; then
6112 eval "DEFAULT_$LINE"
6117 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6121 eval "$ac_cv_use_threads"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_THREADS" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128 echo "${ECHO_T}yes" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6135 if test "$wxUSE_GUI" = "yes"; then
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6143 # Check whether --enable-docview or --disable-docview was given.
6144 if test "${enable_docview+set}" = set; then
6145 enableval
="$enable_docview"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6150 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6155 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6166 eval "$ac_cv_use_docview"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6184 # Check whether --enable-help or --disable-help was given.
6185 if test "${enable_help+set}" = set; then
6186 enableval
="$enable_help"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_help
='wxUSE_HELP=yes'
6191 ac_cv_use_help
='wxUSE_HELP=no'
6196 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6207 eval "$ac_cv_use_help"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_HELP" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6225 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6226 if test "${enable_mshtmlhelp+set}" = set; then
6227 enableval
="$enable_mshtmlhelp"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6232 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6237 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6248 eval "$ac_cv_use_mshtmlhelp"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_MS_HTML_HELP" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6266 # Check whether --enable-html or --disable-html was given.
6267 if test "${enable_html+set}" = set; then
6268 enableval
="$enable_html"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_html
='wxUSE_HTML=yes'
6273 ac_cv_use_html
='wxUSE_HTML=no'
6278 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6289 eval "$ac_cv_use_html"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_HTML" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6307 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6308 if test "${enable_htmlhelp+set}" = set; then
6309 enableval
="$enable_htmlhelp"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6314 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6319 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6330 eval "$ac_cv_use_htmlhelp"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_WXHTML_HELP" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6348 # Check whether --enable-xrc or --disable-xrc was given.
6349 if test "${enable_xrc+set}" = set; then
6350 enableval
="$enable_xrc"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_xrc
='wxUSE_XRC=yes'
6355 ac_cv_use_xrc
='wxUSE_XRC=no'
6360 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6371 eval "$ac_cv_use_xrc"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_XRC" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6389 # Check whether --enable-constraints or --disable-constraints was given.
6390 if test "${enable_constraints+set}" = set; then
6391 enableval
="$enable_constraints"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6396 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6401 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6412 eval "$ac_cv_use_constraints"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_CONSTRAINTS" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6430 # Check whether --enable-printarch or --disable-printarch was given.
6431 if test "${enable_printarch+set}" = set; then
6432 enableval
="$enable_printarch"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6437 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6442 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6453 eval "$ac_cv_use_printarch"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6471 # Check whether --enable-mdi or --disable-mdi was given.
6472 if test "${enable_mdi+set}" = set; then
6473 enableval
="$enable_mdi"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mdi
='wxUSE_MDI=yes'
6478 ac_cv_use_mdi
='wxUSE_MDI=no'
6483 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6494 eval "$ac_cv_use_mdi"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MDI" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6512 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6513 if test "${enable_mdidoc+set}" = set; then
6514 enableval
="$enable_mdidoc"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6519 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6524 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6535 eval "$ac_cv_use_mdidoc"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6553 # Check whether --enable-loggui or --disable-loggui was given.
6554 if test "${enable_loggui+set}" = set; then
6555 enableval
="$enable_loggui"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6560 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6565 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6576 eval "$ac_cv_use_loggui"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_LOGGUI" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6594 # Check whether --enable-logwin or --disable-logwin was given.
6595 if test "${enable_logwin+set}" = set; then
6596 enableval
="$enable_logwin"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6601 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6606 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6617 eval "$ac_cv_use_logwin"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_LOGWINDOW" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6635 # Check whether --enable-logdialog or --disable-logdialog was given.
6636 if test "${enable_logdialog+set}" = set; then
6637 enableval
="$enable_logdialog"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6642 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6647 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6658 eval "$ac_cv_use_logdialog"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_LOGDIALOG" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6676 # Check whether --enable-webkit or --disable-webkit was given.
6677 if test "${enable_webkit+set}" = set; then
6678 enableval
="$enable_webkit"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6683 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6688 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6699 eval "$ac_cv_use_webkit"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_WEBKIT" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6718 # Check whether --enable-postscript or --disable-postscript was given.
6719 if test "${enable_postscript+set}" = set; then
6720 enableval
="$enable_postscript"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6725 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6730 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6741 eval "$ac_cv_use_postscript"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_POSTSCRIPT" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6762 # Check whether --enable-prologio or --disable-prologio was given.
6763 if test "${enable_prologio+set}" = set; then
6764 enableval
="$enable_prologio"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6769 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6774 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6785 eval "$ac_cv_use_prologio"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_PROLOGIO" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6803 # Check whether --enable-resources or --disable-resources was given.
6804 if test "${enable_resources+set}" = set; then
6805 enableval
="$enable_resources"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6810 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6815 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6826 eval "$ac_cv_use_resources"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_RESOURCES" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6846 # Check whether --enable-clipboard or --disable-clipboard was given.
6847 if test "${enable_clipboard+set}" = set; then
6848 enableval
="$enable_clipboard"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6853 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6858 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x
; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6869 eval "$ac_cv_use_clipboard"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_CLIPBOARD" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6887 # Check whether --enable-dnd or --disable-dnd was given.
6888 if test "${enable_dnd+set}" = set; then
6889 enableval
="$enable_dnd"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6894 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6899 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6910 eval "$ac_cv_use_dnd"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6928 # Check whether --enable-metafile or --disable-metafile was given.
6929 if test "${enable_metafile+set}" = set; then
6930 enableval
="$enable_metafile"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6951 eval "$ac_cv_use_metafile"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_METAFILE" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6972 # Check whether --enable-controls or --disable-controls was given.
6973 if test "${enable_controls+set}" = set; then
6974 enableval
="$enable_controls"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6979 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6984 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6995 eval "$ac_cv_use_controls"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_CONTROLS" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7009 if test "$wxUSE_CONTROLS" = "yes"; then
7010 DEFAULT_wxUSE_ACCEL
=yes
7011 DEFAULT_wxUSE_BMPBUTTON
=yes
7012 DEFAULT_wxUSE_BUTTON
=yes
7013 DEFAULT_wxUSE_CALCTRL
=no
7014 DEFAULT_wxUSE_CARET
=yes
7015 DEFAULT_wxUSE_COMBOBOX
=yes
7016 DEFAULT_wxUSE_CHECKBOX
=yes
7017 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7018 DEFAULT_wxUSE_CHOICE
=yes
7019 DEFAULT_wxUSE_CHOICEBOOK
=yes
7020 DEFAULT_wxUSE_GAUGE
=yes
7021 DEFAULT_wxUSE_GRID
=yes
7022 DEFAULT_wxUSE_IMAGLIST
=yes
7023 DEFAULT_wxUSE_LISTBOOK
=yes
7024 DEFAULT_wxUSE_LISTBOX
=yes
7025 DEFAULT_wxUSE_LISTCTRL
=yes
7026 DEFAULT_wxUSE_NOTEBOOK
=yes
7027 DEFAULT_wxUSE_RADIOBOX
=yes
7028 DEFAULT_wxUSE_RADIOBTN
=yes
7029 DEFAULT_wxUSE_SASH
=yes
7030 DEFAULT_wxUSE_SCROLLBAR
=yes
7031 DEFAULT_wxUSE_SLIDER
=yes
7032 DEFAULT_wxUSE_SPINBTN
=yes
7033 DEFAULT_wxUSE_SPINCTRL
=yes
7034 DEFAULT_wxUSE_SPLITTER
=yes
7035 DEFAULT_wxUSE_STATBMP
=yes
7036 DEFAULT_wxUSE_STATBOX
=yes
7037 DEFAULT_wxUSE_STATLINE
=yes
7038 DEFAULT_wxUSE_STATUSBAR
=yes
7039 DEFAULT_wxUSE_TAB_DIALOG
=yes
7040 DEFAULT_wxUSE_TOGGLEBTN
=yes
7041 DEFAULT_wxUSE_TOOLBAR
=yes
7042 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7043 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7044 DEFAULT_wxUSE_TOOLTIPS
=yes
7045 DEFAULT_wxUSE_TREECTRL
=yes
7046 DEFAULT_wxUSE_POPUPWIN
=yes
7047 DEFAULT_wxUSE_TIPWINDOW
=yes
7048 elif test "$wxUSE_CONTROLS" = "no"; then
7049 DEFAULT_wxUSE_ACCEL
=no
7050 DEFAULT_wxUSE_BMPBUTTON
=no
7051 DEFAULT_wxUSE_BUTTON
=no
7052 DEFAULT_wxUSE_CALCTRL
=no
7053 DEFAULT_wxUSE_CARET
=no
7054 DEFAULT_wxUSE_COMBOBOX
=no
7055 DEFAULT_wxUSE_CHECKBOX
=no
7056 DEFAULT_wxUSE_CHECKLISTBOX
=no
7057 DEFAULT_wxUSE_CHOICE
=no
7058 DEFAULT_wxUSE_CHOICEBOOK
=no
7059 DEFAULT_wxUSE_GAUGE
=no
7060 DEFAULT_wxUSE_GRID
=no
7061 DEFAULT_wxUSE_IMAGLIST
=no
7062 DEFAULT_wxUSE_LISTBOOK
=no
7063 DEFAULT_wxUSE_LISTBOX
=no
7064 DEFAULT_wxUSE_LISTCTRL
=no
7065 DEFAULT_wxUSE_NOTEBOOK
=no
7066 DEFAULT_wxUSE_RADIOBOX
=no
7067 DEFAULT_wxUSE_RADIOBTN
=no
7068 DEFAULT_wxUSE_SASH
=no
7069 DEFAULT_wxUSE_SCROLLBAR
=no
7070 DEFAULT_wxUSE_SLIDER
=no
7071 DEFAULT_wxUSE_SPINBTN
=no
7072 DEFAULT_wxUSE_SPINCTRL
=no
7073 DEFAULT_wxUSE_SPLITTER
=no
7074 DEFAULT_wxUSE_STATBMP
=no
7075 DEFAULT_wxUSE_STATBOX
=no
7076 DEFAULT_wxUSE_STATLINE
=no
7077 DEFAULT_wxUSE_STATUSBAR
=no
7078 DEFAULT_wxUSE_TAB_DIALOG
=no
7079 DEFAULT_wxUSE_TOGGLEBTN
=no
7080 DEFAULT_wxUSE_TOOLBAR
=no
7081 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7082 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7083 DEFAULT_wxUSE_TOOLTIPS
=no
7084 DEFAULT_wxUSE_TREECTRL
=no
7085 DEFAULT_wxUSE_POPUPWIN
=no
7086 DEFAULT_wxUSE_TIPWINDOW
=no
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7094 # Check whether --enable-accel or --disable-accel was given.
7095 if test "${enable_accel+set}" = set; then
7096 enableval
="$enable_accel"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7101 ac_cv_use_accel
='wxUSE_ACCEL=no'
7106 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7117 eval "$ac_cv_use_accel"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_ACCEL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7135 # Check whether --enable-button or --disable-button was given.
7136 if test "${enable_button+set}" = set; then
7137 enableval
="$enable_button"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_button
='wxUSE_BUTTON=yes'
7142 ac_cv_use_button
='wxUSE_BUTTON=no'
7147 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7158 eval "$ac_cv_use_button"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_BUTTON" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7176 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7177 if test "${enable_bmpbutton+set}" = set; then
7178 enableval
="$enable_bmpbutton"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7183 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7188 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7199 eval "$ac_cv_use_bmpbutton"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_BMPBUTTON" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7217 # Check whether --enable-calendar or --disable-calendar was given.
7218 if test "${enable_calendar+set}" = set; then
7219 enableval
="$enable_calendar"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7224 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7229 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7240 eval "$ac_cv_use_calendar"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CALCTRL" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7258 # Check whether --enable-caret or --disable-caret was given.
7259 if test "${enable_caret+set}" = set; then
7260 enableval
="$enable_caret"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_caret
='wxUSE_CARET=yes'
7265 ac_cv_use_caret
='wxUSE_CARET=no'
7270 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7281 eval "$ac_cv_use_caret"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_CARET" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7299 # Check whether --enable-checkbox or --disable-checkbox was given.
7300 if test "${enable_checkbox+set}" = set; then
7301 enableval
="$enable_checkbox"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7306 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7311 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7322 eval "$ac_cv_use_checkbox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_CHECKBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7340 # Check whether --enable-checklst or --disable-checklst was given.
7341 if test "${enable_checklst+set}" = set; then
7342 enableval
="$enable_checklst"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7347 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7352 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7363 eval "$ac_cv_use_checklst"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_CHECKLST" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7381 # Check whether --enable-choice or --disable-choice was given.
7382 if test "${enable_choice+set}" = set; then
7383 enableval
="$enable_choice"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7388 ac_cv_use_choice
='wxUSE_CHOICE=no'
7393 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7404 eval "$ac_cv_use_choice"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_CHOICE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7422 # Check whether --enable-choicebook or --disable-choicebook was given.
7423 if test "${enable_choicebook+set}" = set; then
7424 enableval
="$enable_choicebook"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7429 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7434 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7445 eval "$ac_cv_use_choicebook"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_CHOICEBOOK" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7463 # Check whether --enable-combobox or --disable-combobox was given.
7464 if test "${enable_combobox+set}" = set; then
7465 enableval
="$enable_combobox"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7470 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7475 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7486 eval "$ac_cv_use_combobox"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_COMBOBOX" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7504 # Check whether --enable-display or --disable-display was given.
7505 if test "${enable_display+set}" = set; then
7506 enableval
="$enable_display"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7511 ac_cv_use_display
='wxUSE_DISPLAY=no'
7516 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7527 eval "$ac_cv_use_display"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_DISPLAY" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7545 # Check whether --enable-gauge or --disable-gauge was given.
7546 if test "${enable_gauge+set}" = set; then
7547 enableval
="$enable_gauge"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7552 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7557 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7568 eval "$ac_cv_use_gauge"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_GAUGE" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7586 # Check whether --enable-grid or --disable-grid was given.
7587 if test "${enable_grid+set}" = set; then
7588 enableval
="$enable_grid"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_grid
='wxUSE_GRID=yes'
7593 ac_cv_use_grid
='wxUSE_GRID=no'
7598 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7609 eval "$ac_cv_use_grid"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_GRID" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7627 # Check whether --enable-imaglist or --disable-imaglist was given.
7628 if test "${enable_imaglist+set}" = set; then
7629 enableval
="$enable_imaglist"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7634 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7639 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7650 eval "$ac_cv_use_imaglist"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_IMAGLIST" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7668 # Check whether --enable-listbook or --disable-listbook was given.
7669 if test "${enable_listbook+set}" = set; then
7670 enableval
="$enable_listbook"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7675 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7680 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x
; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7691 eval "$ac_cv_use_listbook"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_LISTBOOK" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7709 # Check whether --enable-listbox or --disable-listbox was given.
7710 if test "${enable_listbox+set}" = set; then
7711 enableval
="$enable_listbox"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7716 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7721 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7732 eval "$ac_cv_use_listbox"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_LISTBOX" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7750 # Check whether --enable-listctrl or --disable-listctrl was given.
7751 if test "${enable_listctrl+set}" = set; then
7752 enableval
="$enable_listctrl"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7757 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7762 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7773 eval "$ac_cv_use_listctrl"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_LISTCTRL" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7791 # Check whether --enable-notebook or --disable-notebook was given.
7792 if test "${enable_notebook+set}" = set; then
7793 enableval
="$enable_notebook"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7798 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7803 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7814 eval "$ac_cv_use_notebook"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_NOTEBOOK" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7832 # Check whether --enable-radiobox or --disable-radiobox was given.
7833 if test "${enable_radiobox+set}" = set; then
7834 enableval
="$enable_radiobox"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7839 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7844 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7855 eval "$ac_cv_use_radiobox"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_RADIOBOX" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7873 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7874 if test "${enable_radiobtn+set}" = set; then
7875 enableval
="$enable_radiobtn"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7880 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7885 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7896 eval "$ac_cv_use_radiobtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7901 if test "$wxUSE_RADIOBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7914 # Check whether --enable-sash or --disable-sash was given.
7915 if test "${enable_sash+set}" = set; then
7916 enableval
="$enable_sash"
7918 if test "$enableval" = yes; then
7919 ac_cv_use_sash
='wxUSE_SASH=yes'
7921 ac_cv_use_sash
='wxUSE_SASH=no'
7926 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x
; then
7928 eval "DEFAULT_$LINE"
7933 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7937 eval "$ac_cv_use_sash"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7942 if test "$wxUSE_SASH" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7955 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7956 if test "${enable_scrollbar+set}" = set; then
7957 enableval
="$enable_scrollbar"
7959 if test "$enableval" = yes; then
7960 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7962 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7967 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x
; then
7969 eval "DEFAULT_$LINE"
7974 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7978 eval "$ac_cv_use_scrollbar"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7983 if test "$wxUSE_SCROLLBAR" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7996 # Check whether --enable-slider or --disable-slider was given.
7997 if test "${enable_slider+set}" = set; then
7998 enableval
="$enable_slider"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8003 ac_cv_use_slider
='wxUSE_SLIDER=no'
8008 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x
; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8019 eval "$ac_cv_use_slider"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_SLIDER" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8037 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8038 if test "${enable_spinbtn+set}" = set; then
8039 enableval
="$enable_spinbtn"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8044 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8049 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8060 eval "$ac_cv_use_spinbtn"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8065 if test "$wxUSE_SPINBTN" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8078 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8079 if test "${enable_spinctrl+set}" = set; then
8080 enableval
="$enable_spinctrl"
8082 if test "$enableval" = yes; then
8083 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8085 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8090 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x
; then
8092 eval "DEFAULT_$LINE"
8097 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8101 eval "$ac_cv_use_spinctrl"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8106 if test "$wxUSE_SPINCTRL" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8119 # Check whether --enable-splitter or --disable-splitter was given.
8120 if test "${enable_splitter+set}" = set; then
8121 enableval
="$enable_splitter"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8126 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8131 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8142 eval "$ac_cv_use_splitter"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_SPLITTER" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8160 # Check whether --enable-statbmp or --disable-statbmp was given.
8161 if test "${enable_statbmp+set}" = set; then
8162 enableval
="$enable_statbmp"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8167 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8172 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8183 eval "$ac_cv_use_statbmp"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_STATBMP" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8201 # Check whether --enable-statbox or --disable-statbox was given.
8202 if test "${enable_statbox+set}" = set; then
8203 enableval
="$enable_statbox"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8208 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8213 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x
; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8224 eval "$ac_cv_use_statbox"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8229 if test "$wxUSE_STATBOX" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8242 # Check whether --enable-statline or --disable-statline was given.
8243 if test "${enable_statline+set}" = set; then
8244 enableval
="$enable_statline"
8246 if test "$enableval" = yes; then
8247 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8249 ac_cv_use_statline
='wxUSE_STATLINE=no'
8254 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x
; then
8256 eval "DEFAULT_$LINE"
8261 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8265 eval "$ac_cv_use_statline"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_STATLINE" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8283 # Check whether --enable-stattext or --disable-stattext was given.
8284 if test "${enable_stattext+set}" = set; then
8285 enableval
="$enable_stattext"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8290 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8295 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x
; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8306 eval "$ac_cv_use_stattext"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_STATTEXT" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8324 # Check whether --enable-statusbar or --disable-statusbar was given.
8325 if test "${enable_statusbar+set}" = set; then
8326 enableval
="$enable_statusbar"
8328 if test "$enableval" = yes; then
8329 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8331 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8336 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x
; then
8338 eval "DEFAULT_$LINE"
8343 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8347 eval "$ac_cv_use_statusbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_STATUSBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8365 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8366 if test "${enable_tabdialog+set}" = set; then
8367 enableval
="$enable_tabdialog"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8372 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8377 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8388 eval "$ac_cv_use_tabdialog"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8393 if test "$wxUSE_TABDIALOG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8406 # Check whether --enable-textctrl or --disable-textctrl was given.
8407 if test "${enable_textctrl+set}" = set; then
8408 enableval
="$enable_textctrl"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8413 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8418 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x
; then
8420 eval "DEFAULT_$LINE"
8425 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8429 eval "$ac_cv_use_textctrl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8434 if test "$wxUSE_TEXTCTRL" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8447 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8448 if test "${enable_togglebtn+set}" = set; then
8449 enableval
="$enable_togglebtn"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8454 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8459 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x
; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8470 eval "$ac_cv_use_togglebtn"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8475 if test "$wxUSE_TOGGLEBTN" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8488 # Check whether --enable-toolbar or --disable-toolbar was given.
8489 if test "${enable_toolbar+set}" = set; then
8490 enableval
="$enable_toolbar"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8495 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8500 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x
; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8511 eval "$ac_cv_use_toolbar"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_TOOLBAR" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8529 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8530 if test "${enable_tbarnative+set}" = set; then
8531 enableval
="$enable_tbarnative"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8536 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8541 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8552 eval "$ac_cv_use_tbarnative"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8570 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8571 if test "${enable_tbarsmpl+set}" = set; then
8572 enableval
="$enable_tbarsmpl"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8577 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8582 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8593 eval "$ac_cv_use_tbarsmpl"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8611 # Check whether --enable-treectrl or --disable-treectrl was given.
8612 if test "${enable_treectrl+set}" = set; then
8613 enableval
="$enable_treectrl"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8618 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8623 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x
; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8634 eval "$ac_cv_use_treectrl"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_TREECTRL" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8652 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8653 if test "${enable_tipwindow+set}" = set; then
8654 enableval
="$enable_tipwindow"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8659 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8664 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x
; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8675 eval "$ac_cv_use_tipwindow"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_TIPWINDOW" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8693 # Check whether --enable-popupwin or --disable-popupwin was given.
8694 if test "${enable_popupwin+set}" = set; then
8695 enableval
="$enable_popupwin"
8697 if test "$enableval" = yes; then
8698 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8700 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8705 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x
; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8716 eval "$ac_cv_use_popupwin"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8721 if test "$wxUSE_POPUPWIN" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8736 # Check whether --enable-commondlg or --disable-commondlg was given.
8737 if test "${enable_commondlg+set}" = set; then
8738 enableval
="$enable_commondlg"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8743 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8748 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8759 eval "$ac_cv_use_commondlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_COMMONDLGS" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8777 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8778 if test "${enable_choicedlg+set}" = set; then
8779 enableval
="$enable_choicedlg"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8784 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8789 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8800 eval "$ac_cv_use_choicedlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_CHOICEDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8818 # Check whether --enable-coldlg or --disable-coldlg was given.
8819 if test "${enable_coldlg+set}" = set; then
8820 enableval
="$enable_coldlg"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8825 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8830 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8841 eval "$ac_cv_use_coldlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_COLOURDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8859 # Check whether --enable-filedlg or --disable-filedlg was given.
8860 if test "${enable_filedlg+set}" = set; then
8861 enableval
="$enable_filedlg"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8866 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8871 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8882 eval "$ac_cv_use_filedlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_FILEDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8900 # Check whether --enable-finddlg or --disable-finddlg was given.
8901 if test "${enable_finddlg+set}" = set; then
8902 enableval
="$enable_finddlg"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8907 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8912 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8923 eval "$ac_cv_use_finddlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_FINDREPLDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8941 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8942 if test "${enable_fontdlg+set}" = set; then
8943 enableval
="$enable_fontdlg"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8948 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8953 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8964 eval "$ac_cv_use_fontdlg"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_FONTDLG" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8982 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8983 if test "${enable_dirdlg+set}" = set; then
8984 enableval
="$enable_dirdlg"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8989 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8994 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9005 eval "$ac_cv_use_dirdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_DIRDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9023 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9024 if test "${enable_msgdlg+set}" = set; then
9025 enableval
="$enable_msgdlg"
9027 if test "$enableval" = yes; then
9028 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9030 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9035 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x
; then
9037 eval "DEFAULT_$LINE"
9042 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9046 eval "$ac_cv_use_msgdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_MSGDLG" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9064 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9065 if test "${enable_numberdlg+set}" = set; then
9066 enableval
="$enable_numberdlg"
9068 if test "$enableval" = yes; then
9069 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9071 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9076 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x
; then
9078 eval "DEFAULT_$LINE"
9083 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9087 eval "$ac_cv_use_numberdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_NUMBERDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9105 # Check whether --enable-splash or --disable-splash was given.
9106 if test "${enable_splash+set}" = set; then
9107 enableval
="$enable_splash"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9112 ac_cv_use_splash
='wxUSE_SPLASH=no'
9117 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9128 eval "$ac_cv_use_splash"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_SPLASH" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9146 # Check whether --enable-textdlg or --disable-textdlg was given.
9147 if test "${enable_textdlg+set}" = set; then
9148 enableval
="$enable_textdlg"
9150 if test "$enableval" = yes; then
9151 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9153 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9158 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x
; then
9160 eval "DEFAULT_$LINE"
9165 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9169 eval "$ac_cv_use_textdlg"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_TEXTDLG" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9187 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9188 if test "${enable_tipdlg+set}" = set; then
9189 enableval
="$enable_tipdlg"
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9194 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9199 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x
; then
9201 eval "DEFAULT_$LINE"
9206 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9210 eval "$ac_cv_use_tipdlg"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_STARTUP_TIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9228 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9229 if test "${enable_progressdlg+set}" = set; then
9230 enableval
="$enable_progressdlg"
9232 if test "$enableval" = yes; then
9233 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9235 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9240 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x
; then
9242 eval "DEFAULT_$LINE"
9247 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9251 eval "$ac_cv_use_progressdlg"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_PROGRESSDLG" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9269 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9270 if test "${enable_wizarddlg+set}" = set; then
9271 enableval
="$enable_wizarddlg"
9273 if test "$enableval" = yes; then
9274 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9276 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9281 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x
; then
9283 eval "DEFAULT_$LINE"
9288 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9292 eval "$ac_cv_use_wizarddlg"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_WIZARDDLG" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9312 # Check whether --enable-menus or --disable-menus was given.
9313 if test "${enable_menus+set}" = set; then
9314 enableval
="$enable_menus"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_menus
='wxUSE_MENUS=yes'
9319 ac_cv_use_menus
='wxUSE_MENUS=no'
9324 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9335 eval "$ac_cv_use_menus"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_MENUS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9353 # Check whether --enable-miniframe or --disable-miniframe was given.
9354 if test "${enable_miniframe+set}" = set; then
9355 enableval
="$enable_miniframe"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9360 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9365 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9376 eval "$ac_cv_use_miniframe"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_MINIFRAME" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9394 # Check whether --enable-tooltips or --disable-tooltips was given.
9395 if test "${enable_tooltips+set}" = set; then
9396 enableval
="$enable_tooltips"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9401 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9406 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9417 eval "$ac_cv_use_tooltips"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_TOOLTIPS" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9435 # Check whether --enable-splines or --disable-splines was given.
9436 if test "${enable_splines+set}" = set; then
9437 enableval
="$enable_splines"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9442 ac_cv_use_splines
='wxUSE_SPLINES=no'
9447 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9458 eval "$ac_cv_use_splines"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_SPLINES" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9476 # Check whether --enable-validators or --disable-validators was given.
9477 if test "${enable_validators+set}" = set; then
9478 enableval
="$enable_validators"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9483 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9488 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9499 eval "$ac_cv_use_validators"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_VALIDATORS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9517 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9518 if test "${enable_busyinfo+set}" = set; then
9519 enableval
="$enable_busyinfo"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9524 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9529 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9540 eval "$ac_cv_use_busyinfo"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_BUSYINFO" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9558 # Check whether --enable-joystick or --disable-joystick was given.
9559 if test "${enable_joystick+set}" = set; then
9560 enableval
="$enable_joystick"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9565 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9570 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9581 eval "$ac_cv_use_joystick"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_JOYSTICK" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9599 # Check whether --enable-metafile or --disable-metafile was given.
9600 if test "${enable_metafile+set}" = set; then
9601 enableval
="$enable_metafile"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9606 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9611 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9622 eval "$ac_cv_use_metafile"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_METAFILE" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9640 # Check whether --enable-dragimage or --disable-dragimage was given.
9641 if test "${enable_dragimage+set}" = set; then
9642 enableval
="$enable_dragimage"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9647 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9652 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9663 eval "$ac_cv_use_dragimage"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_DRAGIMAGE" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9681 # Check whether --enable-accessibility or --disable-accessibility was given.
9682 if test "${enable_accessibility+set}" = set; then
9683 enableval
="$enable_accessibility"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9688 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9693 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9704 eval "$ac_cv_use_accessibility"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_ACCESSIBILITY" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9724 # Check whether --enable-palette or --disable-palette was given.
9725 if test "${enable_palette+set}" = set; then
9726 enableval
="$enable_palette"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9731 ac_cv_use_palette
='wxUSE_PALETTE=no'
9736 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9747 eval "$ac_cv_use_palette"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_PALETTE" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9765 # Check whether --enable-image or --disable-image was given.
9766 if test "${enable_image+set}" = set; then
9767 enableval
="$enable_image"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_image
='wxUSE_IMAGE=yes'
9772 ac_cv_use_image
='wxUSE_IMAGE=no'
9777 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9788 eval "$ac_cv_use_image"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_IMAGE" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9806 # Check whether --enable-gif or --disable-gif was given.
9807 if test "${enable_gif+set}" = set; then
9808 enableval
="$enable_gif"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_gif
='wxUSE_GIF=yes'
9813 ac_cv_use_gif
='wxUSE_GIF=no'
9818 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9829 eval "$ac_cv_use_gif"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_GIF" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9847 # Check whether --enable-pcx or --disable-pcx was given.
9848 if test "${enable_pcx+set}" = set; then
9849 enableval
="$enable_pcx"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_pcx
='wxUSE_PCX=yes'
9854 ac_cv_use_pcx
='wxUSE_PCX=no'
9859 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9870 eval "$ac_cv_use_pcx"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_PCX" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9888 # Check whether --enable-iff or --disable-iff was given.
9889 if test "${enable_iff+set}" = set; then
9890 enableval
="$enable_iff"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_iff
='wxUSE_IFF=yes'
9895 ac_cv_use_iff
='wxUSE_IFF=no'
9900 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9911 eval "$ac_cv_use_iff"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_IFF" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9929 # Check whether --enable-pnm or --disable-pnm was given.
9930 if test "${enable_pnm+set}" = set; then
9931 enableval
="$enable_pnm"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_pnm
='wxUSE_PNM=yes'
9936 ac_cv_use_pnm
='wxUSE_PNM=no'
9941 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9952 eval "$ac_cv_use_pnm"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_PNM" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9970 # Check whether --enable-xpm or --disable-xpm was given.
9971 if test "${enable_xpm+set}" = set; then
9972 enableval
="$enable_xpm"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_xpm
='wxUSE_XPM=yes'
9977 ac_cv_use_xpm
='wxUSE_XPM=no'
9982 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9993 eval "$ac_cv_use_xpm"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_XPM" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10011 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10012 if test "${enable_ico_cur+set}" = set; then
10013 enableval
="$enable_ico_cur"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10018 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10023 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10034 eval "$ac_cv_use_ico_cur"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_ICO_CUR" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10052 # Check whether --with-flavour or --without-flavour was given.
10053 if test "${with_flavour+set}" = set; then
10054 withval
="$with_flavour"
10055 WX_FLAVOUR
="$withval"
10061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10064 # Check whether --enable-official_build or --disable-official_build was given.
10065 if test "${enable_official_build+set}" = set; then
10066 enableval
="$enable_official_build"
10068 if test "$enableval" = yes; then
10069 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10071 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10076 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x
; then
10078 eval "DEFAULT_$LINE"
10083 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10087 eval "$ac_cv_use_official_build"
10088 if test "$no_cache" != 1; then
10089 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10092 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10093 echo "$as_me:$LINENO: result: yes" >&5
10094 echo "${ECHO_T}yes" >&6
10096 echo "$as_me:$LINENO: result: no" >&5
10097 echo "${ECHO_T}no" >&6
10100 # Check whether --enable-vendor or --disable-vendor was given.
10101 if test "${enable_vendor+set}" = set; then
10102 enableval
="$enable_vendor"
10103 VENDOR
="$enableval"
10105 if test "x$VENDOR" = "x"; then
10112 echo "saving argument cache $wx_arg_cache_file"
10113 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10117 echo "$as_me:$LINENO: checking for toolkit" >&5
10118 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10120 # In Wine, we need to default to MSW, not GTK or MOTIF
10121 if test "$wxUSE_WINE" = "yes"; then
10122 DEFAULT_DEFAULT_wxUSE_GTK
=0
10123 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10124 DEFAULT_DEFAULT_wxUSE_MSW
=1
10128 if test "$wxUSE_GUI" = "yes"; then
10130 if test "$USE_BEOS" = 1; then
10131 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10132 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10133 { (exit 1); exit 1; }; }
10136 if test "$TOOLKIT_GIVEN" = 1; then
10137 for toolkit
in `echo $ALL_TOOLKITS`; do
10139 eval "value=\$${var}"
10140 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10143 for toolkit
in `echo $ALL_TOOLKITS`; do
10144 if test "$has_toolkit_in_cache" != 1; then
10145 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10147 var
=DEFAULT_wxUSE_
$toolkit
10149 eval "wxUSE_$toolkit=\$${var}"
10153 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10154 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10155 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10158 *-pc-os2_emx | *-pc-os2-emx )
10159 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10162 case "$NUM_TOOLKITS" in
10166 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10167 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10168 { (exit 1); exit 1; }; }
10171 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10172 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10173 { (exit 1); exit 1; }; }
10176 for toolkit
in `echo $ALL_TOOLKITS`; do
10178 eval "value=\$${var}"
10179 if test "x$value" != x
; then
10180 cache_var
=CACHE_
$toolkit
10181 eval "cache=\$${cache_var}"
10182 if test "$cache" = 1; then
10183 echo "$var=$value" >> ${wx_arg_cache_file}
10185 if test "$value" = 1; then
10186 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10187 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10188 echo "${ECHO_T}$toolkit_echo" >&6
10193 if test "x$host_alias" != "x"; then
10194 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10195 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10197 echo "$as_me:$LINENO: result: base only" >&5
10198 echo "${ECHO_T}base only" >&6
10203 doesnt_want_win32
=0
10206 if test "$wxUSE_MSW" = 1 ; then
10209 doesnt_want_win32
=1
10217 if test "$wxUSE_WINE" = "yes"; then
10222 LDFLAGS_GUI
="-mwindows"
10225 if test "$wants_win32" = 1 ; then
10228 cat >>confdefs.h
<<\_ACEOF
10229 #define __WIN32__ 1
10232 cat >>confdefs.h
<<\_ACEOF
10233 #define __WIN95__ 1
10236 cat >>confdefs.h
<<\_ACEOF
10237 #define __WINDOWS__ 1
10240 cat >>confdefs.h
<<\_ACEOF
10241 #define __GNUWIN32__ 1
10244 cat >>confdefs.h
<<\_ACEOF
10248 cat >>confdefs.h
<<\_ACEOF
10249 #define WINVER 0x0400
10253 if test "$doesnt_want_win32" = 1 ; then
10258 if test "$USE_UNIX" = 1 ; then
10260 cat >>confdefs.h
<<\_ACEOF
10267 cat >confcache
<<\_ACEOF
10268 # This file is a shell script that caches the results of configure
10269 # tests run on this system so they can be shared between configure
10270 # scripts and configure runs, see configure's option --config-cache.
10271 # It is not useful on other systems. If it contains results you don't
10272 # want to keep, you may remove or edit it.
10274 # config.status only pays attention to the cache file if you give it
10275 # the --recheck option to rerun configure.
10277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10279 # following values.
10283 # The following way of writing the cache mishandles newlines in values,
10284 # but we know of no workaround that is simple, portable, and efficient.
10285 # So, don't put newlines in cache variables' values.
10286 # Ultrix sh set writes to stderr and can't be redirected directly,
10287 # and sets the high bit in the cache file unless we assign to the vars.
10290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10292 # `set' does not quote correctly, so add quotes (double-quote
10293 # substitution turns \\\\ into \\, and sed turns \\ into \).
10296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10299 # `set' quotes correctly as required by POSIX, so do not add quotes.
10301 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10310 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10312 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10313 if test -w $cache_file; then
10314 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10315 cat confcache
>$cache_file
10317 echo "not updating unwritable cache $cache_file"
10322 if test "$build" != "$host" ; then
10323 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10325 CXX
=$host_alias-c++
10327 RANLIB
=$host_alias-ranlib
10328 DLLTOOL
=$host_alias-dlltool
10329 RESCOMP
=$host_alias-windres
10330 STRIP
=$host_alias-strip
10332 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10333 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10334 { (exit 1); exit 1; }; }
10340 ac_cpp
='$CPP $CPPFLAGS'
10341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10344 if test -n "$ac_tool_prefix"; then
10345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10346 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10347 echo "$as_me:$LINENO: checking for $ac_word" >&5
10348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10349 if test "${ac_cv_prog_CC+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 if test -n "$CC"; then
10353 ac_cv_prog_CC
="$CC" # Let the user override the test.
10355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10356 for as_dir
in $PATH
10359 test -z "$as_dir" && as_dir
=.
10360 for ac_exec_ext
in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10372 if test -n "$CC"; then
10373 echo "$as_me:$LINENO: result: $CC" >&5
10374 echo "${ECHO_T}$CC" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10381 if test -z "$ac_cv_prog_CC"; then
10383 # Extract the first word of "gcc", so it can be a program name with args.
10384 set dummy gcc
; ac_word
=$2
10385 echo "$as_me:$LINENO: checking for $ac_word" >&5
10386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 if test -n "$ac_ct_CC"; then
10391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10400 ac_cv_prog_ac_ct_CC
="gcc"
10401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10410 if test -n "$ac_ct_CC"; then
10411 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10412 echo "${ECHO_T}$ac_ct_CC" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 CC
="$ac_cv_prog_CC"
10423 if test -z "$CC"; then
10424 if test -n "$ac_tool_prefix"; then
10425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10426 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10427 echo "$as_me:$LINENO: checking for $ac_word" >&5
10428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10429 if test "${ac_cv_prog_CC+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 if test -n "$CC"; then
10433 ac_cv_prog_CC
="$CC" # Let the user override the test.
10435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10436 for as_dir
in $PATH
10439 test -z "$as_dir" && as_dir
=.
10440 for ac_exec_ext
in '' $ac_executable_extensions; do
10441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 if test -n "$CC"; then
10453 echo "$as_me:$LINENO: result: $CC" >&5
10454 echo "${ECHO_T}$CC" >&6
10456 echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6
10461 if test -z "$ac_cv_prog_CC"; then
10463 # Extract the first word of "cc", so it can be a program name with args.
10464 set dummy cc
; ac_word
=$2
10465 echo "$as_me:$LINENO: checking for $ac_word" >&5
10466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 if test -n "$ac_ct_CC"; then
10471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_ac_ct_CC
="cc"
10481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10489 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10490 if test -n "$ac_ct_CC"; then
10491 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10492 echo "${ECHO_T}$ac_ct_CC" >&6
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10500 CC
="$ac_cv_prog_CC"
10504 if test -z "$CC"; then
10505 # Extract the first word of "cc", so it can be a program name with args.
10506 set dummy cc
; ac_word
=$2
10507 echo "$as_me:$LINENO: checking for $ac_word" >&5
10508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10509 if test "${ac_cv_prog_CC+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 if test -n "$CC"; then
10513 ac_cv_prog_CC
="$CC" # Let the user override the test.
10515 ac_prog_rejected
=no
10516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10517 for as_dir
in $PATH
10520 test -z "$as_dir" && as_dir
=.
10521 for ac_exec_ext
in '' $ac_executable_extensions; do
10522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10523 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10524 ac_prog_rejected
=yes
10528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10534 if test $ac_prog_rejected = yes; then
10535 # We found a bogon in the path, so make sure we never use it.
10536 set dummy
$ac_cv_prog_CC
10538 if test $# != 0; then
10539 # We chose a different compiler from the bogus one.
10540 # However, it has the same basename, so the bogon will be chosen
10541 # first if we set CC to just the basename; use the full file name.
10543 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10549 if test -n "$CC"; then
10550 echo "$as_me:$LINENO: result: $CC" >&5
10551 echo "${ECHO_T}$CC" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10558 if test -z "$CC"; then
10559 if test -n "$ac_tool_prefix"; then
10562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10563 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10564 echo "$as_me:$LINENO: checking for $ac_word" >&5
10565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10566 if test "${ac_cv_prog_CC+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 if test -n "$CC"; then
10570 ac_cv_prog_CC
="$CC" # Let the user override the test.
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in $PATH
10576 test -z "$as_dir" && as_dir
=.
10577 for ac_exec_ext
in '' $ac_executable_extensions; do
10578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 if test -n "$CC"; then
10590 echo "$as_me:$LINENO: result: $CC" >&5
10591 echo "${ECHO_T}$CC" >&6
10593 echo "$as_me:$LINENO: result: no" >&5
10594 echo "${ECHO_T}no" >&6
10597 test -n "$CC" && break
10600 if test -z "$CC"; then
10604 # Extract the first word of "$ac_prog", so it can be a program name with args.
10605 set dummy
$ac_prog; ac_word
=$2
10606 echo "$as_me:$LINENO: checking for $ac_word" >&5
10607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 if test -n "$ac_ct_CC"; then
10612 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_ac_ct_CC
="$ac_prog"
10622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10631 if test -n "$ac_ct_CC"; then
10632 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10633 echo "${ECHO_T}$ac_ct_CC" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10639 test -n "$ac_ct_CC" && break
10648 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10649 See \`config.log' for more details." >&5
10650 echo "$as_me: error: no acceptable C compiler found in \$PATH
10651 See \`config.log' for more details." >&2;}
10652 { (exit 1); exit 1; }; }
10654 # Provide some information about the compiler.
10655 echo "$as_me:$LINENO:" \
10656 "checking for C compiler version" >&5
10657 ac_compiler
=`set X $ac_compile; echo $2`
10658 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10659 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }
10663 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10664 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }
10668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10669 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }
10674 cat >conftest.
$ac_ext <<_ACEOF
10677 cat confdefs.h
>>conftest.
$ac_ext
10678 cat >>conftest.
$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10689 ac_clean_files_save
=$ac_clean_files
10690 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10691 # Try to create an executable without -o first, disregard a.out.
10692 # It will help us diagnose broken compilers, and finding out an intuition
10694 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10695 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10696 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10697 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10698 (eval $ac_link_default) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; then
10702 # Find the output, starting from the most likely. This scheme is
10703 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10706 # Be careful to initialize this variable, since it used to be cached.
10707 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10709 # b.out is created by i960 compilers.
10710 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10712 test -f "$ac_file" || continue
10714 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10717 # This is the source file.
10720 # We found the default executable, but exeext='' is most
10724 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10725 # FIXME: I believe we export ac_cv_exeext for Libtool,
10726 # but it would be cool to find out if it's true. Does anybody
10727 # maintain Libtool? --akim.
10728 export ac_cv_exeext
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.
$ac_ext >&5
10738 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10739 See \`config.log' for more details." >&5
10740 echo "$as_me: error: C compiler cannot create executables
10741 See \`config.log' for more details." >&2;}
10742 { (exit 77); exit 77; }; }
10745 ac_exeext
=$ac_cv_exeext
10746 echo "$as_me:$LINENO: result: $ac_file" >&5
10747 echo "${ECHO_T}$ac_file" >&6
10749 # Check the compiler produces executables we can run. If not, either
10750 # the compiler is broken, or we cross compile.
10751 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10754 # If not cross compiling, check that we can run a simple program.
10755 if test "$cross_compiling" != yes; then
10756 if { ac_try
='./$ac_file'
10757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10758 (eval $ac_try) 2>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); }; }; then
10764 if test "$cross_compiling" = maybe
; then
10765 cross_compiling
=yes
10767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10768 If you meant to cross compile, use \`--host'.
10769 See \`config.log' for more details." >&5
10770 echo "$as_me: error: cannot run C compiled programs.
10771 If you meant to cross compile, use \`--host'.
10772 See \`config.log' for more details." >&2;}
10773 { (exit 1); exit 1; }; }
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10780 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10781 ac_clean_files
=$ac_clean_files_save
10782 # Check the compiler produces executables we can run. If not, either
10783 # the compiler is broken, or we cross compile.
10784 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10786 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10787 echo "${ECHO_T}$cross_compiling" >&6
10789 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10792 (eval $ac_link) 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; then
10796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10798 # work properly (i.e., refer to `conftest.exe'), while it won't with
10800 for ac_file
in conftest.exe conftest conftest.
*; do
10801 test -f "$ac_file" || continue
10803 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10804 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10805 export ac_cv_exeext
10811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10812 See \`config.log' for more details." >&5
10813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10814 See \`config.log' for more details." >&2;}
10815 { (exit 1); exit 1; }; }
10818 rm -f conftest
$ac_cv_exeext
10819 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10820 echo "${ECHO_T}$ac_cv_exeext" >&6
10822 rm -f conftest.
$ac_ext
10823 EXEEXT
=$ac_cv_exeext
10825 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10826 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10827 if test "${ac_cv_objext+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 cat >conftest.
$ac_ext <<_ACEOF
10833 cat confdefs.h
>>conftest.
$ac_ext
10834 cat >>conftest.
$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10845 rm -f conftest.o conftest.obj
10846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; then
10851 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10853 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10854 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10863 See \`config.log' for more details." >&5
10864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10865 See \`config.log' for more details." >&2;}
10866 { (exit 1); exit 1; }; }
10869 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10871 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10872 echo "${ECHO_T}$ac_cv_objext" >&6
10873 OBJEXT
=$ac_cv_objext
10875 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10876 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 cat >conftest.
$ac_ext <<_ACEOF
10883 cat confdefs.h
>>conftest.
$ac_ext
10884 cat >>conftest.
$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10898 rm -f conftest.
$ac_objext
10899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10900 (eval $ac_compile) 2>conftest.er1
10902 grep -v '^ *+' conftest.er1
>conftest.err
10904 cat conftest.err
>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try
='test -s conftest.$ac_objext'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 ac_compiler_gnu
=yes
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.
$ac_ext >&5
10926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10927 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10930 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10931 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10932 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10933 ac_test_CFLAGS
=${CFLAGS+set}
10934 ac_save_CFLAGS
=$CFLAGS
10936 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10937 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10938 if test "${ac_cv_prog_cc_g+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 cat >conftest.
$ac_ext <<_ACEOF
10944 cat confdefs.h
>>conftest.
$ac_ext
10945 cat >>conftest.
$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10956 rm -f conftest.
$ac_objext
10957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10958 (eval $ac_compile) 2>conftest.er1
10960 grep -v '^ *+' conftest.er1
>conftest.err
10962 cat conftest.err
>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
10965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; } &&
10971 { ac_try
='test -s conftest.$ac_objext'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; }; then
10977 ac_cv_prog_cc_g
=yes
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.
$ac_ext >&5
10984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10986 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10987 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10988 if test "$ac_test_CFLAGS" = set; then
10989 CFLAGS
=$ac_save_CFLAGS
10990 elif test $ac_cv_prog_cc_g = yes; then
10991 if test "$GCC" = yes; then
10997 if test "$GCC" = yes; then
11003 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11004 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11005 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 ac_cv_prog_cc_stdc
=no
11010 cat >conftest.
$ac_ext <<_ACEOF
11013 cat confdefs.h
>>conftest.
$ac_ext
11014 cat >>conftest.
$ac_ext <<_ACEOF
11015 /* end confdefs.h. */
11016 #include <stdarg.h>
11018 #include <sys/types.h>
11019 #include <sys/stat.h>
11020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11021 struct buf { int x; };
11022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11023 static char *e (p, i)
11029 static char *f (char * (*g) (char **, int), char **p, ...)
11034 s = g (p, va_arg (v,int));
11039 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11040 function prototypes and stuff, but not '\xHH' hex character constants.
11041 These don't provoke an error unfortunately, instead are silently treated
11042 as 'x'. The following induces an error, until -std1 is added to get
11043 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11044 array size at least. It's necessary to write '\x00'==0 to get something
11045 that's true only with -std1. */
11046 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11048 int test (int i, double x);
11049 struct s1 {int (*f) (int a);};
11050 struct s2 {int (*f) (double a);};
11051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11057 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11062 # Don't try gcc -ansi; that turns off useful extensions and
11063 # breaks some systems' header files.
11064 # AIX -qlanglvl=ansi
11065 # Ultrix and OSF/1 -std1
11066 # HP-UX 10.20 and later -Ae
11067 # HP-UX older versions -Aa -D_HPUX_SOURCE
11068 # SVR4 -Xc -D__EXTENSIONS__
11069 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11071 CC
="$ac_save_CC $ac_arg"
11072 rm -f conftest.
$ac_objext
11073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11074 (eval $ac_compile) 2>conftest.er1
11076 grep -v '^ *+' conftest.er1
>conftest.err
11078 cat conftest.err
>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; } &&
11087 { ac_try
='test -s conftest.$ac_objext'
11088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11089 (eval $ac_try) 2>&5
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); }; }; then
11093 ac_cv_prog_cc_stdc
=$ac_arg
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11100 rm -f conftest.err conftest.
$ac_objext
11102 rm -f conftest.
$ac_ext conftest.
$ac_objext
11107 case "x$ac_cv_prog_cc_stdc" in
11109 echo "$as_me:$LINENO: result: none needed" >&5
11110 echo "${ECHO_T}none needed" >&6 ;;
11112 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11113 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11114 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11117 # Some people use a C++ compiler to compile C. Since we use `exit',
11118 # in C++ we need to declare it. In case someone uses the same compiler
11119 # for both compiling C and C++ we need to have the C++ compiler decide
11120 # the declaration of exit, since it's the most demanding environment.
11121 cat >conftest.
$ac_ext <<_ACEOF
11122 #ifndef __cplusplus
11126 rm -f conftest.
$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>conftest.er1
11130 grep -v '^ *+' conftest.er1
>conftest.err
11132 cat conftest.err
>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try
='test -s conftest.$ac_objext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 for ac_declaration
in \
11149 'extern "C" void std::exit (int) throw (); using std::exit;' \
11150 'extern "C" void std::exit (int); using std::exit;' \
11151 'extern "C" void exit (int) throw ();' \
11152 'extern "C" void exit (int);' \
11155 cat >conftest.
$ac_ext <<_ACEOF
11158 cat confdefs.h
>>conftest.
$ac_ext
11159 cat >>conftest.
$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11162 #include <stdlib.h>
11171 rm -f conftest.
$ac_objext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11173 (eval $ac_compile) 2>conftest.er1
11175 grep -v '^ *+' conftest.er1
>conftest.err
11177 cat conftest.err
>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
11180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try
='test -s conftest.$ac_objext'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11215 rm -f conftest.
$ac_objext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11217 (eval $ac_compile) 2>conftest.er1
11219 grep -v '^ *+' conftest.er1
>conftest.err
11221 cat conftest.err
>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
11224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; } &&
11230 { ac_try
='test -s conftest.$ac_objext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.
$ac_ext >&5
11242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11245 if test -n "$ac_declaration"; then
11246 echo '#ifdef __cplusplus' >>confdefs.h
11247 echo $ac_declaration >>confdefs.h
11248 echo '#endif' >>confdefs.h
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.
$ac_ext >&5
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11258 ac_cpp
='$CPP $CPPFLAGS'
11259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11266 ac_cpp
='$CPP $CPPFLAGS'
11267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11270 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11271 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11272 # On Suns, sometimes $CPP names a directory.
11273 if test -n "$CPP" && test -d "$CPP"; then
11276 if test -z "$CPP"; then
11277 if test "${ac_cv_prog_CPP+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 # Double quotes because CPP needs to be expanded
11281 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11283 ac_preproc_ok
=false
11284 for ac_c_preproc_warn_flag
in '' yes
11286 # Use a header file that comes with gcc, so configuring glibc
11287 # with a fresh cross-compiler works.
11288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11289 # <limits.h> exists even on freestanding compilers.
11290 # On the NeXT, cc -E runs the code through the compiler's parser,
11291 # not just through cpp. "Syntax error" is here to catch this case.
11292 cat >conftest.
$ac_ext <<_ACEOF
11295 cat confdefs.h
>>conftest.
$ac_ext
11296 cat >>conftest.
$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11299 # include <limits.h>
11301 # include <assert.h>
11305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1
>conftest.err
11310 cat conftest.err
>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev
/null
; then
11313 if test -s conftest.err
; then
11314 ac_cpp_err
=$ac_c_preproc_warn_flag
11315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11322 if test -z "$ac_cpp_err"; then
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11328 # Broken: fails on valid input.
11331 rm -f conftest.err conftest.
$ac_ext
11333 # OK, works on sane cases. Now check whether non-existent headers
11334 # can be detected and how.
11335 cat >conftest.
$ac_ext <<_ACEOF
11338 cat confdefs.h
>>conftest.
$ac_ext
11339 cat >>conftest.
$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 #include <ac_nonexistent.h>
11343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11346 grep -v '^ *+' conftest.er1
>conftest.err
11348 cat conftest.err
>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } >/dev
/null
; then
11351 if test -s conftest.err
; then
11352 ac_cpp_err
=$ac_c_preproc_warn_flag
11353 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11360 if test -z "$ac_cpp_err"; then
11361 # Broken: success on invalid input.
11364 echo "$as_me: failed program was:" >&5
11365 sed 's/^/| /' conftest.
$ac_ext >&5
11367 # Passes both tests.
11371 rm -f conftest.err conftest.
$ac_ext
11374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11375 rm -f conftest.err conftest.
$ac_ext
11376 if $ac_preproc_ok; then
11381 ac_cv_prog_CPP
=$CPP
11384 CPP
=$ac_cv_prog_CPP
11386 ac_cv_prog_CPP
=$CPP
11388 echo "$as_me:$LINENO: result: $CPP" >&5
11389 echo "${ECHO_T}$CPP" >&6
11390 ac_preproc_ok
=false
11391 for ac_c_preproc_warn_flag
in '' yes
11393 # Use a header file that comes with gcc, so configuring glibc
11394 # with a fresh cross-compiler works.
11395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11396 # <limits.h> exists even on freestanding compilers.
11397 # On the NeXT, cc -E runs the code through the compiler's parser,
11398 # not just through cpp. "Syntax error" is here to catch this case.
11399 cat >conftest.
$ac_ext <<_ACEOF
11402 cat confdefs.h
>>conftest.
$ac_ext
11403 cat >>conftest.
$ac_ext <<_ACEOF
11404 /* end confdefs.h. */
11406 # include <limits.h>
11408 # include <assert.h>
11412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11415 grep -v '^ *+' conftest.er1
>conftest.err
11417 cat conftest.err
>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } >/dev
/null
; then
11420 if test -s conftest.err
; then
11421 ac_cpp_err
=$ac_c_preproc_warn_flag
11422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11429 if test -z "$ac_cpp_err"; then
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.
$ac_ext >&5
11435 # Broken: fails on valid input.
11438 rm -f conftest.err conftest.
$ac_ext
11440 # OK, works on sane cases. Now check whether non-existent headers
11441 # can be detected and how.
11442 cat >conftest.
$ac_ext <<_ACEOF
11445 cat confdefs.h
>>conftest.
$ac_ext
11446 cat >>conftest.
$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11448 #include <ac_nonexistent.h>
11450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } >/dev
/null
; then
11458 if test -s conftest.err
; then
11459 ac_cpp_err
=$ac_c_preproc_warn_flag
11460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11467 if test -z "$ac_cpp_err"; then
11468 # Broken: success on invalid input.
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.
$ac_ext >&5
11474 # Passes both tests.
11478 rm -f conftest.err conftest.
$ac_ext
11481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11482 rm -f conftest.err conftest.
$ac_ext
11483 if $ac_preproc_ok; then
11486 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11487 See \`config.log' for more details." >&5
11488 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11489 See \`config.log' for more details." >&2;}
11490 { (exit 1); exit 1; }; }
11494 ac_cpp
='$CPP $CPPFLAGS'
11495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11500 echo "$as_me:$LINENO: checking for egrep" >&5
11501 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11502 if test "${ac_cv_prog_egrep+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11506 then ac_cv_prog_egrep
='grep -E'
11507 else ac_cv_prog_egrep
='egrep'
11510 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11511 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11512 EGREP
=$ac_cv_prog_egrep
11515 if test $ac_cv_c_compiler_gnu = yes; then
11516 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11517 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11518 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 ac_pattern
="Autoconf.*'x'"
11522 cat >conftest.
$ac_ext <<_ACEOF
11525 cat confdefs.h
>>conftest.
$ac_ext
11526 cat >>conftest.
$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11532 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11533 ac_cv_prog_gcc_traditional
=yes
11535 ac_cv_prog_gcc_traditional
=no
11540 if test $ac_cv_prog_gcc_traditional = no
; then
11541 cat >conftest.
$ac_ext <<_ACEOF
11544 cat confdefs.h
>>conftest.
$ac_ext
11545 cat >>conftest.
$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11547 #include <termio.h>
11550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11551 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11552 ac_cv_prog_gcc_traditional
=yes
11558 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11559 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11560 if test $ac_cv_prog_gcc_traditional = yes; then
11561 CC
="$CC -traditional"
11569 ac_cpp
='$CXXCPP $CPPFLAGS'
11570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11575 CXXFLAGS
=${CXXFLAGS:=}
11577 ac_cpp
='$CXXCPP $CPPFLAGS'
11578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11581 if test -n "$ac_tool_prefix"; then
11582 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11584 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11585 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11586 echo "$as_me:$LINENO: checking for $ac_word" >&5
11587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11588 if test "${ac_cv_prog_CXX+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 if test -n "$CXX"; then
11592 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11595 for as_dir
in $PATH
11598 test -z "$as_dir" && as_dir
=.
11599 for ac_exec_ext
in '' $ac_executable_extensions; do
11600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11601 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11610 CXX
=$ac_cv_prog_CXX
11611 if test -n "$CXX"; then
11612 echo "$as_me:$LINENO: result: $CXX" >&5
11613 echo "${ECHO_T}$CXX" >&6
11615 echo "$as_me:$LINENO: result: no" >&5
11616 echo "${ECHO_T}no" >&6
11619 test -n "$CXX" && break
11622 if test -z "$CXX"; then
11624 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11626 # Extract the first word of "$ac_prog", so it can be a program name with args.
11627 set dummy
$ac_prog; ac_word
=$2
11628 echo "$as_me:$LINENO: checking for $ac_word" >&5
11629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11630 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11633 if test -n "$ac_ct_CXX"; then
11634 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11637 for as_dir
in $PATH
11640 test -z "$as_dir" && as_dir
=.
11641 for ac_exec_ext
in '' $ac_executable_extensions; do
11642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11643 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11652 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11653 if test -n "$ac_ct_CXX"; then
11654 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11655 echo "${ECHO_T}$ac_ct_CXX" >&6
11657 echo "$as_me:$LINENO: result: no" >&5
11658 echo "${ECHO_T}no" >&6
11661 test -n "$ac_ct_CXX" && break
11663 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11669 # Provide some information about the compiler.
11670 echo "$as_me:$LINENO:" \
11671 "checking for C++ compiler version" >&5
11672 ac_compiler
=`set X $ac_compile; echo $2`
11673 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11674 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }
11678 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11679 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }
11683 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11684 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }
11689 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11690 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11691 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 cat >conftest.
$ac_ext <<_ACEOF
11697 cat confdefs.h
>>conftest.
$ac_ext
11698 cat >>conftest.
$ac_ext <<_ACEOF
11699 /* end confdefs.h. */
11712 rm -f conftest.
$ac_objext
11713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11714 (eval $ac_compile) 2>conftest.er1
11716 grep -v '^ *+' conftest.er1
>conftest.err
11718 cat conftest.err
>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } &&
11721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try
='test -s conftest.$ac_objext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_compiler_gnu
=yes
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11741 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11744 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11745 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11746 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11747 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11748 ac_save_CXXFLAGS
=$CXXFLAGS
11750 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11751 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11752 if test "${ac_cv_prog_cxx_g+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 cat >conftest.
$ac_ext <<_ACEOF
11758 cat confdefs.h
>>conftest.
$ac_ext
11759 cat >>conftest.
$ac_ext <<_ACEOF
11760 /* end confdefs.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
11791 ac_cv_prog_cxx_g
=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11796 ac_cv_prog_cxx_g
=no
11798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11800 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11801 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11802 if test "$ac_test_CXXFLAGS" = set; then
11803 CXXFLAGS
=$ac_save_CXXFLAGS
11804 elif test $ac_cv_prog_cxx_g = yes; then
11805 if test "$GXX" = yes; then
11811 if test "$GXX" = yes; then
11817 for ac_declaration
in \
11819 'extern "C" void std::exit (int) throw (); using std::exit;' \
11820 'extern "C" void std::exit (int); using std::exit;' \
11821 'extern "C" void exit (int) throw ();' \
11822 'extern "C" void exit (int);' \
11825 cat >conftest.
$ac_ext <<_ACEOF
11828 cat confdefs.h
>>conftest.
$ac_ext
11829 cat >>conftest.
$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11832 #include <stdlib.h>
11841 rm -f conftest.
$ac_objext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11843 (eval $ac_compile) 2>conftest.er1
11845 grep -v '^ *+' conftest.er1
>conftest.err
11847 cat conftest.err
>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try
='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.
$ac_ext >&5
11869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11870 cat >conftest.
$ac_ext <<_ACEOF
11873 cat confdefs.h
>>conftest.
$ac_ext
11874 cat >>conftest.
$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11885 rm -f conftest.
$ac_objext
11886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11887 (eval $ac_compile) 2>conftest.er1
11889 grep -v '^ *+' conftest.er1
>conftest.err
11891 cat conftest.err
>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } &&
11894 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try
='test -s conftest.$ac_objext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11908 echo "$as_me: failed program was:" >&5
11909 sed 's/^/| /' conftest.
$ac_ext >&5
11912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11915 if test -n "$ac_declaration"; then
11916 echo '#ifdef __cplusplus' >>confdefs.h
11917 echo $ac_declaration >>confdefs.h
11918 echo '#endif' >>confdefs.h
11922 ac_cpp
='$CXXCPP $CPPFLAGS'
11923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11929 ac_cpp
='$CPP $CPPFLAGS'
11930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11935 if test -n "$ac_tool_prefix"; then
11936 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11937 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11938 echo "$as_me:$LINENO: checking for $ac_word" >&5
11939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11940 if test "${ac_cv_prog_RANLIB+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 if test -n "$RANLIB"; then
11944 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11947 for as_dir
in $PATH
11950 test -z "$as_dir" && as_dir
=.
11951 for ac_exec_ext
in '' $ac_executable_extensions; do
11952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11953 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11962 RANLIB
=$ac_cv_prog_RANLIB
11963 if test -n "$RANLIB"; then
11964 echo "$as_me:$LINENO: result: $RANLIB" >&5
11965 echo "${ECHO_T}$RANLIB" >&6
11967 echo "$as_me:$LINENO: result: no" >&5
11968 echo "${ECHO_T}no" >&6
11972 if test -z "$ac_cv_prog_RANLIB"; then
11973 ac_ct_RANLIB
=$RANLIB
11974 # Extract the first word of "ranlib", so it can be a program name with args.
11975 set dummy ranlib
; ac_word
=$2
11976 echo "$as_me:$LINENO: checking for $ac_word" >&5
11977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11978 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 if test -n "$ac_ct_RANLIB"; then
11982 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11985 for as_dir
in $PATH
11988 test -z "$as_dir" && as_dir
=.
11989 for ac_exec_ext
in '' $ac_executable_extensions; do
11990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11991 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12001 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12002 if test -n "$ac_ct_RANLIB"; then
12003 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12004 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12006 echo "$as_me:$LINENO: result: no" >&5
12007 echo "${ECHO_T}no" >&6
12010 RANLIB
=$ac_ct_RANLIB
12012 RANLIB
="$ac_cv_prog_RANLIB"
12016 # Extract the first word of "ar", so it can be a program name with args.
12017 set dummy
ar; ac_word
=$2
12018 echo "$as_me:$LINENO: checking for $ac_word" >&5
12019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12020 if test "${ac_cv_prog_AR+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 if test -n "$AR"; then
12024 ac_cv_prog_AR
="$AR" # Let the user override the test.
12026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12027 for as_dir
in $PATH
12030 test -z "$as_dir" && as_dir
=.
12031 for ac_exec_ext
in '' $ac_executable_extensions; do
12032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12043 if test -n "$AR"; then
12044 echo "$as_me:$LINENO: result: $AR" >&5
12045 echo "${ECHO_T}$AR" >&6
12047 echo "$as_me:$LINENO: result: no" >&5
12048 echo "${ECHO_T}no" >&6
12051 if test "x$AR" = "x" ; then
12052 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12053 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12054 { (exit 1); exit 1; }; }
12057 # Find a good install program. We prefer a C program (faster),
12058 # so one script is as good as another. But avoid the broken or
12059 # incompatible versions:
12060 # SysV /etc/install, /usr/sbin/install
12061 # SunOS /usr/etc/install
12062 # IRIX /sbin/install
12064 # AmigaOS /C/install, which installs bootblocks on floppy discs
12065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12068 # OS/2's system install, which has a completely different semantic
12069 # ./install, which can be erroneously created by make from ./install.sh.
12070 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12071 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12072 if test -z "$INSTALL"; then
12073 if test "${ac_cv_path_install+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12077 for as_dir
in $PATH
12080 test -z "$as_dir" && as_dir
=.
12081 # Account for people who put trailing slashes in PATH elements.
12083 .
/ | .
// | /cC
/* | \
12084 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12085 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12088 # OSF1 and SCO ODT 3.0 have their own names for install.
12089 # Don't use installbsd from OSF since it installs stuff as root
12091 for ac_prog
in ginstall scoinst
install; do
12092 for ac_exec_ext
in '' $ac_executable_extensions; do
12093 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12094 if test $ac_prog = install &&
12095 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12096 # AIX install. It has an incompatible calling convention.
12098 elif test $ac_prog = install &&
12099 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12100 # program-specific install script used by HP pwplus--don't use.
12103 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12115 if test "${ac_cv_path_install+set}" = set; then
12116 INSTALL
=$ac_cv_path_install
12118 # As a last resort, use the slow shell script. We don't cache a
12119 # path for INSTALL within a source directory, because that will
12120 # break other packages using the cache if that directory is
12121 # removed, or if the path is relative.
12122 INSTALL
=$ac_install_sh
12125 echo "$as_me:$LINENO: result: $INSTALL" >&5
12126 echo "${ECHO_T}$INSTALL" >&6
12128 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12129 # It thinks the first close brace ends the variable substitution.
12130 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12132 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12134 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12140 ?
:* ) # Drive letter, considered as absolute.
12143 INSTALL
=`pwd`/${INSTALL} ;;
12149 powerpc
-*-darwin* )
12150 INSTALL_PROGRAM
="cp -fp"
12151 INSTALL_DATA
="cp -fp"
12157 # Extract the first word of "strip", so it can be a program name with args.
12158 set dummy strip
; ac_word
=$2
12159 echo "$as_me:$LINENO: checking for $ac_word" >&5
12160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12161 if test "${ac_cv_prog_STRIP+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 if test -n "$STRIP"; then
12165 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12168 for as_dir
in $PATH
12171 test -z "$as_dir" && as_dir
=.
12172 for ac_exec_ext
in '' $ac_executable_extensions; do
12173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_prog_STRIP
="strip"
12175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12181 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12184 STRIP
=$ac_cv_prog_STRIP
12185 if test -n "$STRIP"; then
12186 echo "$as_me:$LINENO: result: $STRIP" >&5
12187 echo "${ECHO_T}$STRIP" >&6
12189 echo "$as_me:$LINENO: result: no" >&5
12190 echo "${ECHO_T}no" >&6
12194 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12195 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12196 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12201 egrep -s GNU
> /dev
/null
); then
12202 wx_cv_prog_makeisgnu
="yes"
12204 wx_cv_prog_makeisgnu
="no"
12208 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12209 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12211 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12219 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12220 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12221 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12222 if test "${wx_cv_prog_makevpath+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 cat - << EOF > confMake
12232 if test ! -d sub
; then
12235 echo dummy
> sub
/file
12236 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12238 rm -f sub
/file check final_file confMake
12240 if test "$RESULT" = 0; then
12241 wx_cv_prog_makevpath
="yes"
12243 wx_cv_prog_makevpath
="no"
12247 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12248 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12250 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12251 { { echo "$as_me:$LINENO: error:
12252 You need a make-utility that is able to use the variable
12254 If your version of make does not support VPATH correctly,
12255 please install GNU-make (possibly as gmake), and start
12256 configure with the following command:
12257 export MAKE=gmake; ./configure for sh-type shells
12258 setenv MAKE gmake; ./configure for csh-type shells
12259 Also please do remember to use gmake in this case every time
12260 you are trying to compile.
12262 echo "$as_me: error:
12263 You need a make-utility that is able to use the variable
12265 If your version of make does not support VPATH correctly,
12266 please install GNU-make (possibly as gmake), and start
12267 configure with the following command:
12268 export MAKE=gmake; ./configure for sh-type shells
12269 setenv MAKE gmake; ./configure for csh-type shells
12270 Also please do remember to use gmake in this case every time
12271 you are trying to compile.
12273 { (exit 1); exit 1; }; }
12275 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12276 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12278 if test "$LN_S" = "ln -s"; then
12279 echo "$as_me:$LINENO: result: yes" >&5
12280 echo "${ECHO_T}yes" >&6
12282 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12283 echo "${ECHO_T}no, using $LN_S" >&6
12289 *-pc-os2_emx | *-pc-os2-emx )
12290 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12291 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12292 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12293 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 ac_check_lib_save_LIBS
=$LIBS
12297 LIBS
="-lcExt $LIBS"
12298 cat >conftest.
$ac_ext <<_ACEOF
12301 cat confdefs.h
>>conftest.
$ac_ext
12302 cat >>conftest.
$ac_ext <<_ACEOF
12303 /* end confdefs.h. */
12305 /* Override any gcc2 internal prototype to avoid an error. */
12309 /* We use char because int might match the return type of a gcc2
12310 builtin and then its argument prototype would still apply. */
12320 rm -f conftest.
$ac_objext conftest
$ac_exeext
12321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12322 (eval $ac_link) 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } &&
12335 { ac_try
='test -s conftest$ac_exeext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_cv_lib_cExt_drand48
=yes
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12346 ac_cv_lib_cExt_drand48
=no
12348 rm -f conftest.err conftest.
$ac_objext \
12349 conftest
$ac_exeext conftest.
$ac_ext
12350 LIBS
=$ac_check_lib_save_LIBS
12352 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12353 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12354 if test $ac_cv_lib_cExt_drand48 = yes; then
12355 LIBS
="$LIBS -lcExt"
12359 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12361 echo "$as_me:$LINENO: checking for gcc version" >&5
12362 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12363 if test "${wx_cv_gccversion+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 cat >conftest.
$ac_ext <<_ACEOF
12370 cat confdefs.h
>>conftest.
$ac_ext
12371 cat >>conftest.
$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12386 rm -f conftest.
$ac_objext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12388 (eval $ac_compile) 2>conftest.er1
12390 grep -v '^ *+' conftest.er1
>conftest.err
12392 cat conftest.err
>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; } &&
12401 { ac_try
='test -s conftest.$ac_objext'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12408 cat >conftest.
$ac_ext <<_ACEOF
12411 cat confdefs.h
>>conftest.
$ac_ext
12412 cat >>conftest.
$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12419 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12420 #error intermediate gcc
12427 rm -f conftest.
$ac_objext
12428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12429 (eval $ac_compile) 2>conftest.er1
12431 grep -v '^ *+' conftest.er1
>conftest.err
12433 cat conftest.err
>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } &&
12436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; } &&
12442 { ac_try
='test -s conftest.$ac_objext'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12449 wx_cv_gccversion
=Innotek
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12463 echo "$as_me: failed program was:" >&5
12464 sed 's/^/| /' conftest.
$ac_ext >&5
12471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12474 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12475 echo "${ECHO_T}$wx_cv_gccversion" >&6
12476 if test "$wx_cv_gccversion" = "2"; then
12477 LIBS
="$LIBS -lstdcpp"
12478 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12480 if test "$wx_cv_gccversion" = "3"; then
12481 LIBS
="$LIBS -lstdcxx"
12482 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12484 LIBS
="$LIBS -lstdc++"
12487 if test "$wxUSE_OMF" = "yes"; then
12488 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12496 ac_cpp
='$CXXCPP $CPPFLAGS'
12497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12503 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12504 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12505 if test "${ac_cv_string_strcasecmp+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 cat >conftest.
$ac_ext <<_ACEOF
12512 cat confdefs.h
>>conftest.
$ac_ext
12513 cat >>conftest.
$ac_ext <<_ACEOF
12514 /* end confdefs.h. */
12516 #include <string.h>
12522 strcasecmp("foo", "bar");
12528 rm -f conftest.
$ac_objext conftest
$ac_exeext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1
>conftest.err
12534 cat conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try
='test -s conftest$ac_exeext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_string_strcasecmp
=yes
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.
$ac_ext >&5
12554 ac_cv_string_strcasecmp
=no
12557 rm -f conftest.err conftest.
$ac_objext \
12558 conftest
$ac_exeext conftest.
$ac_ext
12561 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12562 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12564 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12565 cat >>confdefs.h
<<\_ACEOF
12566 #define HAVE_STRCASECMP_IN_STRING_H 1
12570 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12571 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12572 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12583 #include <strings.h>
12589 strcasecmp("foo", "bar");
12595 rm -f conftest.
$ac_objext conftest
$ac_exeext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; } &&
12610 { ac_try
='test -s conftest$ac_exeext'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; }; then
12616 ac_cv_strings_strcasecmp
=yes
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.
$ac_ext >&5
12621 ac_cv_strings_strcasecmp
=no
12624 rm -f conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12628 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12629 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12631 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12632 cat >>confdefs.h
<<\_ACEOF
12633 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12637 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12638 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12639 { (exit 1); exit 1; }; }
12644 ac_cpp
='$CPP $CPPFLAGS'
12645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12653 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12654 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12655 if test "${ac_cv_header_stdc+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 cat >conftest.
$ac_ext <<_ACEOF
12661 cat confdefs.h
>>conftest.
$ac_ext
12662 cat >>conftest.
$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12664 #include <stdlib.h>
12665 #include <stdarg.h>
12666 #include <string.h>
12677 rm -f conftest.
$ac_objext
12678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12679 (eval $ac_compile) 2>conftest.er1
12681 grep -v '^ *+' conftest.er1
>conftest.err
12683 cat conftest.err
>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); } &&
12686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try
='test -s conftest.$ac_objext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_cv_header_stdc
=yes
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.
$ac_ext >&5
12703 ac_cv_header_stdc
=no
12705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12707 if test $ac_cv_header_stdc = yes; then
12708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12709 cat >conftest.
$ac_ext <<_ACEOF
12712 cat confdefs.h
>>conftest.
$ac_ext
12713 cat >>conftest.
$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12715 #include <string.h>
12718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12719 $EGREP "memchr" >/dev
/null
2>&1; then
12722 ac_cv_header_stdc
=no
12728 if test $ac_cv_header_stdc = yes; then
12729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12730 cat >conftest.
$ac_ext <<_ACEOF
12733 cat confdefs.h
>>conftest.
$ac_ext
12734 cat >>conftest.
$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12736 #include <stdlib.h>
12739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12740 $EGREP "free" >/dev
/null
2>&1; then
12743 ac_cv_header_stdc
=no
12749 if test $ac_cv_header_stdc = yes; then
12750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12751 if test "$cross_compiling" = yes; then
12754 cat >conftest.
$ac_ext <<_ACEOF
12757 cat confdefs.h
>>conftest.
$ac_ext
12758 cat >>conftest.
$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12761 #if ((' ' & 0x0FF) == 0x020)
12762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12765 # define ISLOWER(c) \
12766 (('a' <= (c) && (c) <= 'i') \
12767 || ('j' <= (c) && (c) <= 'r') \
12768 || ('s' <= (c) && (c) <= 'z'))
12769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12777 for (i = 0; i < 256; i++)
12778 if (XOR (islower (i), ISLOWER (i))
12779 || toupper (i) != TOUPPER (i))
12784 rm -f conftest
$ac_exeext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12786 (eval $ac_link) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; }; then
12797 echo "$as_me: program exited with status $ac_status" >&5
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.
$ac_ext >&5
12801 ( exit $ac_status )
12802 ac_cv_header_stdc
=no
12804 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12808 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12809 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12810 if test $ac_cv_header_stdc = yes; then
12812 cat >>confdefs.h
<<\_ACEOF
12813 #define STDC_HEADERS 1
12818 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12828 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12829 inttypes.h stdint.h unistd.h
12831 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12832 echo "$as_me:$LINENO: checking for $ac_header" >&5
12833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12835 echo $ECHO_N "(cached) $ECHO_C" >&6
12837 cat >conftest.
$ac_ext <<_ACEOF
12840 cat confdefs.h
>>conftest.
$ac_ext
12841 cat >>conftest.
$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12843 $ac_includes_default
12845 #include <$ac_header>
12847 rm -f conftest.
$ac_objext
12848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12849 (eval $ac_compile) 2>conftest.er1
12851 grep -v '^ *+' conftest.er1
>conftest.err
12853 cat conftest.err
>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
12856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; } &&
12862 { ac_try
='test -s conftest.$ac_objext'
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 (eval $ac_try) 2>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; }; then
12868 eval "$as_ac_Header=yes"
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.
$ac_ext >&5
12873 eval "$as_ac_Header=no"
12875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12880 cat >>confdefs.h
<<_ACEOF
12881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12890 for ac_header
in stdlib.h
12892 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12902 # Is the header compilable?
12903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12905 cat >conftest.
$ac_ext <<_ACEOF
12908 cat confdefs.h
>>conftest.
$ac_ext
12909 cat >>conftest.
$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12911 $ac_includes_default
12912 #include <$ac_header>
12914 rm -f conftest.
$ac_objext
12915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12916 (eval $ac_compile) 2>conftest.er1
12918 grep -v '^ *+' conftest.er1
>conftest.err
12920 cat conftest.err
>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } &&
12923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try
='test -s conftest.$ac_objext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 ac_header_compiler
=yes
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.
$ac_ext >&5
12940 ac_header_compiler
=no
12942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12944 echo "${ECHO_T}$ac_header_compiler" >&6
12946 # Is the header present?
12947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12949 cat >conftest.
$ac_ext <<_ACEOF
12952 cat confdefs.h
>>conftest.
$ac_ext
12953 cat >>conftest.
$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 #include <$ac_header>
12957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12960 grep -v '^ *+' conftest.er1
>conftest.err
12962 cat conftest.err
>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } >/dev
/null
; then
12965 if test -s conftest.err
; then
12966 ac_cpp_err
=$ac_c_preproc_warn_flag
12967 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12974 if test -z "$ac_cpp_err"; then
12975 ac_header_preproc
=yes
12977 echo "$as_me: failed program was:" >&5
12978 sed 's/^/| /' conftest.
$ac_ext >&5
12980 ac_header_preproc
=no
12982 rm -f conftest.err conftest.
$ac_ext
12983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12984 echo "${ECHO_T}$ac_header_preproc" >&6
12986 # So? What about this header?
12987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12993 ac_header_preproc
=yes
12996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13010 ## ----------------------------------------- ##
13011 ## Report this to wx-dev@lists.wxwidgets.org ##
13012 ## ----------------------------------------- ##
13015 sed "s/^/$as_me: WARNING: /" >&2
13018 echo "$as_me:$LINENO: checking for $ac_header" >&5
13019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13021 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 eval "$as_ac_Header=\$ac_header_preproc"
13025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13030 cat >>confdefs.h
<<_ACEOF
13031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13039 for ac_header
in malloc.h
13041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13043 echo "$as_me:$LINENO: checking for $ac_header" >&5
13044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13051 # Is the header compilable?
13052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13054 cat >conftest.
$ac_ext <<_ACEOF
13057 cat confdefs.h
>>conftest.
$ac_ext
13058 cat >>conftest.
$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 $ac_includes_default
13061 #include <$ac_header>
13063 rm -f conftest.
$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>conftest.er1
13067 grep -v '^ *+' conftest.er1
>conftest.err
13069 cat conftest.err
>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try
='test -s conftest.$ac_objext'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 ac_header_compiler
=yes
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 ac_header_compiler
=no
13091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13093 echo "${ECHO_T}$ac_header_compiler" >&6
13095 # Is the header present?
13096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13098 cat >conftest.
$ac_ext <<_ACEOF
13101 cat confdefs.h
>>conftest.
$ac_ext
13102 cat >>conftest.
$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13104 #include <$ac_header>
13106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13109 grep -v '^ *+' conftest.er1
>conftest.err
13111 cat conftest.err
>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); } >/dev
/null
; then
13114 if test -s conftest.err
; then
13115 ac_cpp_err
=$ac_c_preproc_warn_flag
13116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13123 if test -z "$ac_cpp_err"; then
13124 ac_header_preproc
=yes
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.
$ac_ext >&5
13129 ac_header_preproc
=no
13131 rm -f conftest.err conftest.
$ac_ext
13132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13133 echo "${ECHO_T}$ac_header_preproc" >&6
13135 # So? What about this header?
13136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13142 ac_header_preproc
=yes
13145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13159 ## ----------------------------------------- ##
13160 ## Report this to wx-dev@lists.wxwidgets.org ##
13161 ## ----------------------------------------- ##
13164 sed "s/^/$as_me: WARNING: /" >&2
13167 echo "$as_me:$LINENO: checking for $ac_header" >&5
13168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 eval "$as_ac_Header=\$ac_header_preproc"
13174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13179 cat >>confdefs.h
<<_ACEOF
13180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13188 for ac_header
in unistd.h
13190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.
$ac_ext <<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 $ac_includes_default
13210 #include <$ac_header>
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_header_compiler
=yes
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.
$ac_ext >&5
13238 ac_header_compiler
=no
13240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13242 echo "${ECHO_T}$ac_header_compiler" >&6
13244 # Is the header present?
13245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13247 cat >conftest.
$ac_ext <<_ACEOF
13250 cat confdefs.h
>>conftest.
$ac_ext
13251 cat >>conftest.
$ac_ext <<_ACEOF
13252 /* end confdefs.h. */
13253 #include <$ac_header>
13255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } >/dev
/null
; then
13263 if test -s conftest.err
; then
13264 ac_cpp_err
=$ac_c_preproc_warn_flag
13265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13272 if test -z "$ac_cpp_err"; then
13273 ac_header_preproc
=yes
13275 echo "$as_me: failed program was:" >&5
13276 sed 's/^/| /' conftest.
$ac_ext >&5
13278 ac_header_preproc
=no
13280 rm -f conftest.err conftest.
$ac_ext
13281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13282 echo "${ECHO_T}$ac_header_preproc" >&6
13284 # So? What about this header?
13285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13291 ac_header_preproc
=yes
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13308 ## ----------------------------------------- ##
13309 ## Report this to wx-dev@lists.wxwidgets.org ##
13310 ## ----------------------------------------- ##
13313 sed "s/^/$as_me: WARNING: /" >&2
13316 echo "$as_me:$LINENO: checking for $ac_header" >&5
13317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 eval "$as_ac_Header=\$ac_header_preproc"
13323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13328 cat >>confdefs.h
<<_ACEOF
13329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13337 for ac_header
in wchar.h
13339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13341 echo "$as_me:$LINENO: checking for $ac_header" >&5
13342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13349 # Is the header compilable?
13350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13352 cat >conftest.
$ac_ext <<_ACEOF
13355 cat confdefs.h
>>conftest.
$ac_ext
13356 cat >>conftest.
$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 $ac_includes_default
13359 #include <$ac_header>
13361 rm -f conftest.
$ac_objext
13362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13363 (eval $ac_compile) 2>conftest.er1
13365 grep -v '^ *+' conftest.er1
>conftest.err
13367 cat conftest.err
>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } &&
13370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try
='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_header_compiler
=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 ac_header_compiler
=no
13389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13391 echo "${ECHO_T}$ac_header_compiler" >&6
13393 # Is the header present?
13394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13396 cat >conftest.
$ac_ext <<_ACEOF
13399 cat confdefs.h
>>conftest.
$ac_ext
13400 cat >>conftest.
$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13402 #include <$ac_header>
13404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13407 grep -v '^ *+' conftest.er1
>conftest.err
13409 cat conftest.err
>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } >/dev
/null
; then
13412 if test -s conftest.err
; then
13413 ac_cpp_err
=$ac_c_preproc_warn_flag
13414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13421 if test -z "$ac_cpp_err"; then
13422 ac_header_preproc
=yes
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.
$ac_ext >&5
13427 ac_header_preproc
=no
13429 rm -f conftest.err conftest.
$ac_ext
13430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13431 echo "${ECHO_T}$ac_header_preproc" >&6
13433 # So? What about this header?
13434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13440 ac_header_preproc
=yes
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13457 ## ----------------------------------------- ##
13458 ## Report this to wx-dev@lists.wxwidgets.org ##
13459 ## ----------------------------------------- ##
13462 sed "s/^/$as_me: WARNING: /" >&2
13465 echo "$as_me:$LINENO: checking for $ac_header" >&5
13466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 eval "$as_ac_Header=\$ac_header_preproc"
13472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13477 cat >>confdefs.h
<<_ACEOF
13478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13486 if test "$ac_cv_header_wchar_h" != "yes"; then
13488 for ac_header
in wcstr.h
13490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13492 echo "$as_me:$LINENO: checking for $ac_header" >&5
13493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13495 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13500 # Is the header compilable?
13501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13503 cat >conftest.
$ac_ext <<_ACEOF
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 $ac_includes_default
13510 #include <$ac_header>
13512 rm -f conftest.
$ac_objext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13514 (eval $ac_compile) 2>conftest.er1
13516 grep -v '^ *+' conftest.er1
>conftest.err
13518 cat conftest.err
>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try
='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_header_compiler
=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 ac_header_compiler
=no
13540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13542 echo "${ECHO_T}$ac_header_compiler" >&6
13544 # Is the header present?
13545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13547 cat >conftest.
$ac_ext <<_ACEOF
13550 cat confdefs.h
>>conftest.
$ac_ext
13551 cat >>conftest.
$ac_ext <<_ACEOF
13552 /* end confdefs.h. */
13553 #include <$ac_header>
13555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13556 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13558 grep -v '^ *+' conftest.er1
>conftest.err
13560 cat conftest.err
>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } >/dev
/null
; then
13563 if test -s conftest.err
; then
13564 ac_cpp_err
=$ac_c_preproc_warn_flag
13565 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13572 if test -z "$ac_cpp_err"; then
13573 ac_header_preproc
=yes
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.
$ac_ext >&5
13578 ac_header_preproc
=no
13580 rm -f conftest.err conftest.
$ac_ext
13581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13582 echo "${ECHO_T}$ac_header_preproc" >&6
13584 # So? What about this header?
13585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13591 ac_header_preproc
=yes
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13608 ## ----------------------------------------- ##
13609 ## Report this to wx-dev@lists.wxwidgets.org ##
13610 ## ----------------------------------------- ##
13613 sed "s/^/$as_me: WARNING: /" >&2
13616 echo "$as_me:$LINENO: checking for $ac_header" >&5
13617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 eval "$as_ac_Header=\$ac_header_preproc"
13623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13628 cat >>confdefs.h
<<_ACEOF
13629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13639 for ac_header
in fnmatch.h
13641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13643 echo "$as_me:$LINENO: checking for $ac_header" >&5
13644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13646 echo $ECHO_N "(cached) $ECHO_C" >&6
13648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13651 # Is the header compilable?
13652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13654 cat >conftest.
$ac_ext <<_ACEOF
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 $ac_includes_default
13661 #include <$ac_header>
13663 rm -f conftest.
$ac_objext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>conftest.er1
13667 grep -v '^ *+' conftest.er1
>conftest.err
13669 cat conftest.err
>&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); } &&
13672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try
='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_header_compiler
=yes
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 ac_header_compiler
=no
13691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13693 echo "${ECHO_T}$ac_header_compiler" >&6
13695 # Is the header present?
13696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13698 cat >conftest.
$ac_ext <<_ACEOF
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 #include <$ac_header>
13706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13709 grep -v '^ *+' conftest.er1
>conftest.err
13711 cat conftest.err
>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } >/dev
/null
; then
13714 if test -s conftest.err
; then
13715 ac_cpp_err
=$ac_c_preproc_warn_flag
13716 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13723 if test -z "$ac_cpp_err"; then
13724 ac_header_preproc
=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 ac_header_preproc
=no
13731 rm -f conftest.err conftest.
$ac_ext
13732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13733 echo "${ECHO_T}$ac_header_preproc" >&6
13735 # So? What about this header?
13736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13741 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13742 ac_header_preproc
=yes
13745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13746 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13748 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13750 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13752 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13756 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13759 ## ----------------------------------------- ##
13760 ## Report this to wx-dev@lists.wxwidgets.org ##
13761 ## ----------------------------------------- ##
13764 sed "s/^/$as_me: WARNING: /" >&2
13767 echo "$as_me:$LINENO: checking for $ac_header" >&5
13768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 eval "$as_ac_Header=\$ac_header_preproc"
13774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13779 cat >>confdefs.h
<<_ACEOF
13780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13788 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13790 for ac_func
in fnmatch
13792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13793 echo "$as_me:$LINENO: checking for $ac_func" >&5
13794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13795 if eval "test \"\${$as_ac_var+set}\" = set"; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 cat >conftest.
$ac_ext <<_ACEOF
13801 cat confdefs.h
>>conftest.
$ac_ext
13802 cat >>conftest.
$ac_ext <<_ACEOF
13803 /* end confdefs.h. */
13804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13806 #define $ac_func innocuous_$ac_func
13808 /* System header to define __stub macros and hopefully few prototypes,
13809 which can conflict with char $ac_func (); below.
13810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13811 <limits.h> exists even on freestanding compilers. */
13814 # include <limits.h>
13816 # include <assert.h>
13821 /* Override any gcc2 internal prototype to avoid an error. */
13826 /* We use char because int might match the return type of a gcc2
13827 builtin and then its argument prototype would still apply. */
13829 /* The GNU C library defines this for functions which it implements
13830 to always fail with ENOSYS. Some functions are actually named
13831 something starting with __ and the normal name is an alias. */
13832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13835 char (*f) () = $ac_func;
13844 return f != $ac_func;
13849 rm -f conftest.
$ac_objext conftest
$ac_exeext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13851 (eval $ac_link) 2>conftest.er1
13853 grep -v '^ *+' conftest.er1
>conftest.err
13855 cat conftest.err
>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } &&
13858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; } &&
13864 { ac_try
='test -s conftest$ac_exeext'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; }; then
13870 eval "$as_ac_var=yes"
13872 echo "$as_me: failed program was:" >&5
13873 sed 's/^/| /' conftest.
$ac_ext >&5
13875 eval "$as_ac_var=no"
13877 rm -f conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13882 if test `eval echo '${'$as_ac_var'}'` = yes; then
13883 cat >>confdefs.h
<<_ACEOF
13884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13893 for ac_header
in langinfo.h
13895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo "$as_me:$LINENO: checking for $ac_header" >&5
13898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13905 # Is the header compilable?
13906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 $ac_includes_default
13915 #include <$ac_header>
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try
='test -s conftest.$ac_objext'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_header_compiler
=yes
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.
$ac_ext >&5
13943 ac_header_compiler
=no
13945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13947 echo "${ECHO_T}$ac_header_compiler" >&6
13949 # Is the header present?
13950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 cat confdefs.h
>>conftest.
$ac_ext
13956 cat >>conftest.
$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 #include <$ac_header>
13960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13963 grep -v '^ *+' conftest.er1
>conftest.err
13965 cat conftest.err
>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } >/dev
/null
; then
13968 if test -s conftest.err
; then
13969 ac_cpp_err
=$ac_c_preproc_warn_flag
13970 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13977 if test -z "$ac_cpp_err"; then
13978 ac_header_preproc
=yes
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.
$ac_ext >&5
13983 ac_header_preproc
=no
13985 rm -f conftest.err conftest.
$ac_ext
13986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13987 echo "${ECHO_T}$ac_header_preproc" >&6
13989 # So? What about this header?
13990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13996 ac_header_preproc
=yes
13999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14013 ## ----------------------------------------- ##
14014 ## Report this to wx-dev@lists.wxwidgets.org ##
14015 ## ----------------------------------------- ##
14018 sed "s/^/$as_me: WARNING: /" >&2
14021 echo "$as_me:$LINENO: checking for $ac_header" >&5
14022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14024 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 eval "$as_ac_Header=\$ac_header_preproc"
14028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14033 cat >>confdefs.h
<<_ACEOF
14034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14043 *-pc-os2_emx | *-pc-os2-emx )
14044 if test $ac_cv_header_langinfo_h = "yes"; then
14045 LIBS
="$LIBS -lintl"
14050 if test "$wxUSE_GUI" = "yes"; then
14051 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14053 for ac_header
in X
11/Xlib.h
14055 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo "$as_me:$LINENO: checking for $ac_header" >&5
14058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14065 # Is the header compilable?
14066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14068 cat >conftest.
$ac_ext <<_ACEOF
14071 cat confdefs.h
>>conftest.
$ac_ext
14072 cat >>conftest.
$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 $ac_includes_default
14075 #include <$ac_header>
14077 rm -f conftest.
$ac_objext
14078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14079 (eval $ac_compile) 2>conftest.er1
14081 grep -v '^ *+' conftest.er1
>conftest.err
14083 cat conftest.err
>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } &&
14086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; } &&
14092 { ac_try
='test -s conftest.$ac_objext'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; }; then
14098 ac_header_compiler
=yes
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.
$ac_ext >&5
14103 ac_header_compiler
=no
14105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14107 echo "${ECHO_T}$ac_header_compiler" >&6
14109 # Is the header present?
14110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14112 cat >conftest.
$ac_ext <<_ACEOF
14115 cat confdefs.h
>>conftest.
$ac_ext
14116 cat >>conftest.
$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 #include <$ac_header>
14120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14123 grep -v '^ *+' conftest.er1
>conftest.err
14125 cat conftest.err
>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } >/dev
/null
; then
14128 if test -s conftest.err
; then
14129 ac_cpp_err
=$ac_c_preproc_warn_flag
14130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14137 if test -z "$ac_cpp_err"; then
14138 ac_header_preproc
=yes
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.
$ac_ext >&5
14143 ac_header_preproc
=no
14145 rm -f conftest.err conftest.
$ac_ext
14146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14147 echo "${ECHO_T}$ac_header_preproc" >&6
14149 # So? What about this header?
14150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14156 ac_header_preproc
=yes
14159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14173 ## ----------------------------------------- ##
14174 ## Report this to wx-dev@lists.wxwidgets.org ##
14175 ## ----------------------------------------- ##
14178 sed "s/^/$as_me: WARNING: /" >&2
14181 echo "$as_me:$LINENO: checking for $ac_header" >&5
14182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14186 eval "$as_ac_Header=\$ac_header_preproc"
14188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14193 cat >>confdefs.h
<<_ACEOF
14194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14202 for ac_header
in X
11/XKBlib.h
14204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14205 echo "$as_me:$LINENO: checking for $ac_header" >&5
14206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 cat >conftest.
$ac_ext <<_ACEOF
14213 cat confdefs.h
>>conftest.
$ac_ext
14214 cat >>conftest.
$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14217 #if HAVE_X11_XLIB_H
14218 #include <X11/Xlib.h>
14222 #include <$ac_header>
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; } &&
14239 { ac_try
='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 eval "$as_ac_Header=yes"
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.
$ac_ext >&5
14250 eval "$as_ac_Header=no"
14252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14257 cat >>confdefs.h
<<_ACEOF
14258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14269 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14270 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14271 if test "${ac_cv_c_const+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 cat >conftest.
$ac_ext <<_ACEOF
14277 cat confdefs.h
>>conftest.
$ac_ext
14278 cat >>conftest.
$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14284 /* FIXME: Include the comments suggested by Paul. */
14285 #ifndef __cplusplus
14286 /* Ultrix mips cc rejects this. */
14287 typedef int charset[2];
14289 /* SunOS 4.1.1 cc rejects this. */
14290 char const *const *ccp;
14292 /* NEC SVR4.0.2 mips cc rejects this. */
14293 struct point {int x, y;};
14294 static struct point const zero = {0,0};
14295 /* AIX XL C 1.02.0.0 rejects this.
14296 It does not let you subtract one const X* pointer from another in
14297 an arm of an if-expression whose if-part is not a constant
14299 const char *g = "string";
14300 ccp = &g + (g ? g-g : 0);
14301 /* HPUX 7.0 cc rejects these. */
14304 ccp = (char const *const *) p;
14305 { /* SCO 3.2v4 cc rejects this. */
14307 char const *s = 0 ? (char *) 0 : (char const *) 0;
14311 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14312 int x[] = {25, 17};
14313 const int *foo = &x[0];
14316 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14317 typedef const int *iptr;
14321 { /* AIX XL C 1.02.0.0 rejects this saying
14322 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14323 struct s { int j; const int *ap[3]; };
14324 struct s *b; b->j = 5;
14326 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14327 const int foo = 10;
14335 rm -f conftest.
$ac_objext
14336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14337 (eval $ac_compile) 2>conftest.er1
14339 grep -v '^ *+' conftest.er1
>conftest.err
14341 cat conftest.err
>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; } &&
14350 { ac_try
='test -s conftest.$ac_objext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14358 echo "$as_me: failed program was:" >&5
14359 sed 's/^/| /' conftest.
$ac_ext >&5
14363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14366 echo "${ECHO_T}$ac_cv_c_const" >&6
14367 if test $ac_cv_c_const = no
; then
14369 cat >>confdefs.h
<<\_ACEOF
14375 echo "$as_me:$LINENO: checking for inline" >&5
14376 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14377 if test "${ac_cv_c_inline+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 for ac_kw
in inline __inline__ __inline
; do
14382 cat >conftest.
$ac_ext <<_ACEOF
14385 cat confdefs.h
>>conftest.
$ac_ext
14386 cat >>conftest.
$ac_ext <<_ACEOF
14387 /* end confdefs.h. */
14388 #ifndef __cplusplus
14390 static $ac_kw foo_t static_foo () {return 0; }
14391 $ac_kw foo_t foo () {return 0; }
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_cv_c_inline
=$ac_kw; break
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14426 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14427 echo "${ECHO_T}$ac_cv_c_inline" >&6
14430 case $ac_cv_c_inline in
14433 case $ac_cv_c_inline in
14435 *) ac_val
=$ac_cv_c_inline;;
14437 cat >>confdefs.h
<<_ACEOF
14438 #ifndef __cplusplus
14439 #define inline $ac_val
14446 echo "$as_me:$LINENO: checking for char" >&5
14447 echo $ECHO_N "checking for char... $ECHO_C" >&6
14448 if test "${ac_cv_type_char+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 cat >conftest.
$ac_ext <<_ACEOF
14454 cat confdefs.h
>>conftest.
$ac_ext
14455 cat >>conftest.
$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 $ac_includes_default
14469 rm -f conftest.
$ac_objext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>conftest.er1
14473 grep -v '^ *+' conftest.er1
>conftest.err
14475 cat conftest.err
>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; } &&
14484 { ac_try
='test -s conftest.$ac_objext'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14490 ac_cv_type_char
=yes
14492 echo "$as_me: failed program was:" >&5
14493 sed 's/^/| /' conftest.
$ac_ext >&5
14497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14499 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14500 echo "${ECHO_T}$ac_cv_type_char" >&6
14502 echo "$as_me:$LINENO: checking size of char" >&5
14503 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14504 if test "${ac_cv_sizeof_char+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 if test "$ac_cv_type_char" = yes; then
14508 # The cast to unsigned long works around a bug in the HP C Compiler
14509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14511 # This bug is HP SR number 8606223364.
14512 if test "$cross_compiling" = yes; then
14513 # Depending upon the size, compute the lo and hi bounds.
14514 cat >conftest.
$ac_ext <<_ACEOF
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14524 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14531 rm -f conftest.
$ac_objext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>conftest.er1
14535 grep -v '^ *+' conftest.er1
>conftest.err
14537 cat conftest.err
>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try
='test -s conftest.$ac_objext'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14554 cat >conftest.
$ac_ext <<_ACEOF
14557 cat confdefs.h
>>conftest.
$ac_ext
14558 cat >>conftest.
$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14560 $ac_includes_default
14564 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14571 rm -f conftest.
$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14575 grep -v '^ *+' conftest.er1
>conftest.err
14577 cat conftest.err
>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try
='test -s conftest.$ac_objext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_hi
=$ac_mid; break
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14597 ac_lo
=`expr $ac_mid + 1`
14598 if test $ac_lo -le $ac_mid; then
14602 ac_mid
=`expr 2 '*' $ac_mid + 1`
14604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.
$ac_ext >&5
14610 cat >conftest.
$ac_ext <<_ACEOF
14613 cat confdefs.h
>>conftest.
$ac_ext
14614 cat >>conftest.
$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616 $ac_includes_default
14620 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14627 rm -f conftest.
$ac_objext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14629 (eval $ac_compile) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1
>conftest.err
14633 cat conftest.err
>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try
='test -s conftest.$ac_objext'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14650 cat >conftest.
$ac_ext <<_ACEOF
14653 cat confdefs.h
>>conftest.
$ac_ext
14654 cat >>conftest.
$ac_ext <<_ACEOF
14655 /* end confdefs.h. */
14656 $ac_includes_default
14660 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14667 rm -f conftest.
$ac_objext
14668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>conftest.er1
14671 grep -v '^ *+' conftest.er1
>conftest.err
14673 cat conftest.err
>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
14676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try
='test -s conftest.$ac_objext'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14688 ac_lo
=$ac_mid; break
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14693 ac_hi
=`expr '(' $ac_mid ')' - 1`
14694 if test $ac_mid -le $ac_hi; then
14698 ac_mid
=`expr 2 '*' $ac_mid`
14700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.
$ac_ext >&5
14708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14711 # Binary search between lo and hi bounds.
14712 while test "x$ac_lo" != "x$ac_hi"; do
14713 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14714 cat >conftest.
$ac_ext <<_ACEOF
14717 cat confdefs.h
>>conftest.
$ac_ext
14718 cat >>conftest.
$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720 $ac_includes_default
14724 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14731 rm -f conftest.
$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>conftest.er1
14735 grep -v '^ *+' conftest.er1
>conftest.err
14737 cat conftest.err
>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try
='test -s conftest.$ac_objext'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; }; then
14754 echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 ac_lo
=`expr '(' $ac_mid ')' + 1`
14759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14762 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14763 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14764 See \`config.log' for more details." >&5
14765 echo "$as_me: error: cannot compute sizeof (char), 77
14766 See \`config.log' for more details." >&2;}
14767 { (exit 1); exit 1; }; } ;;
14770 if test "$cross_compiling" = yes; then
14771 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14772 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14773 { (exit 1); exit 1; }; }
14775 cat >conftest.
$ac_ext <<_ACEOF
14778 cat confdefs.h
>>conftest.
$ac_ext
14779 cat >>conftest.
$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 $ac_includes_default
14782 long longval () { return (long) (sizeof (char)); }
14783 unsigned long ulongval () { return (long) (sizeof (char)); }
14785 #include <stdlib.h>
14790 FILE *f = fopen ("conftest.val", "w");
14793 if (((long) (sizeof (char))) < 0)
14795 long i = longval ();
14796 if (i != ((long) (sizeof (char))))
14798 fprintf (f, "%ld\n", i);
14802 unsigned long i = ulongval ();
14803 if (i != ((long) (sizeof (char))))
14805 fprintf (f, "%lu\n", i);
14807 exit (ferror (f) || fclose (f) != 0);
14813 rm -f conftest
$ac_exeext
14814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14815 (eval $ac_link) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_cv_sizeof_char
=`cat conftest.val`
14826 echo "$as_me: program exited with status $ac_status" >&5
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14830 ( exit $ac_status )
14831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14832 See \`config.log' for more details." >&5
14833 echo "$as_me: error: cannot compute sizeof (char), 77
14834 See \`config.log' for more details." >&2;}
14835 { (exit 1); exit 1; }; }
14837 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14842 ac_cv_sizeof_char
=0
14845 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14846 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14847 cat >>confdefs.h
<<_ACEOF
14848 #define SIZEOF_CHAR $ac_cv_sizeof_char
14852 echo "$as_me:$LINENO: checking for short" >&5
14853 echo $ECHO_N "checking for short... $ECHO_C" >&6
14854 if test "${ac_cv_type_short+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14869 if (sizeof (short))
14875 rm -f conftest.
$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try
='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_cv_type_short
=yes
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.
$ac_ext >&5
14901 ac_cv_type_short
=no
14903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14905 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14906 echo "${ECHO_T}$ac_cv_type_short" >&6
14908 echo "$as_me:$LINENO: checking size of short" >&5
14909 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14910 if test "${ac_cv_sizeof_short+set}" = set; then
14911 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 if test "$ac_cv_type_short" = yes; then
14914 # The cast to unsigned long works around a bug in the HP C Compiler
14915 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14916 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14917 # This bug is HP SR number 8606223364.
14918 if test "$cross_compiling" = yes; then
14919 # Depending upon the size, compute the lo and hi bounds.
14920 cat >conftest.
$ac_ext <<_ACEOF
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 $ac_includes_default
14930 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14937 rm -f conftest.
$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14941 grep -v '^ *+' conftest.er1
>conftest.err
14943 cat conftest.err
>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try
='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14960 cat >conftest.
$ac_ext <<_ACEOF
14963 cat confdefs.h
>>conftest.
$ac_ext
14964 cat >>conftest.
$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 $ac_includes_default
14970 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14977 rm -f conftest.
$ac_objext
14978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14979 (eval $ac_compile) 2>conftest.er1
14981 grep -v '^ *+' conftest.er1
>conftest.err
14983 cat conftest.err
>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } &&
14986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; } &&
14992 { ac_try
='test -s conftest.$ac_objext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_hi
=$ac_mid; break
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15003 ac_lo
=`expr $ac_mid + 1`
15004 if test $ac_lo -le $ac_mid; then
15008 ac_mid
=`expr 2 '*' $ac_mid + 1`
15010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15013 echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.
$ac_ext >&5
15016 cat >conftest.
$ac_ext <<_ACEOF
15019 cat confdefs.h
>>conftest.
$ac_ext
15020 cat >>conftest.
$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15022 $ac_includes_default
15026 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15033 rm -f conftest.
$ac_objext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15035 (eval $ac_compile) 2>conftest.er1
15037 grep -v '^ *+' conftest.er1
>conftest.err
15039 cat conftest.err
>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
15042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try
='test -s conftest.$ac_objext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15056 cat >conftest.
$ac_ext <<_ACEOF
15059 cat confdefs.h
>>conftest.
$ac_ext
15060 cat >>conftest.
$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 $ac_includes_default
15066 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15073 rm -f conftest.
$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075 (eval $ac_compile) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try
='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_lo
=$ac_mid; break
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_hi
=`expr '(' $ac_mid ')' - 1`
15100 if test $ac_mid -le $ac_hi; then
15104 ac_mid
=`expr 2 '*' $ac_mid`
15106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.
$ac_ext >&5
15114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15117 # Binary search between lo and hi bounds.
15118 while test "x$ac_lo" != "x$ac_hi"; do
15119 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15120 cat >conftest.
$ac_ext <<_ACEOF
15123 cat confdefs.h
>>conftest.
$ac_ext
15124 cat >>conftest.
$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 $ac_includes_default
15130 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15137 rm -f conftest.
$ac_objext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15139 (eval $ac_compile) 2>conftest.er1
15141 grep -v '^ *+' conftest.er1
>conftest.err
15143 cat conftest.err
>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try
='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15163 ac_lo
=`expr '(' $ac_mid ')' + 1`
15165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15168 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15169 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15170 See \`config.log' for more details." >&5
15171 echo "$as_me: error: cannot compute sizeof (short), 77
15172 See \`config.log' for more details." >&2;}
15173 { (exit 1); exit 1; }; } ;;
15176 if test "$cross_compiling" = yes; then
15177 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15178 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15179 { (exit 1); exit 1; }; }
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 $ac_includes_default
15188 long longval () { return (long) (sizeof (short)); }
15189 unsigned long ulongval () { return (long) (sizeof (short)); }
15191 #include <stdlib.h>
15196 FILE *f = fopen ("conftest.val", "w");
15199 if (((long) (sizeof (short))) < 0)
15201 long i = longval ();
15202 if (i != ((long) (sizeof (short))))
15204 fprintf (f, "%ld\n", i);
15208 unsigned long i = ulongval ();
15209 if (i != ((long) (sizeof (short))))
15211 fprintf (f, "%lu\n", i);
15213 exit (ferror (f) || fclose (f) != 0);
15219 rm -f conftest
$ac_exeext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15221 (eval $ac_link) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 ac_cv_sizeof_short
=`cat conftest.val`
15232 echo "$as_me: program exited with status $ac_status" >&5
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15236 ( exit $ac_status )
15237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15238 See \`config.log' for more details." >&5
15239 echo "$as_me: error: cannot compute sizeof (short), 77
15240 See \`config.log' for more details." >&2;}
15241 { (exit 1); exit 1; }; }
15243 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15248 ac_cv_sizeof_short
=0
15251 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15252 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15253 cat >>confdefs.h
<<_ACEOF
15254 #define SIZEOF_SHORT $ac_cv_sizeof_short
15258 echo "$as_me:$LINENO: checking for void *" >&5
15259 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15260 if test "${ac_cv_type_void_p+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 cat >conftest.
$ac_ext <<_ACEOF
15266 cat confdefs.h
>>conftest.
$ac_ext
15267 cat >>conftest.
$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15269 $ac_includes_default
15275 if (sizeof (void *))
15281 rm -f conftest.
$ac_objext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15283 (eval $ac_compile) 2>conftest.er1
15285 grep -v '^ *+' conftest.er1
>conftest.err
15287 cat conftest.err
>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
15290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; } &&
15296 { ac_try
='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_cv_type_void_p
=yes
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.
$ac_ext >&5
15307 ac_cv_type_void_p
=no
15309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15311 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15312 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15314 echo "$as_me:$LINENO: checking size of void *" >&5
15315 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15316 if test "${ac_cv_sizeof_void_p+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 if test "$ac_cv_type_void_p" = yes; then
15320 # The cast to unsigned long works around a bug in the HP C Compiler
15321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15323 # This bug is HP SR number 8606223364.
15324 if test "$cross_compiling" = yes; then
15325 # Depending upon the size, compute the lo and hi bounds.
15326 cat >conftest.
$ac_ext <<_ACEOF
15329 cat confdefs.h
>>conftest.
$ac_ext
15330 cat >>conftest.
$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15332 $ac_includes_default
15336 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15343 rm -f conftest.
$ac_objext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15345 (eval $ac_compile) 2>conftest.er1
15347 grep -v '^ *+' conftest.er1
>conftest.err
15349 cat conftest.err
>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; } &&
15358 { ac_try
='test -s conftest.$ac_objext'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; }; then
15366 cat >conftest.
$ac_ext <<_ACEOF
15369 cat confdefs.h
>>conftest.
$ac_ext
15370 cat >>conftest.
$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372 $ac_includes_default
15376 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15383 rm -f conftest.
$ac_objext
15384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15385 (eval $ac_compile) 2>conftest.er1
15387 grep -v '^ *+' conftest.er1
>conftest.err
15389 cat conftest.err
>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; } &&
15398 { ac_try
='test -s conftest.$ac_objext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_hi
=$ac_mid; break
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.
$ac_ext >&5
15409 ac_lo
=`expr $ac_mid + 1`
15410 if test $ac_lo -le $ac_mid; then
15414 ac_mid
=`expr 2 '*' $ac_mid + 1`
15416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.
$ac_ext >&5
15422 cat >conftest.
$ac_ext <<_ACEOF
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 $ac_includes_default
15432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15439 rm -f conftest.
$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>conftest.er1
15443 grep -v '^ *+' conftest.er1
>conftest.err
15445 cat conftest.err
>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } &&
15454 { ac_try
='test -s conftest.$ac_objext'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15472 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15479 rm -f conftest.
$ac_objext
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>conftest.er1
15483 grep -v '^ *+' conftest.er1
>conftest.err
15485 cat conftest.err
>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } &&
15488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_lo
=$ac_mid; break
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ac_hi
=`expr '(' $ac_mid ')' - 1`
15506 if test $ac_mid -le $ac_hi; then
15510 ac_mid
=`expr 2 '*' $ac_mid`
15512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15523 # Binary search between lo and hi bounds.
15524 while test "x$ac_lo" != "x$ac_hi"; do
15525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15526 cat >conftest.
$ac_ext <<_ACEOF
15529 cat confdefs.h
>>conftest.
$ac_ext
15530 cat >>conftest.
$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15532 $ac_includes_default
15536 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15543 rm -f conftest.
$ac_objext
15544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15545 (eval $ac_compile) 2>conftest.er1
15547 grep -v '^ *+' conftest.er1
>conftest.err
15549 cat conftest.err
>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } &&
15552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try
='test -s conftest.$ac_objext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.
$ac_ext >&5
15569 ac_lo
=`expr '(' $ac_mid ')' + 1`
15571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15574 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15576 See \`config.log' for more details." >&5
15577 echo "$as_me: error: cannot compute sizeof (void *), 77
15578 See \`config.log' for more details." >&2;}
15579 { (exit 1); exit 1; }; } ;;
15582 if test "$cross_compiling" = yes; then
15583 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15584 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15585 { (exit 1); exit 1; }; }
15587 cat >conftest.
$ac_ext <<_ACEOF
15590 cat confdefs.h
>>conftest.
$ac_ext
15591 cat >>conftest.
$ac_ext <<_ACEOF
15592 /* end confdefs.h. */
15593 $ac_includes_default
15594 long longval () { return (long) (sizeof (void *)); }
15595 unsigned long ulongval () { return (long) (sizeof (void *)); }
15597 #include <stdlib.h>
15602 FILE *f = fopen ("conftest.val", "w");
15605 if (((long) (sizeof (void *))) < 0)
15607 long i = longval ();
15608 if (i != ((long) (sizeof (void *))))
15610 fprintf (f, "%ld\n", i);
15614 unsigned long i = ulongval ();
15615 if (i != ((long) (sizeof (void *))))
15617 fprintf (f, "%lu\n", i);
15619 exit (ferror (f) || fclose (f) != 0);
15625 rm -f conftest
$ac_exeext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15627 (eval $ac_link) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_cv_sizeof_void_p
=`cat conftest.val`
15638 echo "$as_me: program exited with status $ac_status" >&5
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.
$ac_ext >&5
15642 ( exit $ac_status )
15643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15644 See \`config.log' for more details." >&5
15645 echo "$as_me: error: cannot compute sizeof (void *), 77
15646 See \`config.log' for more details." >&2;}
15647 { (exit 1); exit 1; }; }
15649 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15654 ac_cv_sizeof_void_p
=0
15657 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15658 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15659 cat >>confdefs.h
<<_ACEOF
15660 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15664 echo "$as_me:$LINENO: checking for int" >&5
15665 echo $ECHO_N "checking for int... $ECHO_C" >&6
15666 if test "${ac_cv_type_int+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 cat >conftest.
$ac_ext <<_ACEOF
15672 cat confdefs.h
>>conftest.
$ac_ext
15673 cat >>conftest.
$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675 $ac_includes_default
15687 rm -f conftest.
$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15691 grep -v '^ *+' conftest.er1
>conftest.err
15693 cat conftest.err
>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try
='test -s conftest.$ac_objext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.
$ac_ext >&5
15715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15717 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15718 echo "${ECHO_T}$ac_cv_type_int" >&6
15720 echo "$as_me:$LINENO: checking size of int" >&5
15721 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15722 if test "${ac_cv_sizeof_int+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 if test "$ac_cv_type_int" = yes; then
15726 # The cast to unsigned long works around a bug in the HP C Compiler
15727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15729 # This bug is HP SR number 8606223364.
15730 if test "$cross_compiling" = yes; then
15731 # Depending upon the size, compute the lo and hi bounds.
15732 cat >conftest.
$ac_ext <<_ACEOF
15735 cat confdefs.h
>>conftest.
$ac_ext
15736 cat >>conftest.
$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 $ac_includes_default
15742 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15749 rm -f conftest.
$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>conftest.er1
15753 grep -v '^ *+' conftest.er1
>conftest.err
15755 cat conftest.err
>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try
='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15772 cat >conftest.
$ac_ext <<_ACEOF
15775 cat confdefs.h
>>conftest.
$ac_ext
15776 cat >>conftest.
$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 $ac_includes_default
15782 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15789 rm -f conftest.
$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try
='test -s conftest.$ac_objext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_hi
=$ac_mid; break
15812 echo "$as_me: failed program was:" >&5
15813 sed 's/^/| /' conftest.
$ac_ext >&5
15815 ac_lo
=`expr $ac_mid + 1`
15816 if test $ac_lo -le $ac_mid; then
15820 ac_mid
=`expr 2 '*' $ac_mid + 1`
15822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 cat >conftest.
$ac_ext <<_ACEOF
15831 cat confdefs.h
>>conftest.
$ac_ext
15832 cat >>conftest.
$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834 $ac_includes_default
15838 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15845 rm -f conftest.
$ac_objext
15846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15847 (eval $ac_compile) 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } &&
15854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try
='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15878 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15885 rm -f conftest.
$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15889 grep -v '^ *+' conftest.er1
>conftest.err
15891 cat conftest.err
>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; } &&
15900 { ac_try
='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_lo
=$ac_mid; break
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.
$ac_ext >&5
15911 ac_hi
=`expr '(' $ac_mid ')' - 1`
15912 if test $ac_mid -le $ac_hi; then
15916 ac_mid
=`expr 2 '*' $ac_mid`
15918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15929 # Binary search between lo and hi bounds.
15930 while test "x$ac_lo" != "x$ac_hi"; do
15931 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15932 cat >conftest.
$ac_ext <<_ACEOF
15935 cat confdefs.h
>>conftest.
$ac_ext
15936 cat >>conftest.
$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15938 $ac_includes_default
15942 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15949 rm -f conftest.
$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951 (eval $ac_compile) 2>conftest.er1
15953 grep -v '^ *+' conftest.er1
>conftest.err
15955 cat conftest.err
>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
15958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; } &&
15964 { ac_try
='test -s conftest.$ac_objext'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; }; then
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 ac_lo
=`expr '(' $ac_mid ')' + 1`
15977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15980 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15981 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15982 See \`config.log' for more details." >&5
15983 echo "$as_me: error: cannot compute sizeof (int), 77
15984 See \`config.log' for more details." >&2;}
15985 { (exit 1); exit 1; }; } ;;
15988 if test "$cross_compiling" = yes; then
15989 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15990 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15991 { (exit 1); exit 1; }; }
15993 cat >conftest.
$ac_ext <<_ACEOF
15996 cat confdefs.h
>>conftest.
$ac_ext
15997 cat >>conftest.
$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 $ac_includes_default
16000 long longval () { return (long) (sizeof (int)); }
16001 unsigned long ulongval () { return (long) (sizeof (int)); }
16003 #include <stdlib.h>
16008 FILE *f = fopen ("conftest.val", "w");
16011 if (((long) (sizeof (int))) < 0)
16013 long i = longval ();
16014 if (i != ((long) (sizeof (int))))
16016 fprintf (f, "%ld\n", i);
16020 unsigned long i = ulongval ();
16021 if (i != ((long) (sizeof (int))))
16023 fprintf (f, "%lu\n", i);
16025 exit (ferror (f) || fclose (f) != 0);
16031 rm -f conftest
$ac_exeext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16033 (eval $ac_link) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_sizeof_int
=`cat conftest.val`
16044 echo "$as_me: program exited with status $ac_status" >&5
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.
$ac_ext >&5
16048 ( exit $ac_status )
16049 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16050 See \`config.log' for more details." >&5
16051 echo "$as_me: error: cannot compute sizeof (int), 77
16052 See \`config.log' for more details." >&2;}
16053 { (exit 1); exit 1; }; }
16055 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16063 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16064 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16065 cat >>confdefs.h
<<_ACEOF
16066 #define SIZEOF_INT $ac_cv_sizeof_int
16070 echo "$as_me:$LINENO: checking for long" >&5
16071 echo $ECHO_N "checking for long... $ECHO_C" >&6
16072 if test "${ac_cv_type_long+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 cat >conftest.
$ac_ext <<_ACEOF
16078 cat confdefs.h
>>conftest.
$ac_ext
16079 cat >>conftest.
$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081 $ac_includes_default
16093 rm -f conftest.
$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16097 grep -v '^ *+' conftest.er1
>conftest.err
16099 cat conftest.err
>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try
='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_cv_type_long
=yes
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.
$ac_ext >&5
16121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16123 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16124 echo "${ECHO_T}$ac_cv_type_long" >&6
16126 echo "$as_me:$LINENO: checking size of long" >&5
16127 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16128 if test "${ac_cv_sizeof_long+set}" = set; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 if test "$ac_cv_type_long" = yes; then
16132 # The cast to unsigned long works around a bug in the HP C Compiler
16133 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16134 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16135 # This bug is HP SR number 8606223364.
16136 if test "$cross_compiling" = yes; then
16137 # Depending upon the size, compute the lo and hi bounds.
16138 cat >conftest.
$ac_ext <<_ACEOF
16141 cat confdefs.h
>>conftest.
$ac_ext
16142 cat >>conftest.
$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16144 $ac_includes_default
16148 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16155 rm -f conftest.
$ac_objext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16157 (eval $ac_compile) 2>conftest.er1
16159 grep -v '^ *+' conftest.er1
>conftest.err
16161 cat conftest.err
>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
16164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; } &&
16170 { ac_try
='test -s conftest.$ac_objext'
16171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16172 (eval $ac_try) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16178 cat >conftest.
$ac_ext <<_ACEOF
16181 cat confdefs.h
>>conftest.
$ac_ext
16182 cat >>conftest.
$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184 $ac_includes_default
16188 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16195 rm -f conftest.
$ac_objext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>conftest.er1
16199 grep -v '^ *+' conftest.er1
>conftest.err
16201 cat conftest.err
>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
16204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; } &&
16210 { ac_try
='test -s conftest.$ac_objext'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 ac_hi
=$ac_mid; break
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.
$ac_ext >&5
16221 ac_lo
=`expr $ac_mid + 1`
16222 if test $ac_lo -le $ac_mid; then
16226 ac_mid
=`expr 2 '*' $ac_mid + 1`
16228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 cat >conftest.
$ac_ext <<_ACEOF
16237 cat confdefs.h
>>conftest.
$ac_ext
16238 cat >>conftest.
$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240 $ac_includes_default
16244 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16251 rm -f conftest.
$ac_objext
16252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16253 (eval $ac_compile) 2>conftest.er1
16255 grep -v '^ *+' conftest.er1
>conftest.err
16257 cat conftest.err
>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; } &&
16266 { ac_try
='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 $ac_includes_default
16284 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16291 rm -f conftest.
$ac_objext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16293 (eval $ac_compile) 2>conftest.er1
16295 grep -v '^ *+' conftest.er1
>conftest.err
16297 cat conftest.err
>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try
='test -s conftest.$ac_objext'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 ac_lo
=$ac_mid; break
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.
$ac_ext >&5
16317 ac_hi
=`expr '(' $ac_mid ')' - 1`
16318 if test $ac_mid -le $ac_hi; then
16322 ac_mid
=`expr 2 '*' $ac_mid`
16324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16335 # Binary search between lo and hi bounds.
16336 while test "x$ac_lo" != "x$ac_hi"; do
16337 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16348 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16355 rm -f conftest.
$ac_objext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16357 (eval $ac_compile) 2>conftest.er1
16359 grep -v '^ *+' conftest.er1
>conftest.err
16361 cat conftest.err
>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; } &&
16370 { ac_try
='test -s conftest.$ac_objext'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 ac_lo
=`expr '(' $ac_mid ')' + 1`
16383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16386 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16387 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16388 See \`config.log' for more details." >&5
16389 echo "$as_me: error: cannot compute sizeof (long), 77
16390 See \`config.log' for more details." >&2;}
16391 { (exit 1); exit 1; }; } ;;
16394 if test "$cross_compiling" = yes; then
16395 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16396 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16397 { (exit 1); exit 1; }; }
16399 cat >conftest.
$ac_ext <<_ACEOF
16402 cat confdefs.h
>>conftest.
$ac_ext
16403 cat >>conftest.
$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 $ac_includes_default
16406 long longval () { return (long) (sizeof (long)); }
16407 unsigned long ulongval () { return (long) (sizeof (long)); }
16409 #include <stdlib.h>
16414 FILE *f = fopen ("conftest.val", "w");
16417 if (((long) (sizeof (long))) < 0)
16419 long i = longval ();
16420 if (i != ((long) (sizeof (long))))
16422 fprintf (f, "%ld\n", i);
16426 unsigned long i = ulongval ();
16427 if (i != ((long) (sizeof (long))))
16429 fprintf (f, "%lu\n", i);
16431 exit (ferror (f) || fclose (f) != 0);
16437 rm -f conftest
$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_sizeof_long
=`cat conftest.val`
16450 echo "$as_me: program exited with status $ac_status" >&5
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16454 ( exit $ac_status )
16455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16456 See \`config.log' for more details." >&5
16457 echo "$as_me: error: cannot compute sizeof (long), 77
16458 See \`config.log' for more details." >&2;}
16459 { (exit 1); exit 1; }; }
16461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16466 ac_cv_sizeof_long
=0
16469 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16470 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16471 cat >>confdefs.h
<<_ACEOF
16472 #define SIZEOF_LONG $ac_cv_sizeof_long
16476 echo "$as_me:$LINENO: checking for size_t" >&5
16477 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16478 if test "${ac_cv_type_size_t+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.
$ac_ext <<_ACEOF
16484 cat confdefs.h
>>conftest.
$ac_ext
16485 cat >>conftest.
$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16487 $ac_includes_default
16493 if (sizeof (size_t))
16499 rm -f conftest.
$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try
='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_type_size_t
=yes
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.
$ac_ext >&5
16525 ac_cv_type_size_t
=no
16527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16529 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16530 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16532 echo "$as_me:$LINENO: checking size of size_t" >&5
16533 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16534 if test "${ac_cv_sizeof_size_t+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 if test "$ac_cv_type_size_t" = yes; then
16538 # The cast to unsigned long works around a bug in the HP C Compiler
16539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16541 # This bug is HP SR number 8606223364.
16542 if test "$cross_compiling" = yes; then
16543 # Depending upon the size, compute the lo and hi bounds.
16544 cat >conftest.
$ac_ext <<_ACEOF
16547 cat confdefs.h
>>conftest.
$ac_ext
16548 cat >>conftest.
$ac_ext <<_ACEOF
16549 /* end confdefs.h. */
16550 $ac_includes_default
16554 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16561 rm -f conftest.
$ac_objext
16562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16563 (eval $ac_compile) 2>conftest.er1
16565 grep -v '^ *+' conftest.er1
>conftest.err
16567 cat conftest.err
>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
16570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try
='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16584 cat >conftest.
$ac_ext <<_ACEOF
16587 cat confdefs.h
>>conftest.
$ac_ext
16588 cat >>conftest.
$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 $ac_includes_default
16594 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16601 rm -f conftest.
$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603 (eval $ac_compile) 2>conftest.er1
16605 grep -v '^ *+' conftest.er1
>conftest.err
16607 cat conftest.err
>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try
='test -s conftest.$ac_objext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_hi
=$ac_mid; break
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.
$ac_ext >&5
16627 ac_lo
=`expr $ac_mid + 1`
16628 if test $ac_lo -le $ac_mid; then
16632 ac_mid
=`expr 2 '*' $ac_mid + 1`
16634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.
$ac_ext >&5
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16650 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16657 rm -f conftest.
$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16661 grep -v '^ *+' conftest.er1
>conftest.err
16663 cat conftest.err
>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try
='test -s conftest.$ac_objext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16690 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16697 rm -f conftest.
$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16701 grep -v '^ *+' conftest.er1
>conftest.err
16703 cat conftest.err
>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 ac_lo
=$ac_mid; break
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16723 ac_hi
=`expr '(' $ac_mid ')' - 1`
16724 if test $ac_mid -le $ac_hi; then
16728 ac_mid
=`expr 2 '*' $ac_mid`
16730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.
$ac_ext >&5
16738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16741 # Binary search between lo and hi bounds.
16742 while test "x$ac_lo" != "x$ac_hi"; do
16743 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16744 cat >conftest.
$ac_ext <<_ACEOF
16747 cat confdefs.h
>>conftest.
$ac_ext
16748 cat >>conftest.
$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 $ac_includes_default
16754 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16761 rm -f conftest.
$ac_objext
16762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16763 (eval $ac_compile) 2>conftest.er1
16765 grep -v '^ *+' conftest.er1
>conftest.err
16767 cat conftest.err
>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } &&
16770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try
='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.
$ac_ext >&5
16787 ac_lo
=`expr '(' $ac_mid ')' + 1`
16789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16792 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16793 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16794 See \`config.log' for more details." >&5
16795 echo "$as_me: error: cannot compute sizeof (size_t), 77
16796 See \`config.log' for more details." >&2;}
16797 { (exit 1); exit 1; }; } ;;
16800 if test "$cross_compiling" = yes; then
16801 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16802 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16803 { (exit 1); exit 1; }; }
16805 cat >conftest.
$ac_ext <<_ACEOF
16808 cat confdefs.h
>>conftest.
$ac_ext
16809 cat >>conftest.
$ac_ext <<_ACEOF
16810 /* end confdefs.h. */
16811 $ac_includes_default
16812 long longval () { return (long) (sizeof (size_t)); }
16813 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16815 #include <stdlib.h>
16820 FILE *f = fopen ("conftest.val", "w");
16823 if (((long) (sizeof (size_t))) < 0)
16825 long i = longval ();
16826 if (i != ((long) (sizeof (size_t))))
16828 fprintf (f, "%ld\n", i);
16832 unsigned long i = ulongval ();
16833 if (i != ((long) (sizeof (size_t))))
16835 fprintf (f, "%lu\n", i);
16837 exit (ferror (f) || fclose (f) != 0);
16843 rm -f conftest
$ac_exeext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16845 (eval $ac_link) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_sizeof_size_t
=`cat conftest.val`
16856 echo "$as_me: program exited with status $ac_status" >&5
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.
$ac_ext >&5
16860 ( exit $ac_status )
16861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16862 See \`config.log' for more details." >&5
16863 echo "$as_me: error: cannot compute sizeof (size_t), 77
16864 See \`config.log' for more details." >&2;}
16865 { (exit 1); exit 1; }; }
16867 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16872 ac_cv_sizeof_size_t
=0
16875 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16876 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16877 cat >>confdefs.h
<<_ACEOF
16878 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16885 echo "$as_me:$LINENO: checking for long long" >&5
16886 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16887 if test "${ac_cv_type_long_long+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16900 if ((long long *) 0)
16902 if (sizeof (long long))
16908 rm -f conftest.
$ac_objext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16910 (eval $ac_compile) 2>conftest.er1
16912 grep -v '^ *+' conftest.er1
>conftest.err
16914 cat conftest.err
>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try
='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_type_long_long
=yes
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.
$ac_ext >&5
16934 ac_cv_type_long_long
=no
16936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16938 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16939 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16941 echo "$as_me:$LINENO: checking size of long long" >&5
16942 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16943 if test "${ac_cv_sizeof_long_long+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 if test "$ac_cv_type_long_long" = yes; then
16947 # The cast to unsigned long works around a bug in the HP C Compiler
16948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16950 # This bug is HP SR number 8606223364.
16951 if test "$cross_compiling" = yes; then
16952 # Depending upon the size, compute the lo and hi bounds.
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $ac_includes_default
16963 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16970 rm -f conftest.
$ac_objext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16972 (eval $ac_compile) 2>conftest.er1
16974 grep -v '^ *+' conftest.er1
>conftest.err
16976 cat conftest.err
>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try
='test -s conftest.$ac_objext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 $ac_includes_default
17003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17010 rm -f conftest.
$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try
='test -s conftest.$ac_objext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_hi
=$ac_mid; break
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.
$ac_ext >&5
17036 ac_lo
=`expr $ac_mid + 1`
17037 if test $ac_lo -le $ac_mid; then
17041 ac_mid
=`expr 2 '*' $ac_mid + 1`
17043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17049 cat >conftest.
$ac_ext <<_ACEOF
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17059 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17066 rm -f conftest.
$ac_objext
17067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17068 (eval $ac_compile) 2>conftest.er1
17070 grep -v '^ *+' conftest.er1
>conftest.err
17072 cat conftest.err
>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; } &&
17081 { ac_try
='test -s conftest.$ac_objext'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; }; then
17089 cat >conftest.
$ac_ext <<_ACEOF
17092 cat confdefs.h
>>conftest.
$ac_ext
17093 cat >>conftest.
$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 $ac_includes_default
17099 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17106 rm -f conftest.
$ac_objext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17108 (eval $ac_compile) 2>conftest.er1
17110 grep -v '^ *+' conftest.er1
>conftest.err
17112 cat conftest.err
>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
17115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } &&
17121 { ac_try
='test -s conftest.$ac_objext'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 ac_lo
=$ac_mid; break
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.
$ac_ext >&5
17132 ac_hi
=`expr '(' $ac_mid ')' - 1`
17133 if test $ac_mid -le $ac_hi; then
17137 ac_mid
=`expr 2 '*' $ac_mid`
17139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.
$ac_ext >&5
17147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17150 # Binary search between lo and hi bounds.
17151 while test "x$ac_lo" != "x$ac_hi"; do
17152 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17153 cat >conftest.
$ac_ext <<_ACEOF
17156 cat confdefs.h
>>conftest.
$ac_ext
17157 cat >>conftest.
$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159 $ac_includes_default
17163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17170 rm -f conftest.
$ac_objext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17172 (eval $ac_compile) 2>conftest.er1
17174 grep -v '^ *+' conftest.er1
>conftest.err
17176 cat conftest.err
>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
17179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try
='test -s conftest.$ac_objext'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17196 ac_lo
=`expr '(' $ac_mid ')' + 1`
17198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17201 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17203 See \`config.log' for more details." >&5
17204 echo "$as_me: error: cannot compute sizeof (long long), 77
17205 See \`config.log' for more details." >&2;}
17206 { (exit 1); exit 1; }; } ;;
17209 if test "$cross_compiling" = yes; then
17210 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17211 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17212 { (exit 1); exit 1; }; }
17214 cat >conftest.
$ac_ext <<_ACEOF
17217 cat confdefs.h
>>conftest.
$ac_ext
17218 cat >>conftest.
$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17221 long longval () { return (long) (sizeof (long long)); }
17222 unsigned long ulongval () { return (long) (sizeof (long long)); }
17224 #include <stdlib.h>
17229 FILE *f = fopen ("conftest.val", "w");
17232 if (((long) (sizeof (long long))) < 0)
17234 long i = longval ();
17235 if (i != ((long) (sizeof (long long))))
17237 fprintf (f, "%ld\n", i);
17241 unsigned long i = ulongval ();
17242 if (i != ((long) (sizeof (long long))))
17244 fprintf (f, "%lu\n", i);
17246 exit (ferror (f) || fclose (f) != 0);
17252 rm -f conftest
$ac_exeext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17254 (eval $ac_link) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_cv_sizeof_long_long
=`cat conftest.val`
17265 echo "$as_me: program exited with status $ac_status" >&5
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ( exit $ac_status )
17270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17271 See \`config.log' for more details." >&5
17272 echo "$as_me: error: cannot compute sizeof (long long), 77
17273 See \`config.log' for more details." >&2;}
17274 { (exit 1); exit 1; }; }
17276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17281 ac_cv_sizeof_long_long
=0
17284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17285 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17286 cat >>confdefs.h
<<_ACEOF
17287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17293 echo "$as_me:$LINENO: checking for long long" >&5
17294 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17295 if test "${ac_cv_type_long_long+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 cat >conftest.
$ac_ext <<_ACEOF
17301 cat confdefs.h
>>conftest.
$ac_ext
17302 cat >>conftest.
$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304 $ac_includes_default
17308 if ((long long *) 0)
17310 if (sizeof (long long))
17316 rm -f conftest.
$ac_objext
17317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17318 (eval $ac_compile) 2>conftest.er1
17320 grep -v '^ *+' conftest.er1
>conftest.err
17322 cat conftest.err
>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
17325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; } &&
17331 { ac_try
='test -s conftest.$ac_objext'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17337 ac_cv_type_long_long
=yes
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.
$ac_ext >&5
17342 ac_cv_type_long_long
=no
17344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17346 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17347 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17349 echo "$as_me:$LINENO: checking size of long long" >&5
17350 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17351 if test "${ac_cv_sizeof_long_long+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 if test "$ac_cv_type_long_long" = yes; then
17355 # The cast to unsigned long works around a bug in the HP C Compiler
17356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17358 # This bug is HP SR number 8606223364.
17359 if test "$cross_compiling" = yes; then
17360 # Depending upon the size, compute the lo and hi bounds.
17361 cat >conftest.
$ac_ext <<_ACEOF
17364 cat confdefs.h
>>conftest.
$ac_ext
17365 cat >>conftest.
$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 $ac_includes_default
17371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17378 rm -f conftest.
$ac_objext
17379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17380 (eval $ac_compile) 2>conftest.er1
17382 grep -v '^ *+' conftest.er1
>conftest.err
17384 cat conftest.err
>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
17387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try
='test -s conftest.$ac_objext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17401 cat >conftest.
$ac_ext <<_ACEOF
17404 cat confdefs.h
>>conftest.
$ac_ext
17405 cat >>conftest.
$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407 $ac_includes_default
17411 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17418 rm -f conftest.
$ac_objext
17419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17420 (eval $ac_compile) 2>conftest.er1
17422 grep -v '^ *+' conftest.er1
>conftest.err
17424 cat conftest.err
>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } &&
17427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try
='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_hi
=$ac_mid; break
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 ac_lo
=`expr $ac_mid + 1`
17445 if test $ac_lo -le $ac_mid; then
17449 ac_mid
=`expr 2 '*' $ac_mid + 1`
17451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.
$ac_ext >&5
17457 cat >conftest.
$ac_ext <<_ACEOF
17460 cat confdefs.h
>>conftest.
$ac_ext
17461 cat >>conftest.
$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 $ac_includes_default
17467 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17474 rm -f conftest.
$ac_objext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17476 (eval $ac_compile) 2>conftest.er1
17478 grep -v '^ *+' conftest.er1
>conftest.err
17480 cat conftest.err
>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } &&
17483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; } &&
17489 { ac_try
='test -s conftest.$ac_objext'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17497 cat >conftest.
$ac_ext <<_ACEOF
17500 cat confdefs.h
>>conftest.
$ac_ext
17501 cat >>conftest.
$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17503 $ac_includes_default
17507 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17514 rm -f conftest.
$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17518 grep -v '^ *+' conftest.er1
>conftest.err
17520 cat conftest.err
>&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try
='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 ac_lo
=$ac_mid; break
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 ac_hi
=`expr '(' $ac_mid ')' - 1`
17541 if test $ac_mid -le $ac_hi; then
17545 ac_mid
=`expr 2 '*' $ac_mid`
17547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17558 # Binary search between lo and hi bounds.
17559 while test "x$ac_lo" != "x$ac_hi"; do
17560 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 $ac_includes_default
17571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17578 rm -f conftest.
$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try
='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.
$ac_ext >&5
17604 ac_lo
=`expr '(' $ac_mid ')' + 1`
17606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17609 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17610 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17611 See \`config.log' for more details." >&5
17612 echo "$as_me: error: cannot compute sizeof (long long), 77
17613 See \`config.log' for more details." >&2;}
17614 { (exit 1); exit 1; }; } ;;
17617 if test "$cross_compiling" = yes; then
17618 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17619 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17620 { (exit 1); exit 1; }; }
17622 cat >conftest.
$ac_ext <<_ACEOF
17625 cat confdefs.h
>>conftest.
$ac_ext
17626 cat >>conftest.
$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 $ac_includes_default
17629 long longval () { return (long) (sizeof (long long)); }
17630 unsigned long ulongval () { return (long) (sizeof (long long)); }
17632 #include <stdlib.h>
17637 FILE *f = fopen ("conftest.val", "w");
17640 if (((long) (sizeof (long long))) < 0)
17642 long i = longval ();
17643 if (i != ((long) (sizeof (long long))))
17645 fprintf (f, "%ld\n", i);
17649 unsigned long i = ulongval ();
17650 if (i != ((long) (sizeof (long long))))
17652 fprintf (f, "%lu\n", i);
17654 exit (ferror (f) || fclose (f) != 0);
17660 rm -f conftest
$ac_exeext
17661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17662 (eval $ac_link) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
17671 ac_cv_sizeof_long_long
=`cat conftest.val`
17673 echo "$as_me: program exited with status $ac_status" >&5
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 ( exit $ac_status )
17678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17679 See \`config.log' for more details." >&5
17680 echo "$as_me: error: cannot compute sizeof (long long), 77
17681 See \`config.log' for more details." >&2;}
17682 { (exit 1); exit 1; }; }
17684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17689 ac_cv_sizeof_long_long
=0
17692 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17693 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17694 cat >>confdefs.h
<<_ACEOF
17695 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17699 if test "$ac_cv_sizeof_long_long" != "0"; then
17700 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17704 echo "$as_me:$LINENO: checking for long long" >&5
17705 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17706 if test "${ac_cv_type_long_long+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 cat >conftest.
$ac_ext <<_ACEOF
17712 cat confdefs.h
>>conftest.
$ac_ext
17713 cat >>conftest.
$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17719 if ((long long *) 0)
17721 if (sizeof (long long))
17727 rm -f conftest.
$ac_objext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>conftest.er1
17731 grep -v '^ *+' conftest.er1
>conftest.err
17733 cat conftest.err
>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; } &&
17742 { ac_try
='test -s conftest.$ac_objext'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; }; then
17748 ac_cv_type_long_long
=yes
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.
$ac_ext >&5
17753 ac_cv_type_long_long
=no
17755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17757 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17758 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17760 echo "$as_me:$LINENO: checking size of long long" >&5
17761 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17762 if test "${ac_cv_sizeof_long_long+set}" = set; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17765 if test "$ac_cv_type_long_long" = yes; then
17766 # The cast to unsigned long works around a bug in the HP C Compiler
17767 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17768 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17769 # This bug is HP SR number 8606223364.
17770 if test "$cross_compiling" = yes; then
17771 # Depending upon the size, compute the lo and hi bounds.
17772 cat >conftest.
$ac_ext <<_ACEOF
17775 cat confdefs.h
>>conftest.
$ac_ext
17776 cat >>conftest.
$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 $ac_includes_default
17782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17789 rm -f conftest.
$ac_objext
17790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17791 (eval $ac_compile) 2>conftest.er1
17793 grep -v '^ *+' conftest.er1
>conftest.err
17795 cat conftest.err
>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } &&
17798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; } &&
17804 { ac_try
='test -s conftest.$ac_objext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17812 cat >conftest.
$ac_ext <<_ACEOF
17815 cat confdefs.h
>>conftest.
$ac_ext
17816 cat >>conftest.
$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 $ac_includes_default
17822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17829 rm -f conftest.
$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17833 grep -v '^ *+' conftest.er1
>conftest.err
17835 cat conftest.err
>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try
='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_hi
=$ac_mid; break
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 ac_lo
=`expr $ac_mid + 1`
17856 if test $ac_lo -le $ac_mid; then
17860 ac_mid
=`expr 2 '*' $ac_mid + 1`
17862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.
$ac_ext >&5
17868 cat >conftest.
$ac_ext <<_ACEOF
17871 cat confdefs.h
>>conftest.
$ac_ext
17872 cat >>conftest.
$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 $ac_includes_default
17878 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17885 rm -f conftest.
$ac_objext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17887 (eval $ac_compile) 2>conftest.er1
17889 grep -v '^ *+' conftest.er1
>conftest.err
17891 cat conftest.err
>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
17894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try
='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17908 cat >conftest.
$ac_ext <<_ACEOF
17911 cat confdefs.h
>>conftest.
$ac_ext
17912 cat >>conftest.
$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17918 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17925 rm -f conftest.
$ac_objext
17926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 (eval $ac_compile) 2>conftest.er1
17929 grep -v '^ *+' conftest.er1
>conftest.err
17931 cat conftest.err
>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
17934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try
='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 ac_lo
=$ac_mid; break
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17951 ac_hi
=`expr '(' $ac_mid ')' - 1`
17952 if test $ac_mid -le $ac_hi; then
17956 ac_mid
=`expr 2 '*' $ac_mid`
17958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.
$ac_ext >&5
17966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17969 # Binary search between lo and hi bounds.
17970 while test "x$ac_lo" != "x$ac_hi"; do
17971 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17972 cat >conftest.
$ac_ext <<_ACEOF
17975 cat confdefs.h
>>conftest.
$ac_ext
17976 cat >>conftest.
$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 $ac_includes_default
17982 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17989 rm -f conftest.
$ac_objext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17991 (eval $ac_compile) 2>conftest.er1
17993 grep -v '^ *+' conftest.er1
>conftest.err
17995 cat conftest.err
>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
17998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try
='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18015 ac_lo
=`expr '(' $ac_mid ')' + 1`
18017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18020 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18021 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18022 See \`config.log' for more details." >&5
18023 echo "$as_me: error: cannot compute sizeof (long long), 77
18024 See \`config.log' for more details." >&2;}
18025 { (exit 1); exit 1; }; } ;;
18028 if test "$cross_compiling" = yes; then
18029 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18030 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18031 { (exit 1); exit 1; }; }
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18040 long longval () { return (long) (sizeof (long long)); }
18041 unsigned long ulongval () { return (long) (sizeof (long long)); }
18043 #include <stdlib.h>
18048 FILE *f = fopen ("conftest.val", "w");
18051 if (((long) (sizeof (long long))) < 0)
18053 long i = longval ();
18054 if (i != ((long) (sizeof (long long))))
18056 fprintf (f, "%ld\n", i);
18060 unsigned long i = ulongval ();
18061 if (i != ((long) (sizeof (long long))))
18063 fprintf (f, "%lu\n", i);
18065 exit (ferror (f) || fclose (f) != 0);
18071 rm -f conftest
$ac_exeext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18073 (eval $ac_link) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 ac_cv_sizeof_long_long
=`cat conftest.val`
18084 echo "$as_me: program exited with status $ac_status" >&5
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 ( exit $ac_status )
18089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18090 See \`config.log' for more details." >&5
18091 echo "$as_me: error: cannot compute sizeof (long long), 77
18092 See \`config.log' for more details." >&2;}
18093 { (exit 1); exit 1; }; }
18095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18100 ac_cv_sizeof_long_long
=0
18103 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18104 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18105 cat >>confdefs.h
<<_ACEOF
18106 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18112 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18113 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18114 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 if test "$cross_compiling" = yes; then
18122 wx_cv_sizeof_wchar_t
=0
18125 wx_cv_sizeof_wchar_t
=4
18131 cat >conftest.
$ac_ext <<_ACEOF
18134 cat confdefs.h
>>conftest.
$ac_ext
18135 cat >>conftest.
$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18138 /* DJGPP only has fake wchar_t: */
18140 # error "fake wchar_t"
18142 #ifdef HAVE_WCHAR_H
18144 # include <stddef.h>
18146 # include <wchar.h>
18148 #ifdef HAVE_STDLIB_H
18149 # include <stdlib.h>
18154 FILE *f=fopen("conftestval", "w");
18156 fprintf(f, "%i", sizeof(wchar_t));
18161 rm -f conftest
$ac_exeext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18163 (eval $ac_link) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 wx_cv_sizeof_wchar_t
=`cat conftestval`
18174 echo "$as_me: program exited with status $ac_status" >&5
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.
$ac_ext >&5
18178 ( exit $ac_status )
18179 wx_cv_sizeof_wchar_t
=0
18181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18186 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18188 cat >>confdefs.h
<<_ACEOF
18189 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18193 echo "$as_me:$LINENO: checking for va_copy" >&5
18194 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18195 if test "${wx_cv_func_va_copy+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 cat >conftest.
$ac_ext <<_ACEOF
18201 #include <stdarg.h>
18202 void foo(char *f, ...)
18211 rm -f conftest.
$ac_objext conftest
$ac_exeext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18213 (eval $ac_link) 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest$ac_exeext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 wx_cv_func_va_copy
=yes
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18237 wx_cv_func_va_copy
=no
18240 rm -f conftest.err conftest.
$ac_objext \
18241 conftest
$ac_exeext conftest.
$ac_ext
18245 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18246 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18248 if test $wx_cv_func_va_copy = "yes"; then
18249 cat >>confdefs.h
<<\_ACEOF
18250 #define HAVE_VA_COPY 1
18254 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18255 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18256 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 if test "$cross_compiling" = yes; then
18261 wx_cv_type_va_list_lvalue
=yes
18264 cat >conftest.
$ac_ext <<_ACEOF
18266 #include <stdarg.h>
18267 int foo(char *f, ...)
18272 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18280 return foo("hi", 17);
18283 rm -f conftest
$ac_exeext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18285 (eval $ac_link) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18294 wx_cv_type_va_list_lvalue
=yes
18296 echo "$as_me: program exited with status $ac_status" >&5
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18300 ( exit $ac_status )
18301 wx_cv_type_va_list_lvalue
=no
18303 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18308 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18309 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18311 if test $wx_cv_type_va_list_lvalue != "yes"; then
18312 cat >>confdefs.h
<<\_ACEOF
18313 #define VA_LIST_IS_ARRAY 1
18319 # Check whether --enable-largefile or --disable-largefile was given.
18320 if test "${enable_largefile+set}" = set; then
18321 enableval
="$enable_largefile"
18324 if test "$enable_largefile" != no
; then
18327 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18328 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18329 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 #define _FILE_OFFSET_BITS 64
18340 #include <sys/types.h>
18345 unsigned int field: sizeof(off_t) == 8;
18352 rm -f conftest.
$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1
>conftest.err
18358 cat conftest.err
>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try
='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_cv_sys_file_offset_bits
=64
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18378 ac_cv_sys_file_offset_bits
=no
18380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18384 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18385 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18387 if test "$ac_cv_sys_file_offset_bits" != no
; then
18389 cat >>confdefs.h
<<_ACEOF
18390 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18395 if test "x$wx_largefile" != "xyes"; then
18397 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18398 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18399 if test "${ac_cv_sys_large_files+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #define _LARGE_FILES 1
18410 #include <sys/types.h>
18415 unsigned int field: sizeof(off_t) == 8;
18422 rm -f conftest.
$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18426 grep -v '^ *+' conftest.er1
>conftest.err
18428 cat conftest.err
>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try
='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_sys_large_files
=1
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 ac_cv_sys_large_files
=no
18450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18454 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18455 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18457 if test "$ac_cv_sys_large_files" != no
; then
18459 cat >>confdefs.h
<<_ACEOF
18460 #define _LARGE_FILES $ac_cv_sys_large_files
18467 echo "$as_me:$LINENO: checking if large file support is available" >&5
18468 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18469 if test "x$wx_largefile" = "xyes"; then
18470 cat >>confdefs.h
<<\_ACEOF
18471 #define HAVE_LARGEFILE_SUPPORT 1
18475 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18476 echo "${ECHO_T}$wx_largefile" >&6
18480 if test "x$wx_largefile" = "xyes"; then
18481 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18482 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18484 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18486 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18489 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18490 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18491 if test "${ac_cv_c_bigendian+set}" = set; then
18492 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 ac_cv_c_bigendian
=unknown
18495 # See if sys/param.h defines the BYTE_ORDER macro.
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #include <sys/types.h>
18503 #include <sys/param.h>
18508 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18509 bogus endian macros
18515 rm -f conftest.
$ac_objext
18516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18517 (eval $ac_compile) 2>conftest.er1
18519 grep -v '^ *+' conftest.er1
>conftest.err
18521 cat conftest.err
>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
18524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18526 (eval $ac_try) 2>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); }; } &&
18530 { ac_try
='test -s conftest.$ac_objext'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 # It does; now see whether it defined to BIG_ENDIAN or not.
18537 cat >conftest.
$ac_ext <<_ACEOF
18540 cat confdefs.h
>>conftest.
$ac_ext
18541 cat >>conftest.
$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 #include <sys/types.h>
18544 #include <sys/param.h>
18549 #if BYTE_ORDER != BIG_ENDIAN
18556 rm -f conftest.
$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18560 grep -v '^ *+' conftest.er1
>conftest.err
18562 cat conftest.err
>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try
='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_c_bigendian
=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.
$ac_ext >&5
18582 ac_cv_c_bigendian
=no
18584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.
$ac_ext >&5
18590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18591 if test $ac_cv_c_bigendian = unknown
; then
18592 if test "$cross_compiling" = yes; then
18593 ac_cv_c_bigendian
=unknown
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18602 /* Are we little or big endian? From Harbison&Steele. */
18606 char c[sizeof (long)];
18609 exit (u.c[sizeof (long) - 1] == 1);
18612 rm -f conftest
$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_c_bigendian
=no
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ( exit $ac_status )
18630 ac_cv_c_bigendian
=yes
18632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18636 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18637 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18638 if test $ac_cv_c_bigendian = unknown
; then
18639 { 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
18640 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;}
18642 if test $ac_cv_c_bigendian = yes; then
18643 cat >>confdefs.h
<<\_ACEOF
18644 #define WORDS_BIGENDIAN 1
18651 ac_cpp
='$CXXCPP $CPPFLAGS'
18652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18655 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18656 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18657 if test -z "$CXXCPP"; then
18658 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 # Double quotes because CXXCPP needs to be expanded
18662 for CXXCPP
in "$CXX -E" "/lib/cpp"
18664 ac_preproc_ok
=false
18665 for ac_cxx_preproc_warn_flag
in '' yes
18667 # Use a header file that comes with gcc, so configuring glibc
18668 # with a fresh cross-compiler works.
18669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18670 # <limits.h> exists even on freestanding compilers.
18671 # On the NeXT, cc -E runs the code through the compiler's parser,
18672 # not just through cpp. "Syntax error" is here to catch this case.
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18680 # include <limits.h>
18682 # include <assert.h>
18686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } >/dev
/null
; then
18694 if test -s conftest.err
; then
18695 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18696 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18703 if test -z "$ac_cpp_err"; then
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 # Broken: fails on valid input.
18712 rm -f conftest.err conftest.
$ac_ext
18714 # OK, works on sane cases. Now check whether non-existent headers
18715 # can be detected and how.
18716 cat >conftest.
$ac_ext <<_ACEOF
18719 cat confdefs.h
>>conftest.
$ac_ext
18720 cat >>conftest.
$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 #include <ac_nonexistent.h>
18724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18727 grep -v '^ *+' conftest.er1
>conftest.err
18729 cat conftest.err
>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } >/dev
/null
; then
18732 if test -s conftest.err
; then
18733 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18734 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18741 if test -z "$ac_cpp_err"; then
18742 # Broken: success on invalid input.
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.
$ac_ext >&5
18748 # Passes both tests.
18752 rm -f conftest.err conftest.
$ac_ext
18755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18756 rm -f conftest.err conftest.
$ac_ext
18757 if $ac_preproc_ok; then
18762 ac_cv_prog_CXXCPP
=$CXXCPP
18765 CXXCPP
=$ac_cv_prog_CXXCPP
18767 ac_cv_prog_CXXCPP
=$CXXCPP
18769 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18770 echo "${ECHO_T}$CXXCPP" >&6
18771 ac_preproc_ok
=false
18772 for ac_cxx_preproc_warn_flag
in '' yes
18774 # Use a header file that comes with gcc, so configuring glibc
18775 # with a fresh cross-compiler works.
18776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18777 # <limits.h> exists even on freestanding compilers.
18778 # On the NeXT, cc -E runs the code through the compiler's parser,
18779 # not just through cpp. "Syntax error" is here to catch this case.
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18787 # include <limits.h>
18789 # include <assert.h>
18793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1
>conftest.err
18798 cat conftest.err
>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } >/dev
/null
; then
18801 if test -s conftest.err
; then
18802 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18803 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18810 if test -z "$ac_cpp_err"; then
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 # Broken: fails on valid input.
18819 rm -f conftest.err conftest.
$ac_ext
18821 # OK, works on sane cases. Now check whether non-existent headers
18822 # can be detected and how.
18823 cat >conftest.
$ac_ext <<_ACEOF
18826 cat confdefs.h
>>conftest.
$ac_ext
18827 cat >>conftest.
$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 #include <ac_nonexistent.h>
18831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1
>conftest.err
18836 cat conftest.err
>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } >/dev
/null
; then
18839 if test -s conftest.err
; then
18840 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18841 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18848 if test -z "$ac_cpp_err"; then
18849 # Broken: success on invalid input.
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.
$ac_ext >&5
18855 # Passes both tests.
18859 rm -f conftest.err conftest.
$ac_ext
18862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18863 rm -f conftest.err conftest.
$ac_ext
18864 if $ac_preproc_ok; then
18867 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18868 See \`config.log' for more details." >&5
18869 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18870 See \`config.log' for more details." >&2;}
18871 { (exit 1); exit 1; }; }
18875 ac_cpp
='$CXXCPP $CPPFLAGS'
18876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18885 ac_cpp
='$CXXCPP $CPPFLAGS'
18886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18892 for ac_header
in iostream
18894 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18896 echo "$as_me:$LINENO: checking for $ac_header" >&5
18897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18904 # Is the header compilable?
18905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18907 cat >conftest.
$ac_ext <<_ACEOF
18910 cat confdefs.h
>>conftest.
$ac_ext
18911 cat >>conftest.
$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18913 $ac_includes_default
18914 #include <$ac_header>
18916 rm -f conftest.
$ac_objext
18917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18918 (eval $ac_compile) 2>conftest.er1
18920 grep -v '^ *+' conftest.er1
>conftest.err
18922 cat conftest.err
>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } &&
18925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; } &&
18931 { ac_try
='test -s conftest.$ac_objext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_header_compiler
=yes
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.
$ac_ext >&5
18942 ac_header_compiler
=no
18944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18945 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18946 echo "${ECHO_T}$ac_header_compiler" >&6
18948 # Is the header present?
18949 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18950 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18951 cat >conftest.
$ac_ext <<_ACEOF
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #include <$ac_header>
18959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18962 grep -v '^ *+' conftest.er1
>conftest.err
18964 cat conftest.err
>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } >/dev
/null
; then
18967 if test -s conftest.err
; then
18968 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18969 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18976 if test -z "$ac_cpp_err"; then
18977 ac_header_preproc
=yes
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.
$ac_ext >&5
18982 ac_header_preproc
=no
18984 rm -f conftest.err conftest.
$ac_ext
18985 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18986 echo "${ECHO_T}$ac_header_preproc" >&6
18988 # So? What about this header?
18989 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18995 ac_header_preproc
=yes
18998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19012 ## ----------------------------------------- ##
19013 ## Report this to wx-dev@lists.wxwidgets.org ##
19014 ## ----------------------------------------- ##
19017 sed "s/^/$as_me: WARNING: /" >&2
19020 echo "$as_me:$LINENO: checking for $ac_header" >&5
19021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 eval "$as_ac_Header=\$ac_header_preproc"
19027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19032 cat >>confdefs.h
<<_ACEOF
19033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19041 if test "$ac_cv_header_iostream" = "yes" ; then
19044 cat >>confdefs.h
<<\_ACEOF
19045 #define wxUSE_IOSTREAMH 1
19051 ac_cpp
='$CPP $CPPFLAGS'
19052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19059 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19060 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19061 if test "${wx_cv_cpp_bool+set}" = set; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 ac_cpp
='$CXXCPP $CPPFLAGS'
19069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19074 cat >conftest.
$ac_ext <<_ACEOF
19077 cat confdefs.h
>>conftest.
$ac_ext
19078 cat >>conftest.
$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19094 rm -f conftest.
$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>conftest.er1
19098 grep -v '^ *+' conftest.er1
>conftest.err
19100 cat conftest.err
>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try
='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.
$ac_ext >&5
19127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19130 ac_cpp
='$CPP $CPPFLAGS'
19131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19137 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19138 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19140 if test "$wx_cv_cpp_bool" = "yes"; then
19141 cat >>confdefs.h
<<\_ACEOF
19142 #define HAVE_BOOL 1
19149 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19150 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19151 if test "${wx_cv_explicit+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 ac_cpp
='$CXXCPP $CPPFLAGS'
19159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19164 cat >conftest.
$ac_ext <<_ACEOF
19167 cat confdefs.h
>>conftest.
$ac_ext
19168 cat >>conftest.
$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19171 class Foo { public: explicit Foo(int) {} };
19183 rm -f conftest.
$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1
>conftest.err
19189 cat conftest.err
>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19205 cat >conftest.
$ac_ext <<_ACEOF
19208 cat confdefs.h
>>conftest.
$ac_ext
19209 cat >>conftest.
$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19212 class Foo { public: explicit Foo(int) {} };
19213 static void TakeFoo(const Foo& foo) { }
19226 rm -f conftest.
$ac_objext
19227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19228 (eval $ac_compile) 2>conftest.er1
19230 grep -v '^ *+' conftest.er1
>conftest.err
19232 cat conftest.err
>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
19235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; } &&
19241 { ac_try
='test -s conftest.$ac_objext'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; }; then
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.
$ac_ext >&5
19255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.
$ac_ext >&5
19264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19267 ac_cpp
='$CPP $CPPFLAGS'
19268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19274 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19275 echo "${ECHO_T}$wx_cv_explicit" >&6
19277 if test "$wx_cv_explicit" = "yes"; then
19278 cat >>confdefs.h
<<\_ACEOF
19279 #define HAVE_EXPLICIT 1
19285 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19286 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19287 if test "${ac_cv_cxx_const_cast+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 ac_cpp
='$CXXCPP $CPPFLAGS'
19294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19298 cat >conftest.
$ac_ext <<_ACEOF
19301 cat confdefs.h
>>conftest.
$ac_ext
19302 cat >>conftest.
$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19308 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19313 rm -f conftest.
$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1
>conftest.err
19319 cat conftest.err
>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_cxx_const_cast
=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.
$ac_ext >&5
19339 ac_cv_cxx_const_cast
=no
19341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19343 ac_cpp
='$CPP $CPPFLAGS'
19344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19350 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19351 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19352 if test "$ac_cv_cxx_const_cast" = yes; then
19354 cat >>confdefs.h
<<\_ACEOF
19355 #define HAVE_CONST_CAST
19360 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19361 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19362 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 ac_cpp
='$CXXCPP $CPPFLAGS'
19369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19373 cat >conftest.
$ac_ext <<_ACEOF
19376 cat confdefs.h
>>conftest.
$ac_ext
19377 cat >>conftest.
$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <typeinfo>
19380 class Base { public : Base () {} virtual void f () = 0;};
19381 class Derived : public Base { public : Derived () {} virtual void f () {} };
19382 class Unrelated { public : Unrelated () {} };
19383 int g (Unrelated&) { return 0; }
19388 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19393 rm -f conftest.
$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try
='test -s conftest.$ac_objext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_cv_cxx_reinterpret_cast
=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.
$ac_ext >&5
19419 ac_cv_cxx_reinterpret_cast
=no
19421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19423 ac_cpp
='$CPP $CPPFLAGS'
19424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19430 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19431 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19432 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19434 cat >>confdefs.h
<<\_ACEOF
19435 #define HAVE_REINTERPRET_CAST
19440 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19441 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19442 if test "${ac_cv_cxx_static_cast+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 ac_cpp
='$CXXCPP $CPPFLAGS'
19449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19453 cat >conftest.
$ac_ext <<_ACEOF
19456 cat confdefs.h
>>conftest.
$ac_ext
19457 cat >>conftest.
$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #include <typeinfo>
19460 class Base { public : Base () {} virtual void f () = 0; };
19461 class Derived : public Base { public : Derived () {} virtual void f () {} };
19462 int g (Derived&) { return 0; }
19467 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19472 rm -f conftest.
$ac_objext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19474 (eval $ac_compile) 2>conftest.er1
19476 grep -v '^ *+' conftest.er1
>conftest.err
19478 cat conftest.err
>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try
='test -s conftest.$ac_objext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 ac_cv_cxx_static_cast
=yes
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.
$ac_ext >&5
19498 ac_cv_cxx_static_cast
=no
19500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19502 ac_cpp
='$CPP $CPPFLAGS'
19503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19509 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19510 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19511 if test "$ac_cv_cxx_static_cast" = yes; then
19513 cat >>confdefs.h
<<\_ACEOF
19514 #define HAVE_STATIC_CAST
19520 if test "$wxUSE_STL" = "yes"; then
19522 ac_cpp
='$CXXCPP $CPPFLAGS'
19523 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19524 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19525 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19528 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19529 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19530 cat >conftest.
$ac_ext <<_ACEOF
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19537 #include <functional>
19538 #include <algorithm>
19544 std::vector<int> moo;
19545 std::list<int> foo;
19546 std::vector<int>::iterator it =
19547 std::find_if(moo.begin(), moo.end(),
19548 std::bind2nd(std::less<int>(), 3));
19553 rm -f conftest.
$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19557 grep -v '^ *+' conftest.er1
>conftest.err
19559 cat conftest.err
>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; } &&
19568 { ac_try
='test -s conftest.$ac_objext'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 echo "$as_me:$LINENO: result: yes" >&5
19575 echo "${ECHO_T}yes" >&6
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.
$ac_ext >&5
19580 echo "$as_me:$LINENO: result: no" >&5
19581 echo "${ECHO_T}no" >&6
19582 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19583 echo "$as_me: error: Basic STL functionality missing" >&2;}
19584 { (exit 1); exit 1; }; }
19586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19588 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19589 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19605 rm -f conftest.
$ac_objext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19607 (eval $ac_compile) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try
='test -s conftest.$ac_objext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 echo "$as_me:$LINENO: result: yes" >&5
19627 echo "${ECHO_T}yes" >&6
19628 cat >>confdefs.h
<<\_ACEOF
19629 #define HAVE_STD_WSTRING 1
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.
$ac_ext >&5
19636 echo "$as_me:$LINENO: result: no" >&5
19637 echo "${ECHO_T}no" >&6
19639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19641 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19642 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19653 std::string foo, bar;
19655 foo.compare(1, 1, bar);
19656 foo.compare(1, 1, bar, 1, 1);
19658 foo.compare(1, 1, "");
19659 foo.compare(1, 1, "", 2);
19664 rm -f conftest.
$ac_objext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666 (eval $ac_compile) 2>conftest.er1
19668 grep -v '^ *+' conftest.er1
>conftest.err
19670 cat conftest.err
>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; } &&
19679 { ac_try
='test -s conftest.$ac_objext'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19685 echo "$as_me:$LINENO: result: yes" >&5
19686 echo "${ECHO_T}yes" >&6
19687 cat >>confdefs.h
<<\_ACEOF
19688 #define HAVE_STD_STRING_COMPARE 1
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.
$ac_ext >&5
19695 echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6
19698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19700 if test "${ac_cv_header_hash_map+set}" = set; then
19701 echo "$as_me:$LINENO: checking for hash_map" >&5
19702 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19703 if test "${ac_cv_header_hash_map+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19707 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19709 # Is the header compilable?
19710 echo "$as_me:$LINENO: checking hash_map usability" >&5
19711 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19712 cat >conftest.
$ac_ext <<_ACEOF
19715 cat confdefs.h
>>conftest.
$ac_ext
19716 cat >>conftest.
$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19719 #include <hash_map>
19721 rm -f conftest.
$ac_objext
19722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19723 (eval $ac_compile) 2>conftest.er1
19725 grep -v '^ *+' conftest.er1
>conftest.err
19727 cat conftest.err
>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
19730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try
='test -s conftest.$ac_objext'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 ac_header_compiler
=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_header_compiler
=no
19749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19751 echo "${ECHO_T}$ac_header_compiler" >&6
19753 # Is the header present?
19754 echo "$as_me:$LINENO: checking hash_map presence" >&5
19755 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19756 cat >conftest.
$ac_ext <<_ACEOF
19759 cat confdefs.h
>>conftest.
$ac_ext
19760 cat >>conftest.
$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 #include <hash_map>
19764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19767 grep -v '^ *+' conftest.er1
>conftest.err
19769 cat conftest.err
>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } >/dev
/null
; then
19772 if test -s conftest.err
; then
19773 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19774 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19781 if test -z "$ac_cpp_err"; then
19782 ac_header_preproc
=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.
$ac_ext >&5
19787 ac_header_preproc
=no
19789 rm -f conftest.err conftest.
$ac_ext
19790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19791 echo "${ECHO_T}$ac_header_preproc" >&6
19793 # So? What about this header?
19794 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19796 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19797 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19798 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19799 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19800 ac_header_preproc
=yes
19803 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19804 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19805 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19806 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19807 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19808 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19810 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19812 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19814 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19817 ## ----------------------------------------- ##
19818 ## Report this to wx-dev@lists.wxwidgets.org ##
19819 ## ----------------------------------------- ##
19822 sed "s/^/$as_me: WARNING: /" >&2
19825 echo "$as_me:$LINENO: checking for hash_map" >&5
19826 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19827 if test "${ac_cv_header_hash_map+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 ac_cv_header_hash_map
=$ac_header_preproc
19832 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19833 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19836 if test $ac_cv_header_hash_map = yes; then
19837 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19838 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19839 cat >conftest.
$ac_ext <<_ACEOF
19842 cat confdefs.h
>>conftest.
$ac_ext
19843 cat >>conftest.
$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 #include <hash_map>
19846 #include <hash_set>
19850 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19851 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19856 rm -f conftest.
$ac_objext
19857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19858 (eval $ac_compile) 2>conftest.er1
19860 grep -v '^ *+' conftest.er1
>conftest.err
19862 cat conftest.err
>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } &&
19865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19871 { ac_try
='test -s conftest.$ac_objext'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; }; then
19877 echo "$as_me:$LINENO: result: yes" >&5
19878 echo "${ECHO_T}yes" >&6
19879 cat >>confdefs.h
<<\_ACEOF
19880 #define HAVE_HASH_MAP 1
19883 cat >>confdefs.h
<<\_ACEOF
19884 #define HAVE_STD_HASH_MAP 1
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.
$ac_ext >&5
19891 echo "$as_me:$LINENO: result: no" >&5
19892 echo "${ECHO_T}no" >&6
19894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19900 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19901 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19902 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19903 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19907 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19909 # Is the header compilable?
19910 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19911 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19912 cat >conftest.
$ac_ext <<_ACEOF
19915 cat confdefs.h
>>conftest.
$ac_ext
19916 cat >>conftest.
$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19919 #include <ext/hash_map>
19921 rm -f conftest.
$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>conftest.er1
19925 grep -v '^ *+' conftest.er1
>conftest.err
19927 cat conftest.err
>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try
='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_header_compiler
=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19947 ac_header_compiler
=no
19949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19951 echo "${ECHO_T}$ac_header_compiler" >&6
19953 # Is the header present?
19954 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19955 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19956 cat >conftest.
$ac_ext <<_ACEOF
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 #include <ext/hash_map>
19964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19967 grep -v '^ *+' conftest.er1
>conftest.err
19969 cat conftest.err
>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } >/dev
/null
; then
19972 if test -s conftest.err
; then
19973 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19974 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19981 if test -z "$ac_cpp_err"; then
19982 ac_header_preproc
=yes
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.
$ac_ext >&5
19987 ac_header_preproc
=no
19989 rm -f conftest.err conftest.
$ac_ext
19990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19991 echo "${ECHO_T}$ac_header_preproc" >&6
19993 # So? What about this header?
19994 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19997 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19998 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19999 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20000 ac_header_preproc
=yes
20003 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20004 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20006 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20007 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20008 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20009 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20010 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20011 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20012 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20013 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20014 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20017 ## ----------------------------------------- ##
20018 ## Report this to wx-dev@lists.wxwidgets.org ##
20019 ## ----------------------------------------- ##
20022 sed "s/^/$as_me: WARNING: /" >&2
20025 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20026 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20027 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 ac_cv_header_ext_hash_map
=$ac_header_preproc
20032 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20033 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20036 if test $ac_cv_header_ext_hash_map = yes; then
20037 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20038 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 #include <ext/hash_map>
20046 #include <ext/hash_set>
20050 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20051 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20056 rm -f conftest.
$ac_objext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20058 (eval $ac_compile) 2>conftest.er1
20060 grep -v '^ *+' conftest.er1
>conftest.err
20062 cat conftest.err
>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067 (eval $ac_try) 2>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; } &&
20071 { ac_try
='test -s conftest.$ac_objext'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; }; then
20077 echo "$as_me:$LINENO: result: yes" >&5
20078 echo "${ECHO_T}yes" >&6
20079 cat >>confdefs.h
<<\_ACEOF
20080 #define HAVE_EXT_HASH_MAP 1
20083 cat >>confdefs.h
<<\_ACEOF
20084 #define HAVE_GNU_CXX_HASH_MAP 1
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 echo "$as_me:$LINENO: result: no" >&5
20092 echo "${ECHO_T}no" >&6
20094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20101 ac_cpp
='$CPP $CPPFLAGS'
20102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20110 /usr/local/include \
20112 /usr/Motif-2.1/include \
20113 /usr/Motif-1.2/include \
20114 /usr/include/Motif1.2 \
20115 /opt/xpm/include/X11 \
20116 /opt/GBxpm/include/ \
20117 /opt/GBxpm/X11/include/ \
20120 /usr/openwin/include \
20124 /usr/X11R6/include \
20125 /usr/X11R6.4/include \
20126 /usr/X11R5/include \
20127 /usr/X11R4/include \
20129 /usr/include/X11R6 \
20130 /usr/include/X11R5 \
20131 /usr/include/X11R4 \
20133 /usr/local/X11R6/include \
20134 /usr/local/X11R5/include \
20135 /usr/local/X11R4/include \
20137 /usr/local/include/X11R6 \
20138 /usr/local/include/X11R5 \
20139 /usr/local/include/X11R4 \
20143 /usr/local/X11/include \
20144 /usr/local/include/X11 \
20146 /usr/X386/include \
20147 /usr/x386/include \
20148 /usr/XFree86/include/X11 \
20150 X:/XFree86/include \
20151 X:/XFree86/include/X11 \
20154 /usr/local/include/gtk \
20155 /usr/include/glib \
20156 /usr/local/include/glib \
20159 /usr/local/include/qt \
20161 /usr/local/arm/3.3.2/include \
20163 /usr/include/windows \
20164 /usr/include/wine \
20165 /usr/local/include/wine \
20167 /usr/unsupported/include \
20168 /usr/athena/include \
20169 /usr/local/x11r5/include \
20170 /usr/lpp/Xamples/include \
20172 /usr/openwin/share/include"
20174 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20177 cat >confcache
<<\_ACEOF
20178 # This file is a shell script that caches the results of configure
20179 # tests run on this system so they can be shared between configure
20180 # scripts and configure runs, see configure's option --config-cache.
20181 # It is not useful on other systems. If it contains results you don't
20182 # want to keep, you may remove or edit it.
20184 # config.status only pays attention to the cache file if you give it
20185 # the --recheck option to rerun configure.
20187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20189 # following values.
20193 # The following way of writing the cache mishandles newlines in values,
20194 # but we know of no workaround that is simple, portable, and efficient.
20195 # So, don't put newlines in cache variables' values.
20196 # Ultrix sh set writes to stderr and can't be redirected directly,
20197 # and sets the high bit in the cache file unless we assign to the vars.
20200 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20202 # `set' does not quote correctly, so add quotes (double-quote
20203 # substitution turns \\\\ into \\, and sed turns \\ into \).
20206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20209 # `set' quotes correctly as required by POSIX, so do not add quotes.
20211 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20220 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20222 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20223 if test -w $cache_file; then
20224 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20225 cat confcache
>$cache_file
20227 echo "not updating unwritable cache $cache_file"
20232 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20233 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20234 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20235 if test "${wx_cv_lib_glibc21+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 #include <features.h>
20250 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20251 #error not glibc2.1
20258 rm -f conftest.
$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260 (eval $ac_compile) 2>conftest.er1
20262 grep -v '^ *+' conftest.er1
>conftest.err
20264 cat conftest.err
>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
20267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try
='test -s conftest.$ac_objext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20280 wx_cv_lib_glibc21
=yes
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20287 wx_cv_lib_glibc21
=no
20291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20294 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20295 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20296 if test "$wx_cv_lib_glibc21" = "yes"; then
20297 cat >>confdefs.h
<<\_ACEOF
20298 #define wxHAVE_GLIBC2 1
20304 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20305 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20306 cat >>confdefs.h
<<\_ACEOF
20307 #define _GNU_SOURCE 1
20315 if test "$wxUSE_REGEX" != "no"; then
20316 cat >>confdefs.h
<<\_ACEOF
20317 #define wxUSE_REGEX 1
20321 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20322 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20323 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20324 wxUSE_REGEX
=builtin
20327 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20328 if test "${ac_cv_header_regex_h+set}" = set; then
20329 echo "$as_me:$LINENO: checking for regex.h" >&5
20330 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20331 if test "${ac_cv_header_regex_h+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20335 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20337 # Is the header compilable?
20338 echo "$as_me:$LINENO: checking regex.h usability" >&5
20339 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20340 cat >conftest.
$ac_ext <<_ACEOF
20343 cat confdefs.h
>>conftest.
$ac_ext
20344 cat >>conftest.
$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 $ac_includes_default
20349 rm -f conftest.
$ac_objext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20351 (eval $ac_compile) 2>conftest.er1
20353 grep -v '^ *+' conftest.er1
>conftest.err
20355 cat conftest.err
>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try
='test -s conftest.$ac_objext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_header_compiler
=yes
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.
$ac_ext >&5
20375 ac_header_compiler
=no
20377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20379 echo "${ECHO_T}$ac_header_compiler" >&6
20381 # Is the header present?
20382 echo "$as_me:$LINENO: checking regex.h presence" >&5
20383 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20384 cat >conftest.
$ac_ext <<_ACEOF
20387 cat confdefs.h
>>conftest.
$ac_ext
20388 cat >>conftest.
$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20395 grep -v '^ *+' conftest.er1
>conftest.err
20397 cat conftest.err
>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } >/dev
/null
; then
20400 if test -s conftest.err
; then
20401 ac_cpp_err
=$ac_c_preproc_warn_flag
20402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20409 if test -z "$ac_cpp_err"; then
20410 ac_header_preproc
=yes
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.
$ac_ext >&5
20415 ac_header_preproc
=no
20417 rm -f conftest.err conftest.
$ac_ext
20418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20419 echo "${ECHO_T}$ac_header_preproc" >&6
20421 # So? What about this header?
20422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20424 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20425 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20426 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20427 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20428 ac_header_preproc
=yes
20431 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20432 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20433 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20434 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20435 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20436 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20437 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20438 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20439 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20440 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20441 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20442 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20445 ## ----------------------------------------- ##
20446 ## Report this to wx-dev@lists.wxwidgets.org ##
20447 ## ----------------------------------------- ##
20450 sed "s/^/$as_me: WARNING: /" >&2
20453 echo "$as_me:$LINENO: checking for regex.h" >&5
20454 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20455 if test "${ac_cv_header_regex_h+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 ac_cv_header_regex_h
=$ac_header_preproc
20460 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20461 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20464 if test $ac_cv_header_regex_h = yes; then
20466 for ac_func
in regcomp
20468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20469 echo "$as_me:$LINENO: checking for $ac_func" >&5
20470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20471 if eval "test \"\${$as_ac_var+set}\" = set"; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 cat >conftest.
$ac_ext <<_ACEOF
20477 cat confdefs.h
>>conftest.
$ac_ext
20478 cat >>conftest.
$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20482 #define $ac_func innocuous_$ac_func
20484 /* System header to define __stub macros and hopefully few prototypes,
20485 which can conflict with char $ac_func (); below.
20486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20487 <limits.h> exists even on freestanding compilers. */
20490 # include <limits.h>
20492 # include <assert.h>
20497 /* Override any gcc2 internal prototype to avoid an error. */
20502 /* We use char because int might match the return type of a gcc2
20503 builtin and then its argument prototype would still apply. */
20505 /* The GNU C library defines this for functions which it implements
20506 to always fail with ENOSYS. Some functions are actually named
20507 something starting with __ and the normal name is an alias. */
20508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20511 char (*f) () = $ac_func;
20520 return f != $ac_func;
20525 rm -f conftest.
$ac_objext conftest
$ac_exeext
20526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20527 (eval $ac_link) 2>conftest.er1
20529 grep -v '^ *+' conftest.er1
>conftest.err
20531 cat conftest.err
>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536 (eval $ac_try) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; } &&
20540 { ac_try
='test -s conftest$ac_exeext'
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 eval "$as_ac_var=yes"
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.
$ac_ext >&5
20551 eval "$as_ac_var=no"
20553 rm -f conftest.err conftest.
$ac_objext \
20554 conftest
$ac_exeext conftest.
$ac_ext
20556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20558 if test `eval echo '${'$as_ac_var'}'` = yes; then
20559 cat >>confdefs.h
<<_ACEOF
20560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20570 if test "x$ac_cv_func_regcomp" != "xyes"; then
20571 if test "$wxUSE_REGEX" = "sys" ; then
20572 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20573 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20574 { (exit 1); exit 1; }; }
20576 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20577 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20578 wxUSE_REGEX
=builtin
20582 cat >>confdefs.h
<<\_ACEOF
20583 #define WX_NO_REGEX_ADVANCED 1
20592 if test "$wxUSE_ZLIB" != "no" ; then
20593 cat >>confdefs.h
<<\_ACEOF
20594 #define wxUSE_ZLIB 1
20598 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20599 if test "$USE_DARWIN" = 1; then
20600 system_zlib_h_ok
="yes"
20602 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20603 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20604 if test "${ac_cv_header_zlib_h+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 if test "$cross_compiling" = yes; then
20608 unset ac_cv_header_zlib_h
20611 cat >conftest.
$ac_ext <<_ACEOF
20614 cat confdefs.h
>>conftest.
$ac_ext
20615 cat >>conftest.
$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20623 FILE *f=fopen("conftestval", "w");
20626 ZLIB_VERSION[0] == '1' &&
20627 (ZLIB_VERSION[2] > '1' ||
20628 (ZLIB_VERSION[2] == '1' &&
20629 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20634 rm -f conftest
$ac_exeext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20636 (eval $ac_link) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 ac_cv_header_zlib_h
=`cat conftestval`
20647 echo "$as_me: program exited with status $ac_status" >&5
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 ( exit $ac_status )
20652 ac_cv_header_zlib_h
=no
20654 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20658 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20659 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20660 if test "${ac_cv_header_zlib_h+set}" = set; then
20661 echo "$as_me:$LINENO: checking for zlib.h" >&5
20662 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20663 if test "${ac_cv_header_zlib_h+set}" = set; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20667 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20669 # Is the header compilable?
20670 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20671 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20681 rm -f conftest.
$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>conftest.er1
20685 grep -v '^ *+' conftest.er1
>conftest.err
20687 cat conftest.err
>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try
='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 ac_header_compiler
=yes
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.
$ac_ext >&5
20707 ac_header_compiler
=no
20709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20711 echo "${ECHO_T}$ac_header_compiler" >&6
20713 # Is the header present?
20714 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20715 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20716 cat >conftest.
$ac_ext <<_ACEOF
20719 cat confdefs.h
>>conftest.
$ac_ext
20720 cat >>conftest.
$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20727 grep -v '^ *+' conftest.er1
>conftest.err
20729 cat conftest.err
>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } >/dev
/null
; then
20732 if test -s conftest.err
; then
20733 ac_cpp_err
=$ac_c_preproc_warn_flag
20734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20741 if test -z "$ac_cpp_err"; then
20742 ac_header_preproc
=yes
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20747 ac_header_preproc
=no
20749 rm -f conftest.err conftest.
$ac_ext
20750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20751 echo "${ECHO_T}$ac_header_preproc" >&6
20753 # So? What about this header?
20754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20756 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20757 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20758 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20759 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20760 ac_header_preproc
=yes
20763 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20764 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20765 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20766 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20767 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20768 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20769 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20770 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20771 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20772 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20773 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20774 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20777 ## ----------------------------------------- ##
20778 ## Report this to wx-dev@lists.wxwidgets.org ##
20779 ## ----------------------------------------- ##
20782 sed "s/^/$as_me: WARNING: /" >&2
20785 echo "$as_me:$LINENO: checking for zlib.h" >&5
20786 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20787 if test "${ac_cv_header_zlib_h+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 ac_cv_header_zlib_h
=$ac_header_preproc
20792 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20793 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20799 system_zlib_h_ok
=$ac_cv_header_zlib_h
20802 if test "$system_zlib_h_ok" = "yes"; then
20803 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20804 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20805 if test "${ac_cv_lib_z_deflate+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20808 ac_check_lib_save_LIBS
=$LIBS
20810 cat >conftest.
$ac_ext <<_ACEOF
20813 cat confdefs.h
>>conftest.
$ac_ext
20814 cat >>conftest.
$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20817 /* Override any gcc2 internal prototype to avoid an error. */
20821 /* We use char because int might match the return type of a gcc2
20822 builtin and then its argument prototype would still apply. */
20832 rm -f conftest.
$ac_objext conftest
$ac_exeext
20833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20834 (eval $ac_link) 2>conftest.er1
20836 grep -v '^ *+' conftest.er1
>conftest.err
20838 cat conftest.err
>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } &&
20841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843 (eval $ac_try) 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; } &&
20847 { ac_try
='test -s conftest$ac_exeext'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_lib_z_deflate
=yes
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.
$ac_ext >&5
20858 ac_cv_lib_z_deflate
=no
20860 rm -f conftest.err conftest.
$ac_objext \
20861 conftest
$ac_exeext conftest.
$ac_ext
20862 LIBS
=$ac_check_lib_save_LIBS
20864 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20865 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20866 if test $ac_cv_lib_z_deflate = yes; then
20872 if test "x$ZLIB_LINK" = "x" ; then
20873 if test "$wxUSE_ZLIB" = "sys" ; then
20874 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20875 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20876 { (exit 1); exit 1; }; }
20878 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20879 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20890 if test "$wxUSE_LIBPNG" != "no" ; then
20891 cat >>confdefs.h
<<\_ACEOF
20892 #define wxUSE_LIBPNG 1
20896 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20897 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20898 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20902 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20903 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20904 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20905 wxUSE_LIBPNG
=builtin
20908 if test "$wxUSE_MGL" != 1 ; then
20909 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20910 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20911 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20912 if test "${ac_cv_header_png_h+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20915 if test "$cross_compiling" = yes; then
20916 unset ac_cv_header_png_h
20919 cat >conftest.
$ac_ext <<_ACEOF
20922 cat confdefs.h
>>conftest.
$ac_ext
20923 cat >>conftest.
$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20931 FILE *f=fopen("conftestval", "w");
20934 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20939 rm -f conftest
$ac_exeext
20940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20941 (eval $ac_link) 2>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 ac_cv_header_png_h
=`cat conftestval`
20952 echo "$as_me: program exited with status $ac_status" >&5
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.
$ac_ext >&5
20956 ( exit $ac_status )
20957 ac_cv_header_png_h
=no
20959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20963 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20964 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20965 if test "${ac_cv_header_png_h+set}" = set; then
20966 echo "$as_me:$LINENO: checking for png.h" >&5
20967 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20968 if test "${ac_cv_header_png_h+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20972 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20974 # Is the header compilable?
20975 echo "$as_me:$LINENO: checking png.h usability" >&5
20976 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20977 cat >conftest.
$ac_ext <<_ACEOF
20980 cat confdefs.h
>>conftest.
$ac_ext
20981 cat >>conftest.
$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20986 rm -f conftest.
$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20990 grep -v '^ *+' conftest.er1
>conftest.err
20992 cat conftest.err
>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try
='test -s conftest.$ac_objext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_header_compiler
=yes
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.
$ac_ext >&5
21012 ac_header_compiler
=no
21014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21016 echo "${ECHO_T}$ac_header_compiler" >&6
21018 # Is the header present?
21019 echo "$as_me:$LINENO: checking png.h presence" >&5
21020 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21021 cat >conftest.
$ac_ext <<_ACEOF
21024 cat confdefs.h
>>conftest.
$ac_ext
21025 cat >>conftest.
$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21032 grep -v '^ *+' conftest.er1
>conftest.err
21034 cat conftest.err
>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } >/dev
/null
; then
21037 if test -s conftest.err
; then
21038 ac_cpp_err
=$ac_c_preproc_warn_flag
21039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21046 if test -z "$ac_cpp_err"; then
21047 ac_header_preproc
=yes
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.
$ac_ext >&5
21052 ac_header_preproc
=no
21054 rm -f conftest.err conftest.
$ac_ext
21055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21056 echo "${ECHO_T}$ac_header_preproc" >&6
21058 # So? What about this header?
21059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21061 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21062 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21064 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21065 ac_header_preproc
=yes
21068 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21069 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21070 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21071 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21072 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21073 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21074 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21075 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21076 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21077 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21078 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21079 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21082 ## ----------------------------------------- ##
21083 ## Report this to wx-dev@lists.wxwidgets.org ##
21084 ## ----------------------------------------- ##
21087 sed "s/^/$as_me: WARNING: /" >&2
21090 echo "$as_me:$LINENO: checking for png.h" >&5
21091 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21092 if test "${ac_cv_header_png_h+set}" = set; then
21093 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 ac_cv_header_png_h
=$ac_header_preproc
21097 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21098 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21104 if test "$ac_cv_header_png_h" = "yes"; then
21105 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21106 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21107 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 ac_check_lib_save_LIBS
=$LIBS
21111 LIBS
="-lpng -lz -lm $LIBS"
21112 cat >conftest.
$ac_ext <<_ACEOF
21115 cat confdefs.h
>>conftest.
$ac_ext
21116 cat >>conftest.
$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21119 /* Override any gcc2 internal prototype to avoid an error. */
21123 /* We use char because int might match the return type of a gcc2
21124 builtin and then its argument prototype would still apply. */
21125 char png_check_sig ();
21134 rm -f conftest.
$ac_objext conftest
$ac_exeext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21136 (eval $ac_link) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest$ac_exeext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_lib_png_png_check_sig
=yes
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 ac_cv_lib_png_png_check_sig
=no
21162 rm -f conftest.err conftest.
$ac_objext \
21163 conftest
$ac_exeext conftest.
$ac_ext
21164 LIBS
=$ac_check_lib_save_LIBS
21166 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21167 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21168 if test $ac_cv_lib_png_png_check_sig = yes; then
21169 PNG_LINK
=" -lpng -lz"
21174 if test "x$PNG_LINK" = "x" ; then
21175 if test "$wxUSE_LIBPNG" = "sys" ; then
21176 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21177 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21178 { (exit 1); exit 1; }; }
21180 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21181 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21182 wxUSE_LIBPNG
=builtin
21190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21195 if test "$wxUSE_LIBJPEG" != "no" ; then
21196 cat >>confdefs.h
<<\_ACEOF
21197 #define wxUSE_LIBJPEG 1
21201 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21202 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21203 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21207 if test "$wxUSE_MGL" != 1 ; then
21208 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21209 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21210 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21211 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 cat >conftest.
$ac_ext <<_ACEOF
21217 cat confdefs.h
>>conftest.
$ac_ext
21218 cat >>conftest.
$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21221 #undef HAVE_STDLIB_H
21223 #include <jpeglib.h>
21234 rm -f conftest.
$ac_objext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21236 (eval $ac_compile) 2>conftest.er1
21238 grep -v '^ *+' conftest.er1
>conftest.err
21240 cat conftest.err
>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; } &&
21249 { ac_try
='test -s conftest.$ac_objext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_header_jpeglib_h
=yes
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 ac_cv_header_jpeglib_h
=no
21263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21267 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21268 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21270 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21271 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21272 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21273 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 ac_check_lib_save_LIBS
=$LIBS
21277 LIBS
="-ljpeg $LIBS"
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21285 /* Override any gcc2 internal prototype to avoid an error. */
21289 /* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21291 char jpeg_read_header ();
21295 jpeg_read_header ();
21300 rm -f conftest.
$ac_objext conftest
$ac_exeext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21302 (eval $ac_link) 2>conftest.er1
21304 grep -v '^ *+' conftest.er1
>conftest.err
21306 cat conftest.err
>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest$ac_exeext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_cv_lib_jpeg_jpeg_read_header
=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_cv_lib_jpeg_jpeg_read_header
=no
21328 rm -f conftest.err conftest.
$ac_objext \
21329 conftest
$ac_exeext conftest.
$ac_ext
21330 LIBS
=$ac_check_lib_save_LIBS
21332 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21333 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21334 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21335 JPEG_LINK
=" -ljpeg"
21340 if test "x$JPEG_LINK" = "x" ; then
21341 if test "$wxUSE_LIBJPEG" = "sys" ; then
21342 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21343 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21344 { (exit 1); exit 1; }; }
21346 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21347 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21348 wxUSE_LIBJPEG
=builtin
21359 TIFF_PREREQ_LINKS
=-lm
21360 if test "$wxUSE_LIBTIFF" != "no" ; then
21361 cat >>confdefs.h
<<\_ACEOF
21362 #define wxUSE_LIBTIFF 1
21366 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21367 if test "$wxUSE_LIBJPEG" = "sys"; then
21368 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21370 if test "$wxUSE_ZLIB" = "sys"; then
21371 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21373 if test "${ac_cv_header_tiffio_h+set}" = set; then
21374 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21375 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21376 if test "${ac_cv_header_tiffio_h+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21379 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21380 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21382 # Is the header compilable?
21383 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21384 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21385 cat >conftest.
$ac_ext <<_ACEOF
21388 cat confdefs.h
>>conftest.
$ac_ext
21389 cat >>conftest.
$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 $ac_includes_default
21392 #include <tiffio.h>
21394 rm -f conftest.
$ac_objext
21395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21396 (eval $ac_compile) 2>conftest.er1
21398 grep -v '^ *+' conftest.er1
>conftest.err
21400 cat conftest.err
>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
21403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; } &&
21409 { ac_try
='test -s conftest.$ac_objext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_header_compiler
=yes
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.
$ac_ext >&5
21420 ac_header_compiler
=no
21422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21424 echo "${ECHO_T}$ac_header_compiler" >&6
21426 # Is the header present?
21427 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21428 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21429 cat >conftest.
$ac_ext <<_ACEOF
21432 cat confdefs.h
>>conftest.
$ac_ext
21433 cat >>conftest.
$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 #include <tiffio.h>
21437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21440 grep -v '^ *+' conftest.er1
>conftest.err
21442 cat conftest.err
>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } >/dev
/null
; then
21445 if test -s conftest.err
; then
21446 ac_cpp_err
=$ac_c_preproc_warn_flag
21447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21454 if test -z "$ac_cpp_err"; then
21455 ac_header_preproc
=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.
$ac_ext >&5
21460 ac_header_preproc
=no
21462 rm -f conftest.err conftest.
$ac_ext
21463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21464 echo "${ECHO_T}$ac_header_preproc" >&6
21466 # So? What about this header?
21467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21469 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21470 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21471 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21472 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21473 ac_header_preproc
=yes
21476 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21477 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21478 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21479 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21480 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21481 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21482 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21483 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21484 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21485 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21486 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21487 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21490 ## ----------------------------------------- ##
21491 ## Report this to wx-dev@lists.wxwidgets.org ##
21492 ## ----------------------------------------- ##
21495 sed "s/^/$as_me: WARNING: /" >&2
21498 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21499 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21500 if test "${ac_cv_header_tiffio_h+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21503 ac_cv_header_tiffio_h
=$ac_header_preproc
21505 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21506 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21509 if test $ac_cv_header_tiffio_h = yes; then
21511 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21512 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21513 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 ac_check_lib_save_LIBS
=$LIBS
21517 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21518 cat >conftest.
$ac_ext <<_ACEOF
21521 cat confdefs.h
>>conftest.
$ac_ext
21522 cat >>conftest.
$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21525 /* Override any gcc2 internal prototype to avoid an error. */
21529 /* We use char because int might match the return type of a gcc2
21530 builtin and then its argument prototype would still apply. */
21540 rm -f conftest.
$ac_objext conftest
$ac_exeext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21542 (eval $ac_link) 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try
='test -s conftest$ac_exeext'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21561 ac_cv_lib_tiff_TIFFError
=yes
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.
$ac_ext >&5
21566 ac_cv_lib_tiff_TIFFError
=no
21568 rm -f conftest.err conftest.
$ac_objext \
21569 conftest
$ac_exeext conftest.
$ac_ext
21570 LIBS
=$ac_check_lib_save_LIBS
21572 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21573 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21574 if test $ac_cv_lib_tiff_TIFFError = yes; then
21575 TIFF_LINK
=" -ltiff"
21584 if test "x$TIFF_LINK" = "x" ; then
21585 if test "$wxUSE_LIBTIFF" = "sys" ; then
21586 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21587 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21588 { (exit 1); exit 1; }; }
21590 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21591 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21592 wxUSE_LIBTIFF
=builtin
21601 if test "$wxUSE_EXPAT" != "no"; then
21603 cat >>confdefs.h
<<\_ACEOF
21604 #define wxUSE_EXPAT 1
21607 cat >>confdefs.h
<<\_ACEOF
21608 #define wxUSE_XML 1
21612 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21613 if test "${ac_cv_header_expat_h+set}" = set; then
21614 echo "$as_me:$LINENO: checking for expat.h" >&5
21615 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21616 if test "${ac_cv_header_expat_h+set}" = set; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21620 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21622 # Is the header compilable?
21623 echo "$as_me:$LINENO: checking expat.h usability" >&5
21624 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21625 cat >conftest.
$ac_ext <<_ACEOF
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21634 rm -f conftest.
$ac_objext
21635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21636 (eval $ac_compile) 2>conftest.er1
21638 grep -v '^ *+' conftest.er1
>conftest.err
21640 cat conftest.err
>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
21643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; } &&
21649 { ac_try
='test -s conftest.$ac_objext'
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21655 ac_header_compiler
=yes
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.
$ac_ext >&5
21660 ac_header_compiler
=no
21662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21664 echo "${ECHO_T}$ac_header_compiler" >&6
21666 # Is the header present?
21667 echo "$as_me:$LINENO: checking expat.h presence" >&5
21668 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21669 cat >conftest.
$ac_ext <<_ACEOF
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21680 grep -v '^ *+' conftest.er1
>conftest.err
21682 cat conftest.err
>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } >/dev
/null
; then
21685 if test -s conftest.err
; then
21686 ac_cpp_err
=$ac_c_preproc_warn_flag
21687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21694 if test -z "$ac_cpp_err"; then
21695 ac_header_preproc
=yes
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21700 ac_header_preproc
=no
21702 rm -f conftest.err conftest.
$ac_ext
21703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21704 echo "${ECHO_T}$ac_header_preproc" >&6
21706 # So? What about this header?
21707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21709 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21710 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21711 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21712 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21713 ac_header_preproc
=yes
21716 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21717 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21718 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21719 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21720 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21721 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21722 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21723 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21724 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21725 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21726 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21727 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21730 ## ----------------------------------------- ##
21731 ## Report this to wx-dev@lists.wxwidgets.org ##
21732 ## ----------------------------------------- ##
21735 sed "s/^/$as_me: WARNING: /" >&2
21738 echo "$as_me:$LINENO: checking for expat.h" >&5
21739 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21740 if test "${ac_cv_header_expat_h+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 ac_cv_header_expat_h
=$ac_header_preproc
21745 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21746 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21749 if test $ac_cv_header_expat_h = yes; then
21754 if test "x$found_expat_h" = "x1"; then
21755 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21756 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21757 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 ac_cpp
='$CXXCPP $CPPFLAGS'
21765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21769 cat >conftest.
$ac_ext <<_ACEOF
21772 cat confdefs.h
>>conftest.
$ac_ext
21773 cat >>conftest.
$ac_ext <<_ACEOF
21774 /* end confdefs.h. */
21784 rm -f conftest.
$ac_objext
21785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21786 (eval $ac_compile) 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_cxx_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_objext'
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 wx_cv_expat_is_not_broken
=yes
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 wx_cv_expat_is_not_broken
=no
21813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21815 ac_cpp
='$CPP $CPPFLAGS'
21816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21823 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21824 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21825 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21826 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21827 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21828 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 ac_check_lib_save_LIBS
=$LIBS
21832 LIBS
="-lexpat $LIBS"
21833 cat >conftest.
$ac_ext <<_ACEOF
21836 cat confdefs.h
>>conftest.
$ac_ext
21837 cat >>conftest.
$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21840 /* Override any gcc2 internal prototype to avoid an error. */
21844 /* We use char because int might match the return type of a gcc2
21845 builtin and then its argument prototype would still apply. */
21846 char XML_ParserCreate ();
21850 XML_ParserCreate ();
21855 rm -f conftest.
$ac_objext conftest
$ac_exeext
21856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21857 (eval $ac_link) 2>conftest.er1
21859 grep -v '^ *+' conftest.er1
>conftest.err
21861 cat conftest.err
>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
21864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21866 (eval $ac_try) 2>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); }; } &&
21870 { ac_try
='test -s conftest$ac_exeext'
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_lib_expat_XML_ParserCreate
=yes
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.
$ac_ext >&5
21881 ac_cv_lib_expat_XML_ParserCreate
=no
21883 rm -f conftest.err conftest.
$ac_objext \
21884 conftest
$ac_exeext conftest.
$ac_ext
21885 LIBS
=$ac_check_lib_save_LIBS
21887 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21888 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21889 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21890 EXPAT_LINK
=" -lexpat"
21895 if test "x$EXPAT_LINK" = "x" ; then
21896 if test "$wxUSE_EXPAT" = "sys" ; then
21897 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21898 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21899 { (exit 1); exit 1; }; }
21901 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21902 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21903 wxUSE_EXPAT
=builtin
21909 if test "$wxUSE_EXPAT" = "builtin" ; then
21912 subdirs
="$subdirs src/expat"
21919 if test "$wxUSE_LIBMSPACK" != "no"; then
21921 if test "${ac_cv_header_mspack_h+set}" = set; then
21922 echo "$as_me:$LINENO: checking for mspack.h" >&5
21923 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21924 if test "${ac_cv_header_mspack_h+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21927 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21928 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21930 # Is the header compilable?
21931 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21932 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21933 cat >conftest.
$ac_ext <<_ACEOF
21936 cat confdefs.h
>>conftest.
$ac_ext
21937 cat >>conftest.
$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939 $ac_includes_default
21940 #include <mspack.h>
21942 rm -f conftest.
$ac_objext
21943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21944 (eval $ac_compile) 2>conftest.er1
21946 grep -v '^ *+' conftest.er1
>conftest.err
21948 cat conftest.err
>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
21951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; } &&
21957 { ac_try
='test -s conftest.$ac_objext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_header_compiler
=yes
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.
$ac_ext >&5
21968 ac_header_compiler
=no
21970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21972 echo "${ECHO_T}$ac_header_compiler" >&6
21974 # Is the header present?
21975 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21976 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21977 cat >conftest.
$ac_ext <<_ACEOF
21980 cat confdefs.h
>>conftest.
$ac_ext
21981 cat >>conftest.
$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 #include <mspack.h>
21985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21988 grep -v '^ *+' conftest.er1
>conftest.err
21990 cat conftest.err
>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } >/dev
/null
; then
21993 if test -s conftest.err
; then
21994 ac_cpp_err
=$ac_c_preproc_warn_flag
21995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22002 if test -z "$ac_cpp_err"; then
22003 ac_header_preproc
=yes
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.
$ac_ext >&5
22008 ac_header_preproc
=no
22010 rm -f conftest.err conftest.
$ac_ext
22011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22012 echo "${ECHO_T}$ac_header_preproc" >&6
22014 # So? What about this header?
22015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22017 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22018 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22019 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22020 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22021 ac_header_preproc
=yes
22024 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22025 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22026 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22027 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22028 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22029 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22031 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22032 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22033 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22034 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22035 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22038 ## ----------------------------------------- ##
22039 ## Report this to wx-dev@lists.wxwidgets.org ##
22040 ## ----------------------------------------- ##
22043 sed "s/^/$as_me: WARNING: /" >&2
22046 echo "$as_me:$LINENO: checking for mspack.h" >&5
22047 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22048 if test "${ac_cv_header_mspack_h+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 ac_cv_header_mspack_h
=$ac_header_preproc
22053 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22054 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22057 if test $ac_cv_header_mspack_h = yes; then
22062 if test "x$found_mspack_h" = "x1"; then
22063 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22064 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22065 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22068 ac_check_lib_save_LIBS
=$LIBS
22069 LIBS
="-lmspack $LIBS"
22070 cat >conftest.
$ac_ext <<_ACEOF
22073 cat confdefs.h
>>conftest.
$ac_ext
22074 cat >>conftest.
$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22077 /* Override any gcc2 internal prototype to avoid an error. */
22081 /* We use char because int might match the return type of a gcc2
22082 builtin and then its argument prototype would still apply. */
22083 char mspack_create_chm_decompressor ();
22087 mspack_create_chm_decompressor ();
22092 rm -f conftest.
$ac_objext conftest
$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094 (eval $ac_link) 2>conftest.er1
22096 grep -v '^ *+' conftest.er1
>conftest.err
22098 cat conftest.err
>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; } &&
22107 { ac_try
='test -s conftest$ac_exeext'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.
$ac_ext >&5
22118 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22120 rm -f conftest.err conftest.
$ac_objext \
22121 conftest
$ac_exeext conftest.
$ac_ext
22122 LIBS
=$ac_check_lib_save_LIBS
22124 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22125 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22126 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22127 MSPACK_LINK
=" -lmspack"
22131 if test "x$MSPACK_LINK" = "x" ; then
22134 cat >>confdefs.h
<<\_ACEOF
22135 #define wxUSE_LIBMSPACK 1
22150 if test "$USE_WIN32" = 1 ; then
22152 for ac_header
in w32api.h
22154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22156 echo "$as_me:$LINENO: checking for $ac_header" >&5
22157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22159 echo $ECHO_N "(cached) $ECHO_C" >&6
22161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22164 # Is the header compilable?
22165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22167 cat >conftest.
$ac_ext <<_ACEOF
22170 cat confdefs.h
>>conftest.
$ac_ext
22171 cat >>conftest.
$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 #include <$ac_header>
22176 rm -f conftest.
$ac_objext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22178 (eval $ac_compile) 2>conftest.er1
22180 grep -v '^ *+' conftest.er1
>conftest.err
22182 cat conftest.err
>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
22185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try
='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 ac_header_compiler
=yes
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.
$ac_ext >&5
22202 ac_header_compiler
=no
22204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22206 echo "${ECHO_T}$ac_header_compiler" >&6
22208 # Is the header present?
22209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22211 cat >conftest.
$ac_ext <<_ACEOF
22214 cat confdefs.h
>>conftest.
$ac_ext
22215 cat >>conftest.
$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 #include <$ac_header>
22219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22222 grep -v '^ *+' conftest.er1
>conftest.err
22224 cat conftest.err
>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } >/dev
/null
; then
22227 if test -s conftest.err
; then
22228 ac_cpp_err
=$ac_c_preproc_warn_flag
22229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22236 if test -z "$ac_cpp_err"; then
22237 ac_header_preproc
=yes
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.
$ac_ext >&5
22242 ac_header_preproc
=no
22244 rm -f conftest.err conftest.
$ac_ext
22245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22246 echo "${ECHO_T}$ac_header_preproc" >&6
22248 # So? What about this header?
22249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22255 ac_header_preproc
=yes
22258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22272 ## ----------------------------------------- ##
22273 ## Report this to wx-dev@lists.wxwidgets.org ##
22274 ## ----------------------------------------- ##
22277 sed "s/^/$as_me: WARNING: /" >&2
22280 echo "$as_me:$LINENO: checking for $ac_header" >&5
22281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 eval "$as_ac_Header=\$ac_header_preproc"
22287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22292 cat >>confdefs.h
<<_ACEOF
22293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22300 if test "${ac_cv_header_windows_h+set}" = set; then
22301 echo "$as_me:$LINENO: checking for windows.h" >&5
22302 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22303 if test "${ac_cv_header_windows_h+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22307 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22309 # Is the header compilable?
22310 echo "$as_me:$LINENO: checking windows.h usability" >&5
22311 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22315 cat confdefs.h
>>conftest.
$ac_ext
22316 cat >>conftest.
$ac_ext <<_ACEOF
22317 /* end confdefs.h. */
22318 $ac_includes_default
22319 #include <windows.h>
22321 rm -f conftest.
$ac_objext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22323 (eval $ac_compile) 2>conftest.er1
22325 grep -v '^ *+' conftest.er1
>conftest.err
22327 cat conftest.err
>&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; } &&
22336 { ac_try
='test -s conftest.$ac_objext'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_header_compiler
=yes
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.
$ac_ext >&5
22347 ac_header_compiler
=no
22349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22351 echo "${ECHO_T}$ac_header_compiler" >&6
22353 # Is the header present?
22354 echo "$as_me:$LINENO: checking windows.h presence" >&5
22355 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22356 cat >conftest.
$ac_ext <<_ACEOF
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 #include <windows.h>
22364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22367 grep -v '^ *+' conftest.er1
>conftest.err
22369 cat conftest.err
>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } >/dev
/null
; then
22372 if test -s conftest.err
; then
22373 ac_cpp_err
=$ac_c_preproc_warn_flag
22374 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22381 if test -z "$ac_cpp_err"; then
22382 ac_header_preproc
=yes
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.
$ac_ext >&5
22387 ac_header_preproc
=no
22389 rm -f conftest.err conftest.
$ac_ext
22390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22391 echo "${ECHO_T}$ac_header_preproc" >&6
22393 # So? What about this header?
22394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22396 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22397 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22398 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22399 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22400 ac_header_preproc
=yes
22403 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22404 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22405 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22406 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22407 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22408 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22409 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22410 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22411 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22412 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22413 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22414 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22417 ## ----------------------------------------- ##
22418 ## Report this to wx-dev@lists.wxwidgets.org ##
22419 ## ----------------------------------------- ##
22422 sed "s/^/$as_me: WARNING: /" >&2
22425 echo "$as_me:$LINENO: checking for windows.h" >&5
22426 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22427 if test "${ac_cv_header_windows_h+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 ac_cv_header_windows_h
=$ac_header_preproc
22432 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22433 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22436 if test $ac_cv_header_windows_h = yes; then
22440 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22441 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22442 { (exit 1); exit 1; }; }
22448 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22450 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22451 LIBS
="$LIBS -loleacc"
22456 LIBS
="$LIBS -lkernel32 -luser32"
22457 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22460 if test "$wxUSE_ODBC" = "sys" ; then
22463 if test "$wxUSE_ODBC" = "yes" ; then
22464 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22465 cat >>confdefs.h
<<\_ACEOF
22466 #define wxUSE_ODBC 1
22471 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22472 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22474 WIN32INSTALL
=win32install
22477 if test "$wxUSE_GUI" = "yes"; then
22487 if test "$wxUSE_COCOA" = 1 ; then
22488 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22489 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22490 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22491 wxUSE_PRINTING_ARCHITECTURE
=no
22493 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22494 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22495 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22496 wxUSE_DRAG_AND_DROP
=no
22498 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22499 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22500 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22505 if test "$wxUSE_MSW" = 1 ; then
22511 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22515 if test "$wxUSE_GTK" = 1; then
22516 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22517 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22519 gtk_version_cached
=1
22520 if test "${wx_cv_lib_gtk+set}" = set; then
22521 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 gtk_version_cached
=0
22525 echo "$as_me:$LINENO: result: " >&5
22526 echo "${ECHO_T}" >&6
22529 if test "$wxUSE_THREADS" = "yes"; then
22530 GTK_MODULES
=gthread
22534 if test "x$wxUSE_GTK2" = "xyes"; then
22535 # Check whether --enable-gtktest or --disable-gtktest was given.
22536 if test "${enable_gtktest+set}" = set; then
22537 enableval
="$enable_gtktest"
22543 pkg_config_args
=gtk
+-2.0
22544 for module
in .
$GTK_MODULES
22548 pkg_config_args
="$pkg_config_args gthread-2.0"
22555 # Extract the first word of "pkg-config", so it can be a program name with args.
22556 set dummy pkg
-config; ac_word
=$2
22557 echo "$as_me:$LINENO: checking for $ac_word" >&5
22558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22559 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 case $PKG_CONFIG in
22564 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22568 for as_dir
in $PATH
22571 test -z "$as_dir" && as_dir
=.
22572 for ac_exec_ext
in '' $ac_executable_extensions; do
22573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22574 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22581 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22585 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22587 if test -n "$PKG_CONFIG"; then
22588 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22589 echo "${ECHO_T}$PKG_CONFIG" >&6
22591 echo "$as_me:$LINENO: result: no" >&5
22592 echo "${ECHO_T}no" >&6
22596 if test x
$PKG_CONFIG != xno
; then
22597 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22600 echo "*** pkg-config too old; version 0.7 or better required."
22608 min_gtk_version
=2.0.0
22609 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22610 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22612 if test x
$PKG_CONFIG != xno
; then
22613 ## don't try to run the test against uninstalled libtool libs
22614 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22615 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22619 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22626 if test x
"$no_gtk" = x
; then
22627 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22628 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22629 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22631 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22633 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22635 if test "x$enable_gtktest" = "xyes" ; then
22636 ac_save_CFLAGS
="$CFLAGS"
22637 ac_save_LIBS
="$LIBS"
22638 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22639 LIBS
="$GTK_LIBS $LIBS"
22641 if test "$cross_compiling" = yes; then
22642 echo $ac_n "cross compiling; assumed OK... $ac_c"
22644 cat >conftest.
$ac_ext <<_ACEOF
22647 cat confdefs.h
>>conftest.
$ac_ext
22648 cat >>conftest.
$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22651 #include <gtk/gtk.h>
22653 #include <stdlib.h>
22658 int major, minor, micro;
22661 system ("touch conf.gtktest");
22663 /* HP/UX 9 (%@#!) writes to sscanf strings */
22664 tmp_version = g_strdup("$min_gtk_version");
22665 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22666 printf("%s, bad version string\n", "$min_gtk_version");
22670 if ((gtk_major_version != $gtk_config_major_version) ||
22671 (gtk_minor_version != $gtk_config_minor_version) ||
22672 (gtk_micro_version != $gtk_config_micro_version))
22674 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22675 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22676 gtk_major_version, gtk_minor_version, gtk_micro_version);
22677 printf ("*** was found! If pkg-config was correct, then it is best\n");
22678 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22679 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22680 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22681 printf("*** required on your system.\n");
22682 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22683 printf("*** to point to the correct configuration files\n");
22685 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22686 (gtk_minor_version != GTK_MINOR_VERSION) ||
22687 (gtk_micro_version != GTK_MICRO_VERSION))
22689 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22690 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22691 printf("*** library (version %d.%d.%d)\n",
22692 gtk_major_version, gtk_minor_version, gtk_micro_version);
22696 if ((gtk_major_version > major) ||
22697 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22698 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22704 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22705 gtk_major_version, gtk_minor_version, gtk_micro_version);
22706 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22707 major, minor, micro);
22708 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22710 printf("*** If you have already installed a sufficiently new version, this error\n");
22711 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22712 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22713 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22714 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22715 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22716 printf("*** so that the correct libraries are found at run-time))\n");
22723 rm -f conftest
$ac_exeext
22724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22725 (eval $ac_link) 2>&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; }; then
22736 echo "$as_me: program exited with status $ac_status" >&5
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.
$ac_ext >&5
22740 ( exit $ac_status )
22743 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22745 CFLAGS
="$ac_save_CFLAGS"
22746 LIBS
="$ac_save_LIBS"
22749 if test "x$no_gtk" = x
; then
22750 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22751 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22754 echo "$as_me:$LINENO: result: no" >&5
22755 echo "${ECHO_T}no" >&6
22756 if test "$PKG_CONFIG" = "no" ; then
22757 echo "*** A new enough version of pkg-config was not found."
22758 echo "*** See http://pkgconfig.sourceforge.net"
22760 if test -f conf.gtktest
; then
22763 echo "*** Could not run GTK+ test program, checking why..."
22764 ac_save_CFLAGS
="$CFLAGS"
22765 ac_save_LIBS
="$LIBS"
22766 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22767 LIBS
="$LIBS $GTK_LIBS"
22768 cat >conftest.
$ac_ext <<_ACEOF
22771 cat confdefs.h
>>conftest.
$ac_ext
22772 cat >>conftest.
$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22775 #include <gtk/gtk.h>
22781 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22786 rm -f conftest.
$ac_objext conftest
$ac_exeext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22788 (eval $ac_link) 2>conftest.er1
22790 grep -v '^ *+' conftest.er1
>conftest.err
22792 cat conftest.err
>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try
='test -s conftest$ac_exeext'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807 echo "*** The test program compiled, but did not run. This usually means"
22808 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22809 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22810 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22811 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22812 echo "*** is required on your system"
22814 echo "*** If you have an old version installed, it is best to remove it, although"
22815 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22820 echo "*** The test program failed to compile or link. See the file config.log for the"
22821 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22823 rm -f conftest.err conftest.
$ac_objext \
22824 conftest
$ac_exeext conftest.
$ac_ext
22825 CFLAGS
="$ac_save_CFLAGS"
22826 LIBS
="$ac_save_LIBS"
22839 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22840 if test "${with_gtk_prefix+set}" = set; then
22841 withval
="$with_gtk_prefix"
22842 gtk_config_prefix
="$withval"
22844 gtk_config_prefix
=""
22847 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22848 if test "${with_gtk_exec_prefix+set}" = set; then
22849 withval
="$with_gtk_exec_prefix"
22850 gtk_config_exec_prefix
="$withval"
22852 gtk_config_exec_prefix
=""
22854 # Check whether --enable-gtktest or --disable-gtktest was given.
22855 if test "${enable_gtktest+set}" = set; then
22856 enableval
="$enable_gtktest"
22862 for module
in .
$GTK_MODULES
22866 gtk_config_args
="$gtk_config_args gthread"
22871 if test x
$gtk_config_exec_prefix != x
; then
22872 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22873 if test x
${GTK_CONFIG+set} != xset
; then
22874 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22877 if test x
$gtk_config_prefix != x
; then
22878 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22879 if test x
${GTK_CONFIG+set} != xset
; then
22880 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22884 # Extract the first word of "gtk-config", so it can be a program name with args.
22885 set dummy gtk
-config; ac_word
=$2
22886 echo "$as_me:$LINENO: checking for $ac_word" >&5
22887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22888 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22889 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 case $GTK_CONFIG in
22893 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22897 for as_dir
in $PATH
22900 test -z "$as_dir" && as_dir
=.
22901 for ac_exec_ext
in '' $ac_executable_extensions; do
22902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22903 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22910 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22914 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22916 if test -n "$GTK_CONFIG"; then
22917 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22918 echo "${ECHO_T}$GTK_CONFIG" >&6
22920 echo "$as_me:$LINENO: result: no" >&5
22921 echo "${ECHO_T}no" >&6
22924 min_gtk_version
=1.2.7
22925 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22926 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22928 if test "$GTK_CONFIG" = "no" ; then
22931 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22932 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22933 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22935 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22937 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22939 if test "x$enable_gtktest" = "xyes" ; then
22940 ac_save_CFLAGS
="$CFLAGS"
22941 ac_save_LIBS
="$LIBS"
22942 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22943 LIBS
="$GTK_LIBS $LIBS"
22945 if test "$cross_compiling" = yes; then
22946 echo $ac_n "cross compiling; assumed OK... $ac_c"
22948 cat >conftest.
$ac_ext <<_ACEOF
22951 cat confdefs.h
>>conftest.
$ac_ext
22952 cat >>conftest.
$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22955 #include <gtk/gtk.h>
22957 #include <stdlib.h>
22962 int major, minor, micro;
22965 system ("touch conf.gtktest");
22967 /* HP/UX 9 (%@#!) writes to sscanf strings */
22968 tmp_version = g_strdup("$min_gtk_version");
22969 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22970 printf("%s, bad version string\n", "$min_gtk_version");
22974 if ((gtk_major_version != $gtk_config_major_version) ||
22975 (gtk_minor_version != $gtk_config_minor_version) ||
22976 (gtk_micro_version != $gtk_config_micro_version))
22978 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22979 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22980 gtk_major_version, gtk_minor_version, gtk_micro_version);
22981 printf ("*** was found! If gtk-config was correct, then it is best\n");
22982 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22983 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22984 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22985 printf("*** required on your system.\n");
22986 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22987 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22988 printf("*** before re-running configure\n");
22990 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22992 (gtk_minor_version != GTK_MINOR_VERSION) ||
22993 (gtk_micro_version != GTK_MICRO_VERSION))
22995 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22997 printf("*** library (version %d.%d.%d)\n",
22998 gtk_major_version, gtk_minor_version, gtk_micro_version);
23000 #endif /* defined (GTK_MAJOR_VERSION) ... */
23003 if ((gtk_major_version > major) ||
23004 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23005 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23011 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23012 gtk_major_version, gtk_minor_version, gtk_micro_version);
23013 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23014 major, minor, micro);
23015 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23017 printf("*** If you have already installed a sufficiently new version, this error\n");
23018 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23019 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23020 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23021 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23022 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23023 printf("*** so that the correct libraries are found at run-time))\n");
23030 rm -f conftest
$ac_exeext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23032 (eval $ac_link) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23043 echo "$as_me: program exited with status $ac_status" >&5
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 ( exit $ac_status )
23050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23052 CFLAGS
="$ac_save_CFLAGS"
23053 LIBS
="$ac_save_LIBS"
23056 if test "x$no_gtk" = x
; then
23057 echo "$as_me:$LINENO: result: yes" >&5
23058 echo "${ECHO_T}yes" >&6
23059 wx_cv_lib_gtk
=1.2.7
23061 echo "$as_me:$LINENO: result: no" >&5
23062 echo "${ECHO_T}no" >&6
23063 if test "$GTK_CONFIG" = "no" ; then
23064 echo "*** The gtk-config script installed by GTK could not be found"
23065 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23066 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23067 echo "*** full path to gtk-config."
23069 if test -f conf.gtktest
; then
23072 echo "*** Could not run GTK test program, checking why..."
23073 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23074 LIBS
="$LIBS $GTK_LIBS"
23075 cat >conftest.
$ac_ext <<_ACEOF
23078 cat confdefs.h
>>conftest.
$ac_ext
23079 cat >>conftest.
$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23082 #include <gtk/gtk.h>
23088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23093 rm -f conftest.
$ac_objext conftest
$ac_exeext
23094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23095 (eval $ac_link) 2>conftest.er1
23097 grep -v '^ *+' conftest.er1
>conftest.err
23099 cat conftest.err
>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } &&
23102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; } &&
23108 { ac_try
='test -s conftest$ac_exeext'
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; }; then
23114 echo "*** The test program compiled, but did not run. This usually means"
23115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23119 echo "*** is required on your system"
23121 echo "*** If you have an old version installed, it is best to remove it, although"
23122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23125 echo "*** came with the system with the command"
23127 echo "*** rpm --erase --nodeps gtk gtk-devel"
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.
$ac_ext >&5
23132 echo "*** The test program failed to compile or link. See the file config.log for the"
23133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23137 rm -f conftest.err conftest.
$ac_objext \
23138 conftest
$ac_exeext conftest.
$ac_ext
23139 CFLAGS
="$ac_save_CFLAGS"
23140 LIBS
="$ac_save_LIBS"
23152 if test -z "$wx_cv_lib_gtk"; then
23154 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23155 if test "${with_gtk_prefix+set}" = set; then
23156 withval
="$with_gtk_prefix"
23157 gtk_config_prefix
="$withval"
23159 gtk_config_prefix
=""
23162 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23163 if test "${with_gtk_exec_prefix+set}" = set; then
23164 withval
="$with_gtk_exec_prefix"
23165 gtk_config_exec_prefix
="$withval"
23167 gtk_config_exec_prefix
=""
23169 # Check whether --enable-gtktest or --disable-gtktest was given.
23170 if test "${enable_gtktest+set}" = set; then
23171 enableval
="$enable_gtktest"
23177 for module
in .
$GTK_MODULES
23181 gtk_config_args
="$gtk_config_args gthread"
23186 if test x
$gtk_config_exec_prefix != x
; then
23187 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23188 if test x
${GTK_CONFIG+set} != xset
; then
23189 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23192 if test x
$gtk_config_prefix != x
; then
23193 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23194 if test x
${GTK_CONFIG+set} != xset
; then
23195 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23199 # Extract the first word of "gtk-config", so it can be a program name with args.
23200 set dummy gtk
-config; ac_word
=$2
23201 echo "$as_me:$LINENO: checking for $ac_word" >&5
23202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23203 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23206 case $GTK_CONFIG in
23208 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23212 for as_dir
in $PATH
23215 test -z "$as_dir" && as_dir
=.
23216 for ac_exec_ext
in '' $ac_executable_extensions; do
23217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23218 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23225 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23229 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23231 if test -n "$GTK_CONFIG"; then
23232 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23233 echo "${ECHO_T}$GTK_CONFIG" >&6
23235 echo "$as_me:$LINENO: result: no" >&5
23236 echo "${ECHO_T}no" >&6
23239 min_gtk_version
=1.2.3
23240 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23241 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23243 if test "$GTK_CONFIG" = "no" ; then
23246 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23247 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23248 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23250 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23252 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23254 if test "x$enable_gtktest" = "xyes" ; then
23255 ac_save_CFLAGS
="$CFLAGS"
23256 ac_save_LIBS
="$LIBS"
23257 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23258 LIBS
="$GTK_LIBS $LIBS"
23260 if test "$cross_compiling" = yes; then
23261 echo $ac_n "cross compiling; assumed OK... $ac_c"
23263 cat >conftest.
$ac_ext <<_ACEOF
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23270 #include <gtk/gtk.h>
23272 #include <stdlib.h>
23277 int major, minor, micro;
23280 system ("touch conf.gtktest");
23282 /* HP/UX 9 (%@#!) writes to sscanf strings */
23283 tmp_version = g_strdup("$min_gtk_version");
23284 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23285 printf("%s, bad version string\n", "$min_gtk_version");
23289 if ((gtk_major_version != $gtk_config_major_version) ||
23290 (gtk_minor_version != $gtk_config_minor_version) ||
23291 (gtk_micro_version != $gtk_config_micro_version))
23293 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23294 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23295 gtk_major_version, gtk_minor_version, gtk_micro_version);
23296 printf ("*** was found! If gtk-config was correct, then it is best\n");
23297 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23298 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23299 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23300 printf("*** required on your system.\n");
23301 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23302 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23303 printf("*** before re-running configure\n");
23305 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23306 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23307 (gtk_minor_version != GTK_MINOR_VERSION) ||
23308 (gtk_micro_version != GTK_MICRO_VERSION))
23310 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23311 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23312 printf("*** library (version %d.%d.%d)\n",
23313 gtk_major_version, gtk_minor_version, gtk_micro_version);
23315 #endif /* defined (GTK_MAJOR_VERSION) ... */
23318 if ((gtk_major_version > major) ||
23319 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23320 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23326 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23327 gtk_major_version, gtk_minor_version, gtk_micro_version);
23328 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23329 major, minor, micro);
23330 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23332 printf("*** If you have already installed a sufficiently new version, this error\n");
23333 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23334 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23335 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23336 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23337 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23338 printf("*** so that the correct libraries are found at run-time))\n");
23345 rm -f conftest
$ac_exeext
23346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23347 (eval $ac_link) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23358 echo "$as_me: program exited with status $ac_status" >&5
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23362 ( exit $ac_status )
23365 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23367 CFLAGS
="$ac_save_CFLAGS"
23368 LIBS
="$ac_save_LIBS"
23371 if test "x$no_gtk" = x
; then
23372 echo "$as_me:$LINENO: result: yes" >&5
23373 echo "${ECHO_T}yes" >&6
23374 wx_cv_lib_gtk
=1.2.3
23376 echo "$as_me:$LINENO: result: no" >&5
23377 echo "${ECHO_T}no" >&6
23378 if test "$GTK_CONFIG" = "no" ; then
23379 echo "*** The gtk-config script installed by GTK could not be found"
23380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23382 echo "*** full path to gtk-config."
23384 if test -f conf.gtktest
; then
23387 echo "*** Could not run GTK test program, checking why..."
23388 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23389 LIBS
="$LIBS $GTK_LIBS"
23390 cat >conftest.
$ac_ext <<_ACEOF
23393 cat confdefs.h
>>conftest.
$ac_ext
23394 cat >>conftest.
$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23397 #include <gtk/gtk.h>
23403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23408 rm -f conftest.
$ac_objext conftest
$ac_exeext
23409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23410 (eval $ac_link) 2>conftest.er1
23412 grep -v '^ *+' conftest.er1
>conftest.err
23414 cat conftest.err
>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; } &&
23423 { ac_try
='test -s conftest$ac_exeext'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 echo "*** The test program compiled, but did not run. This usually means"
23430 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23431 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23432 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23433 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23434 echo "*** is required on your system"
23436 echo "*** If you have an old version installed, it is best to remove it, although"
23437 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23439 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23440 echo "*** came with the system with the command"
23442 echo "*** rpm --erase --nodeps gtk gtk-devel"
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.
$ac_ext >&5
23447 echo "*** The test program failed to compile or link. See the file config.log for the"
23448 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23449 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23450 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23452 rm -f conftest.err conftest.
$ac_objext \
23453 conftest
$ac_exeext conftest.
$ac_ext
23454 CFLAGS
="$ac_save_CFLAGS"
23455 LIBS
="$ac_save_LIBS"
23469 if test -z "$wx_cv_lib_gtk"; then
23472 wx_cv_cflags_gtk
=$GTK_CFLAGS
23473 wx_cv_libs_gtk
=$GTK_LIBS
23480 if test "$gtk_version_cached" = 1; then
23481 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23482 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23485 case "$wx_cv_lib_gtk" in
23494 *) { { echo "$as_me:$LINENO: error:
23495 Please check that gtk-config is in path, the directory
23496 where GTK+ libraries are installed (returned by
23497 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23498 equivalent variable and GTK+ is version 1.2.3 or above.
23500 echo "$as_me: error:
23501 Please check that gtk-config is in path, the directory
23502 where GTK+ libraries are installed (returned by
23503 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23504 equivalent variable and GTK+ is version 1.2.3 or above.
23506 { (exit 1); exit 1; }; }
23510 if test "$WXGTK20" = 1; then
23511 save_CFLAGS
="$CFLAGS"
23513 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23514 LIBS
="$LIBS $GTK_LIBS"
23516 for ac_func
in pango_font_family_is_monospace
23518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23519 echo "$as_me:$LINENO: checking for $ac_func" >&5
23520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23521 if eval "test \"\${$as_ac_var+set}\" = set"; then
23522 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 cat >conftest.
$ac_ext <<_ACEOF
23527 cat confdefs.h
>>conftest.
$ac_ext
23528 cat >>conftest.
$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23532 #define $ac_func innocuous_$ac_func
23534 /* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char $ac_func (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23540 # include <limits.h>
23542 # include <assert.h>
23547 /* Override any gcc2 internal prototype to avoid an error. */
23552 /* We use char because int might match the return type of a gcc2
23553 builtin and then its argument prototype would still apply. */
23555 /* The GNU C library defines this for functions which it implements
23556 to always fail with ENOSYS. Some functions are actually named
23557 something starting with __ and the normal name is an alias. */
23558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23561 char (*f) () = $ac_func;
23570 return f != $ac_func;
23575 rm -f conftest.
$ac_objext conftest
$ac_exeext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>conftest.er1
23579 grep -v '^ *+' conftest.er1
>conftest.err
23581 cat conftest.err
>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try
='test -s conftest$ac_exeext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 eval "$as_ac_var=yes"
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.
$ac_ext >&5
23601 eval "$as_ac_var=no"
23603 rm -f conftest.err conftest.
$ac_objext \
23604 conftest
$ac_exeext conftest.
$ac_ext
23606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23608 if test `eval echo '${'$as_ac_var'}'` = yes; then
23609 cat >>confdefs.h
<<_ACEOF
23610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23616 CFLAGS
="$save_CFLAGS"
23619 if test "$wxUSE_UNICODE" = "yes"; then
23620 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23621 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23626 if test "$USE_DARWIN" != 1; then
23628 for ac_func
in poll
23630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23631 echo "$as_me:$LINENO: checking for $ac_func" >&5
23632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23633 if eval "test \"\${$as_ac_var+set}\" = set"; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 cat >conftest.
$ac_ext <<_ACEOF
23639 cat confdefs.h
>>conftest.
$ac_ext
23640 cat >>conftest.
$ac_ext <<_ACEOF
23641 /* end confdefs.h. */
23642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23644 #define $ac_func innocuous_$ac_func
23646 /* System header to define __stub macros and hopefully few prototypes,
23647 which can conflict with char $ac_func (); below.
23648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23649 <limits.h> exists even on freestanding compilers. */
23652 # include <limits.h>
23654 # include <assert.h>
23659 /* Override any gcc2 internal prototype to avoid an error. */
23664 /* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23667 /* The GNU C library defines this for functions which it implements
23668 to always fail with ENOSYS. Some functions are actually named
23669 something starting with __ and the normal name is an alias. */
23670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23673 char (*f) () = $ac_func;
23682 return f != $ac_func;
23687 rm -f conftest.
$ac_objext conftest
$ac_exeext
23688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23689 (eval $ac_link) 2>conftest.er1
23691 grep -v '^ *+' conftest.er1
>conftest.err
23693 cat conftest.err
>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } &&
23696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; } &&
23702 { ac_try
='test -s conftest$ac_exeext'
23703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704 (eval $ac_try) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); }; }; then
23708 eval "$as_ac_var=yes"
23710 echo "$as_me: failed program was:" >&5
23711 sed 's/^/| /' conftest.
$ac_ext >&5
23713 eval "$as_ac_var=no"
23715 rm -f conftest.err conftest.
$ac_objext \
23716 conftest
$ac_exeext conftest.
$ac_ext
23718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23720 if test `eval echo '${'$as_ac_var'}'` = yes; then
23721 cat >>confdefs.h
<<_ACEOF
23722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23730 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23731 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23733 AFMINSTALL
=afminstall
23737 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23738 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23739 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23740 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 ac_check_lib_save_LIBS
=$LIBS
23744 cat >conftest.
$ac_ext <<_ACEOF
23747 cat confdefs.h
>>conftest.
$ac_ext
23748 cat >>conftest.
$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23751 /* Override any gcc2 internal prototype to avoid an error. */
23755 /* We use char because int might match the return type of a gcc2
23756 builtin and then its argument prototype would still apply. */
23757 char gdk_im_open ();
23766 rm -f conftest.
$ac_objext conftest
$ac_exeext
23767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23768 (eval $ac_link) 2>conftest.er1
23770 grep -v '^ *+' conftest.er1
>conftest.err
23772 cat conftest.err
>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } &&
23775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; } &&
23781 { ac_try
='test -s conftest$ac_exeext'
23782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23783 (eval $ac_try) 2>&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); }; }; then
23787 ac_cv_lib_gdk_gdk_im_open
=yes
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.
$ac_ext >&5
23792 ac_cv_lib_gdk_gdk_im_open
=no
23794 rm -f conftest.err conftest.
$ac_objext \
23795 conftest
$ac_exeext conftest.
$ac_ext
23796 LIBS
=$ac_check_lib_save_LIBS
23798 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23799 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23800 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23801 cat >>confdefs.h
<<\_ACEOF
23809 if test "$wxUSE_GPE" = "yes"; then
23810 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23811 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23814 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23816 for ac_extension
in a so sl dylib
; do
23817 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23818 ac_find_libraries
=$ac_dir
23824 if test "$ac_find_libraries" != "" ; then
23826 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23828 if test $result = 0; then
23831 ac_path_to_link
=" -L$ac_find_libraries"
23834 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23837 echo "${ECHO_T}found at $ac_find_libraries" >&6
23839 echo "$as_me:$LINENO: result: not found" >&5
23840 echo "${ECHO_T}not found" >&6
23846 if test "$wxUSE_MGL" = 1; then
23847 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23848 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23849 if test "x$MGL_ROOT" = x
; then
23850 echo "$as_me:$LINENO: result: not found" >&5
23851 echo "${ECHO_T}not found" >&6
23852 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23853 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23854 { (exit 1); exit 1; }; }
23856 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23857 echo "${ECHO_T}$MGL_ROOT" >&6
23860 echo "$as_me:$LINENO: checking for libmgl location" >&5
23861 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23864 if test "x$wxUSE_SHARED" = xyes
; then
23865 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23867 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23871 mgl_os_candidates
="dos32/dj2"
23874 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23875 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23876 { (exit 1); exit 1; }; }
23882 for mgl_os_i
in $mgl_os_candidates ; do
23883 if test "x$mgl_os" = x
; then
23884 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23885 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23886 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23891 if test "x$mgl_lib_type" = x
; then
23892 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23893 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23894 mgl_lib_type
=release
23901 if test "x$mgl_os" = x
; then
23902 echo "$as_me:$LINENO: result: not found" >&5
23903 echo "${ECHO_T}not found" >&6
23904 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23905 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23906 { (exit 1); exit 1; }; }
23908 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23909 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23911 wxUSE_UNIVERSAL
="yes"
23913 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23914 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23916 AFMINSTALL
=afminstall
23921 if test "$wxUSE_MICROWIN" = 1; then
23922 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23923 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23924 if test "x$MICROWINDOWS" = 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 MicroWindows library. Make sure MICROWINDOWS is set." >&5
23928 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23929 { (exit 1); exit 1; }; }
23931 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23932 echo "${ECHO_T}$MICROWINDOWS" >&6
23935 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23936 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23937 echo "${ECHO_T}MicroWindows' libraries found." >&6
23939 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23940 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23941 { (exit 1); exit 1; }; }
23944 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23945 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23947 wxUSE_UNIVERSAL
="yes"
23949 AFMINSTALL
=afminstall
23951 GUIDIST
=MICROWIN_DIST
23953 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23956 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23958 if test "x$ac_path_x_has_been_run" != xyes
; then
23959 echo "$as_me:$LINENO: checking for X" >&5
23960 echo $ECHO_N "checking for X... $ECHO_C" >&6
23962 ac_path_x_has_been_run
=yes
23964 # Check whether --with-x or --without-x was given.
23965 if test "${with_x+set}" = set; then
23969 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23970 if test "x$with_x" = xno
; then
23971 # The user explicitly disabled X.
23974 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23975 # Both variables are already set.
23978 if test "${ac_cv_have_x+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 # One or both of the vars are not set, and there is no cached value.
23982 ac_x_includes
=no ac_x_libraries
=no
23983 rm -fr conftest.dir
23984 if mkdir conftest.dir
; then
23986 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23987 cat >Imakefile
<<'_ACEOF'
23989 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23991 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23993 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23994 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23995 for ac_extension
in a so sl
; do
23996 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23997 test -f $ac_im_libdir/libX11.
$ac_extension; then
23998 ac_im_usrlibdir
=$ac_im_libdir; break
24001 # Screen out bogus values from the imake configuration. They are
24002 # bogus both because they are the default anyway, and because
24003 # using them would break gcc on systems where it needs fixed includes.
24004 case $ac_im_incroot in
24006 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24008 case $ac_im_usrlibdir in
24009 /usr
/lib
| /lib
) ;;
24010 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24014 rm -fr conftest.dir
24017 # Standard set of common directories for X headers.
24018 # Check X11 before X11Rn because it is often a symlink to the current release.
24030 /usr/local/X11/include
24031 /usr/local/X11R6/include
24032 /usr/local/X11R5/include
24033 /usr/local/X11R4/include
24035 /usr/local/include/X11
24036 /usr/local/include/X11R6
24037 /usr/local/include/X11R5
24038 /usr/local/include/X11R4
24042 /usr/XFree86/include/X11
24046 /usr/unsupported/include
24047 /usr/athena/include
24048 /usr/local/x11r5/include
24049 /usr/lpp/Xamples/include
24051 /usr/openwin/include
24052 /usr/openwin/share/include'
24054 if test "$ac_x_includes" = no
; then
24055 # Guess where to find include files, by looking for a specified header file.
24056 # First, try using that file with no special directory specified.
24057 cat >conftest.
$ac_ext <<_ACEOF
24060 cat confdefs.h
>>conftest.
$ac_ext
24061 cat >>conftest.
$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24063 #include <X11/Intrinsic.h>
24065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24068 grep -v '^ *+' conftest.er1
>conftest.err
24070 cat conftest.err
>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } >/dev
/null
; then
24073 if test -s conftest.err
; then
24074 ac_cpp_err
=$ac_c_preproc_warn_flag
24075 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24082 if test -z "$ac_cpp_err"; then
24083 # We can compile using X headers with no special include directory.
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.
$ac_ext >&5
24089 for ac_dir
in $ac_x_header_dirs; do
24090 if test -r "$ac_dir/X11/Intrinsic.h"; then
24091 ac_x_includes
=$ac_dir
24096 rm -f conftest.err conftest.
$ac_ext
24097 fi # $ac_x_includes = no
24099 if test "$ac_x_libraries" = no
; then
24100 # Check for the libraries.
24101 # See if we find them without any special options.
24102 # Don't add to $LIBS permanently.
24105 cat >conftest.
$ac_ext <<_ACEOF
24108 cat confdefs.h
>>conftest.
$ac_ext
24109 cat >>conftest.
$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 #include <X11/Intrinsic.h>
24120 rm -f conftest.
$ac_objext conftest
$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1
>conftest.err
24126 cat conftest.err
>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; } &&
24135 { ac_try
='test -s conftest$ac_exeext'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; }; then
24142 # We can link X programs with no special library path.
24145 echo "$as_me: failed program was:" >&5
24146 sed 's/^/| /' conftest.
$ac_ext >&5
24149 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24151 # Don't even attempt the hair of trying to link an X program!
24152 for ac_extension
in a so sl
; do
24153 if test -r $ac_dir/libXt.
$ac_extension; then
24154 ac_x_libraries
=$ac_dir
24160 rm -f conftest.err conftest.
$ac_objext \
24161 conftest
$ac_exeext conftest.
$ac_ext
24162 fi # $ac_x_libraries = no
24164 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24165 # Didn't find X anywhere. Cache the known absence of X.
24166 ac_cv_have_x
="have_x=no"
24168 # Record where we found X for the cache.
24169 ac_cv_have_x
="have_x=yes \
24170 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24175 eval "$ac_cv_have_x"
24178 if test "$have_x" != yes; then
24179 echo "$as_me:$LINENO: result: $have_x" >&5
24180 echo "${ECHO_T}$have_x" >&6
24183 # If each of the values was on the command line, it overrides each guess.
24184 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24185 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24186 # Update the cache value to reflect the command line values.
24187 ac_cv_have_x
="have_x=yes \
24188 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24189 # It might be that x_includes is empty (headers are found in the
24190 # standard search path. Then output the corresponding message
24191 ac_out_x_includes
=$x_includes
24192 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24193 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24194 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24198 if test "$no_x" = yes; then
24199 # Not all programs may use this symbol, but it does not hurt to define it.
24201 cat >>confdefs.h
<<\_ACEOF
24202 #define X_DISPLAY_MISSING 1
24205 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24207 if test -n "$x_includes"; then
24208 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24211 # It would also be nice to do this for all -L options, not just this one.
24212 if test -n "$x_libraries"; then
24213 X_LIBS
="$X_LIBS -L$x_libraries"
24214 # For Solaris; some versions of Sun CC require a space after -R and
24215 # others require no space. Words are not sufficient . . . .
24216 case `(uname -sr) 2>/dev/null` in
24218 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24219 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24220 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24221 cat >conftest.
$ac_ext <<_ACEOF
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24236 rm -f conftest.
$ac_objext conftest
$ac_exeext
24237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24238 (eval $ac_link) 2>conftest.er1
24240 grep -v '^ *+' conftest.er1
>conftest.err
24242 cat conftest.err
>&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); } &&
24245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247 (eval $ac_try) 2>&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); }; } &&
24251 { ac_try
='test -s conftest$ac_exeext'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; }; then
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.
$ac_ext >&5
24264 rm -f conftest.err conftest.
$ac_objext \
24265 conftest
$ac_exeext conftest.
$ac_ext
24266 if test $ac_R_nospace = yes; then
24267 echo "$as_me:$LINENO: result: no" >&5
24268 echo "${ECHO_T}no" >&6
24269 X_LIBS
="$X_LIBS -R$x_libraries"
24271 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24272 cat >conftest.
$ac_ext <<_ACEOF
24275 cat confdefs.h
>>conftest.
$ac_ext
24276 cat >>conftest.
$ac_ext <<_ACEOF
24277 /* end confdefs.h. */
24287 rm -f conftest.
$ac_objext conftest
$ac_exeext
24288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24289 (eval $ac_link) 2>conftest.er1
24291 grep -v '^ *+' conftest.er1
>conftest.err
24293 cat conftest.err
>&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } &&
24296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24298 (eval $ac_try) 2>&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); }; } &&
24302 { ac_try
='test -s conftest$ac_exeext'
24303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24304 (eval $ac_try) 2>&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); }; }; then
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.
$ac_ext >&5
24315 rm -f conftest.err conftest.
$ac_objext \
24316 conftest
$ac_exeext conftest.
$ac_ext
24317 if test $ac_R_space = yes; then
24318 echo "$as_me:$LINENO: result: yes" >&5
24319 echo "${ECHO_T}yes" >&6
24320 X_LIBS
="$X_LIBS -R $x_libraries"
24322 echo "$as_me:$LINENO: result: neither works" >&5
24323 echo "${ECHO_T}neither works" >&6
24326 LIBS
=$ac_xsave_LIBS
24330 # Check for system-dependent libraries X programs must link with.
24331 # Do this before checking for the system-independent R6 libraries
24332 # (-lICE), since we may need -lsocket or whatever for X linking.
24334 if test "$ISC" = yes; then
24335 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24337 # Martyn Johnson says this is needed for Ultrix, if the X
24338 # libraries were built with DECnet support. And Karl Berry says
24339 # the Alpha needs dnet_stub (dnet does not exist).
24340 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24341 cat >conftest.
$ac_ext <<_ACEOF
24344 cat confdefs.h
>>conftest.
$ac_ext
24345 cat >>conftest.
$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24348 /* Override any gcc2 internal prototype to avoid an error. */
24352 /* We use char because int might match the return type of a gcc2
24353 builtin and then its argument prototype would still apply. */
24354 char XOpenDisplay ();
24363 rm -f conftest.
$ac_objext conftest
$ac_exeext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24365 (eval $ac_link) 2>conftest.er1
24367 grep -v '^ *+' conftest.er1
>conftest.err
24369 cat conftest.err
>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
24372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try
='test -s conftest$ac_exeext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24390 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24391 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 ac_check_lib_save_LIBS
=$LIBS
24395 LIBS
="-ldnet $LIBS"
24396 cat >conftest.
$ac_ext <<_ACEOF
24399 cat confdefs.h
>>conftest.
$ac_ext
24400 cat >>conftest.
$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24403 /* Override any gcc2 internal prototype to avoid an error. */
24407 /* We use char because int might match the return type of a gcc2
24408 builtin and then its argument prototype would still apply. */
24418 rm -f conftest.
$ac_objext conftest
$ac_exeext
24419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24420 (eval $ac_link) 2>conftest.er1
24422 grep -v '^ *+' conftest.er1
>conftest.err
24424 cat conftest.err
>&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); } &&
24427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429 (eval $ac_try) 2>&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); }; } &&
24433 { ac_try
='test -s conftest$ac_exeext'
24434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435 (eval $ac_try) 2>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); }; }; then
24439 ac_cv_lib_dnet_dnet_ntoa
=yes
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.
$ac_ext >&5
24444 ac_cv_lib_dnet_dnet_ntoa
=no
24446 rm -f conftest.err conftest.
$ac_objext \
24447 conftest
$ac_exeext conftest.
$ac_ext
24448 LIBS
=$ac_check_lib_save_LIBS
24450 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24451 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24452 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24453 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24456 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24458 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24459 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 ac_check_lib_save_LIBS
=$LIBS
24463 LIBS
="-ldnet_stub $LIBS"
24464 cat >conftest.
$ac_ext <<_ACEOF
24467 cat confdefs.h
>>conftest.
$ac_ext
24468 cat >>conftest.
$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24471 /* Override any gcc2 internal prototype to avoid an error. */
24475 /* We use char because int might match the return type of a gcc2
24476 builtin and then its argument prototype would still apply. */
24486 rm -f conftest.
$ac_objext conftest
$ac_exeext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488 (eval $ac_link) 2>conftest.er1
24490 grep -v '^ *+' conftest.er1
>conftest.err
24492 cat conftest.err
>&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } &&
24495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; } &&
24501 { ac_try
='test -s conftest$ac_exeext'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; }; then
24507 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24509 echo "$as_me: failed program was:" >&5
24510 sed 's/^/| /' conftest.
$ac_ext >&5
24512 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24514 rm -f conftest.err conftest.
$ac_objext \
24515 conftest
$ac_exeext conftest.
$ac_ext
24516 LIBS
=$ac_check_lib_save_LIBS
24518 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24519 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24520 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24521 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24526 rm -f conftest.err conftest.
$ac_objext \
24527 conftest
$ac_exeext conftest.
$ac_ext
24528 LIBS
="$ac_xsave_LIBS"
24530 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24531 # to get the SysV transport functions.
24532 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24534 # The nsl library prevents programs from opening the X display
24535 # on Irix 5.2, according to T.E. Dickey.
24536 # The functions gethostbyname, getservbyname, and inet_addr are
24537 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24538 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24539 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24540 if test "${ac_cv_func_gethostbyname+set}" = set; then
24541 echo $ECHO_N "(cached) $ECHO_C" >&6
24543 cat >conftest.
$ac_ext <<_ACEOF
24546 cat confdefs.h
>>conftest.
$ac_ext
24547 cat >>conftest.
$ac_ext <<_ACEOF
24548 /* end confdefs.h. */
24549 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24551 #define gethostbyname innocuous_gethostbyname
24553 /* System header to define __stub macros and hopefully few prototypes,
24554 which can conflict with char gethostbyname (); below.
24555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24556 <limits.h> exists even on freestanding compilers. */
24559 # include <limits.h>
24561 # include <assert.h>
24564 #undef gethostbyname
24566 /* Override any gcc2 internal prototype to avoid an error. */
24571 /* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24573 char gethostbyname ();
24574 /* The GNU C library defines this for functions which it implements
24575 to always fail with ENOSYS. Some functions are actually named
24576 something starting with __ and the normal name is an alias. */
24577 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24580 char (*f) () = gethostbyname;
24589 return f != gethostbyname;
24594 rm -f conftest.
$ac_objext conftest
$ac_exeext
24595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24596 (eval $ac_link) 2>conftest.er1
24598 grep -v '^ *+' conftest.er1
>conftest.err
24600 cat conftest.err
>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } &&
24603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; } &&
24609 { ac_try
='test -s conftest$ac_exeext'
24610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24611 (eval $ac_try) 2>&5
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 ac_cv_func_gethostbyname
=yes
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.
$ac_ext >&5
24620 ac_cv_func_gethostbyname
=no
24622 rm -f conftest.err conftest.
$ac_objext \
24623 conftest
$ac_exeext conftest.
$ac_ext
24625 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24626 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24628 if test $ac_cv_func_gethostbyname = no
; then
24629 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24630 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24631 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24632 echo $ECHO_N "(cached) $ECHO_C" >&6
24634 ac_check_lib_save_LIBS
=$LIBS
24636 cat >conftest.
$ac_ext <<_ACEOF
24639 cat confdefs.h
>>conftest.
$ac_ext
24640 cat >>conftest.
$ac_ext <<_ACEOF
24641 /* end confdefs.h. */
24643 /* Override any gcc2 internal prototype to avoid an error. */
24647 /* We use char because int might match the return type of a gcc2
24648 builtin and then its argument prototype would still apply. */
24649 char gethostbyname ();
24658 rm -f conftest.
$ac_objext conftest
$ac_exeext
24659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24660 (eval $ac_link) 2>conftest.er1
24662 grep -v '^ *+' conftest.er1
>conftest.err
24664 cat conftest.err
>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
24667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; } &&
24673 { ac_try
='test -s conftest$ac_exeext'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; }; then
24679 ac_cv_lib_nsl_gethostbyname
=yes
24681 echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.
$ac_ext >&5
24684 ac_cv_lib_nsl_gethostbyname
=no
24686 rm -f conftest.err conftest.
$ac_objext \
24687 conftest
$ac_exeext conftest.
$ac_ext
24688 LIBS
=$ac_check_lib_save_LIBS
24690 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24691 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24692 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24693 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24696 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24697 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24698 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24699 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 ac_check_lib_save_LIBS
=$LIBS
24704 cat >conftest.
$ac_ext <<_ACEOF
24707 cat confdefs.h
>>conftest.
$ac_ext
24708 cat >>conftest.
$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24711 /* Override any gcc2 internal prototype to avoid an error. */
24715 /* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24717 char gethostbyname ();
24726 rm -f conftest.
$ac_objext conftest
$ac_exeext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24728 (eval $ac_link) 2>conftest.er1
24730 grep -v '^ *+' conftest.er1
>conftest.err
24732 cat conftest.err
>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; } &&
24741 { ac_try
='test -s conftest$ac_exeext'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; }; then
24747 ac_cv_lib_bsd_gethostbyname
=yes
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.
$ac_ext >&5
24752 ac_cv_lib_bsd_gethostbyname
=no
24754 rm -f conftest.err conftest.
$ac_objext \
24755 conftest
$ac_exeext conftest.
$ac_ext
24756 LIBS
=$ac_check_lib_save_LIBS
24758 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24759 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24760 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24768 # socket/setsockopt and other routines are undefined under SCO ODT
24769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24770 # on later versions), says Simon Leinen: it contains gethostby*
24771 # variants that don't use the name server (or something). -lsocket
24772 # must be given before -lnsl if both are needed. We assume that
24773 # if connect needs -lnsl, so does gethostbyname.
24774 echo "$as_me:$LINENO: checking for connect" >&5
24775 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24776 if test "${ac_cv_func_connect+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 cat >conftest.
$ac_ext <<_ACEOF
24782 cat confdefs.h
>>conftest.
$ac_ext
24783 cat >>conftest.
$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24787 #define connect innocuous_connect
24789 /* System header to define __stub macros and hopefully few prototypes,
24790 which can conflict with char connect (); below.
24791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24792 <limits.h> exists even on freestanding compilers. */
24795 # include <limits.h>
24797 # include <assert.h>
24802 /* Override any gcc2 internal prototype to avoid an error. */
24807 /* We use char because int might match the return type of a gcc2
24808 builtin and then its argument prototype would still apply. */
24810 /* The GNU C library defines this for functions which it implements
24811 to always fail with ENOSYS. Some functions are actually named
24812 something starting with __ and the normal name is an alias. */
24813 #if defined (__stub_connect) || defined (__stub___connect)
24816 char (*f) () = connect;
24825 return f != connect;
24830 rm -f conftest.
$ac_objext conftest
$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>conftest.er1
24834 grep -v '^ *+' conftest.er1
>conftest.err
24836 cat conftest.err
>&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
24839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; } &&
24845 { ac_try
='test -s conftest$ac_exeext'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 ac_cv_func_connect
=yes
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.
$ac_ext >&5
24856 ac_cv_func_connect
=no
24858 rm -f conftest.err conftest.
$ac_objext \
24859 conftest
$ac_exeext conftest.
$ac_ext
24861 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24862 echo "${ECHO_T}$ac_cv_func_connect" >&6
24864 if test $ac_cv_func_connect = no
; then
24865 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24866 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24867 if test "${ac_cv_lib_socket_connect+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 ac_check_lib_save_LIBS
=$LIBS
24871 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24872 cat >conftest.
$ac_ext <<_ACEOF
24875 cat confdefs.h
>>conftest.
$ac_ext
24876 cat >>conftest.
$ac_ext <<_ACEOF
24877 /* end confdefs.h. */
24879 /* Override any gcc2 internal prototype to avoid an error. */
24883 /* We use char because int might match the return type of a gcc2
24884 builtin and then its argument prototype would still apply. */
24894 rm -f conftest.
$ac_objext conftest
$ac_exeext
24895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24896 (eval $ac_link) 2>conftest.er1
24898 grep -v '^ *+' conftest.er1
>conftest.err
24900 cat conftest.err
>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try
='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_lib_socket_connect
=yes
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.
$ac_ext >&5
24920 ac_cv_lib_socket_connect
=no
24922 rm -f conftest.err conftest.
$ac_objext \
24923 conftest
$ac_exeext conftest.
$ac_ext
24924 LIBS
=$ac_check_lib_save_LIBS
24926 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24927 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24928 if test $ac_cv_lib_socket_connect = yes; then
24929 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24934 # Guillermo Gomez says -lposix is necessary on A/UX.
24935 echo "$as_me:$LINENO: checking for remove" >&5
24936 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24937 if test "${ac_cv_func_remove+set}" = set; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 cat >conftest.
$ac_ext <<_ACEOF
24943 cat confdefs.h
>>conftest.
$ac_ext
24944 cat >>conftest.
$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24948 #define remove innocuous_remove
24950 /* System header to define __stub macros and hopefully few prototypes,
24951 which can conflict with char remove (); below.
24952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24953 <limits.h> exists even on freestanding compilers. */
24956 # include <limits.h>
24958 # include <assert.h>
24963 /* Override any gcc2 internal prototype to avoid an error. */
24968 /* We use char because int might match the return type of a gcc2
24969 builtin and then its argument prototype would still apply. */
24971 /* The GNU C library defines this for functions which it implements
24972 to always fail with ENOSYS. Some functions are actually named
24973 something starting with __ and the normal name is an alias. */
24974 #if defined (__stub_remove) || defined (__stub___remove)
24977 char (*f) () = remove;
24986 return f != remove;
24991 rm -f conftest.
$ac_objext conftest
$ac_exeext
24992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24993 (eval $ac_link) 2>conftest.er1
24995 grep -v '^ *+' conftest.er1
>conftest.err
24997 cat conftest.err
>&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } &&
25000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; } &&
25006 { ac_try
='test -s conftest$ac_exeext'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; }; then
25012 ac_cv_func_remove
=yes
25014 echo "$as_me: failed program was:" >&5
25015 sed 's/^/| /' conftest.
$ac_ext >&5
25017 ac_cv_func_remove
=no
25019 rm -f conftest.err conftest.
$ac_objext \
25020 conftest
$ac_exeext conftest.
$ac_ext
25022 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25023 echo "${ECHO_T}$ac_cv_func_remove" >&6
25025 if test $ac_cv_func_remove = no
; then
25026 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25027 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25028 if test "${ac_cv_lib_posix_remove+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 ac_check_lib_save_LIBS
=$LIBS
25032 LIBS
="-lposix $LIBS"
25033 cat >conftest.
$ac_ext <<_ACEOF
25036 cat confdefs.h
>>conftest.
$ac_ext
25037 cat >>conftest.
$ac_ext <<_ACEOF
25038 /* end confdefs.h. */
25040 /* Override any gcc2 internal prototype to avoid an error. */
25044 /* We use char because int might match the return type of a gcc2
25045 builtin and then its argument prototype would still apply. */
25055 rm -f conftest.
$ac_objext conftest
$ac_exeext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25057 (eval $ac_link) 2>conftest.er1
25059 grep -v '^ *+' conftest.er1
>conftest.err
25061 cat conftest.err
>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
25064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25066 (eval $ac_try) 2>&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); }; } &&
25070 { ac_try
='test -s conftest$ac_exeext'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; }; then
25076 ac_cv_lib_posix_remove
=yes
25078 echo "$as_me: failed program was:" >&5
25079 sed 's/^/| /' conftest.
$ac_ext >&5
25081 ac_cv_lib_posix_remove
=no
25083 rm -f conftest.err conftest.
$ac_objext \
25084 conftest
$ac_exeext conftest.
$ac_ext
25085 LIBS
=$ac_check_lib_save_LIBS
25087 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25088 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25089 if test $ac_cv_lib_posix_remove = yes; then
25090 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25095 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25096 echo "$as_me:$LINENO: checking for shmat" >&5
25097 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25098 if test "${ac_cv_func_shmat+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 cat >conftest.
$ac_ext <<_ACEOF
25104 cat confdefs.h
>>conftest.
$ac_ext
25105 cat >>conftest.
$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109 #define shmat innocuous_shmat
25111 /* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char shmat (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
25117 # include <limits.h>
25119 # include <assert.h>
25124 /* Override any gcc2 internal prototype to avoid an error. */
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25132 /* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135 #if defined (__stub_shmat) || defined (__stub___shmat)
25138 char (*f) () = shmat;
25152 rm -f conftest.
$ac_objext conftest
$ac_exeext
25153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25154 (eval $ac_link) 2>conftest.er1
25156 grep -v '^ *+' conftest.er1
>conftest.err
25158 cat conftest.err
>&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
25161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try
='test -s conftest$ac_exeext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 ac_cv_func_shmat
=yes
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.
$ac_ext >&5
25178 ac_cv_func_shmat
=no
25180 rm -f conftest.err conftest.
$ac_objext \
25181 conftest
$ac_exeext conftest.
$ac_ext
25183 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25184 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25186 if test $ac_cv_func_shmat = no
; then
25187 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25188 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25189 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 ac_check_lib_save_LIBS
=$LIBS
25194 cat >conftest.
$ac_ext <<_ACEOF
25197 cat confdefs.h
>>conftest.
$ac_ext
25198 cat >>conftest.
$ac_ext <<_ACEOF
25199 /* end confdefs.h. */
25201 /* Override any gcc2 internal prototype to avoid an error. */
25205 /* We use char because int might match the return type of a gcc2
25206 builtin and then its argument prototype would still apply. */
25216 rm -f conftest.
$ac_objext conftest
$ac_exeext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25218 (eval $ac_link) 2>conftest.er1
25220 grep -v '^ *+' conftest.er1
>conftest.err
25222 cat conftest.err
>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
25225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try
='test -s conftest$ac_exeext'
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 ac_cv_lib_ipc_shmat
=yes
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.
$ac_ext >&5
25242 ac_cv_lib_ipc_shmat
=no
25244 rm -f conftest.err conftest.
$ac_objext \
25245 conftest
$ac_exeext conftest.
$ac_ext
25246 LIBS
=$ac_check_lib_save_LIBS
25248 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25249 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25250 if test $ac_cv_lib_ipc_shmat = yes; then
25251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25257 # Check for libraries that X11R6 Xt/Xaw programs need.
25258 ac_save_LDFLAGS
=$LDFLAGS
25259 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25261 # check for ICE first), but we must link in the order -lSM -lICE or
25262 # we get undefined symbols. So assume we have SM if we have ICE.
25263 # These have to be linked with before -lX11, unlike the other
25264 # libraries we check for below, so use a different variable.
25265 # John Interrante, Karl Berry
25266 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25267 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25268 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25271 ac_check_lib_save_LIBS
=$LIBS
25272 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25273 cat >conftest.
$ac_ext <<_ACEOF
25276 cat confdefs.h
>>conftest.
$ac_ext
25277 cat >>conftest.
$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25280 /* Override any gcc2 internal prototype to avoid an error. */
25284 /* We use char because int might match the return type of a gcc2
25285 builtin and then its argument prototype would still apply. */
25286 char IceConnectionNumber ();
25290 IceConnectionNumber ();
25295 rm -f conftest.
$ac_objext conftest
$ac_exeext
25296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25297 (eval $ac_link) 2>conftest.er1
25299 grep -v '^ *+' conftest.er1
>conftest.err
25301 cat conftest.err
>&5
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); } &&
25304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; } &&
25310 { ac_try
='test -s conftest$ac_exeext'
25311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312 (eval $ac_try) 2>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); }; }; then
25316 ac_cv_lib_ICE_IceConnectionNumber
=yes
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.
$ac_ext >&5
25321 ac_cv_lib_ICE_IceConnectionNumber
=no
25323 rm -f conftest.err conftest.
$ac_objext \
25324 conftest
$ac_exeext conftest.
$ac_ext
25325 LIBS
=$ac_check_lib_save_LIBS
25327 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25328 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25329 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25330 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25333 LDFLAGS
=$ac_save_LDFLAGS
25338 if test "$no_x" = "yes"; then
25339 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25340 echo "$as_me: error: X11 not found" >&2;}
25341 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25344 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25345 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25346 AFMINSTALL
=afminstall
25347 COMPILED_X_PROGRAM
=0
25351 if test "$wxUSE_X11" = 1; then
25352 if test "$wxUSE_NANOX" = "yes"; then
25353 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25354 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25355 if test "x$MICROWIN" = x
; then
25356 echo "$as_me:$LINENO: result: not found" >&5
25357 echo "${ECHO_T}not found" >&6
25358 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25359 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25360 { (exit 1); exit 1; }; }
25362 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25363 echo "${ECHO_T}$MICROWIN" >&6
25364 cat >>confdefs.h
<<\_ACEOF
25365 #define wxUSE_NANOX 1
25371 if test "$wxUSE_UNICODE" = "yes"; then
25375 if test -z "$PKG_CONFIG"; then
25376 # Extract the first word of "pkg-config", so it can be a program name with args.
25377 set dummy pkg
-config; ac_word
=$2
25378 echo "$as_me:$LINENO: checking for $ac_word" >&5
25379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25380 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25381 echo $ECHO_N "(cached) $ECHO_C" >&6
25383 case $PKG_CONFIG in
25385 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25389 for as_dir
in $PATH
25392 test -z "$as_dir" && as_dir
=.
25393 for ac_exec_ext
in '' $ac_executable_extensions; do
25394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25395 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25402 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25406 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25408 if test -n "$PKG_CONFIG"; then
25409 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25410 echo "${ECHO_T}$PKG_CONFIG" >&6
25412 echo "$as_me:$LINENO: result: no" >&5
25413 echo "${ECHO_T}no" >&6
25418 if test "$PKG_CONFIG" = "no" ; then
25419 echo "*** The pkg-config script could not be found. Make sure it is"
25420 echo "*** in your path, or set the PKG_CONFIG environment variable"
25421 echo "*** to the full path to pkg-config."
25422 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25424 PKG_CONFIG_MIN_VERSION
=0.9.0
25425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25426 echo "$as_me:$LINENO: checking for pangox" >&5
25427 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25429 if $PKG_CONFIG --exists "pangox" ; then
25430 echo "$as_me:$LINENO: result: yes" >&5
25431 echo "${ECHO_T}yes" >&6
25434 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25435 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25436 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25437 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25438 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25440 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25441 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25442 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25443 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25444 echo "${ECHO_T}$PANGOX_LIBS" >&6
25448 ## If we have a custom action on failure, don't print errors, but
25449 ## do set a variable so people can do so.
25450 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25457 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25458 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25462 if test $succeeded = yes; then
25464 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25465 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25469 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25470 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25471 { (exit 1); exit 1; }; }
25479 if test -z "$PKG_CONFIG"; then
25480 # Extract the first word of "pkg-config", so it can be a program name with args.
25481 set dummy pkg
-config; ac_word
=$2
25482 echo "$as_me:$LINENO: checking for $ac_word" >&5
25483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25484 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 case $PKG_CONFIG in
25489 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25493 for as_dir
in $PATH
25496 test -z "$as_dir" && as_dir
=.
25497 for ac_exec_ext
in '' $ac_executable_extensions; do
25498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25499 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25506 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25510 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25512 if test -n "$PKG_CONFIG"; then
25513 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25514 echo "${ECHO_T}$PKG_CONFIG" >&6
25516 echo "$as_me:$LINENO: result: no" >&5
25517 echo "${ECHO_T}no" >&6
25522 if test "$PKG_CONFIG" = "no" ; then
25523 echo "*** The pkg-config script could not be found. Make sure it is"
25524 echo "*** in your path, or set the PKG_CONFIG environment variable"
25525 echo "*** to the full path to pkg-config."
25526 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25528 PKG_CONFIG_MIN_VERSION
=0.9.0
25529 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25530 echo "$as_me:$LINENO: checking for pangoft2" >&5
25531 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25533 if $PKG_CONFIG --exists "pangoft2" ; then
25534 echo "$as_me:$LINENO: result: yes" >&5
25535 echo "${ECHO_T}yes" >&6
25538 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25539 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25540 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25541 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25542 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25544 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25545 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25546 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25547 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25548 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25552 ## If we have a custom action on failure, don't print errors, but
25553 ## do set a variable so people can do so.
25554 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25561 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25562 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25566 if test $succeeded = yes; then
25568 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25569 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25573 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25574 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25575 wxUSE_PRINTING_ARCHITECTURE
="no"
25583 if test -z "$PKG_CONFIG"; then
25584 # Extract the first word of "pkg-config", so it can be a program name with args.
25585 set dummy pkg
-config; ac_word
=$2
25586 echo "$as_me:$LINENO: checking for $ac_word" >&5
25587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25588 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 case $PKG_CONFIG in
25593 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25597 for as_dir
in $PATH
25600 test -z "$as_dir" && as_dir
=.
25601 for ac_exec_ext
in '' $ac_executable_extensions; do
25602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25603 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25610 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25614 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25616 if test -n "$PKG_CONFIG"; then
25617 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25618 echo "${ECHO_T}$PKG_CONFIG" >&6
25620 echo "$as_me:$LINENO: result: no" >&5
25621 echo "${ECHO_T}no" >&6
25626 if test "$PKG_CONFIG" = "no" ; then
25627 echo "*** The pkg-config script could not be found. Make sure it is"
25628 echo "*** in your path, or set the PKG_CONFIG environment variable"
25629 echo "*** to the full path to pkg-config."
25630 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25632 PKG_CONFIG_MIN_VERSION
=0.9.0
25633 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25634 echo "$as_me:$LINENO: checking for pangoxft" >&5
25635 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25637 if $PKG_CONFIG --exists "pangoxft" ; then
25638 echo "$as_me:$LINENO: result: yes" >&5
25639 echo "${ECHO_T}yes" >&6
25642 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25643 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25644 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25645 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25646 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25648 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25649 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25650 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25651 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25652 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25656 ## If we have a custom action on failure, don't print errors, but
25657 ## do set a variable so people can do so.
25658 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25665 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25666 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25670 if test $succeeded = yes; then
25672 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25677 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25678 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25683 save_CFLAGS
="$CFLAGS"
25685 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25686 LIBS
="$LIBS $PANGOX_LIBS"
25688 for ac_func
in pango_font_family_is_monospace
25690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25691 echo "$as_me:$LINENO: checking for $ac_func" >&5
25692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25693 if eval "test \"\${$as_ac_var+set}\" = set"; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 cat >conftest.
$ac_ext <<_ACEOF
25699 cat confdefs.h
>>conftest.
$ac_ext
25700 cat >>conftest.
$ac_ext <<_ACEOF
25701 /* end confdefs.h. */
25702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25704 #define $ac_func innocuous_$ac_func
25706 /* System header to define __stub macros and hopefully few prototypes,
25707 which can conflict with char $ac_func (); below.
25708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25709 <limits.h> exists even on freestanding compilers. */
25712 # include <limits.h>
25714 # include <assert.h>
25719 /* Override any gcc2 internal prototype to avoid an error. */
25724 /* We use char because int might match the return type of a gcc2
25725 builtin and then its argument prototype would still apply. */
25727 /* The GNU C library defines this for functions which it implements
25728 to always fail with ENOSYS. Some functions are actually named
25729 something starting with __ and the normal name is an alias. */
25730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25733 char (*f) () = $ac_func;
25742 return f != $ac_func;
25747 rm -f conftest.
$ac_objext conftest
$ac_exeext
25748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25749 (eval $ac_link) 2>conftest.er1
25751 grep -v '^ *+' conftest.er1
>conftest.err
25753 cat conftest.err
>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } &&
25756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try
='test -s conftest$ac_exeext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768 eval "$as_ac_var=yes"
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.
$ac_ext >&5
25773 eval "$as_ac_var=no"
25775 rm -f conftest.err conftest.
$ac_objext \
25776 conftest
$ac_exeext conftest.
$ac_ext
25778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25780 if test `eval echo '${'$as_ac_var'}'` = yes; then
25781 cat >>confdefs.h
<<_ACEOF
25782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25788 CFLAGS
="$save_CFLAGS"
25792 wxUSE_UNIVERSAL
="yes"
25794 if test "$wxUSE_NANOX" = "yes"; then
25795 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25796 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"
25797 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25799 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25806 if test "$wxUSE_MOTIF" = 1; then
25807 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25808 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25811 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25813 if test -f "$ac_dir/Xm/Xm.h"; then
25814 ac_find_includes
=$ac_dir
25819 if test "$ac_find_includes" != "" ; then
25820 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25821 echo "${ECHO_T}found in $ac_find_includes" >&6
25823 if test "x$ac_find_includes" = "x/usr/include"; then
25824 ac_path_to_include
=""
25826 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25828 if test $result = 0; then
25829 ac_path_to_include
=""
25831 ac_path_to_include
=" -I$ac_find_includes"
25835 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25837 cat >conftest.
$ac_ext <<_ACEOF
25840 cat confdefs.h
>>conftest.
$ac_ext
25841 cat >>conftest.
$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25851 version = xmUseVersion;
25857 rm -f conftest.
$ac_objext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25859 (eval $ac_compile) 2>conftest.er1
25861 grep -v '^ *+' conftest.er1
>conftest.err
25863 cat conftest.err
>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try
='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25879 echo "$as_me:$LINENO: result: found in default search path" >&5
25880 echo "${ECHO_T}found in default search path" >&6
25881 COMPILED_X_PROGRAM
=1
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.
$ac_ext >&5
25888 echo "$as_me:$LINENO: result: no" >&5
25889 echo "${ECHO_T}no" >&6
25890 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25891 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25892 { (exit 1); exit 1; }; }
25896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25899 if test "$COMPILED_X_PROGRAM" = 0; then
25900 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25901 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25904 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25906 for ac_extension
in a so sl dylib
; do
25907 if test -f "$ac_dir/libXm.$ac_extension"; then
25908 ac_find_libraries
=$ac_dir
25914 if test "$ac_find_libraries" != "" ; then
25915 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25916 echo "${ECHO_T}found at $ac_find_libraries" >&6
25919 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25921 if test $result = 0; then
25924 ac_path_to_link
=" -L$ac_find_libraries"
25927 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25929 save_CFLAGS
=$CFLAGS
25930 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25932 cat >conftest.
$ac_ext <<_ACEOF
25935 cat confdefs.h
>>conftest.
$ac_ext
25936 cat >>conftest.
$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25946 version = xmUseVersion;
25952 rm -f conftest.
$ac_objext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25954 (eval $ac_compile) 2>conftest.er1
25956 grep -v '^ *+' conftest.er1
>conftest.err
25958 cat conftest.err
>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } &&
25961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 (eval $ac_try) 2>&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); }; } &&
25967 { ac_try
='test -s conftest.$ac_objext'
25968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25969 (eval $ac_try) 2>&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); }; }; then
25974 echo "$as_me:$LINENO: result: found in default search path" >&5
25975 echo "${ECHO_T}found in default search path" >&6
25976 COMPILED_X_PROGRAM
=1
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.
$ac_ext >&5
25983 echo "$as_me:$LINENO: result: no" >&5
25984 echo "${ECHO_T}no" >&6
25985 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25986 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25987 { (exit 1); exit 1; }; }
25991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25993 CFLAGS
=$save_CFLAGS
25997 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25998 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26002 for libp
in "" " -lXp"; do
26003 if test "$libs_found" = "0"; then
26004 for libsm_ice
in "" " -lSM -lICE"; do
26005 if test "$libs_found" = "0"; then
26007 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26008 save_CFLAGS
=$CFLAGS
26009 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26011 cat >conftest.
$ac_ext <<_ACEOF
26014 cat confdefs.h
>>conftest.
$ac_ext
26015 cat >>conftest.
$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26019 #include <Xm/List.h>
26025 XmString string = NULL;
26028 XmListAddItem(w, string, position);
26034 rm -f conftest.
$ac_objext conftest
$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036 (eval $ac_link) 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try
='test -s conftest$ac_exeext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26057 libsm_ice_link
="$libsm_ice"
26058 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26059 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.
$ac_ext >&5
26069 rm -f conftest.err conftest.
$ac_objext \
26070 conftest
$ac_exeext conftest.
$ac_ext
26073 CFLAGS
=$save_CFLAGS
26079 if test "$libs_found" = "0"; then
26080 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26081 echo "${ECHO_T}can't find the right libraries" >&6
26082 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26083 echo "$as_me: error: can't link a simple motif program" >&2;}
26084 { (exit 1); exit 1; }; }
26087 save_CFLAGS
=$CFLAGS
26088 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26089 echo "$as_me:$LINENO: checking for Motif 2" >&5
26090 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26091 cat >conftest.
$ac_ext <<_ACEOF
26094 cat confdefs.h
>>conftest.
$ac_ext
26095 cat >>conftest.
$ac_ext <<_ACEOF
26096 /* end confdefs.h. */
26104 #if XmVersion < 2000
26105 #error "Not Motif 2"
26112 rm -f conftest.
$ac_objext
26113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26114 (eval $ac_compile) 2>conftest.er1
26116 grep -v '^ *+' conftest.er1
>conftest.err
26118 cat conftest.err
>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } &&
26121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; } &&
26127 { ac_try
='test -s conftest.$ac_objext'
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; }; then
26134 cat >>confdefs.h
<<\_ACEOF
26135 #define __WXMOTIF20__ 1
26138 echo "$as_me:$LINENO: result: found" >&5
26139 echo "${ECHO_T}found" >&6
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.
$ac_ext >&5
26146 cat >>confdefs.h
<<\_ACEOF
26147 #define __WXMOTIF20__ 0
26150 echo "$as_me:$LINENO: result: not found" >&5
26151 echo "${ECHO_T}not found" >&6
26154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26155 CFLAGS
=$save_CFLAGS
26157 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26162 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26163 if test "$wxUSE_LIBXPM" = "sys"; then
26164 echo "$as_me:$LINENO: checking for Xpm library" >&5
26165 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26168 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26170 for ac_extension
in a so sl dylib
; do
26171 if test -f "$ac_dir/libXpm.$ac_extension"; then
26172 ac_find_libraries
=$ac_dir
26178 if test "$ac_find_libraries" != "" ; then
26180 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26182 if test $result = 0; then
26185 ac_path_to_link
=" -L$ac_find_libraries"
26188 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26189 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26190 echo "${ECHO_T}found at $ac_find_libraries" >&6
26192 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26193 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26194 if test "${wx_cv_x11_xpm_h+set}" = set; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 save_CFLAGS
=$CFLAGS
26199 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26201 cat >conftest.
$ac_ext <<_ACEOF
26204 cat confdefs.h
>>conftest.
$ac_ext
26205 cat >>conftest.
$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26208 #include <X11/xpm.h>
26215 version = XpmLibraryVersion();
26221 rm -f conftest.
$ac_objext
26222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26223 (eval $ac_compile) 2>conftest.er1
26225 grep -v '^ *+' conftest.er1
>conftest.err
26227 cat conftest.err
>&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } &&
26230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try
='test -s conftest.$ac_objext'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; }; then
26242 wx_cv_x11_xpm_h
=yes
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.
$ac_ext >&5
26250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26252 CFLAGS
=$save_CFLAGS
26256 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26257 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26259 if test $wx_cv_x11_xpm_h = "yes"; then
26260 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26261 cat >>confdefs.h
<<\_ACEOF
26262 #define wxHAVE_LIB_XPM 1
26266 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26267 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26273 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26274 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26275 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26276 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 ac_check_lib_save_LIBS
=$LIBS
26279 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26280 cat >conftest.
$ac_ext <<_ACEOF
26283 cat confdefs.h
>>conftest.
$ac_ext
26284 cat >>conftest.
$ac_ext <<_ACEOF
26285 /* end confdefs.h. */
26287 /* Override any gcc2 internal prototype to avoid an error. */
26291 /* We use char because int might match the return type of a gcc2
26292 builtin and then its argument prototype would still apply. */
26293 char XShapeQueryExtension ();
26297 XShapeQueryExtension ();
26302 rm -f conftest.
$ac_objext conftest
$ac_exeext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26304 (eval $ac_link) 2>conftest.er1
26306 grep -v '^ *+' conftest.er1
>conftest.err
26308 cat conftest.err
>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; } &&
26317 { ac_try
='test -s conftest$ac_exeext'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.
$ac_ext >&5
26328 ac_cv_lib_Xext_XShapeQueryExtension
=no
26330 rm -f conftest.err conftest.
$ac_objext \
26331 conftest
$ac_exeext conftest.
$ac_ext
26332 LIBS
=$ac_check_lib_save_LIBS
26334 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26335 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26336 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26338 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26344 if test "$wxHAVE_XEXT_LIB" = 1; then
26345 save_CFLAGS
="$CFLAGS"
26346 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26348 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26349 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26350 cat >conftest.
$ac_ext <<_ACEOF
26353 cat confdefs.h
>>conftest.
$ac_ext
26354 cat >>conftest.
$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26357 #include <X11/Xlib.h>
26358 #include <X11/extensions/shape.h>
26364 int dummy1, dummy2;
26365 XShapeQueryExtension((Display*)NULL,
26366 (int*)NULL, (int*)NULL);
26372 rm -f conftest.
$ac_objext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374 (eval $ac_compile) 2>conftest.er1
26376 grep -v '^ *+' conftest.er1
>conftest.err
26378 cat conftest.err
>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
26381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; } &&
26387 { ac_try
='test -s conftest.$ac_objext'
26388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389 (eval $ac_try) 2>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); }; }; then
26394 cat >>confdefs.h
<<\_ACEOF
26395 #define HAVE_XSHAPE 1
26398 echo "$as_me:$LINENO: result: found" >&5
26399 echo "${ECHO_T}found" >&6
26402 echo "$as_me: failed program was:" >&5
26403 sed 's/^/| /' conftest.
$ac_ext >&5
26406 echo "$as_me:$LINENO: result: not found" >&5
26407 echo "${ECHO_T}not found" >&6
26410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26411 CFLAGS
="$save_CFLAGS"
26416 if test "$wxUSE_MAC" = 1; then
26417 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26418 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26419 if test "$GCC" = yes; then
26420 echo "$as_me:$LINENO: result: gcc" >&5
26421 echo "${ECHO_T}gcc" >&6
26422 CPPFLAGS_PASCAL
="-fpascal-strings"
26423 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26424 echo "$as_me:$LINENO: result: xlc" >&5
26425 echo "${ECHO_T}xlc" >&6
26426 CPPFLAGS_PASCAL
="-qmacpstr"
26428 echo "$as_me:$LINENO: result: none" >&5
26429 echo "${ECHO_T}none" >&6
26432 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26436 WXBASEPORT
="_carbon"
26439 if test "$wxUSE_COCOA" = 1; then
26444 if test "$wxUSE_PM" = 1; then
26447 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26448 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26449 if test "${wx_cv_spbcdata+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 cat >conftest.
$ac_ext <<_ACEOF
26456 cat confdefs.h
>>conftest.
$ac_ext
26457 cat >>conftest.
$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26473 rm -f conftest.
$ac_objext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26475 (eval $ac_compile) 2>conftest.er1
26477 grep -v '^ *+' conftest.er1
>conftest.err
26479 cat conftest.err
>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try
='test -s conftest.$ac_objext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26506 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26507 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26509 if test $wx_cv_spbcdata = "yes"; then
26510 cat >>confdefs.h
<<\_ACEOF
26511 #define HAVE_SPBCDATA 1
26517 if test "$TOOLKIT" = "PM" ; then
26520 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26523 if test "$wxUSE_UNIVERSAL" = "yes"; then
26524 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26528 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26529 DISTDIR
="wx\$(TOOLKIT)"
26535 if test "$USE_WIN32" = 1 ; then
26539 GUIDIST
="BASE_DIST"
26549 if test "$TOOLKIT" != "MSW" ; then
26551 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26553 if test "${ac_cv_header_sql_h+set}" = set; then
26554 echo "$as_me:$LINENO: checking for sql.h" >&5
26555 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26556 if test "${ac_cv_header_sql_h+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26560 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26562 # Is the header compilable?
26563 echo "$as_me:$LINENO: checking sql.h usability" >&5
26564 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26565 cat >conftest.
$ac_ext <<_ACEOF
26568 cat confdefs.h
>>conftest.
$ac_ext
26569 cat >>conftest.
$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571 $ac_includes_default
26574 rm -f conftest.
$ac_objext
26575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26576 (eval $ac_compile) 2>conftest.er1
26578 grep -v '^ *+' conftest.er1
>conftest.err
26580 cat conftest.err
>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; } &&
26589 { ac_try
='test -s conftest.$ac_objext'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; }; then
26595 ac_header_compiler
=yes
26597 echo "$as_me: failed program was:" >&5
26598 sed 's/^/| /' conftest.
$ac_ext >&5
26600 ac_header_compiler
=no
26602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26604 echo "${ECHO_T}$ac_header_compiler" >&6
26606 # Is the header present?
26607 echo "$as_me:$LINENO: checking sql.h presence" >&5
26608 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26609 cat >conftest.
$ac_ext <<_ACEOF
26612 cat confdefs.h
>>conftest.
$ac_ext
26613 cat >>conftest.
$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26620 grep -v '^ *+' conftest.er1
>conftest.err
26622 cat conftest.err
>&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } >/dev
/null
; then
26625 if test -s conftest.err
; then
26626 ac_cpp_err
=$ac_c_preproc_warn_flag
26627 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26634 if test -z "$ac_cpp_err"; then
26635 ac_header_preproc
=yes
26637 echo "$as_me: failed program was:" >&5
26638 sed 's/^/| /' conftest.
$ac_ext >&5
26640 ac_header_preproc
=no
26642 rm -f conftest.err conftest.
$ac_ext
26643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26644 echo "${ECHO_T}$ac_header_preproc" >&6
26646 # So? What about this header?
26647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26649 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26650 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26651 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26652 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26653 ac_header_preproc
=yes
26656 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26657 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26659 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26660 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26661 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26662 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26663 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26664 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26665 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26666 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26667 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26670 ## ----------------------------------------- ##
26671 ## Report this to wx-dev@lists.wxwidgets.org ##
26672 ## ----------------------------------------- ##
26675 sed "s/^/$as_me: WARNING: /" >&2
26678 echo "$as_me:$LINENO: checking for sql.h" >&5
26679 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26680 if test "${ac_cv_header_sql_h+set}" = set; then
26681 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 ac_cv_header_sql_h
=$ac_header_preproc
26685 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26686 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26689 if test $ac_cv_header_sql_h = yes; then
26694 if test "x$found_sql_h" = "x1" ; then
26695 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26696 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26697 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26700 ac_check_lib_save_LIBS
=$LIBS
26701 LIBS
="-liodbc $LIBS"
26702 cat >conftest.
$ac_ext <<_ACEOF
26705 cat confdefs.h
>>conftest.
$ac_ext
26706 cat >>conftest.
$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26709 /* Override any gcc2 internal prototype to avoid an error. */
26713 /* We use char because int might match the return type of a gcc2
26714 builtin and then its argument prototype would still apply. */
26715 char SQLAllocEnv ();
26724 rm -f conftest.
$ac_objext conftest
$ac_exeext
26725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26726 (eval $ac_link) 2>conftest.er1
26728 grep -v '^ *+' conftest.er1
>conftest.err
26730 cat conftest.err
>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; } &&
26739 { ac_try
='test -s conftest$ac_exeext'
26740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26741 (eval $ac_try) 2>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); }; }; then
26745 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.
$ac_ext >&5
26750 ac_cv_lib_iodbc_SQLAllocEnv
=no
26752 rm -f conftest.err conftest.
$ac_objext \
26753 conftest
$ac_exeext conftest.
$ac_ext
26754 LIBS
=$ac_check_lib_save_LIBS
26756 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26757 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26758 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26759 ODBC_LINK
=" -liodbc"
26762 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26763 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26764 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 ac_check_lib_save_LIBS
=$LIBS
26768 LIBS
="-lunixodbc $LIBS"
26769 cat >conftest.
$ac_ext <<_ACEOF
26772 cat confdefs.h
>>conftest.
$ac_ext
26773 cat >>conftest.
$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26776 /* Override any gcc2 internal prototype to avoid an error. */
26780 /* We use char because int might match the return type of a gcc2
26781 builtin and then its argument prototype would still apply. */
26782 char SQLAllocEnv ();
26791 rm -f conftest.
$ac_objext conftest
$ac_exeext
26792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26793 (eval $ac_link) 2>conftest.er1
26795 grep -v '^ *+' conftest.er1
>conftest.err
26797 cat conftest.err
>&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } &&
26800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; } &&
26806 { ac_try
='test -s conftest$ac_exeext'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; }; then
26812 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.
$ac_ext >&5
26817 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26819 rm -f conftest.err conftest.
$ac_objext \
26820 conftest
$ac_exeext conftest.
$ac_ext
26821 LIBS
=$ac_check_lib_save_LIBS
26823 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26824 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26825 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26826 ODBC_LINK
=" -lunixodbc"
26829 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26830 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26831 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 ac_check_lib_save_LIBS
=$LIBS
26835 LIBS
="-lodbc $LIBS"
26836 cat >conftest.
$ac_ext <<_ACEOF
26839 cat confdefs.h
>>conftest.
$ac_ext
26840 cat >>conftest.
$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26843 /* Override any gcc2 internal prototype to avoid an error. */
26847 /* We use char because int might match the return type of a gcc2
26848 builtin and then its argument prototype would still apply. */
26849 char SQLAllocEnv ();
26858 rm -f conftest.
$ac_objext conftest
$ac_exeext
26859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26860 (eval $ac_link) 2>conftest.er1
26862 grep -v '^ *+' conftest.er1
>conftest.err
26864 cat conftest.err
>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
26867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26869 (eval $ac_try) 2>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); }; } &&
26873 { ac_try
='test -s conftest$ac_exeext'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; }; then
26879 ac_cv_lib_odbc_SQLAllocEnv
=yes
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.
$ac_ext >&5
26884 ac_cv_lib_odbc_SQLAllocEnv
=no
26886 rm -f conftest.err conftest.
$ac_objext \
26887 conftest
$ac_exeext conftest.
$ac_ext
26888 LIBS
=$ac_check_lib_save_LIBS
26890 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26891 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26892 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26893 ODBC_LINK
=" -lodbc"
26903 if test "x$ODBC_LINK" = "x" ; then
26904 if test "$wxUSE_ODBC" = "sys" ; then
26905 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26906 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26907 { (exit 1); exit 1; }; }
26909 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26910 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26917 if test "$wxUSE_ODBC" != "no" ; then
26918 cat >>confdefs.h
<<\_ACEOF
26919 #define wxUSE_ODBC 1
26922 if test "$wxUSE_ODBC" = "builtin" ; then
26923 cat >>confdefs.h
<<\_ACEOF
26924 #define wxUSE_BUILTIN_IODBC 1
26928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26930 WXODBCFLAG
="-D_IODBC_"
26936 if test "$wxUSE_DISPLAY" = "yes"; then
26937 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26938 echo "$as_me:$LINENO: checking for Xinerama" >&5
26939 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26942 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26944 for ac_extension
in a so sl dylib
; do
26945 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26946 ac_find_libraries
=$ac_dir
26952 if test "$ac_find_libraries" != "" ; then
26954 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26956 if test $result = 0; then
26959 ac_path_to_link
=" -L$ac_find_libraries"
26962 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26963 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26966 echo "$as_me:$LINENO: result: yes" >&5
26967 echo "${ECHO_T}yes" >&6
26969 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26970 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26973 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26975 for ac_extension
in a so sl dylib
; do
26976 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26977 ac_find_libraries
=$ac_dir
26983 if test "$ac_find_libraries" != "" ; then
26984 echo "$as_me:$LINENO: result: yes" >&5
26985 echo "${ECHO_T}yes" >&6
26987 for ac_header
in X
11/extensions
/xf86vmode.h
26989 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26990 echo "$as_me:$LINENO: checking for $ac_header" >&5
26991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26993 echo $ECHO_N "(cached) $ECHO_C" >&6
26995 cat >conftest.
$ac_ext <<_ACEOF
26998 cat confdefs.h
>>conftest.
$ac_ext
26999 cat >>conftest.
$ac_ext <<_ACEOF
27000 /* end confdefs.h. */
27002 #if HAVE_X11_XLIB_H
27003 #include <X11/Xlib.h>
27007 #include <$ac_header>
27009 rm -f conftest.
$ac_objext
27010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27011 (eval $ac_compile) 2>conftest.er1
27013 grep -v '^ *+' conftest.er1
>conftest.err
27015 cat conftest.err
>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } &&
27018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; } &&
27024 { ac_try
='test -s conftest.$ac_objext'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; }; then
27030 eval "$as_ac_Header=yes"
27032 echo "$as_me: failed program was:" >&5
27033 sed 's/^/| /' conftest.
$ac_ext >&5
27035 eval "$as_ac_Header=no"
27037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27042 cat >>confdefs.h
<<_ACEOF
27043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27046 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27053 echo "$as_me:$LINENO: result: no" >&5
27054 echo "${ECHO_T}no" >&6
27058 echo "$as_me:$LINENO: result: no" >&5
27059 echo "${ECHO_T}no" >&6
27060 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27061 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27064 elif test "$wxUSE_MSW" = 1; then
27067 for ac_header
in multimon.h ddraw.h
27069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27079 # Is the header compilable?
27080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27082 cat >conftest.
$ac_ext <<_ACEOF
27085 cat confdefs.h
>>conftest.
$ac_ext
27086 cat >>conftest.
$ac_ext <<_ACEOF
27087 /* end confdefs.h. */
27088 $ac_includes_default
27089 #include <$ac_header>
27091 rm -f conftest.
$ac_objext
27092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27093 (eval $ac_compile) 2>conftest.er1
27095 grep -v '^ *+' conftest.er1
>conftest.err
27097 cat conftest.err
>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } &&
27100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; } &&
27106 { ac_try
='test -s conftest.$ac_objext'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 ac_header_compiler
=yes
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 ac_header_compiler
=no
27119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27121 echo "${ECHO_T}$ac_header_compiler" >&6
27123 # Is the header present?
27124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27126 cat >conftest.
$ac_ext <<_ACEOF
27129 cat confdefs.h
>>conftest.
$ac_ext
27130 cat >>conftest.
$ac_ext <<_ACEOF
27131 /* end confdefs.h. */
27132 #include <$ac_header>
27134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27137 grep -v '^ *+' conftest.er1
>conftest.err
27139 cat conftest.err
>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } >/dev
/null
; then
27142 if test -s conftest.err
; then
27143 ac_cpp_err
=$ac_c_preproc_warn_flag
27144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27151 if test -z "$ac_cpp_err"; then
27152 ac_header_preproc
=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.
$ac_ext >&5
27157 ac_header_preproc
=no
27159 rm -f conftest.err conftest.
$ac_ext
27160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27161 echo "${ECHO_T}$ac_header_preproc" >&6
27163 # So? What about this header?
27164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27170 ac_header_preproc
=yes
27173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27187 ## ----------------------------------------- ##
27188 ## Report this to wx-dev@lists.wxwidgets.org ##
27189 ## ----------------------------------------- ##
27192 sed "s/^/$as_me: WARNING: /" >&2
27195 echo "$as_me:$LINENO: checking for $ac_header" >&5
27196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 eval "$as_ac_Header=\$ac_header_preproc"
27202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27207 cat >>confdefs.h
<<_ACEOF
27208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27214 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27215 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27226 if test "$wxUSE_OPENGL" = "yes"; then
27227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27228 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27229 elif test "$wxUSE_MSW" = 1; then
27230 OPENGL_LIBS
="-lopengl32 -lglu32"
27235 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27237 if test -f "$ac_dir/GL/gl.h"; then
27238 ac_find_includes
=$ac_dir
27243 if test "$ac_find_includes" != "" ; then
27244 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27245 echo "${ECHO_T}found in $ac_find_includes" >&6
27247 if test "x$ac_find_includes" = "x/usr/include"; then
27248 ac_path_to_include
=""
27250 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27252 if test $result = 0; then
27253 ac_path_to_include
=""
27255 ac_path_to_include
=" -I$ac_find_includes"
27259 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27262 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27263 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27264 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27265 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27268 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27269 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27271 # Is the header compilable?
27272 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27273 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27274 cat >conftest.
$ac_ext <<_ACEOF
27277 cat confdefs.h
>>conftest.
$ac_ext
27278 cat >>conftest.
$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280 $ac_includes_default
27283 rm -f conftest.
$ac_objext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27285 (eval $ac_compile) 2>conftest.er1
27287 grep -v '^ *+' conftest.er1
>conftest.err
27289 cat conftest.err
>&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
27292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try
='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_header_compiler
=yes
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.
$ac_ext >&5
27309 ac_header_compiler
=no
27311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27313 echo "${ECHO_T}$ac_header_compiler" >&6
27315 # Is the header present?
27316 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27317 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27318 cat >conftest.
$ac_ext <<_ACEOF
27321 cat confdefs.h
>>conftest.
$ac_ext
27322 cat >>conftest.
$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27329 grep -v '^ *+' conftest.er1
>conftest.err
27331 cat conftest.err
>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } >/dev
/null
; then
27334 if test -s conftest.err
; then
27335 ac_cpp_err
=$ac_c_preproc_warn_flag
27336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27343 if test -z "$ac_cpp_err"; then
27344 ac_header_preproc
=yes
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.
$ac_ext >&5
27349 ac_header_preproc
=no
27351 rm -f conftest.err conftest.
$ac_ext
27352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27353 echo "${ECHO_T}$ac_header_preproc" >&6
27355 # So? What about this header?
27356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27358 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27359 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27360 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27361 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27362 ac_header_preproc
=yes
27365 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27366 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27368 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27370 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27372 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27374 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27376 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27379 ## ----------------------------------------- ##
27380 ## Report this to wx-dev@lists.wxwidgets.org ##
27381 ## ----------------------------------------- ##
27384 sed "s/^/$as_me: WARNING: /" >&2
27387 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27388 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27389 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 ac_cv_header_GL_gl_h
=$ac_header_preproc
27394 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27395 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27398 if test $ac_cv_header_GL_gl_h = yes; then
27402 echo "$as_me:$LINENO: checking for -lGL" >&5
27403 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27406 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27408 for ac_extension
in a so sl dylib
; do
27409 if test -f "$ac_dir/libGL.$ac_extension"; then
27410 ac_find_libraries
=$ac_dir
27416 if test "$ac_find_libraries" != "" ; then
27418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27420 if test $result = 0; then
27423 ac_path_to_link
=" -L$ac_find_libraries"
27426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27427 LDFLAGS_GL
="$ac_path_to_link"
27432 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27434 for ac_extension
in a so sl dylib
; do
27435 if test -f "$ac_dir/libGLU.$ac_extension"; then
27436 ac_find_libraries
=$ac_dir
27442 if test "$ac_find_libraries" != "" ; then
27444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27446 if test $result = 0; then
27449 ac_path_to_link
=" -L$ac_find_libraries"
27452 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27453 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27454 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27458 OPENGL_LIBS
="-lGL -lGLU"
27459 echo "$as_me:$LINENO: result: yes" >&5
27460 echo "${ECHO_T}yes" >&6
27464 if test "$found_gl" != 1; then
27465 echo "$as_me:$LINENO: result: no" >&5
27466 echo "${ECHO_T}no" >&6
27467 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27468 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27471 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27473 for ac_extension
in a so sl dylib
; do
27474 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27475 ac_find_libraries
=$ac_dir
27481 if test "$ac_find_libraries" != "" ; then
27483 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27485 if test $result = 0; then
27488 ac_path_to_link
=" -L$ac_find_libraries"
27491 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27492 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27493 echo "$as_me:$LINENO: result: yes" >&5
27494 echo "${ECHO_T}yes" >&6
27496 echo "$as_me:$LINENO: result: no" >&5
27497 echo "${ECHO_T}no" >&6
27505 if test "x$OPENGL_LIBS" = "x"; then
27506 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27507 echo "$as_me: error: OpenGL libraries not available" >&2;}
27508 { (exit 1); exit 1; }; }
27512 if test "$wxUSE_OPENGL" = "yes"; then
27514 cat >>confdefs.h
<<\_ACEOF
27515 #define wxUSE_OPENGL 1
27518 cat >>confdefs.h
<<\_ACEOF
27519 #define wxUSE_GLCANVAS 1
27522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27527 if test -n "$TOOLKIT" ; then
27528 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27533 if test "$wxUSE_SHARED" = "yes"; then
27537 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27538 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27543 if test "$wxUSE_SHARED" = "yes"; then
27546 found_versioning
=no
27549 if test $found_versioning = no
; then
27550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27551 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27552 if test "${wx_cv_version_script+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 echo "VER_1 { *; };" >conftest.sym
27557 echo "int main() { return 0; }" >conftest.cpp
27560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } ; then
27567 if test -s conftest.stderr
; then
27568 wx_cv_version_script
=no
27570 wx_cv_version_script
=yes
27573 wx_cv_version_script
=no
27575 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27578 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27579 echo "${ECHO_T}$wx_cv_version_script" >&6
27580 if test $wx_cv_version_script = yes ; then
27581 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27587 *-*-linux* | *-*-gnu* )
27588 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27589 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27593 if test "$GCC" = yes ; then
27594 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27596 saveLdflags
="$LDFLAGS"
27597 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27598 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27599 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27600 cat >conftest.
$ac_ext <<_ACEOF
27603 cat confdefs.h
>>conftest.
$ac_ext
27604 cat >>conftest.
$ac_ext <<_ACEOF
27605 /* end confdefs.h. */
27615 rm -f conftest.
$ac_objext conftest
$ac_exeext
27616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27617 (eval $ac_link) 2>conftest.er1
27619 grep -v '^ *+' conftest.er1
>conftest.err
27621 cat conftest.err
>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } &&
27624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; } &&
27630 { ac_try
='test -s conftest$ac_exeext'
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; }; then
27637 echo "$as_me:$LINENO: result: yes" >&5
27638 echo "${ECHO_T}yes" >&6
27639 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27640 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27643 echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.
$ac_ext >&5
27647 echo "$as_me:$LINENO: result: no" >&5
27648 echo "${ECHO_T}no" >&6
27649 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27650 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27651 LDFLAGS
="$saveLdflags -Wl,-R,/"
27652 cat >conftest.
$ac_ext <<_ACEOF
27655 cat confdefs.h
>>conftest.
$ac_ext
27656 cat >>conftest.
$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27667 rm -f conftest.
$ac_objext conftest
$ac_exeext
27668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27669 (eval $ac_link) 2>conftest.er1
27671 grep -v '^ *+' conftest.er1
>conftest.err
27673 cat conftest.err
>&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; } &&
27682 { ac_try
='test -s conftest$ac_exeext'
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; }; then
27689 echo "$as_me:$LINENO: result: yes" >&5
27690 echo "${ECHO_T}yes" >&6
27691 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27692 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.
$ac_ext >&5
27699 echo "$as_me:$LINENO: result: no" >&5
27700 echo "${ECHO_T}no" >&6
27703 rm -f conftest.err conftest.
$ac_objext \
27704 conftest
$ac_exeext conftest.
$ac_ext
27707 rm -f conftest.err conftest.
$ac_objext \
27708 conftest
$ac_exeext conftest.
$ac_ext
27709 LDFLAGS
="$saveLdflags"
27711 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27712 WXCONFIG_RPATH
="-R\$libdir"
27716 powerpc
-*-darwin* )
27717 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27718 cat <<EOF >change-install-names
27720 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27721 inst_cmd="install_name_tool "
27722 for i in \${libnames} ; do
27723 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27727 chmod +x change
-install-names
27730 *-*-cygwin* | *-*-mingw32* )
27731 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27736 if test $wxUSE_RPATH = "no"; then
27737 SAMPLES_RPATH_FLAG
=''
27738 SAMPLES_RPATH_POSTLINK
=''
27746 config_linkage_component
="-static"
27753 lib_unicode_suffix
=
27755 if test "$wxUSE_UNICODE" = "yes"; then
27756 lib_unicode_suffix
=u
27757 WX_CHARTYPE
="unicode"
27762 WX_DEBUGTYPE
="release"
27764 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27766 WX_DEBUGTYPE
="debug"
27770 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27771 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27774 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27778 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27780 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27782 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27784 if test "$cross_compiling" = "yes"; then
27785 HOST_SUFFIX
="-$host_alias"
27786 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27787 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27790 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27791 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27795 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27796 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
27797 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
27799 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27801 # Extract the first word of "Rez", so it can be a program name with args.
27802 set dummy Rez
; ac_word
=$2
27803 echo "$as_me:$LINENO: checking for $ac_word" >&5
27804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27805 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27806 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 if test -n "$RESCOMP"; then
27809 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27812 for as_dir
in $PATH
27815 test -z "$as_dir" && as_dir
=.
27816 for ac_exec_ext
in '' $ac_executable_extensions; do
27817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27818 ac_cv_prog_RESCOMP
="Rez"
27819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27825 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27828 RESCOMP
=$ac_cv_prog_RESCOMP
27829 if test -n "$RESCOMP"; then
27830 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27831 echo "${ECHO_T}$RESCOMP" >&6
27833 echo "$as_me:$LINENO: result: no" >&5
27834 echo "${ECHO_T}no" >&6
27837 # Extract the first word of "DeRez", so it can be a program name with args.
27838 set dummy DeRez
; ac_word
=$2
27839 echo "$as_me:$LINENO: checking for $ac_word" >&5
27840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27841 if test "${ac_cv_prog_DEREZ+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 if test -n "$DEREZ"; then
27845 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27848 for as_dir
in $PATH
27851 test -z "$as_dir" && as_dir
=.
27852 for ac_exec_ext
in '' $ac_executable_extensions; do
27853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27854 ac_cv_prog_DEREZ
="DeRez"
27855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27861 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27864 DEREZ
=$ac_cv_prog_DEREZ
27865 if test -n "$DEREZ"; then
27866 echo "$as_me:$LINENO: result: $DEREZ" >&5
27867 echo "${ECHO_T}$DEREZ" >&6
27869 echo "$as_me:$LINENO: result: no" >&5
27870 echo "${ECHO_T}no" >&6
27873 # Extract the first word of "SetFile", so it can be a program name with args.
27874 set dummy SetFile
; ac_word
=$2
27875 echo "$as_me:$LINENO: checking for $ac_word" >&5
27876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27877 if test "${ac_cv_prog_SETFILE+set}" = set; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 if test -n "$SETFILE"; then
27881 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27884 for as_dir
in $PATH
27887 test -z "$as_dir" && as_dir
=.
27888 for ac_exec_ext
in '' $ac_executable_extensions; do
27889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27890 ac_cv_prog_SETFILE
="SetFile"
27891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27897 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27900 SETFILE
=$ac_cv_prog_SETFILE
27901 if test -n "$SETFILE"; then
27902 echo "$as_me:$LINENO: result: $SETFILE" >&5
27903 echo "${ECHO_T}$SETFILE" >&6
27905 echo "$as_me:$LINENO: result: no" >&5
27906 echo "${ECHO_T}no" >&6
27910 MACSETFILE
="\$(SETFILE)"
27912 if test "$wxUSE_MAC" = 1; then
27913 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27915 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27917 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27918 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27922 MACRESWXCONFIG
="@true"
27924 if test "$wxUSE_PM" = 1; then
27925 MACRESCOMP
="emxbind -ep"
27933 echo "$as_me:$LINENO: checking for mode_t" >&5
27934 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27935 if test "${ac_cv_type_mode_t+set}" = set; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 cat >conftest.
$ac_ext <<_ACEOF
27941 cat confdefs.h
>>conftest.
$ac_ext
27942 cat >>conftest.
$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944 $ac_includes_default
27950 if (sizeof (mode_t))
27956 rm -f conftest.
$ac_objext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27958 (eval $ac_compile) 2>conftest.er1
27960 grep -v '^ *+' conftest.er1
>conftest.err
27962 cat conftest.err
>&5
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } &&
27965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; } &&
27971 { ac_try
='test -s conftest.$ac_objext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27977 ac_cv_type_mode_t
=yes
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.
$ac_ext >&5
27982 ac_cv_type_mode_t
=no
27984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27986 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27987 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27988 if test $ac_cv_type_mode_t = yes; then
27992 cat >>confdefs.h
<<_ACEOF
27998 echo "$as_me:$LINENO: checking for off_t" >&5
27999 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28000 if test "${ac_cv_type_off_t+set}" = set; then
28001 echo $ECHO_N "(cached) $ECHO_C" >&6
28003 cat >conftest.
$ac_ext <<_ACEOF
28006 cat confdefs.h
>>conftest.
$ac_ext
28007 cat >>conftest.
$ac_ext <<_ACEOF
28008 /* end confdefs.h. */
28009 $ac_includes_default
28015 if (sizeof (off_t))
28021 rm -f conftest.
$ac_objext
28022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28023 (eval $ac_compile) 2>conftest.er1
28025 grep -v '^ *+' conftest.er1
>conftest.err
28027 cat conftest.err
>&5
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } &&
28030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28032 (eval $ac_try) 2>&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); }; } &&
28036 { ac_try
='test -s conftest.$ac_objext'
28037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28038 (eval $ac_try) 2>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); }; }; then
28042 ac_cv_type_off_t
=yes
28044 echo "$as_me: failed program was:" >&5
28045 sed 's/^/| /' conftest.
$ac_ext >&5
28047 ac_cv_type_off_t
=no
28049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28051 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28052 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28053 if test $ac_cv_type_off_t = yes; then
28057 cat >>confdefs.h
<<_ACEOF
28063 echo "$as_me:$LINENO: checking for pid_t" >&5
28064 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28065 if test "${ac_cv_type_pid_t+set}" = set; then
28066 echo $ECHO_N "(cached) $ECHO_C" >&6
28068 cat >conftest.
$ac_ext <<_ACEOF
28071 cat confdefs.h
>>conftest.
$ac_ext
28072 cat >>conftest.
$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074 $ac_includes_default
28080 if (sizeof (pid_t))
28086 rm -f conftest.
$ac_objext
28087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28088 (eval $ac_compile) 2>conftest.er1
28090 grep -v '^ *+' conftest.er1
>conftest.err
28092 cat conftest.err
>&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28097 (eval $ac_try) 2>&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; } &&
28101 { ac_try
='test -s conftest.$ac_objext'
28102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103 (eval $ac_try) 2>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); }; }; then
28107 ac_cv_type_pid_t
=yes
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.
$ac_ext >&5
28112 ac_cv_type_pid_t
=no
28114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28116 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28117 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28118 if test $ac_cv_type_pid_t = yes; then
28122 cat >>confdefs.h
<<_ACEOF
28128 echo "$as_me:$LINENO: checking for size_t" >&5
28129 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28130 if test "${ac_cv_type_size_t+set}" = set; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 cat >conftest.
$ac_ext <<_ACEOF
28136 cat confdefs.h
>>conftest.
$ac_ext
28137 cat >>conftest.
$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 $ac_includes_default
28145 if (sizeof (size_t))
28151 rm -f conftest.
$ac_objext
28152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28153 (eval $ac_compile) 2>conftest.er1
28155 grep -v '^ *+' conftest.er1
>conftest.err
28157 cat conftest.err
>&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } &&
28160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28162 (eval $ac_try) 2>&5
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); }; } &&
28166 { ac_try
='test -s conftest.$ac_objext'
28167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28168 (eval $ac_try) 2>&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); }; }; then
28172 ac_cv_type_size_t
=yes
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.
$ac_ext >&5
28177 ac_cv_type_size_t
=no
28179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28181 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28182 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28183 if test $ac_cv_type_size_t = yes; then
28187 cat >>confdefs.h
<<_ACEOF
28188 #define size_t unsigned
28193 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28194 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28195 if test "${ac_cv_type_uid_t+set}" = set; then
28196 echo $ECHO_N "(cached) $ECHO_C" >&6
28198 cat >conftest.
$ac_ext <<_ACEOF
28201 cat confdefs.h
>>conftest.
$ac_ext
28202 cat >>conftest.
$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28204 #include <sys/types.h>
28207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28208 $EGREP "uid_t" >/dev
/null
2>&1; then
28209 ac_cv_type_uid_t
=yes
28211 ac_cv_type_uid_t
=no
28216 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28217 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28218 if test $ac_cv_type_uid_t = no
; then
28220 cat >>confdefs.h
<<\_ACEOF
28225 cat >>confdefs.h
<<\_ACEOF
28235 ac_cpp
='$CXXCPP $CPPFLAGS'
28236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28240 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28241 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28242 if test "${wx_cv_size_t_is_uint+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28246 cat >conftest.
$ac_ext <<_ACEOF
28249 cat confdefs.h
>>conftest.
$ac_ext
28250 cat >>conftest.
$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28252 #include <stddef.h>
28259 struct Foo { void foo(size_t); void foo(unsigned int); };
28267 rm -f conftest.
$ac_objext
28268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28269 (eval $ac_compile) 2>conftest.er1
28271 grep -v '^ *+' conftest.er1
>conftest.err
28273 cat conftest.err
>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } &&
28282 { ac_try
='test -s conftest.$ac_objext'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; }; then
28288 wx_cv_size_t_is_uint
=no
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.
$ac_ext >&5
28293 wx_cv_size_t_is_uint
=yes
28296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28300 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28301 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28303 if test "$wx_cv_size_t_is_uint" = "yes"; then
28304 cat >>confdefs.h
<<\_ACEOF
28305 #define wxSIZE_T_IS_UINT 1
28309 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28310 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28311 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28312 echo $ECHO_N "(cached) $ECHO_C" >&6
28314 cat >conftest.
$ac_ext <<_ACEOF
28317 cat confdefs.h
>>conftest.
$ac_ext
28318 cat >>conftest.
$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <stddef.h>
28327 struct Foo { void foo(size_t); void foo(unsigned long); };
28335 rm -f conftest.
$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28339 grep -v '^ *+' conftest.er1
>conftest.err
28341 cat conftest.err
>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try
='test -s conftest.$ac_objext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_ulong
=no
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.
$ac_ext >&5
28361 wx_cv_size_t_is_ulong
=yes
28364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28367 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28368 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28370 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28371 cat >>confdefs.h
<<\_ACEOF
28372 #define wxSIZE_T_IS_ULONG 1
28379 ac_cpp
='$CPP $CPPFLAGS'
28380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28386 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28387 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28388 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28389 echo $ECHO_N "(cached) $ECHO_C" >&6
28392 cat >conftest.
$ac_ext <<_ACEOF
28395 cat confdefs.h
>>conftest.
$ac_ext
28396 cat >>conftest.
$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28411 rm -f conftest.
$ac_objext
28412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28413 (eval $ac_compile) 2>conftest.er1
28415 grep -v '^ *+' conftest.er1
>conftest.err
28417 cat conftest.err
>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } &&
28420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try
='test -s conftest.$ac_objext'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28433 wx_cv_struct_pw_gecos
=yes
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.
$ac_ext >&5
28440 wx_cv_struct_pw_gecos
=no
28444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28448 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28449 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28451 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28452 cat >>confdefs.h
<<\_ACEOF
28453 #define HAVE_PW_GECOS 1
28459 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28460 cat >>confdefs.h
<<\_ACEOF
28461 #define wxUSE_WCHAR_T 1
28468 for ac_func
in wcslen
28470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471 echo "$as_me:$LINENO: checking for $ac_func" >&5
28472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473 if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28476 cat >conftest.
$ac_ext <<_ACEOF
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28484 #define $ac_func innocuous_$ac_func
28486 /* System header to define __stub macros and hopefully few prototypes,
28487 which can conflict with char $ac_func (); below.
28488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28489 <limits.h> exists even on freestanding compilers. */
28492 # include <limits.h>
28494 # include <assert.h>
28499 /* Override any gcc2 internal prototype to avoid an error. */
28504 /* We use char because int might match the return type of a gcc2
28505 builtin and then its argument prototype would still apply. */
28507 /* The GNU C library defines this for functions which it implements
28508 to always fail with ENOSYS. Some functions are actually named
28509 something starting with __ and the normal name is an alias. */
28510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28513 char (*f) () = $ac_func;
28522 return f != $ac_func;
28527 rm -f conftest.
$ac_objext conftest
$ac_exeext
28528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28529 (eval $ac_link) 2>conftest.er1
28531 grep -v '^ *+' conftest.er1
>conftest.err
28533 cat conftest.err
>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; } &&
28542 { ac_try
='test -s conftest$ac_exeext'
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; }; then
28548 eval "$as_ac_var=yes"
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.
$ac_ext >&5
28553 eval "$as_ac_var=no"
28555 rm -f conftest.err conftest.
$ac_objext \
28556 conftest
$ac_exeext conftest.
$ac_ext
28558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28560 if test `eval echo '${'$as_ac_var'}'` = yes; then
28561 cat >>confdefs.h
<<_ACEOF
28562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28569 if test "$WCSLEN_FOUND" = 0; then
28570 if test "$TOOLKIT" = "MSW"; then
28571 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28572 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28573 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28576 ac_check_lib_save_LIBS
=$LIBS
28577 LIBS
="-lmsvcrt $LIBS"
28578 cat >conftest.
$ac_ext <<_ACEOF
28581 cat confdefs.h
>>conftest.
$ac_ext
28582 cat >>conftest.
$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28585 /* Override any gcc2 internal prototype to avoid an error. */
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28600 rm -f conftest.
$ac_objext conftest
$ac_exeext
28601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28602 (eval $ac_link) 2>conftest.er1
28604 grep -v '^ *+' conftest.er1
>conftest.err
28606 cat conftest.err
>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } &&
28609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try
='test -s conftest$ac_exeext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_lib_msvcrt_wcslen
=yes
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.
$ac_ext >&5
28626 ac_cv_lib_msvcrt_wcslen
=no
28628 rm -f conftest.err conftest.
$ac_objext \
28629 conftest
$ac_exeext conftest.
$ac_ext
28630 LIBS
=$ac_check_lib_save_LIBS
28632 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28633 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28634 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28639 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28640 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28641 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 ac_check_lib_save_LIBS
=$LIBS
28646 cat >conftest.
$ac_ext <<_ACEOF
28649 cat confdefs.h
>>conftest.
$ac_ext
28650 cat >>conftest.
$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28653 /* Override any gcc2 internal prototype to avoid an error. */
28657 /* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28668 rm -f conftest.
$ac_objext conftest
$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_w_wcslen
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_w_wcslen
=no
28696 rm -f conftest.err conftest.
$ac_objext \
28697 conftest
$ac_exeext conftest.
$ac_ext
28698 LIBS
=$ac_check_lib_save_LIBS
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28701 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28702 if test $ac_cv_lib_w_wcslen = yes; then
28712 if test "$WCSLEN_FOUND" = 1; then
28713 cat >>confdefs.h
<<\_ACEOF
28714 #define HAVE_WCSLEN 1
28719 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28720 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28724 for ac_func
in wcsrtombs
28726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28727 echo "$as_me:$LINENO: checking for $ac_func" >&5
28728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28729 if eval "test \"\${$as_ac_var+set}\" = set"; then
28730 echo $ECHO_N "(cached) $ECHO_C" >&6
28732 cat >conftest.
$ac_ext <<_ACEOF
28735 cat confdefs.h
>>conftest.
$ac_ext
28736 cat >>conftest.
$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28740 #define $ac_func innocuous_$ac_func
28742 /* System header to define __stub macros and hopefully few prototypes,
28743 which can conflict with char $ac_func (); below.
28744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28745 <limits.h> exists even on freestanding compilers. */
28748 # include <limits.h>
28750 # include <assert.h>
28755 /* Override any gcc2 internal prototype to avoid an error. */
28760 /* We use char because int might match the return type of a gcc2
28761 builtin and then its argument prototype would still apply. */
28763 /* The GNU C library defines this for functions which it implements
28764 to always fail with ENOSYS. Some functions are actually named
28765 something starting with __ and the normal name is an alias. */
28766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28769 char (*f) () = $ac_func;
28778 return f != $ac_func;
28783 rm -f conftest.
$ac_objext conftest
$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>conftest.er1
28787 grep -v '^ *+' conftest.er1
>conftest.err
28789 cat conftest.err
>&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest$ac_exeext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 eval "$as_ac_var=yes"
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 eval "$as_ac_var=no"
28811 rm -f conftest.err conftest.
$ac_objext \
28812 conftest
$ac_exeext conftest.
$ac_ext
28814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28816 if test `eval echo '${'$as_ac_var'}'` = yes; then
28817 cat >>confdefs.h
<<_ACEOF
28818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28825 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28826 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28832 ac_cpp
='$CXXCPP $CPPFLAGS'
28833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28839 for ac_func
in vsnprintf
28841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28842 echo "$as_me:$LINENO: checking for $ac_func" >&5
28843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28844 if eval "test \"\${$as_ac_var+set}\" = set"; then
28845 echo $ECHO_N "(cached) $ECHO_C" >&6
28847 cat >conftest.
$ac_ext <<_ACEOF
28850 cat confdefs.h
>>conftest.
$ac_ext
28851 cat >>conftest.
$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28855 #define $ac_func innocuous_$ac_func
28857 /* System header to define __stub macros and hopefully few prototypes,
28858 which can conflict with char $ac_func (); below.
28859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28860 <limits.h> exists even on freestanding compilers. */
28863 # include <limits.h>
28865 # include <assert.h>
28870 /* Override any gcc2 internal prototype to avoid an error. */
28875 /* We use char because int might match the return type of a gcc2
28876 builtin and then its argument prototype would still apply. */
28878 /* The GNU C library defines this for functions which it implements
28879 to always fail with ENOSYS. Some functions are actually named
28880 something starting with __ and the normal name is an alias. */
28881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28884 char (*f) () = $ac_func;
28893 return f != $ac_func;
28898 rm -f conftest.
$ac_objext conftest
$ac_exeext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28900 (eval $ac_link) 2>conftest.er1
28902 grep -v '^ *+' conftest.er1
>conftest.err
28904 cat conftest.err
>&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } &&
28907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 (eval $ac_try) 2>&5
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); }; } &&
28913 { ac_try
='test -s conftest$ac_exeext'
28914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28915 (eval $ac_try) 2>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); }; }; then
28919 eval "$as_ac_var=yes"
28921 echo "$as_me: failed program was:" >&5
28922 sed 's/^/| /' conftest.
$ac_ext >&5
28924 eval "$as_ac_var=no"
28926 rm -f conftest.err conftest.
$ac_objext \
28927 conftest
$ac_exeext conftest.
$ac_ext
28929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28931 if test `eval echo '${'$as_ac_var'}'` = yes; then
28932 cat >>confdefs.h
<<_ACEOF
28933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28940 if test "$ac_cv_func_vsnprintf" = "yes"; then
28941 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28942 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28943 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 cat >conftest.
$ac_ext <<_ACEOF
28950 cat confdefs.h
>>conftest.
$ac_ext
28951 cat >>conftest.
$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28955 #include <stdarg.h>
28963 vsnprintf(buf, 10u, "%s", ap);
28969 rm -f conftest.
$ac_objext
28970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28971 (eval $ac_compile) 2>conftest.er1
28973 grep -v '^ *+' conftest.er1
>conftest.err
28975 cat conftest.err
>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } &&
28978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; } &&
28984 { ac_try
='test -s conftest.$ac_objext'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 wx_cv_func_vsnprintf_decl
=yes
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.
$ac_ext >&5
28995 wx_cv_func_vsnprintf_decl
=no
28998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29002 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29003 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29005 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29006 cat >>confdefs.h
<<\_ACEOF
29007 #define HAVE_VSNPRINTF_DECL 1
29013 if test "$wxUSE_UNICODE" = yes; then
29020 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29028 cat >conftest.
$ac_ext <<_ACEOF
29031 cat confdefs.h
>>conftest.
$ac_ext
29032 cat >>conftest.
$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29036 #define $ac_func innocuous_$ac_func
29038 /* System header to define __stub macros and hopefully few prototypes,
29039 which can conflict with char $ac_func (); below.
29040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29041 <limits.h> exists even on freestanding compilers. */
29044 # include <limits.h>
29046 # include <assert.h>
29051 /* Override any gcc2 internal prototype to avoid an error. */
29056 /* We use char because int might match the return type of a gcc2
29057 builtin and then its argument prototype would still apply. */
29059 /* The GNU C library defines this for functions which it implements
29060 to always fail with ENOSYS. Some functions are actually named
29061 something starting with __ and the normal name is an alias. */
29062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29065 char (*f) () = $ac_func;
29074 return f != $ac_func;
29079 rm -f conftest.
$ac_objext conftest
$ac_exeext
29080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29081 (eval $ac_link) 2>conftest.er1
29083 grep -v '^ *+' conftest.er1
>conftest.err
29085 cat conftest.err
>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; } &&
29094 { ac_try
='test -s conftest$ac_exeext'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; }; then
29100 eval "$as_ac_var=yes"
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.
$ac_ext >&5
29105 eval "$as_ac_var=no"
29107 rm -f conftest.err conftest.
$ac_objext \
29108 conftest
$ac_exeext conftest.
$ac_ext
29110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29112 if test `eval echo '${'$as_ac_var'}'` = yes; then
29113 cat >>confdefs.h
<<_ACEOF
29114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29121 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29122 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29123 cat >conftest.
$ac_ext <<_ACEOF
29126 cat confdefs.h
>>conftest.
$ac_ext
29127 cat >>conftest.
$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29138 rm -f conftest.
$ac_objext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29140 (eval $ac_compile) 2>conftest.er1
29142 grep -v '^ *+' conftest.er1
>conftest.err
29144 cat conftest.err
>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try
='test -s conftest.$ac_objext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 echo "$as_me:$LINENO: result: yes" >&5
29160 echo "${ECHO_T}yes" >&6
29161 cat >>confdefs.h
<<\_ACEOF
29162 #define HAVE__VSNWPRINTF 1
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.
$ac_ext >&5
29169 echo "$as_me:$LINENO: result: no" >&5
29170 echo "${ECHO_T}no" >&6
29172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29176 ac_cpp
='$CPP $CPPFLAGS'
29177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29184 if test "$TOOLKIT" != "MSW"; then
29190 ac_cpp
='$CXXCPP $CPPFLAGS'
29191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29198 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29199 if test "${with_libiconv_prefix+set}" = set; then
29200 withval
="$with_libiconv_prefix"
29202 for dir
in `echo "$withval" | tr : ' '`; do
29203 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29204 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29209 echo "$as_me:$LINENO: checking for iconv" >&5
29210 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29211 if test "${am_cv_func_iconv+set}" = set; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29215 am_cv_func_iconv
="no, consider installing GNU libiconv"
29217 cat >conftest.
$ac_ext <<_ACEOF
29220 cat confdefs.h
>>conftest.
$ac_ext
29221 cat >>conftest.
$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223 #include <stdlib.h>
29228 iconv_t cd = iconv_open("","");
29229 iconv(cd,NULL,NULL,NULL,NULL);
29235 rm -f conftest.
$ac_objext conftest
$ac_exeext
29236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29237 (eval $ac_link) 2>conftest.er1
29239 grep -v '^ *+' conftest.er1
>conftest.err
29241 cat conftest.err
>&5
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); } &&
29244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try
='test -s conftest$ac_exeext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 am_cv_func_iconv
=yes
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.
$ac_ext >&5
29262 rm -f conftest.err conftest.
$ac_objext \
29263 conftest
$ac_exeext conftest.
$ac_ext
29264 if test "$am_cv_func_iconv" != yes; then
29265 am_save_LIBS
="$LIBS"
29266 LIBS
="$LIBS -liconv"
29267 cat >conftest.
$ac_ext <<_ACEOF
29270 cat confdefs.h
>>conftest.
$ac_ext
29271 cat >>conftest.
$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273 #include <stdlib.h>
29278 iconv_t cd = iconv_open("","");
29279 iconv(cd,NULL,NULL,NULL,NULL);
29285 rm -f conftest.
$ac_objext conftest
$ac_exeext
29286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29287 (eval $ac_link) 2>conftest.er1
29289 grep -v '^ *+' conftest.er1
>conftest.err
29291 cat conftest.err
>&5
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); } &&
29294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try
='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 am_cv_lib_iconv
=yes
29307 am_cv_func_iconv
=yes
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.
$ac_ext >&5
29313 rm -f conftest.err conftest.
$ac_objext \
29314 conftest
$ac_exeext conftest.
$ac_ext
29315 LIBS
="$am_save_LIBS"
29319 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29320 echo "${ECHO_T}$am_cv_func_iconv" >&6
29321 if test "$am_cv_func_iconv" = yes; then
29323 cat >>confdefs.h
<<\_ACEOF
29324 #define HAVE_ICONV 1
29327 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29328 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29329 if test "${wx_cv_func_iconv_const+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 cat >conftest.
$ac_ext <<_ACEOF
29335 cat confdefs.h
>>conftest.
$ac_ext
29336 cat >>conftest.
$ac_ext <<_ACEOF
29337 /* end confdefs.h. */
29339 #include <stdlib.h>
29345 #if defined(__STDC__) || defined(__cplusplus)
29346 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29359 rm -f conftest.
$ac_objext
29360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29361 (eval $ac_compile) 2>conftest.er1
29363 grep -v '^ *+' conftest.er1
>conftest.err
29365 cat conftest.err
>&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } &&
29368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; } &&
29374 { ac_try
='test -s conftest.$ac_objext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 wx_cv_func_iconv_const
="no"
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.
$ac_ext >&5
29385 wx_cv_func_iconv_const
="yes"
29388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29391 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29392 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29395 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29396 iconv_const
="const"
29400 cat >>confdefs.h
<<_ACEOF
29401 #define ICONV_CONST $iconv_const
29406 if test "$am_cv_lib_iconv" = yes; then
29411 LIBS
="$LIBICONV $LIBS"
29413 ac_cpp
='$CPP $CPPFLAGS'
29414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29419 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29421 for ac_func
in sigaction
29423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29424 echo "$as_me:$LINENO: checking for $ac_func" >&5
29425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29426 if eval "test \"\${$as_ac_var+set}\" = set"; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 cat >conftest.
$ac_ext <<_ACEOF
29432 cat confdefs.h
>>conftest.
$ac_ext
29433 cat >>conftest.
$ac_ext <<_ACEOF
29434 /* end confdefs.h. */
29435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29437 #define $ac_func innocuous_$ac_func
29439 /* System header to define __stub macros and hopefully few prototypes,
29440 which can conflict with char $ac_func (); below.
29441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29442 <limits.h> exists even on freestanding compilers. */
29445 # include <limits.h>
29447 # include <assert.h>
29452 /* Override any gcc2 internal prototype to avoid an error. */
29457 /* We use char because int might match the return type of a gcc2
29458 builtin and then its argument prototype would still apply. */
29460 /* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29466 char (*f) () = $ac_func;
29475 return f != $ac_func;
29480 rm -f conftest.
$ac_objext conftest
$ac_exeext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>conftest.er1
29484 grep -v '^ *+' conftest.er1
>conftest.err
29486 cat conftest.err
>&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } &&
29489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; } &&
29495 { ac_try
='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 eval "$as_ac_var=yes"
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.
$ac_ext >&5
29506 eval "$as_ac_var=no"
29508 rm -f conftest.err conftest.
$ac_objext \
29509 conftest
$ac_exeext conftest.
$ac_ext
29511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29513 if test `eval echo '${'$as_ac_var'}'` = yes; then
29514 cat >>confdefs.h
<<_ACEOF
29515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29522 if test "$ac_cv_func_sigaction" = "no"; then
29523 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29524 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29525 wxUSE_ON_FATAL_EXCEPTION
=no
29528 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29532 ac_cpp
='$CXXCPP $CPPFLAGS'
29533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29538 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29539 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29540 if test "${wx_cv_type_sa_handler+set}" = set; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 cat >conftest.
$ac_ext <<_ACEOF
29547 cat confdefs.h
>>conftest.
$ac_ext
29548 cat >>conftest.
$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29550 #include <signal.h>
29555 extern void testSigHandler(int);
29557 struct sigaction sa;
29558 sa.sa_handler = testSigHandler;
29564 rm -f conftest.
$ac_objext
29565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29566 (eval $ac_compile) 2>conftest.er1
29568 grep -v '^ *+' conftest.er1
>conftest.err
29570 cat conftest.err
>&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; } &&
29579 { ac_try
='test -s conftest.$ac_objext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29586 wx_cv_type_sa_handler
=int
29589 echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.
$ac_ext >&5
29593 wx_cv_type_sa_handler
=void
29596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29599 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29600 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29603 ac_cpp
='$CPP $CPPFLAGS'
29604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29609 cat >>confdefs.h
<<_ACEOF
29610 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29618 for ac_func
in mkstemp mktemp
29620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29621 echo "$as_me:$LINENO: checking for $ac_func" >&5
29622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29623 if eval "test \"\${$as_ac_var+set}\" = set"; then
29624 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 cat >conftest.
$ac_ext <<_ACEOF
29629 cat confdefs.h
>>conftest.
$ac_ext
29630 cat >>conftest.
$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29634 #define $ac_func innocuous_$ac_func
29636 /* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char $ac_func (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29642 # include <limits.h>
29644 # include <assert.h>
29649 /* Override any gcc2 internal prototype to avoid an error. */
29654 /* We use char because int might match the return type of a gcc2
29655 builtin and then its argument prototype would still apply. */
29657 /* The GNU C library defines this for functions which it implements
29658 to always fail with ENOSYS. Some functions are actually named
29659 something starting with __ and the normal name is an alias. */
29660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29663 char (*f) () = $ac_func;
29672 return f != $ac_func;
29677 rm -f conftest.
$ac_objext conftest
$ac_exeext
29678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29679 (eval $ac_link) 2>conftest.er1
29681 grep -v '^ *+' conftest.er1
>conftest.err
29683 cat conftest.err
>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } &&
29686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; } &&
29692 { ac_try
='test -s conftest$ac_exeext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29698 eval "$as_ac_var=yes"
29700 echo "$as_me: failed program was:" >&5
29701 sed 's/^/| /' conftest.
$ac_ext >&5
29703 eval "$as_ac_var=no"
29705 rm -f conftest.err conftest.
$ac_objext \
29706 conftest
$ac_exeext conftest.
$ac_ext
29708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29710 if test `eval echo '${'$as_ac_var'}'` = yes; then
29711 cat >>confdefs.h
<<_ACEOF
29712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29719 echo "$as_me:$LINENO: checking for statfs" >&5
29720 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29721 if test "${wx_cv_func_statfs+set}" = set; then
29722 echo $ECHO_N "(cached) $ECHO_C" >&6
29724 cat >conftest.
$ac_ext <<_ACEOF
29727 cat confdefs.h
>>conftest.
$ac_ext
29728 cat >>conftest.
$ac_ext <<_ACEOF
29729 /* end confdefs.h. */
29731 #if defined(__BSD__)
29732 #include <sys/param.h>
29733 #include <sys/mount.h>
29735 #include <sys/vfs.h>
29753 rm -f conftest.
$ac_objext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29755 (eval $ac_compile) 2>conftest.er1
29757 grep -v '^ *+' conftest.er1
>conftest.err
29759 cat conftest.err
>&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try
='test -s conftest.$ac_objext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29775 wx_cv_func_statfs
=yes
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.
$ac_ext >&5
29782 wx_cv_func_statfs
=no
29786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29789 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29790 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29792 if test "$wx_cv_func_statfs" = "yes"; then
29793 wx_cv_type_statvfs_t
="struct statfs"
29794 cat >>confdefs.h
<<\_ACEOF
29795 #define HAVE_STATFS 1
29799 echo "$as_me:$LINENO: checking for statvfs" >&5
29800 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29801 if test "${wx_cv_func_statvfs+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 cat >conftest.
$ac_ext <<_ACEOF
29807 cat confdefs.h
>>conftest.
$ac_ext
29808 cat >>conftest.
$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 #include <stddef.h>
29812 #include <sys/statvfs.h>
29818 statvfs("/", NULL);
29824 rm -f conftest.
$ac_objext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29826 (eval $ac_compile) 2>conftest.er1
29828 grep -v '^ *+' conftest.er1
>conftest.err
29830 cat conftest.err
>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
29833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try
='test -s conftest.$ac_objext'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 wx_cv_func_statvfs
=yes
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29850 wx_cv_func_statvfs
=no
29853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29856 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29857 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29859 if test "$wx_cv_func_statvfs" = "yes"; then
29863 ac_cpp
='$CXXCPP $CPPFLAGS'
29864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29869 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29870 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29871 if test "${wx_cv_type_statvfs_t+set}" = set; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 cat >conftest.
$ac_ext <<_ACEOF
29877 cat confdefs.h
>>conftest.
$ac_ext
29878 cat >>conftest.
$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29881 #include <sys/statvfs.h>
29898 rm -f conftest.
$ac_objext
29899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29900 (eval $ac_compile) 2>conftest.er1
29902 grep -v '^ *+' conftest.er1
>conftest.err
29904 cat conftest.err
>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } &&
29907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try
='test -s conftest.$ac_objext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 wx_cv_type_statvfs_t
=statvfs_t
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.
$ac_ext >&5
29925 cat >conftest.
$ac_ext <<_ACEOF
29928 cat confdefs.h
>>conftest.
$ac_ext
29929 cat >>conftest.
$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29932 #include <sys/statvfs.h>
29949 rm -f conftest.
$ac_objext
29950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29951 (eval $ac_compile) 2>conftest.er1
29953 grep -v '^ *+' conftest.er1
>conftest.err
29955 cat conftest.err
>&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } &&
29958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; } &&
29964 { ac_try
='test -s conftest.$ac_objext'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; }; then
29970 wx_cv_type_statvfs_t
="struct statvfs"
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.
$ac_ext >&5
29975 wx_cv_type_statvfs_t
="unknown"
29978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29985 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29986 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29989 ac_cpp
='$CPP $CPPFLAGS'
29990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29995 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29996 cat >>confdefs.h
<<\_ACEOF
29997 #define HAVE_STATVFS 1
30002 wx_cv_type_statvfs_t
="unknown"
30006 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30007 cat >>confdefs.h
<<_ACEOF
30008 #define WX_STATFS_T $wx_cv_type_statvfs_t
30012 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30013 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30016 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30019 for ac_func
in fcntl flock
30021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30022 echo "$as_me:$LINENO: checking for $ac_func" >&5
30023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30024 if eval "test \"\${$as_ac_var+set}\" = set"; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 cat >conftest.
$ac_ext <<_ACEOF
30030 cat confdefs.h
>>conftest.
$ac_ext
30031 cat >>conftest.
$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30035 #define $ac_func innocuous_$ac_func
30037 /* System header to define __stub macros and hopefully few prototypes,
30038 which can conflict with char $ac_func (); below.
30039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30040 <limits.h> exists even on freestanding compilers. */
30043 # include <limits.h>
30045 # include <assert.h>
30050 /* Override any gcc2 internal prototype to avoid an error. */
30055 /* We use char because int might match the return type of a gcc2
30056 builtin and then its argument prototype would still apply. */
30058 /* The GNU C library defines this for functions which it implements
30059 to always fail with ENOSYS. Some functions are actually named
30060 something starting with __ and the normal name is an alias. */
30061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30064 char (*f) () = $ac_func;
30073 return f != $ac_func;
30078 rm -f conftest.
$ac_objext conftest
$ac_exeext
30079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30080 (eval $ac_link) 2>conftest.er1
30082 grep -v '^ *+' conftest.er1
>conftest.err
30084 cat conftest.err
>&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try
='test -s conftest$ac_exeext'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30099 eval "$as_ac_var=yes"
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.
$ac_ext >&5
30104 eval "$as_ac_var=no"
30106 rm -f conftest.err conftest.
$ac_objext \
30107 conftest
$ac_exeext conftest.
$ac_ext
30109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30111 if test `eval echo '${'$as_ac_var'}'` = yes; then
30112 cat >>confdefs.h
<<_ACEOF
30113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30120 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30121 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30122 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30123 wxUSE_SNGLINST_CHECKER
=no
30128 for ac_func
in timegm
30130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30131 echo "$as_me:$LINENO: checking for $ac_func" >&5
30132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30133 if eval "test \"\${$as_ac_var+set}\" = set"; then
30134 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 cat >conftest.
$ac_ext <<_ACEOF
30139 cat confdefs.h
>>conftest.
$ac_ext
30140 cat >>conftest.
$ac_ext <<_ACEOF
30141 /* end confdefs.h. */
30142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30144 #define $ac_func innocuous_$ac_func
30146 /* System header to define __stub macros and hopefully few prototypes,
30147 which can conflict with char $ac_func (); below.
30148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30149 <limits.h> exists even on freestanding compilers. */
30152 # include <limits.h>
30154 # include <assert.h>
30159 /* Override any gcc2 internal prototype to avoid an error. */
30164 /* We use char because int might match the return type of a gcc2
30165 builtin and then its argument prototype would still apply. */
30167 /* The GNU C library defines this for functions which it implements
30168 to always fail with ENOSYS. Some functions are actually named
30169 something starting with __ and the normal name is an alias. */
30170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30173 char (*f) () = $ac_func;
30182 return f != $ac_func;
30187 rm -f conftest.
$ac_objext conftest
$ac_exeext
30188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30189 (eval $ac_link) 2>conftest.er1
30191 grep -v '^ *+' conftest.er1
>conftest.err
30193 cat conftest.err
>&5
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); } &&
30196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; } &&
30202 { ac_try
='test -s conftest$ac_exeext'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; }; then
30208 eval "$as_ac_var=yes"
30210 echo "$as_me: failed program was:" >&5
30211 sed 's/^/| /' conftest.
$ac_ext >&5
30213 eval "$as_ac_var=no"
30215 rm -f conftest.err conftest.
$ac_objext \
30216 conftest
$ac_exeext conftest.
$ac_ext
30218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30220 if test `eval echo '${'$as_ac_var'}'` = yes; then
30221 cat >>confdefs.h
<<_ACEOF
30222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30231 for ac_func
in putenv setenv
30233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30234 echo "$as_me:$LINENO: checking for $ac_func" >&5
30235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30236 if eval "test \"\${$as_ac_var+set}\" = set"; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 cat >conftest.
$ac_ext <<_ACEOF
30242 cat confdefs.h
>>conftest.
$ac_ext
30243 cat >>conftest.
$ac_ext <<_ACEOF
30244 /* end confdefs.h. */
30245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30247 #define $ac_func innocuous_$ac_func
30249 /* System header to define __stub macros and hopefully few prototypes,
30250 which can conflict with char $ac_func (); below.
30251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30252 <limits.h> exists even on freestanding compilers. */
30255 # include <limits.h>
30257 # include <assert.h>
30262 /* Override any gcc2 internal prototype to avoid an error. */
30267 /* We use char because int might match the return type of a gcc2
30268 builtin and then its argument prototype would still apply. */
30270 /* The GNU C library defines this for functions which it implements
30271 to always fail with ENOSYS. Some functions are actually named
30272 something starting with __ and the normal name is an alias. */
30273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30276 char (*f) () = $ac_func;
30285 return f != $ac_func;
30290 rm -f conftest.
$ac_objext conftest
$ac_exeext
30291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30292 (eval $ac_link) 2>conftest.er1
30294 grep -v '^ *+' conftest.er1
>conftest.err
30296 cat conftest.err
>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); } &&
30299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; } &&
30305 { ac_try
='test -s conftest$ac_exeext'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; }; then
30311 eval "$as_ac_var=yes"
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.
$ac_ext >&5
30316 eval "$as_ac_var=no"
30318 rm -f conftest.err conftest.
$ac_objext \
30319 conftest
$ac_exeext conftest.
$ac_ext
30321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30323 if test `eval echo '${'$as_ac_var'}'` = yes; then
30324 cat >>confdefs.h
<<_ACEOF
30325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30332 HAVE_SOME_SLEEP_FUNC
=0
30333 if test "$USE_BEOS" = 1; then
30334 cat >>confdefs.h
<<\_ACEOF
30335 #define HAVE_SLEEP 1
30338 HAVE_SOME_SLEEP_FUNC
=1
30341 if test "$USE_DARWIN" = 1; then
30342 cat >>confdefs.h
<<\_ACEOF
30343 #define HAVE_USLEEP 1
30346 HAVE_SOME_SLEEP_FUNC
=1
30349 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30352 for ac_func
in nanosleep
30354 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30355 echo "$as_me:$LINENO: checking for $ac_func" >&5
30356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30357 if eval "test \"\${$as_ac_var+set}\" = set"; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 cat >conftest.
$ac_ext <<_ACEOF
30363 cat confdefs.h
>>conftest.
$ac_ext
30364 cat >>conftest.
$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30368 #define $ac_func innocuous_$ac_func
30370 /* System header to define __stub macros and hopefully few prototypes,
30371 which can conflict with char $ac_func (); below.
30372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30373 <limits.h> exists even on freestanding compilers. */
30376 # include <limits.h>
30378 # include <assert.h>
30383 /* Override any gcc2 internal prototype to avoid an error. */
30388 /* We use char because int might match the return type of a gcc2
30389 builtin and then its argument prototype would still apply. */
30391 /* The GNU C library defines this for functions which it implements
30392 to always fail with ENOSYS. Some functions are actually named
30393 something starting with __ and the normal name is an alias. */
30394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30397 char (*f) () = $ac_func;
30406 return f != $ac_func;
30411 rm -f conftest.
$ac_objext conftest
$ac_exeext
30412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30413 (eval $ac_link) 2>conftest.er1
30415 grep -v '^ *+' conftest.er1
>conftest.err
30417 cat conftest.err
>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
30420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30422 (eval $ac_try) 2>&5
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; } &&
30426 { ac_try
='test -s conftest$ac_exeext'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30432 eval "$as_ac_var=yes"
30434 echo "$as_me: failed program was:" >&5
30435 sed 's/^/| /' conftest.
$ac_ext >&5
30437 eval "$as_ac_var=no"
30439 rm -f conftest.err conftest.
$ac_objext \
30440 conftest
$ac_exeext conftest.
$ac_ext
30442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30444 if test `eval echo '${'$as_ac_var'}'` = yes; then
30445 cat >>confdefs.h
<<_ACEOF
30446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30448 cat >>confdefs.h
<<\_ACEOF
30449 #define HAVE_NANOSLEEP 1
30454 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30455 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30456 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 ac_check_lib_save_LIBS
=$LIBS
30460 LIBS
="-lposix4 $LIBS"
30461 cat >conftest.
$ac_ext <<_ACEOF
30464 cat confdefs.h
>>conftest.
$ac_ext
30465 cat >>conftest.
$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30468 /* Override any gcc2 internal prototype to avoid an error. */
30472 /* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30483 rm -f conftest.
$ac_objext conftest
$ac_exeext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30485 (eval $ac_link) 2>conftest.er1
30487 grep -v '^ *+' conftest.er1
>conftest.err
30489 cat conftest.err
>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
30492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try
='test -s conftest$ac_exeext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_posix4_nanosleep
=yes
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.
$ac_ext >&5
30509 ac_cv_lib_posix4_nanosleep
=no
30511 rm -f conftest.err conftest.
$ac_objext \
30512 conftest
$ac_exeext conftest.
$ac_ext
30513 LIBS
=$ac_check_lib_save_LIBS
30515 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30516 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30517 if test $ac_cv_lib_posix4_nanosleep = yes; then
30519 cat >>confdefs.h
<<\_ACEOF
30520 #define HAVE_NANOSLEEP 1
30523 POSIX4_LINK
=" -lposix4"
30528 for ac_func
in usleep
30530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30531 echo "$as_me:$LINENO: checking for $ac_func" >&5
30532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30533 if eval "test \"\${$as_ac_var+set}\" = set"; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 cat >conftest.
$ac_ext <<_ACEOF
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544 #define $ac_func innocuous_$ac_func
30546 /* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char $ac_func (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
30552 # include <limits.h>
30554 # include <assert.h>
30559 /* Override any gcc2 internal prototype to avoid an error. */
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30573 char (*f) () = $ac_func;
30582 return f != $ac_func;
30587 rm -f conftest.
$ac_objext conftest
$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30591 grep -v '^ *+' conftest.er1
>conftest.err
30593 cat conftest.err
>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try
='test -s conftest$ac_exeext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 eval "$as_ac_var=yes"
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.
$ac_ext >&5
30613 eval "$as_ac_var=no"
30615 rm -f conftest.err conftest.
$ac_objext \
30616 conftest
$ac_exeext conftest.
$ac_ext
30618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30620 if test `eval echo '${'$as_ac_var'}'` = yes; then
30621 cat >>confdefs.h
<<_ACEOF
30622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30624 cat >>confdefs.h
<<\_ACEOF
30625 #define HAVE_USLEEP 1
30629 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30630 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30648 for ac_func
in uname gethostname
30650 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30651 echo "$as_me:$LINENO: checking for $ac_func" >&5
30652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30653 if eval "test \"\${$as_ac_var+set}\" = set"; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 cat >conftest.
$ac_ext <<_ACEOF
30659 cat confdefs.h
>>conftest.
$ac_ext
30660 cat >>conftest.
$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30664 #define $ac_func innocuous_$ac_func
30666 /* System header to define __stub macros and hopefully few prototypes,
30667 which can conflict with char $ac_func (); below.
30668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30669 <limits.h> exists even on freestanding compilers. */
30672 # include <limits.h>
30674 # include <assert.h>
30679 /* Override any gcc2 internal prototype to avoid an error. */
30684 /* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30687 /* The GNU C library defines this for functions which it implements
30688 to always fail with ENOSYS. Some functions are actually named
30689 something starting with __ and the normal name is an alias. */
30690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30693 char (*f) () = $ac_func;
30702 return f != $ac_func;
30707 rm -f conftest.
$ac_objext conftest
$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>conftest.er1
30711 grep -v '^ *+' conftest.er1
>conftest.err
30713 cat conftest.err
>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
30716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; } &&
30722 { ac_try
='test -s conftest$ac_exeext'
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 eval "$as_ac_var=yes"
30730 echo "$as_me: failed program was:" >&5
30731 sed 's/^/| /' conftest.
$ac_ext >&5
30733 eval "$as_ac_var=no"
30735 rm -f conftest.err conftest.
$ac_objext \
30736 conftest
$ac_exeext conftest.
$ac_ext
30738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30740 if test `eval echo '${'$as_ac_var'}'` = yes; then
30741 cat >>confdefs.h
<<_ACEOF
30742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30752 ac_cpp
='$CXXCPP $CPPFLAGS'
30753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30759 for ac_func
in strtok_r
30761 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30762 echo "$as_me:$LINENO: checking for $ac_func" >&5
30763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30764 if eval "test \"\${$as_ac_var+set}\" = set"; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 cat >conftest.
$ac_ext <<_ACEOF
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30775 #define $ac_func innocuous_$ac_func
30777 /* System header to define __stub macros and hopefully few prototypes,
30778 which can conflict with char $ac_func (); below.
30779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30780 <limits.h> exists even on freestanding compilers. */
30783 # include <limits.h>
30785 # include <assert.h>
30790 /* Override any gcc2 internal prototype to avoid an error. */
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30798 /* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30804 char (*f) () = $ac_func;
30813 return f != $ac_func;
30818 rm -f conftest.
$ac_objext conftest
$ac_exeext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30820 (eval $ac_link) 2>conftest.er1
30822 grep -v '^ *+' conftest.er1
>conftest.err
30824 cat conftest.err
>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
30827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; } &&
30833 { ac_try
='test -s conftest$ac_exeext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 eval "$as_ac_var=yes"
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.
$ac_ext >&5
30844 eval "$as_ac_var=no"
30846 rm -f conftest.err conftest.
$ac_objext \
30847 conftest
$ac_exeext conftest.
$ac_ext
30849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30851 if test `eval echo '${'$as_ac_var'}'` = yes; then
30852 cat >>confdefs.h
<<_ACEOF
30853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30861 ac_cpp
='$CPP $CPPFLAGS'
30862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30869 for ac_func
in inet_addr
30871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30872 echo "$as_me:$LINENO: checking for $ac_func" >&5
30873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30874 if eval "test \"\${$as_ac_var+set}\" = set"; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 cat >conftest.
$ac_ext <<_ACEOF
30880 cat confdefs.h
>>conftest.
$ac_ext
30881 cat >>conftest.
$ac_ext <<_ACEOF
30882 /* end confdefs.h. */
30883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30885 #define $ac_func innocuous_$ac_func
30887 /* System header to define __stub macros and hopefully few prototypes,
30888 which can conflict with char $ac_func (); below.
30889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30890 <limits.h> exists even on freestanding compilers. */
30893 # include <limits.h>
30895 # include <assert.h>
30900 /* Override any gcc2 internal prototype to avoid an error. */
30905 /* We use char because int might match the return type of a gcc2
30906 builtin and then its argument prototype would still apply. */
30908 /* The GNU C library defines this for functions which it implements
30909 to always fail with ENOSYS. Some functions are actually named
30910 something starting with __ and the normal name is an alias. */
30911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30914 char (*f) () = $ac_func;
30923 return f != $ac_func;
30928 rm -f conftest.
$ac_objext conftest
$ac_exeext
30929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30930 (eval $ac_link) 2>conftest.er1
30932 grep -v '^ *+' conftest.er1
>conftest.err
30934 cat conftest.err
>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try
='test -s conftest$ac_exeext'
30944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945 (eval $ac_try) 2>&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); }; }; then
30949 eval "$as_ac_var=yes"
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.
$ac_ext >&5
30954 eval "$as_ac_var=no"
30956 rm -f conftest.err conftest.
$ac_objext \
30957 conftest
$ac_exeext conftest.
$ac_ext
30959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30961 if test `eval echo '${'$as_ac_var'}'` = yes; then
30962 cat >>confdefs.h
<<_ACEOF
30963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30965 cat >>confdefs.h
<<\_ACEOF
30966 #define HAVE_INET_ADDR 1
30971 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30972 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30973 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30976 ac_check_lib_save_LIBS
=$LIBS
30978 cat >conftest.
$ac_ext <<_ACEOF
30981 cat confdefs.h
>>conftest.
$ac_ext
30982 cat >>conftest.
$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30985 /* Override any gcc2 internal prototype to avoid an error. */
30989 /* We use char because int might match the return type of a gcc2
30990 builtin and then its argument prototype would still apply. */
31000 rm -f conftest.
$ac_objext conftest
$ac_exeext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31002 (eval $ac_link) 2>conftest.er1
31004 grep -v '^ *+' conftest.er1
>conftest.err
31006 cat conftest.err
>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
31009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } &&
31015 { ac_try
='test -s conftest$ac_exeext'
31016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017 (eval $ac_try) 2>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31021 ac_cv_lib_nsl_inet_addr
=yes
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.
$ac_ext >&5
31026 ac_cv_lib_nsl_inet_addr
=no
31028 rm -f conftest.err conftest.
$ac_objext \
31029 conftest
$ac_exeext conftest.
$ac_ext
31030 LIBS
=$ac_check_lib_save_LIBS
31032 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31033 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31034 if test $ac_cv_lib_nsl_inet_addr = yes; then
31038 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31039 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31040 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31041 echo $ECHO_N "(cached) $ECHO_C" >&6
31043 ac_check_lib_save_LIBS
=$LIBS
31044 LIBS
="-lresolv $LIBS"
31045 cat >conftest.
$ac_ext <<_ACEOF
31048 cat confdefs.h
>>conftest.
$ac_ext
31049 cat >>conftest.
$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31052 /* Override any gcc2 internal prototype to avoid an error. */
31056 /* We use char because int might match the return type of a gcc2
31057 builtin and then its argument prototype would still apply. */
31067 rm -f conftest.
$ac_objext conftest
$ac_exeext
31068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31069 (eval $ac_link) 2>conftest.er1
31071 grep -v '^ *+' conftest.er1
>conftest.err
31073 cat conftest.err
>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); } &&
31076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; } &&
31082 { ac_try
='test -s conftest$ac_exeext'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; }; then
31088 ac_cv_lib_resolv_inet_addr
=yes
31090 echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.
$ac_ext >&5
31093 ac_cv_lib_resolv_inet_addr
=no
31095 rm -f conftest.err conftest.
$ac_objext \
31096 conftest
$ac_exeext conftest.
$ac_ext
31097 LIBS
=$ac_check_lib_save_LIBS
31099 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31100 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31101 if test $ac_cv_lib_resolv_inet_addr = yes; then
31105 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31106 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31107 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31108 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 ac_check_lib_save_LIBS
=$LIBS
31111 LIBS
="-lsocket $LIBS"
31112 cat >conftest.
$ac_ext <<_ACEOF
31115 cat confdefs.h
>>conftest.
$ac_ext
31116 cat >>conftest.
$ac_ext <<_ACEOF
31117 /* end confdefs.h. */
31119 /* Override any gcc2 internal prototype to avoid an error. */
31123 /* We use char because int might match the return type of a gcc2
31124 builtin and then its argument prototype would still apply. */
31134 rm -f conftest.
$ac_objext conftest
$ac_exeext
31135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31136 (eval $ac_link) 2>conftest.er1
31138 grep -v '^ *+' conftest.er1
>conftest.err
31140 cat conftest.err
>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } &&
31143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; } &&
31149 { ac_try
='test -s conftest$ac_exeext'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; }; then
31155 ac_cv_lib_socket_inet_addr
=yes
31157 echo "$as_me: failed program was:" >&5
31158 sed 's/^/| /' conftest.
$ac_ext >&5
31160 ac_cv_lib_socket_inet_addr
=no
31162 rm -f conftest.err conftest.
$ac_objext \
31163 conftest
$ac_exeext conftest.
$ac_ext
31164 LIBS
=$ac_check_lib_save_LIBS
31166 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31167 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31168 if test $ac_cv_lib_socket_inet_addr = yes; then
31188 for ac_func
in inet_aton
31190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31191 echo "$as_me:$LINENO: checking for $ac_func" >&5
31192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31193 if eval "test \"\${$as_ac_var+set}\" = set"; then
31194 echo $ECHO_N "(cached) $ECHO_C" >&6
31196 cat >conftest.
$ac_ext <<_ACEOF
31199 cat confdefs.h
>>conftest.
$ac_ext
31200 cat >>conftest.
$ac_ext <<_ACEOF
31201 /* end confdefs.h. */
31202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31204 #define $ac_func innocuous_$ac_func
31206 /* System header to define __stub macros and hopefully few prototypes,
31207 which can conflict with char $ac_func (); below.
31208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31209 <limits.h> exists even on freestanding compilers. */
31212 # include <limits.h>
31214 # include <assert.h>
31219 /* Override any gcc2 internal prototype to avoid an error. */
31224 /* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31227 /* The GNU C library defines this for functions which it implements
31228 to always fail with ENOSYS. Some functions are actually named
31229 something starting with __ and the normal name is an alias. */
31230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31233 char (*f) () = $ac_func;
31242 return f != $ac_func;
31247 rm -f conftest.
$ac_objext conftest
$ac_exeext
31248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31249 (eval $ac_link) 2>conftest.er1
31251 grep -v '^ *+' conftest.er1
>conftest.err
31253 cat conftest.err
>&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } &&
31256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; } &&
31262 { ac_try
='test -s conftest$ac_exeext'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; }; then
31268 eval "$as_ac_var=yes"
31270 echo "$as_me: failed program was:" >&5
31271 sed 's/^/| /' conftest.
$ac_ext >&5
31273 eval "$as_ac_var=no"
31275 rm -f conftest.err conftest.
$ac_objext \
31276 conftest
$ac_exeext conftest.
$ac_ext
31278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31280 if test `eval echo '${'$as_ac_var'}'` = yes; then
31281 cat >>confdefs.h
<<_ACEOF
31282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31284 cat >>confdefs.h
<<\_ACEOF
31285 #define HAVE_INET_ATON 1
31290 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31291 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31292 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31293 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31296 ac_check_lib_save_LIBS
=$LIBS
31297 LIBS
="-l$INET_LINK $LIBS"
31298 cat >conftest.
$ac_ext <<_ACEOF
31301 cat confdefs.h
>>conftest.
$ac_ext
31302 cat >>conftest.
$ac_ext <<_ACEOF
31303 /* end confdefs.h. */
31305 /* Override any gcc2 internal prototype to avoid an error. */
31309 /* We use char because int might match the return type of a gcc2
31310 builtin and then its argument prototype would still apply. */
31320 rm -f conftest.
$ac_objext conftest
$ac_exeext
31321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31322 (eval $ac_link) 2>conftest.er1
31324 grep -v '^ *+' conftest.er1
>conftest.err
31326 cat conftest.err
>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } &&
31329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31331 (eval $ac_try) 2>&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); }; } &&
31335 { ac_try
='test -s conftest$ac_exeext'
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; }; then
31341 eval "$as_ac_Lib=yes"
31343 echo "$as_me: failed program was:" >&5
31344 sed 's/^/| /' conftest.
$ac_ext >&5
31346 eval "$as_ac_Lib=no"
31348 rm -f conftest.err conftest.
$ac_objext \
31349 conftest
$ac_exeext conftest.
$ac_ext
31350 LIBS
=$ac_check_lib_save_LIBS
31352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31353 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31354 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31355 cat >>confdefs.h
<<\_ACEOF
31356 #define HAVE_INET_ATON 1
31366 if test "x$INET_LINK" != "x"; then
31367 cat >>confdefs.h
<<\_ACEOF
31368 #define HAVE_INET_ADDR 1
31371 INET_LINK
=" -l$INET_LINK"
31379 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31380 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31381 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31384 ac_check_lib_save_LIBS
=$LIBS
31386 cat >conftest.
$ac_ext <<_ACEOF
31389 cat confdefs.h
>>conftest.
$ac_ext
31390 cat >>conftest.
$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31393 /* Override any gcc2 internal prototype to avoid an error. */
31397 /* We use char because int might match the return type of a gcc2
31398 builtin and then its argument prototype would still apply. */
31408 rm -f conftest.
$ac_objext conftest
$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410 (eval $ac_link) 2>conftest.er1
31412 grep -v '^ *+' conftest.er1
>conftest.err
31414 cat conftest.err
>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; } &&
31423 { ac_try
='test -s conftest$ac_exeext'
31424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425 (eval $ac_try) 2>&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); }; }; then
31429 ac_cv_lib_esd_esd_close
=yes
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.
$ac_ext >&5
31434 ac_cv_lib_esd_esd_close
=no
31436 rm -f conftest.err conftest.
$ac_objext \
31437 conftest
$ac_exeext conftest.
$ac_ext
31438 LIBS
=$ac_check_lib_save_LIBS
31440 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31441 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31442 if test $ac_cv_lib_esd_esd_close = yes; then
31445 for ac_header
in esd.h
31447 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31449 echo "$as_me:$LINENO: checking for $ac_header" >&5
31450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31457 # Is the header compilable?
31458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31460 cat >conftest.
$ac_ext <<_ACEOF
31463 cat confdefs.h
>>conftest.
$ac_ext
31464 cat >>conftest.
$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466 $ac_includes_default
31467 #include <$ac_header>
31469 rm -f conftest.
$ac_objext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31471 (eval $ac_compile) 2>conftest.er1
31473 grep -v '^ *+' conftest.er1
>conftest.err
31475 cat conftest.err
>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
31478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try
='test -s conftest.$ac_objext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_header_compiler
=yes
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.
$ac_ext >&5
31495 ac_header_compiler
=no
31497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31499 echo "${ECHO_T}$ac_header_compiler" >&6
31501 # Is the header present?
31502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31504 cat >conftest.
$ac_ext <<_ACEOF
31507 cat confdefs.h
>>conftest.
$ac_ext
31508 cat >>conftest.
$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31510 #include <$ac_header>
31512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31513 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31515 grep -v '^ *+' conftest.er1
>conftest.err
31517 cat conftest.err
>&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } >/dev
/null
; then
31520 if test -s conftest.err
; then
31521 ac_cpp_err
=$ac_c_preproc_warn_flag
31522 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31529 if test -z "$ac_cpp_err"; then
31530 ac_header_preproc
=yes
31532 echo "$as_me: failed program was:" >&5
31533 sed 's/^/| /' conftest.
$ac_ext >&5
31535 ac_header_preproc
=no
31537 rm -f conftest.err conftest.
$ac_ext
31538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31539 echo "${ECHO_T}$ac_header_preproc" >&6
31541 # So? What about this header?
31542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31548 ac_header_preproc
=yes
31551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31565 ## ----------------------------------------- ##
31566 ## Report this to wx-dev@lists.wxwidgets.org ##
31567 ## ----------------------------------------- ##
31570 sed "s/^/$as_me: WARNING: /" >&2
31573 echo "$as_me:$LINENO: checking for $ac_header" >&5
31574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31576 echo $ECHO_N "(cached) $ECHO_C" >&6
31578 eval "$as_ac_Header=\$ac_header_preproc"
31580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31585 cat >>confdefs.h
<<_ACEOF
31586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31589 EXTRALIBS_ESD
="-lesd"
31600 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31601 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31602 cat >conftest.
$ac_ext <<_ACEOF
31605 cat confdefs.h
>>conftest.
$ac_ext
31606 cat >>conftest.
$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31609 #include <linux/cdrom.h>
31612 #include <sys/cdio.h>
31618 struct cdrom_tocentry entry, old_entry;
31623 rm -f conftest.
$ac_objext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31625 (eval $ac_compile) 2>conftest.er1
31627 grep -v '^ *+' conftest.er1
>conftest.err
31629 cat conftest.err
>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try
='test -s conftest.$ac_objext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 echo "$as_me:$LINENO: result: yes" >&5
31645 echo "${ECHO_T}yes" >&6
31646 cat >>confdefs.h
<<\_ACEOF
31647 #define HAVE_KNOWN_CDROM_INTERFACE 1
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.
$ac_ext >&5
31654 echo "$as_me:$LINENO: result: no" >&5
31655 echo "${ECHO_T}no" >&6
31657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31660 cat >confcache
<<\_ACEOF
31661 # This file is a shell script that caches the results of configure
31662 # tests run on this system so they can be shared between configure
31663 # scripts and configure runs, see configure's option --config-cache.
31664 # It is not useful on other systems. If it contains results you don't
31665 # want to keep, you may remove or edit it.
31667 # config.status only pays attention to the cache file if you give it
31668 # the --recheck option to rerun configure.
31670 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31671 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31672 # following values.
31676 # The following way of writing the cache mishandles newlines in values,
31677 # but we know of no workaround that is simple, portable, and efficient.
31678 # So, don't put newlines in cache variables' values.
31679 # Ultrix sh set writes to stderr and can't be redirected directly,
31680 # and sets the high bit in the cache file unless we assign to the vars.
31683 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31685 # `set' does not quote correctly, so add quotes (double-quote
31686 # substitution turns \\\\ into \\, and sed turns \\ into \).
31689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31692 # `set' quotes correctly as required by POSIX, so do not add quotes.
31694 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31701 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31703 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31705 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31706 if test -w $cache_file; then
31707 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31708 cat confcache
>$cache_file
31710 echo "not updating unwritable cache $cache_file"
31717 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31723 if test "$wxUSE_THREADS" = "yes" ; then
31724 if test "$USE_BEOS" = 1; then
31725 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31726 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31731 if test "$wxUSE_THREADS" = "yes" ; then
31734 THREAD_OPTS
="-pthread"
31736 *-*-solaris2* | *-*-sunos4* )
31737 if test "x$GCC" = "xyes"; then
31738 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31740 THREAD_OPTS
="-mt $THREAD_OPTS"
31744 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31746 *-*-darwin* | *-*-cygwin* )
31750 THREAD_OPTS
="pthreads"
31753 if test "x$GCC" != "xyes"; then
31759 if test "x$GCC" = "xyes"; then
31765 if test "x$GCC" != "xyes"; then
31766 THREAD_OPTS
="-Ethread"
31771 THREAD_OPTS
="$THREAD_OPTS pthread none"
31774 for flag
in $THREAD_OPTS; do
31777 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31778 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31782 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31783 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31784 THREADS_CFLAGS
="$flag"
31788 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31789 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31790 THREADS_LINK
="-l$flag"
31795 save_CFLAGS
="$CFLAGS"
31796 LIBS
="$THREADS_LINK $LIBS"
31797 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31799 cat >conftest.
$ac_ext <<_ACEOF
31802 cat confdefs.h
>>conftest.
$ac_ext
31803 cat >>conftest.
$ac_ext <<_ACEOF
31804 /* end confdefs.h. */
31805 #include <pthread.h>
31809 pthread_create(0,0,0,0);
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31818 grep -v '^ *+' conftest.er1
>conftest.err
31820 cat conftest.err
>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try
='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.
$ac_ext >&5
31841 rm -f conftest.err conftest.
$ac_objext \
31842 conftest
$ac_exeext conftest.
$ac_ext
31845 CFLAGS
="$save_CFLAGS"
31847 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31848 echo "${ECHO_T}$THREADS_OK" >&6
31849 if test "x$THREADS_OK" = "xyes"; then
31857 if test "x$THREADS_OK" != "xyes"; then
31859 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31860 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31862 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31863 LIBS
="$THREADS_LINK $LIBS"
31865 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31866 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31870 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31871 flag
="-D_THREAD_SAFE"
31874 flag
="-D_THREAD_SAFE"
31877 flag
="-D_REENTRANT"
31878 if test "x$GCC" != "xyes"; then
31879 flag
="$flag -D_RWSTD_MULTI_THREAD"
31884 *solaris
* | alpha
*-osf*)
31885 flag
="-D_REENTRANT"
31888 echo "$as_me:$LINENO: result: ${flag}" >&5
31889 echo "${ECHO_T}${flag}" >&6
31890 if test "x$flag" != xno
; then
31891 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31894 if test "x$THREADS_CFLAGS" != "x"; then
31895 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31896 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31901 if test "$wxUSE_THREADS" = "yes" ; then
31903 for ac_func
in thr_setconcurrency
31905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31906 echo "$as_me:$LINENO: checking for $ac_func" >&5
31907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31908 if eval "test \"\${$as_ac_var+set}\" = set"; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31911 cat >conftest.
$ac_ext <<_ACEOF
31914 cat confdefs.h
>>conftest.
$ac_ext
31915 cat >>conftest.
$ac_ext <<_ACEOF
31916 /* end confdefs.h. */
31917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31919 #define $ac_func innocuous_$ac_func
31921 /* System header to define __stub macros and hopefully few prototypes,
31922 which can conflict with char $ac_func (); below.
31923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31924 <limits.h> exists even on freestanding compilers. */
31927 # include <limits.h>
31929 # include <assert.h>
31934 /* Override any gcc2 internal prototype to avoid an error. */
31939 /* We use char because int might match the return type of a gcc2
31940 builtin and then its argument prototype would still apply. */
31942 /* The GNU C library defines this for functions which it implements
31943 to always fail with ENOSYS. Some functions are actually named
31944 something starting with __ and the normal name is an alias. */
31945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31948 char (*f) () = $ac_func;
31957 return f != $ac_func;
31962 rm -f conftest.
$ac_objext conftest
$ac_exeext
31963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31964 (eval $ac_link) 2>conftest.er1
31966 grep -v '^ *+' conftest.er1
>conftest.err
31968 cat conftest.err
>&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); } &&
31971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try
='test -s conftest$ac_exeext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 eval "$as_ac_var=yes"
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.
$ac_ext >&5
31988 eval "$as_ac_var=no"
31990 rm -f conftest.err conftest.
$ac_objext \
31991 conftest
$ac_exeext conftest.
$ac_ext
31993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31995 if test `eval echo '${'$as_ac_var'}'` = yes; then
31996 cat >>confdefs.h
<<_ACEOF
31997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32005 for ac_header
in sched.h
32007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32009 echo "$as_me:$LINENO: checking for $ac_header" >&5
32010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32012 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32017 # Is the header compilable?
32018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32020 cat >conftest.
$ac_ext <<_ACEOF
32023 cat confdefs.h
>>conftest.
$ac_ext
32024 cat >>conftest.
$ac_ext <<_ACEOF
32025 /* end confdefs.h. */
32026 $ac_includes_default
32027 #include <$ac_header>
32029 rm -f conftest.
$ac_objext
32030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32031 (eval $ac_compile) 2>conftest.er1
32033 grep -v '^ *+' conftest.er1
>conftest.err
32035 cat conftest.err
>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try
='test -s conftest.$ac_objext'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 ac_header_compiler
=yes
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.
$ac_ext >&5
32055 ac_header_compiler
=no
32057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32059 echo "${ECHO_T}$ac_header_compiler" >&6
32061 # Is the header present?
32062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32064 cat >conftest.
$ac_ext <<_ACEOF
32067 cat confdefs.h
>>conftest.
$ac_ext
32068 cat >>conftest.
$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070 #include <$ac_header>
32072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32075 grep -v '^ *+' conftest.er1
>conftest.err
32077 cat conftest.err
>&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } >/dev
/null
; then
32080 if test -s conftest.err
; then
32081 ac_cpp_err
=$ac_c_preproc_warn_flag
32082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32089 if test -z "$ac_cpp_err"; then
32090 ac_header_preproc
=yes
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.
$ac_ext >&5
32095 ac_header_preproc
=no
32097 rm -f conftest.err conftest.
$ac_ext
32098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32099 echo "${ECHO_T}$ac_header_preproc" >&6
32101 # So? What about this header?
32102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32108 ac_header_preproc
=yes
32111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32125 ## ----------------------------------------- ##
32126 ## Report this to wx-dev@lists.wxwidgets.org ##
32127 ## ----------------------------------------- ##
32130 sed "s/^/$as_me: WARNING: /" >&2
32133 echo "$as_me:$LINENO: checking for $ac_header" >&5
32134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 eval "$as_ac_Header=\$ac_header_preproc"
32140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32145 cat >>confdefs.h
<<_ACEOF
32146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32153 if test "$ac_cv_header_sched_h" = "yes"; then
32154 echo "$as_me:$LINENO: checking for sched_yield" >&5
32155 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32156 if test "${ac_cv_func_sched_yield+set}" = set; then
32157 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 cat >conftest.
$ac_ext <<_ACEOF
32162 cat confdefs.h
>>conftest.
$ac_ext
32163 cat >>conftest.
$ac_ext <<_ACEOF
32164 /* end confdefs.h. */
32165 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32167 #define sched_yield innocuous_sched_yield
32169 /* System header to define __stub macros and hopefully few prototypes,
32170 which can conflict with char sched_yield (); below.
32171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32172 <limits.h> exists even on freestanding compilers. */
32175 # include <limits.h>
32177 # include <assert.h>
32182 /* Override any gcc2 internal prototype to avoid an error. */
32187 /* We use char because int might match the return type of a gcc2
32188 builtin and then its argument prototype would still apply. */
32189 char sched_yield ();
32190 /* The GNU C library defines this for functions which it implements
32191 to always fail with ENOSYS. Some functions are actually named
32192 something starting with __ and the normal name is an alias. */
32193 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32196 char (*f) () = sched_yield;
32205 return f != sched_yield;
32210 rm -f conftest.
$ac_objext conftest
$ac_exeext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32212 (eval $ac_link) 2>conftest.er1
32214 grep -v '^ *+' conftest.er1
>conftest.err
32216 cat conftest.err
>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try
='test -s conftest$ac_exeext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 ac_cv_func_sched_yield
=yes
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.
$ac_ext >&5
32236 ac_cv_func_sched_yield
=no
32238 rm -f conftest.err conftest.
$ac_objext \
32239 conftest
$ac_exeext conftest.
$ac_ext
32241 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32242 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32243 if test $ac_cv_func_sched_yield = yes; then
32244 cat >>confdefs.h
<<\_ACEOF
32245 #define HAVE_SCHED_YIELD 1
32250 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32251 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32252 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 ac_check_lib_save_LIBS
=$LIBS
32256 LIBS
="-lposix4 $LIBS"
32257 cat >conftest.
$ac_ext <<_ACEOF
32260 cat confdefs.h
>>conftest.
$ac_ext
32261 cat >>conftest.
$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32264 /* Override any gcc2 internal prototype to avoid an error. */
32268 /* We use char because int might match the return type of a gcc2
32269 builtin and then its argument prototype would still apply. */
32270 char sched_yield ();
32279 rm -f conftest.
$ac_objext conftest
$ac_exeext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32281 (eval $ac_link) 2>conftest.er1
32283 grep -v '^ *+' conftest.er1
>conftest.err
32285 cat conftest.err
>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; } &&
32294 { ac_try
='test -s conftest$ac_exeext'
32295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296 (eval $ac_try) 2>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); }; }; then
32300 ac_cv_lib_posix4_sched_yield
=yes
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.
$ac_ext >&5
32305 ac_cv_lib_posix4_sched_yield
=no
32307 rm -f conftest.err conftest.
$ac_objext \
32308 conftest
$ac_exeext conftest.
$ac_ext
32309 LIBS
=$ac_check_lib_save_LIBS
32311 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32312 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32313 if test $ac_cv_lib_posix4_sched_yield = yes; then
32314 cat >>confdefs.h
<<\_ACEOF
32315 #define HAVE_SCHED_YIELD 1
32317 POSIX4_LINK
=" -lposix4"
32319 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32320 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32331 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32332 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32333 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32336 cat >conftest.
$ac_ext <<_ACEOF
32339 cat confdefs.h
>>conftest.
$ac_ext
32340 cat >>conftest.
$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32342 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32344 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32346 /* System header to define __stub macros and hopefully few prototypes,
32347 which can conflict with char pthread_attr_getschedpolicy (); below.
32348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32349 <limits.h> exists even on freestanding compilers. */
32352 # include <limits.h>
32354 # include <assert.h>
32357 #undef pthread_attr_getschedpolicy
32359 /* Override any gcc2 internal prototype to avoid an error. */
32364 /* We use char because int might match the return type of a gcc2
32365 builtin and then its argument prototype would still apply. */
32366 char pthread_attr_getschedpolicy ();
32367 /* The GNU C library defines this for functions which it implements
32368 to always fail with ENOSYS. Some functions are actually named
32369 something starting with __ and the normal name is an alias. */
32370 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32373 char (*f) () = pthread_attr_getschedpolicy;
32382 return f != pthread_attr_getschedpolicy;
32387 rm -f conftest.
$ac_objext conftest
$ac_exeext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32389 (eval $ac_link) 2>conftest.er1
32391 grep -v '^ *+' conftest.er1
>conftest.err
32393 cat conftest.err
>&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try
='test -s conftest$ac_exeext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 ac_cv_func_pthread_attr_getschedpolicy
=yes
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.
$ac_ext >&5
32413 ac_cv_func_pthread_attr_getschedpolicy
=no
32415 rm -f conftest.err conftest.
$ac_objext \
32416 conftest
$ac_exeext conftest.
$ac_ext
32418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32419 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32420 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32421 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32422 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32423 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 cat >conftest.
$ac_ext <<_ACEOF
32429 cat confdefs.h
>>conftest.
$ac_ext
32430 cat >>conftest.
$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32432 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32434 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32436 /* System header to define __stub macros and hopefully few prototypes,
32437 which can conflict with char pthread_attr_setschedparam (); below.
32438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32439 <limits.h> exists even on freestanding compilers. */
32442 # include <limits.h>
32444 # include <assert.h>
32447 #undef pthread_attr_setschedparam
32449 /* Override any gcc2 internal prototype to avoid an error. */
32454 /* We use char because int might match the return type of a gcc2
32455 builtin and then its argument prototype would still apply. */
32456 char pthread_attr_setschedparam ();
32457 /* The GNU C library defines this for functions which it implements
32458 to always fail with ENOSYS. Some functions are actually named
32459 something starting with __ and the normal name is an alias. */
32460 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32463 char (*f) () = pthread_attr_setschedparam;
32472 return f != pthread_attr_setschedparam;
32477 rm -f conftest.
$ac_objext conftest
$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479 (eval $ac_link) 2>conftest.er1
32481 grep -v '^ *+' conftest.er1
>conftest.err
32483 cat conftest.err
>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; } &&
32492 { ac_try
='test -s conftest$ac_exeext'
32493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32494 (eval $ac_try) 2>&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); }; }; then
32498 ac_cv_func_pthread_attr_setschedparam
=yes
32500 echo "$as_me: failed program was:" >&5
32501 sed 's/^/| /' conftest.
$ac_ext >&5
32503 ac_cv_func_pthread_attr_setschedparam
=no
32505 rm -f conftest.err conftest.
$ac_objext \
32506 conftest
$ac_exeext conftest.
$ac_ext
32508 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32509 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32510 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32511 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32512 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32513 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 cat >conftest.
$ac_ext <<_ACEOF
32519 cat confdefs.h
>>conftest.
$ac_ext
32520 cat >>conftest.
$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32524 #define sched_get_priority_max innocuous_sched_get_priority_max
32526 /* System header to define __stub macros and hopefully few prototypes,
32527 which can conflict with char sched_get_priority_max (); below.
32528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32529 <limits.h> exists even on freestanding compilers. */
32532 # include <limits.h>
32534 # include <assert.h>
32537 #undef sched_get_priority_max
32539 /* Override any gcc2 internal prototype to avoid an error. */
32544 /* We use char because int might match the return type of a gcc2
32545 builtin and then its argument prototype would still apply. */
32546 char sched_get_priority_max ();
32547 /* The GNU C library defines this for functions which it implements
32548 to always fail with ENOSYS. Some functions are actually named
32549 something starting with __ and the normal name is an alias. */
32550 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32553 char (*f) () = sched_get_priority_max;
32562 return f != sched_get_priority_max;
32567 rm -f conftest.
$ac_objext conftest
$ac_exeext
32568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32569 (eval $ac_link) 2>conftest.er1
32571 grep -v '^ *+' conftest.er1
>conftest.err
32573 cat conftest.err
>&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
32576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32578 (eval $ac_try) 2>&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); }; } &&
32582 { ac_try
='test -s conftest$ac_exeext'
32583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32584 (eval $ac_try) 2>&5
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); }; }; then
32588 ac_cv_func_sched_get_priority_max
=yes
32590 echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.
$ac_ext >&5
32593 ac_cv_func_sched_get_priority_max
=no
32595 rm -f conftest.err conftest.
$ac_objext \
32596 conftest
$ac_exeext conftest.
$ac_ext
32598 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32599 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32600 if test $ac_cv_func_sched_get_priority_max = yes; then
32603 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32604 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32605 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 ac_check_lib_save_LIBS
=$LIBS
32609 LIBS
="-lposix4 $LIBS"
32610 cat >conftest.
$ac_ext <<_ACEOF
32613 cat confdefs.h
>>conftest.
$ac_ext
32614 cat >>conftest.
$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32617 /* Override any gcc2 internal prototype to avoid an error. */
32621 /* We use char because int might match the return type of a gcc2
32622 builtin and then its argument prototype would still apply. */
32623 char sched_get_priority_max ();
32627 sched_get_priority_max ();
32632 rm -f conftest.
$ac_objext conftest
$ac_exeext
32633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32634 (eval $ac_link) 2>conftest.er1
32636 grep -v '^ *+' conftest.er1
>conftest.err
32638 cat conftest.err
>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } &&
32641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; } &&
32647 { ac_try
='test -s conftest$ac_exeext'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; }; then
32653 ac_cv_lib_posix4_sched_get_priority_max
=yes
32655 echo "$as_me: failed program was:" >&5
32656 sed 's/^/| /' conftest.
$ac_ext >&5
32658 ac_cv_lib_posix4_sched_get_priority_max
=no
32660 rm -f conftest.err conftest.
$ac_objext \
32661 conftest
$ac_exeext conftest.
$ac_ext
32662 LIBS
=$ac_check_lib_save_LIBS
32664 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32665 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32666 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32669 POSIX4_LINK
=" -lposix4"
32683 if test "$HAVE_PRIOR_FUNCS" = 1; then
32684 cat >>confdefs.h
<<\_ACEOF
32685 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32689 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32690 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32693 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32694 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32695 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32696 echo $ECHO_N "(cached) $ECHO_C" >&6
32698 cat >conftest.
$ac_ext <<_ACEOF
32701 cat confdefs.h
>>conftest.
$ac_ext
32702 cat >>conftest.
$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32704 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32706 #define pthread_cancel innocuous_pthread_cancel
32708 /* System header to define __stub macros and hopefully few prototypes,
32709 which can conflict with char pthread_cancel (); below.
32710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32711 <limits.h> exists even on freestanding compilers. */
32714 # include <limits.h>
32716 # include <assert.h>
32719 #undef pthread_cancel
32721 /* Override any gcc2 internal prototype to avoid an error. */
32726 /* We use char because int might match the return type of a gcc2
32727 builtin and then its argument prototype would still apply. */
32728 char pthread_cancel ();
32729 /* The GNU C library defines this for functions which it implements
32730 to always fail with ENOSYS. Some functions are actually named
32731 something starting with __ and the normal name is an alias. */
32732 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32735 char (*f) () = pthread_cancel;
32744 return f != pthread_cancel;
32749 rm -f conftest.
$ac_objext conftest
$ac_exeext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751 (eval $ac_link) 2>conftest.er1
32753 grep -v '^ *+' conftest.er1
>conftest.err
32755 cat conftest.err
>&5
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); } &&
32758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 (eval $ac_try) 2>&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); }; } &&
32764 { ac_try
='test -s conftest$ac_exeext'
32765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766 (eval $ac_try) 2>&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); }; }; then
32770 ac_cv_func_pthread_cancel
=yes
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.
$ac_ext >&5
32775 ac_cv_func_pthread_cancel
=no
32777 rm -f conftest.err conftest.
$ac_objext \
32778 conftest
$ac_exeext conftest.
$ac_ext
32780 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32781 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32782 if test $ac_cv_func_pthread_cancel = yes; then
32783 cat >>confdefs.h
<<\_ACEOF
32784 #define HAVE_PTHREAD_CANCEL 1
32788 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32789 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32795 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32796 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32797 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32798 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 cat >conftest.
$ac_ext <<_ACEOF
32804 cat confdefs.h
>>conftest.
$ac_ext
32805 cat >>conftest.
$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 #include <pthread.h>
32812 pthread_mutexattr_t attr;
32813 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32819 rm -f conftest.
$ac_objext
32820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32821 (eval $ac_compile) 2>conftest.er1
32823 grep -v '^ *+' conftest.er1
>conftest.err
32825 cat conftest.err
>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); } &&
32828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; } &&
32834 { ac_try
='test -s conftest.$ac_objext'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32841 wx_cv_type_pthread_mutexattr_t
=yes
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.
$ac_ext >&5
32848 wx_cv_type_pthread_mutexattr_t
=no
32852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32855 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32856 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32858 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32859 cat >>confdefs.h
<<\_ACEOF
32860 #define HAVE_PTHREAD_MUTEXATTR_T 1
32864 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32865 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32866 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32867 echo $ECHO_N "(cached) $ECHO_C" >&6
32870 cat >conftest.
$ac_ext <<_ACEOF
32873 cat confdefs.h
>>conftest.
$ac_ext
32874 cat >>conftest.
$ac_ext <<_ACEOF
32875 /* end confdefs.h. */
32876 #include <pthread.h>
32881 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32887 rm -f conftest.
$ac_objext
32888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32889 (eval $ac_compile) 2>conftest.er1
32891 grep -v '^ *+' conftest.er1
>conftest.err
32893 cat conftest.err
>&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
32896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try
='test -s conftest.$ac_objext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32909 wx_cv_type_pthread_rec_mutex_init
=yes
32912 echo "$as_me: failed program was:" >&5
32913 sed 's/^/| /' conftest.
$ac_ext >&5
32916 wx_cv_type_pthread_rec_mutex_init
=no
32920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32923 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32924 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32925 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32926 cat >>confdefs.h
<<\_ACEOF
32927 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32931 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32932 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32938 if test "$wxUSE_THREADS" = "yes" ; then
32941 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32942 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32943 if test "${wx_cv_cflags_mthread+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 CFLAGS_OLD
="$CFLAGS"
32948 CFLAGS
="$CFLAGS -mthreads"
32949 cat >conftest.
$ac_ext <<_ACEOF
32952 cat confdefs.h
>>conftest.
$ac_ext
32953 cat >>conftest.
$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32964 rm -f conftest.
$ac_objext
32965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32966 (eval $ac_compile) 2>conftest.er1
32968 grep -v '^ *+' conftest.er1
>conftest.err
32970 cat conftest.err
>&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } &&
32973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; } &&
32979 { ac_try
='test -s conftest.$ac_objext'
32980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981 (eval $ac_try) 2>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 wx_cv_cflags_mthread
=yes
32987 echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.
$ac_ext >&5
32990 wx_cv_cflags_mthread
=no
32993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32997 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32998 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33000 if test "$wx_cv_cflags_mthread" = "yes"; then
33001 CXXFLAGS
="$CXXFLAGS -mthreads"
33002 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33003 LDFLAGS
="$LDFLAGS -mthreads"
33005 CFLAGS
="$CFLAGS_OLD"
33009 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33010 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33011 LDFLAGS
="$LDFLAGS -Zmt"
33017 if test "$wxUSE_THREADS" = "yes"; then
33018 cat >>confdefs.h
<<\_ACEOF
33019 #define wxUSE_THREADS 1
33023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33025 if test "$ac_cv_func_strtok_r" = "yes"; then
33026 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33027 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33028 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33029 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33030 echo "$as_me:$LINENO: result: yes" >&5
33031 echo "${ECHO_T}yes" >&6
33033 echo "$as_me:$LINENO: result: no" >&5
33034 echo "${ECHO_T}no" >&6
33039 if test "$WXGTK20" = 1 ; then
33040 cat >>confdefs.h
<<_ACEOF
33041 #define __WXGTK20__ $WXGTK20
33047 if test "$WXGTK12" = 1 ; then
33048 cat >>confdefs.h
<<_ACEOF
33049 #define __WXGTK12__ $WXGTK12
33054 if test "$WXGTK127" = 1 ; then
33055 cat >>confdefs.h
<<_ACEOF
33056 #define __WXGTK127__ $WXGTK127
33061 if test "$WXGPE" = 1 ; then
33062 cat >>confdefs.h
<<_ACEOF
33063 #define __WXGPE__ $WXGPE
33070 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33075 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33076 wxUSE_DEBUG_INFO
=yes
33080 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33081 cat >>confdefs.h
<<\_ACEOF
33085 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33087 if test "$wxUSE_GTK" = 1 ; then
33088 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33092 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define wxUSE_MEMORY_TRACING 1
33097 cat >>confdefs.h
<<\_ACEOF
33098 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33101 cat >>confdefs.h
<<\_ACEOF
33102 #define wxUSE_DEBUG_NEW_ALWAYS 1
33105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33108 if test "$wxUSE_DMALLOC" = "yes" ; then
33109 DMALLOC_LIBS
="-ldmalloc"
33113 if test "$wxUSE_PROFILE" = "yes" ; then
33118 CODE_GEN_FLAGS_CXX
=
33119 if test "$GCC" = "yes" ; then
33120 if test "$wxUSE_NO_RTTI" = "yes" ; then
33121 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33123 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33124 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33126 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33127 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33132 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33135 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33141 if test "$wxUSE_OPTIMISE" = "no" ; then
33142 if test "$GCC" = yes ; then
33146 if test "$GCC" = yes ; then
33150 i586
-*-*|i686
-*-* )
33151 OPTIMISE
="${OPTIMISE} "
33160 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33161 cat >>confdefs.h
<<\_ACEOF
33162 #define WXWIN_COMPATIBILITY_2_2 1
33166 WXWIN_COMPATIBILITY_2_4
="yes"
33169 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33170 cat >>confdefs.h
<<\_ACEOF
33171 #define WXWIN_COMPATIBILITY_2_4 1
33177 if test "$wxUSE_GUI" = "yes"; then
33178 cat >>confdefs.h
<<\_ACEOF
33179 #define wxUSE_GUI 1
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define wxUSE_NOGUI 1
33191 if test "$wxUSE_UNIX" = "yes"; then
33192 cat >>confdefs.h
<<\_ACEOF
33193 #define wxUSE_UNIX 1
33199 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33203 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33204 if test "$USE_DARWIN" = 1; then
33208 for ac_func
in dlopen
33210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33211 echo "$as_me:$LINENO: checking for $ac_func" >&5
33212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33213 if eval "test \"\${$as_ac_var+set}\" = set"; then
33214 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 cat >conftest.
$ac_ext <<_ACEOF
33219 cat confdefs.h
>>conftest.
$ac_ext
33220 cat >>conftest.
$ac_ext <<_ACEOF
33221 /* end confdefs.h. */
33222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33224 #define $ac_func innocuous_$ac_func
33226 /* System header to define __stub macros and hopefully few prototypes,
33227 which can conflict with char $ac_func (); below.
33228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33229 <limits.h> exists even on freestanding compilers. */
33232 # include <limits.h>
33234 # include <assert.h>
33239 /* Override any gcc2 internal prototype to avoid an error. */
33244 /* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33247 /* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33253 char (*f) () = $ac_func;
33262 return f != $ac_func;
33267 rm -f conftest.
$ac_objext conftest
$ac_exeext
33268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33269 (eval $ac_link) 2>conftest.er1
33271 grep -v '^ *+' conftest.er1
>conftest.err
33273 cat conftest.err
>&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } &&
33276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33278 (eval $ac_try) 2>&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; } &&
33282 { ac_try
='test -s conftest$ac_exeext'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; }; then
33288 eval "$as_ac_var=yes"
33290 echo "$as_me: failed program was:" >&5
33291 sed 's/^/| /' conftest.
$ac_ext >&5
33293 eval "$as_ac_var=no"
33295 rm -f conftest.err conftest.
$ac_objext \
33296 conftest
$ac_exeext conftest.
$ac_ext
33298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33300 if test `eval echo '${'$as_ac_var'}'` = yes; then
33301 cat >>confdefs.h
<<_ACEOF
33302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33305 cat >>confdefs.h
<<\_ACEOF
33306 #define HAVE_DLOPEN 1
33313 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33314 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33315 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 ac_check_lib_save_LIBS
=$LIBS
33320 cat >conftest.
$ac_ext <<_ACEOF
33323 cat confdefs.h
>>conftest.
$ac_ext
33324 cat >>conftest.
$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33327 /* Override any gcc2 internal prototype to avoid an error. */
33331 /* We use char because int might match the return type of a gcc2
33332 builtin and then its argument prototype would still apply. */
33342 rm -f conftest.
$ac_objext conftest
$ac_exeext
33343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33344 (eval $ac_link) 2>conftest.er1
33346 grep -v '^ *+' conftest.er1
>conftest.err
33348 cat conftest.err
>&5
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); } &&
33351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33353 (eval $ac_try) 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); }; } &&
33357 { ac_try
='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 ac_cv_lib_dl_dlopen
=yes
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.
$ac_ext >&5
33368 ac_cv_lib_dl_dlopen
=no
33370 rm -f conftest.err conftest.
$ac_objext \
33371 conftest
$ac_exeext conftest.
$ac_ext
33372 LIBS
=$ac_check_lib_save_LIBS
33374 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33375 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33376 if test $ac_cv_lib_dl_dlopen = yes; then
33378 cat >>confdefs.h
<<\_ACEOF
33379 #define HAVE_DLOPEN 1
33383 DL_LINK
=" -ldl$DL_LINK"
33388 for ac_func
in shl_load
33390 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33391 echo "$as_me:$LINENO: checking for $ac_func" >&5
33392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33393 if eval "test \"\${$as_ac_var+set}\" = set"; then
33394 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 cat >conftest.
$ac_ext <<_ACEOF
33399 cat confdefs.h
>>conftest.
$ac_ext
33400 cat >>conftest.
$ac_ext <<_ACEOF
33401 /* end confdefs.h. */
33402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33404 #define $ac_func innocuous_$ac_func
33406 /* System header to define __stub macros and hopefully few prototypes,
33407 which can conflict with char $ac_func (); below.
33408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33409 <limits.h> exists even on freestanding compilers. */
33412 # include <limits.h>
33414 # include <assert.h>
33419 /* Override any gcc2 internal prototype to avoid an error. */
33424 /* We use char because int might match the return type of a gcc2
33425 builtin and then its argument prototype would still apply. */
33427 /* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33433 char (*f) () = $ac_func;
33442 return f != $ac_func;
33447 rm -f conftest.
$ac_objext conftest
$ac_exeext
33448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33449 (eval $ac_link) 2>conftest.er1
33451 grep -v '^ *+' conftest.er1
>conftest.err
33453 cat conftest.err
>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } &&
33456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; } &&
33462 { ac_try
='test -s conftest$ac_exeext'
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }; then
33468 eval "$as_ac_var=yes"
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.
$ac_ext >&5
33473 eval "$as_ac_var=no"
33475 rm -f conftest.err conftest.
$ac_objext \
33476 conftest
$ac_exeext conftest.
$ac_ext
33478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33480 if test `eval echo '${'$as_ac_var'}'` = yes; then
33481 cat >>confdefs.h
<<_ACEOF
33482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33485 cat >>confdefs.h
<<\_ACEOF
33486 #define HAVE_SHL_LOAD 1
33493 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33494 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33495 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 ac_check_lib_save_LIBS
=$LIBS
33499 LIBS
="-lshl_load $LIBS"
33500 cat >conftest.
$ac_ext <<_ACEOF
33503 cat confdefs.h
>>conftest.
$ac_ext
33504 cat >>conftest.
$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33507 /* Override any gcc2 internal prototype to avoid an error. */
33511 /* We use char because int might match the return type of a gcc2
33512 builtin and then its argument prototype would still apply. */
33522 rm -f conftest.
$ac_objext conftest
$ac_exeext
33523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33524 (eval $ac_link) 2>conftest.er1
33526 grep -v '^ *+' conftest.er1
>conftest.err
33528 cat conftest.err
>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
33531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try
='test -s conftest$ac_exeext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 ac_cv_lib_shl_load_dld
=yes
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.
$ac_ext >&5
33548 ac_cv_lib_shl_load_dld
=no
33550 rm -f conftest.err conftest.
$ac_objext \
33551 conftest
$ac_exeext conftest.
$ac_ext
33552 LIBS
=$ac_check_lib_save_LIBS
33554 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33555 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33556 if test $ac_cv_lib_shl_load_dld = yes; then
33559 DL_LINK
=" -ldld$DL_LINK"
33575 if test "$HAVE_DL_FUNCS" = 1; then
33577 for ac_func
in dlerror
33579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33580 echo "$as_me:$LINENO: checking for $ac_func" >&5
33581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33582 if eval "test \"\${$as_ac_var+set}\" = set"; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 cat >conftest.
$ac_ext <<_ACEOF
33588 cat confdefs.h
>>conftest.
$ac_ext
33589 cat >>conftest.
$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33593 #define $ac_func innocuous_$ac_func
33595 /* System header to define __stub macros and hopefully few prototypes,
33596 which can conflict with char $ac_func (); below.
33597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33598 <limits.h> exists even on freestanding compilers. */
33601 # include <limits.h>
33603 # include <assert.h>
33608 /* Override any gcc2 internal prototype to avoid an error. */
33613 /* We use char because int might match the return type of a gcc2
33614 builtin and then its argument prototype would still apply. */
33616 /* The GNU C library defines this for functions which it implements
33617 to always fail with ENOSYS. Some functions are actually named
33618 something starting with __ and the normal name is an alias. */
33619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33622 char (*f) () = $ac_func;
33631 return f != $ac_func;
33636 rm -f conftest.
$ac_objext conftest
$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638 (eval $ac_link) 2>conftest.er1
33640 grep -v '^ *+' conftest.er1
>conftest.err
33642 cat conftest.err
>&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
33645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33647 (eval $ac_try) 2>&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); }; } &&
33651 { ac_try
='test -s conftest$ac_exeext'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; }; then
33657 eval "$as_ac_var=yes"
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.
$ac_ext >&5
33662 eval "$as_ac_var=no"
33664 rm -f conftest.err conftest.
$ac_objext \
33665 conftest
$ac_exeext conftest.
$ac_ext
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h
<<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33673 cat >>confdefs.h
<<\_ACEOF
33674 #define HAVE_DLERROR 1
33679 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33680 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33681 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 ac_check_lib_save_LIBS
=$LIBS
33686 cat >conftest.
$ac_ext <<_ACEOF
33689 cat confdefs.h
>>conftest.
$ac_ext
33690 cat >>conftest.
$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33693 /* Override any gcc2 internal prototype to avoid an error. */
33697 /* We use char because int might match the return type of a gcc2
33698 builtin and then its argument prototype would still apply. */
33708 rm -f conftest.
$ac_objext conftest
$ac_exeext
33709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33710 (eval $ac_link) 2>conftest.er1
33712 grep -v '^ *+' conftest.er1
>conftest.err
33714 cat conftest.err
>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
33717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try
='test -s conftest$ac_exeext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 ac_cv_lib_dl_dlerror
=yes
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.
$ac_ext >&5
33734 ac_cv_lib_dl_dlerror
=no
33736 rm -f conftest.err conftest.
$ac_objext \
33737 conftest
$ac_exeext conftest.
$ac_ext
33738 LIBS
=$ac_check_lib_save_LIBS
33740 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33741 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33742 if test $ac_cv_lib_dl_dlerror = yes; then
33743 cat >>confdefs.h
<<\_ACEOF
33744 #define HAVE_DLERROR 1
33757 if test "$HAVE_DL_FUNCS" = 0; then
33758 if test "$HAVE_SHL_FUNCS" = 0; then
33759 if test "$USE_UNIX" = 1; then
33760 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33761 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33762 wxUSE_DYNAMIC_LOADER
=no
33763 wxUSE_DYNLIB_CLASS
=no
33765 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33766 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33773 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33774 cat >>confdefs.h
<<\_ACEOF
33775 #define wxUSE_DYNAMIC_LOADER 1
33779 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33780 cat >>confdefs.h
<<\_ACEOF
33781 #define wxUSE_DYNLIB_CLASS 1
33788 if test "$wxUSE_PLUGINS" = "yes" ; then
33789 if test "$wxUSE_SHARED" = "no" ; then
33790 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33791 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33794 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33795 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33796 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33799 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33800 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33801 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33804 if test "$wxUSE_PLUGINS" = "yes" ; then
33805 cat >>confdefs.h
<<\_ACEOF
33806 #define wxUSE_PLUGINS 1
33813 if test "$wxUSE_STL" = "yes"; then
33814 cat >>confdefs.h
<<\_ACEOF
33815 #define wxUSE_STL 1
33820 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33821 cat >>confdefs.h
<<\_ACEOF
33822 #define wxUSE_APPLE_IEEE 1
33827 if test "$wxUSE_TIMER" = "yes"; then
33828 cat >>confdefs.h
<<\_ACEOF
33829 #define wxUSE_TIMER 1
33835 if test "$wxUSE_SOUND" = "yes"; then
33836 if test "$USE_UNIX" = "1" ; then
33838 for ac_header
in sys
/soundcard.h
33840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33842 echo "$as_me:$LINENO: checking for $ac_header" >&5
33843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33850 # Is the header compilable?
33851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33853 cat >conftest.
$ac_ext <<_ACEOF
33856 cat confdefs.h
>>conftest.
$ac_ext
33857 cat >>conftest.
$ac_ext <<_ACEOF
33858 /* end confdefs.h. */
33859 $ac_includes_default
33860 #include <$ac_header>
33862 rm -f conftest.
$ac_objext
33863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33864 (eval $ac_compile) 2>conftest.er1
33866 grep -v '^ *+' conftest.er1
>conftest.err
33868 cat conftest.err
>&5
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); } &&
33871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33873 (eval $ac_try) 2>&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); }; } &&
33877 { ac_try
='test -s conftest.$ac_objext'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; }; then
33883 ac_header_compiler
=yes
33885 echo "$as_me: failed program was:" >&5
33886 sed 's/^/| /' conftest.
$ac_ext >&5
33888 ac_header_compiler
=no
33890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33892 echo "${ECHO_T}$ac_header_compiler" >&6
33894 # Is the header present?
33895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33897 cat >conftest.
$ac_ext <<_ACEOF
33900 cat confdefs.h
>>conftest.
$ac_ext
33901 cat >>conftest.
$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903 #include <$ac_header>
33905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33908 grep -v '^ *+' conftest.er1
>conftest.err
33910 cat conftest.err
>&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); } >/dev
/null
; then
33913 if test -s conftest.err
; then
33914 ac_cpp_err
=$ac_c_preproc_warn_flag
33915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33922 if test -z "$ac_cpp_err"; then
33923 ac_header_preproc
=yes
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.
$ac_ext >&5
33928 ac_header_preproc
=no
33930 rm -f conftest.err conftest.
$ac_ext
33931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33932 echo "${ECHO_T}$ac_header_preproc" >&6
33934 # So? What about this header?
33935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33941 ac_header_preproc
=yes
33944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33958 ## ----------------------------------------- ##
33959 ## Report this to wx-dev@lists.wxwidgets.org ##
33960 ## ----------------------------------------- ##
33963 sed "s/^/$as_me: WARNING: /" >&2
33966 echo "$as_me:$LINENO: checking for $ac_header" >&5
33967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33971 eval "$as_ac_Header=\$ac_header_preproc"
33973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33978 cat >>confdefs.h
<<_ACEOF
33979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33987 if test "$wxUSE_LIBSDL" != "no"; then
33989 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33990 if test "${with_sdl_prefix+set}" = set; then
33991 withval
="$with_sdl_prefix"
33992 sdl_prefix
="$withval"
33997 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33998 if test "${with_sdl_exec_prefix+set}" = set; then
33999 withval
="$with_sdl_exec_prefix"
34000 sdl_exec_prefix
="$withval"
34004 # Check whether --enable-sdltest or --disable-sdltest was given.
34005 if test "${enable_sdltest+set}" = set; then
34006 enableval
="$enable_sdltest"
34012 if test x
$sdl_exec_prefix != x
; then
34013 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34014 if test x
${SDL_CONFIG+set} != xset
; then
34015 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34018 if test x
$sdl_prefix != x
; then
34019 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34020 if test x
${SDL_CONFIG+set} != xset
; then
34021 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34026 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34027 # Extract the first word of "sdl-config", so it can be a program name with args.
34028 set dummy sdl
-config; ac_word
=$2
34029 echo "$as_me:$LINENO: checking for $ac_word" >&5
34030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34031 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34032 echo $ECHO_N "(cached) $ECHO_C" >&6
34034 case $SDL_CONFIG in
34036 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34040 for as_dir
in $PATH
34043 test -z "$as_dir" && as_dir
=.
34044 for ac_exec_ext
in '' $ac_executable_extensions; do
34045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34046 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34053 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34057 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34059 if test -n "$SDL_CONFIG"; then
34060 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34061 echo "${ECHO_T}$SDL_CONFIG" >&6
34063 echo "$as_me:$LINENO: result: no" >&5
34064 echo "${ECHO_T}no" >&6
34067 min_sdl_version
=1.2.0
34068 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34069 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34071 if test "$SDL_CONFIG" = "no" ; then
34074 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34075 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34077 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34079 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34081 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34083 if test "x$enable_sdltest" = "xyes" ; then
34084 ac_save_CFLAGS
="$CFLAGS"
34085 ac_save_LIBS
="$LIBS"
34086 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34087 LIBS
="$LIBS $SDL_LIBS"
34089 if test "$cross_compiling" = yes; then
34090 echo $ac_n "cross compiling; assumed OK... $ac_c"
34092 cat >conftest.
$ac_ext <<_ACEOF
34095 cat confdefs.h
>>conftest.
$ac_ext
34096 cat >>conftest.
$ac_ext <<_ACEOF
34097 /* end confdefs.h. */
34100 #include <stdlib.h>
34101 #include <string.h>
34105 my_strdup (char *str)
34111 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34112 strcpy (new_str, str);
34120 int main (int argc, char *argv[])
34122 int major, minor, micro;
34125 /* This hangs on some systems (?)
34126 system ("touch conf.sdltest");
34128 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34130 /* HP/UX 9 (%@#!) writes to sscanf strings */
34131 tmp_version = my_strdup("$min_sdl_version");
34132 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34133 printf("%s, bad version string\n", "$min_sdl_version");
34137 if (($sdl_major_version > major) ||
34138 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34139 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34145 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34146 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34147 printf("*** best to upgrade to the required version.\n");
34148 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34149 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34150 printf("*** config.cache before re-running configure\n");
34157 rm -f conftest
$ac_exeext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34159 (eval $ac_link) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34170 echo "$as_me: program exited with status $ac_status" >&5
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.
$ac_ext >&5
34174 ( exit $ac_status )
34177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34179 CFLAGS
="$ac_save_CFLAGS"
34180 LIBS
="$ac_save_LIBS"
34183 if test "x$no_sdl" = x
; then
34184 echo "$as_me:$LINENO: result: yes" >&5
34185 echo "${ECHO_T}yes" >&6
34187 EXTRALIBS_SDL
="$SDL_LIBS"
34188 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34189 cat >>confdefs.h
<<\_ACEOF
34190 #define wxUSE_LIBSDL 1
34195 echo "$as_me:$LINENO: result: no" >&5
34196 echo "${ECHO_T}no" >&6
34197 if test "$SDL_CONFIG" = "no" ; then
34198 echo "*** The sdl-config script installed by SDL could not be found"
34199 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34200 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34201 echo "*** full path to sdl-config."
34203 if test -f conf.sdltest
; then
34206 echo "*** Could not run SDL test program, checking why..."
34207 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34208 LIBS
="$LIBS $SDL_LIBS"
34209 cat >conftest.
$ac_ext <<_ACEOF
34212 cat confdefs.h
>>conftest.
$ac_ext
34213 cat >>conftest.
$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34219 int main(int argc, char *argv[])
34222 #define main K_and_R_C_main
34232 rm -f conftest.
$ac_objext conftest
$ac_exeext
34233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34234 (eval $ac_link) 2>conftest.er1
34236 grep -v '^ *+' conftest.er1
>conftest.err
34238 cat conftest.err
>&5
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); } &&
34241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243 (eval $ac_try) 2>&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); }; } &&
34247 { ac_try
='test -s conftest$ac_exeext'
34248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34249 (eval $ac_try) 2>&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); }; }; then
34253 echo "*** The test program compiled, but did not run. This usually means"
34254 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34255 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34256 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34257 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34258 echo "*** is required on your system"
34260 echo "*** If you have an old version installed, it is best to remove it, although"
34261 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34263 echo "$as_me: failed program was:" >&5
34264 sed 's/^/| /' conftest.
$ac_ext >&5
34266 echo "*** The test program failed to compile or link. See the file config.log for the"
34267 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34268 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34269 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34271 rm -f conftest.err conftest.
$ac_objext \
34272 conftest
$ac_exeext conftest.
$ac_ext
34273 CFLAGS
="$ac_save_CFLAGS"
34274 LIBS
="$ac_save_LIBS"
34285 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34291 cat >>confdefs.h
<<\_ACEOF
34292 #define wxUSE_SOUND 1
34295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34298 if test "$WXGTK20" = 1; then
34299 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34300 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34305 if test -z "$PKG_CONFIG"; then
34306 # Extract the first word of "pkg-config", so it can be a program name with args.
34307 set dummy pkg
-config; ac_word
=$2
34308 echo "$as_me:$LINENO: checking for $ac_word" >&5
34309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 case $PKG_CONFIG in
34315 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34319 for as_dir
in $PATH
34322 test -z "$as_dir" && as_dir
=.
34323 for ac_exec_ext
in '' $ac_executable_extensions; do
34324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34325 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34336 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34338 if test -n "$PKG_CONFIG"; then
34339 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34340 echo "${ECHO_T}$PKG_CONFIG" >&6
34342 echo "$as_me:$LINENO: result: no" >&5
34343 echo "${ECHO_T}no" >&6
34348 if test "$PKG_CONFIG" = "no" ; then
34349 echo "*** The pkg-config script could not be found. Make sure it is"
34350 echo "*** in your path, or set the PKG_CONFIG environment variable"
34351 echo "*** to the full path to pkg-config."
34352 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34354 PKG_CONFIG_MIN_VERSION
=0.9.0
34355 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34356 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34357 echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34359 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34360 echo "$as_me:$LINENO: result: yes" >&5
34361 echo "${ECHO_T}yes" >&6
34364 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34365 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34366 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34367 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34368 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34370 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34371 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34372 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34373 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34374 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34376 LIBGNOMEPRINTUI_CFLAGS
=""
34377 LIBGNOMEPRINTUI_LIBS
=""
34378 ## If we have a custom action on failure, don't print errors, but
34379 ## do set a variable so people can do so.
34380 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34387 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34388 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34392 if test $succeeded = yes; then
34394 EXTRALIBS_GNOMEPRINT
="$LIBGNOMEPRINTUI_LIBS"
34395 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34396 cat >>confdefs.h
<<\_ACEOF
34397 #define wxUSE_LIBGNOMEPRINT 1
34403 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34404 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34405 wxUSE_LIBGNOMEPRINT
="no"
34415 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34416 cat >>confdefs.h
<<\_ACEOF
34417 #define wxUSE_CMDLINE_PARSER 1
34422 if test "$wxUSE_STOPWATCH" = "yes"; then
34423 cat >>confdefs.h
<<\_ACEOF
34424 #define wxUSE_STOPWATCH 1
34429 if test "$wxUSE_DATETIME" = "yes"; then
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_DATETIME 1
34436 if test "$wxUSE_FILE" = "yes"; then
34437 cat >>confdefs.h
<<\_ACEOF
34438 #define wxUSE_FILE 1
34443 if test "$wxUSE_FFILE" = "yes"; then
34444 cat >>confdefs.h
<<\_ACEOF
34445 #define wxUSE_FFILE 1
34450 if test "$wxUSE_FILESYSTEM" = "yes"; then
34451 cat >>confdefs.h
<<\_ACEOF
34452 #define wxUSE_FILESYSTEM 1
34457 if test "$wxUSE_FS_ZIP" = "yes"; then
34458 cat >>confdefs.h
<<\_ACEOF
34459 #define wxUSE_FS_ZIP 1
34464 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34465 cat >>confdefs.h
<<\_ACEOF
34466 #define wxUSE_ZIPSTREAM 1
34471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define wxUSE_ON_FATAL_EXCEPTION 1
34478 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34479 cat >>confdefs.h
<<\_ACEOF
34480 #define wxUSE_SNGLINST_CHECKER 1
34485 if test "$wxUSE_BUSYINFO" = "yes"; then
34486 cat >>confdefs.h
<<\_ACEOF
34487 #define wxUSE_BUSYINFO 1
34492 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34493 cat >>confdefs.h
<<\_ACEOF
34494 #define wxUSE_STD_IOSTREAM 1
34499 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34500 cat >>confdefs.h
<<\_ACEOF
34501 #define wxUSE_TEXTBUFFER 1
34506 if test "$wxUSE_TEXTFILE" = "yes"; then
34507 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34508 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34509 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34511 cat >>confdefs.h
<<\_ACEOF
34512 #define wxUSE_TEXTFILE 1
34518 if test "$wxUSE_CONFIG" = "yes" ; then
34519 if test "$wxUSE_TEXTFILE" != "yes"; then
34520 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34521 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34523 cat >>confdefs.h
<<\_ACEOF
34524 #define wxUSE_CONFIG 1
34527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34531 if test "$wxUSE_INTL" = "yes" ; then
34532 if test "$wxUSE_FILE" != "yes"; then
34533 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34534 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34536 cat >>confdefs.h
<<\_ACEOF
34537 #define wxUSE_INTL 1
34540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34541 GUIDIST
="$GUIDIST INTL_DIST"
34545 if test "$wxUSE_LOG" = "yes"; then
34546 cat >>confdefs.h
<<\_ACEOF
34547 #define wxUSE_LOG 1
34551 if test "$wxUSE_LOGGUI" = "yes"; then
34552 cat >>confdefs.h
<<\_ACEOF
34553 #define wxUSE_LOGGUI 1
34558 if test "$wxUSE_LOGWINDOW" = "yes"; then
34559 cat >>confdefs.h
<<\_ACEOF
34560 #define wxUSE_LOGWINDOW 1
34565 if test "$wxUSE_LOGDIALOG" = "yes"; then
34566 cat >>confdefs.h
<<\_ACEOF
34567 #define wxUSE_LOG_DIALOG 1
34573 if test "$wxUSE_LONGLONG" = "yes"; then
34574 cat >>confdefs.h
<<\_ACEOF
34575 #define wxUSE_LONGLONG 1
34580 if test "$wxUSE_GEOMETRY" = "yes"; then
34581 cat >>confdefs.h
<<\_ACEOF
34582 #define wxUSE_GEOMETRY 1
34587 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34588 cat >>confdefs.h
<<\_ACEOF
34589 #define wxUSE_DIALUP_MANAGER 1
34592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34595 if test "$wxUSE_STREAMS" = "yes" ; then
34596 cat >>confdefs.h
<<\_ACEOF
34597 #define wxUSE_STREAMS 1
34603 if test "$wxUSE_DATETIME" = "yes"; then
34605 for ac_func
in strptime
34607 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34608 echo "$as_me:$LINENO: checking for $ac_func" >&5
34609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34610 if eval "test \"\${$as_ac_var+set}\" = set"; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34613 cat >conftest.
$ac_ext <<_ACEOF
34616 cat confdefs.h
>>conftest.
$ac_ext
34617 cat >>conftest.
$ac_ext <<_ACEOF
34618 /* end confdefs.h. */
34619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34621 #define $ac_func innocuous_$ac_func
34623 /* System header to define __stub macros and hopefully few prototypes,
34624 which can conflict with char $ac_func (); below.
34625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34626 <limits.h> exists even on freestanding compilers. */
34629 # include <limits.h>
34631 # include <assert.h>
34636 /* Override any gcc2 internal prototype to avoid an error. */
34641 /* We use char because int might match the return type of a gcc2
34642 builtin and then its argument prototype would still apply. */
34644 /* The GNU C library defines this for functions which it implements
34645 to always fail with ENOSYS. Some functions are actually named
34646 something starting with __ and the normal name is an alias. */
34647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34650 char (*f) () = $ac_func;
34659 return f != $ac_func;
34664 rm -f conftest.
$ac_objext conftest
$ac_exeext
34665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34666 (eval $ac_link) 2>conftest.er1
34668 grep -v '^ *+' conftest.er1
>conftest.err
34670 cat conftest.err
>&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
34673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; } &&
34679 { ac_try
='test -s conftest$ac_exeext'
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; }; then
34685 eval "$as_ac_var=yes"
34687 echo "$as_me: failed program was:" >&5
34688 sed 's/^/| /' conftest.
$ac_ext >&5
34690 eval "$as_ac_var=no"
34692 rm -f conftest.err conftest.
$ac_objext \
34693 conftest
$ac_exeext conftest.
$ac_ext
34695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34697 if test `eval echo '${'$as_ac_var'}'` = yes; then
34698 cat >>confdefs.h
<<_ACEOF
34699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34706 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34707 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34708 if test "${wx_cv_var_timezone+set}" = set; then
34709 echo $ECHO_N "(cached) $ECHO_C" >&6
34712 cat >conftest.
$ac_ext <<_ACEOF
34715 cat confdefs.h
>>conftest.
$ac_ext
34716 cat >>conftest.
$ac_ext <<_ACEOF
34717 /* end confdefs.h. */
34732 rm -f conftest.
$ac_objext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34734 (eval $ac_compile) 2>conftest.er1
34736 grep -v '^ *+' conftest.er1
>conftest.err
34738 cat conftest.err
>&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; } &&
34747 { ac_try
='test -s conftest.$ac_objext'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; }; then
34754 wx_cv_var_timezone
=timezone
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.
$ac_ext >&5
34761 cat >conftest.
$ac_ext <<_ACEOF
34764 cat confdefs.h
>>conftest.
$ac_ext
34765 cat >>conftest.
$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34781 rm -f conftest.
$ac_objext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34783 (eval $ac_compile) 2>conftest.er1
34785 grep -v '^ *+' conftest.er1
>conftest.err
34787 cat conftest.err
>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try
='test -s conftest.$ac_objext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34803 wx_cv_var_timezone
=_timezone
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.
$ac_ext >&5
34810 cat >conftest.
$ac_ext <<_ACEOF
34813 cat confdefs.h
>>conftest.
$ac_ext
34814 cat >>conftest.
$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34830 rm -f conftest.
$ac_objext
34831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34832 (eval $ac_compile) 2>conftest.er1
34834 grep -v '^ *+' conftest.er1
>conftest.err
34836 cat conftest.err
>&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } &&
34839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; } &&
34845 { ac_try
='test -s conftest.$ac_objext'
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; }; then
34852 wx_cv_var_timezone
=__timezone
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.
$ac_ext >&5
34859 if test "$USE_DOS" = 0 ; then
34860 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34861 echo "$as_me: WARNING: no timezone variable" >&2;}
34866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34878 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34879 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34881 if test "x$wx_cv_var_timezone" != x
; then
34882 cat >>confdefs.h
<<_ACEOF
34883 #define WX_TIMEZONE $wx_cv_var_timezone
34889 for ac_func
in localtime
34891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34892 echo "$as_me:$LINENO: checking for $ac_func" >&5
34893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34894 if eval "test \"\${$as_ac_var+set}\" = set"; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 cat >conftest.
$ac_ext <<_ACEOF
34900 cat confdefs.h
>>conftest.
$ac_ext
34901 cat >>conftest.
$ac_ext <<_ACEOF
34902 /* end confdefs.h. */
34903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34905 #define $ac_func innocuous_$ac_func
34907 /* System header to define __stub macros and hopefully few prototypes,
34908 which can conflict with char $ac_func (); below.
34909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34910 <limits.h> exists even on freestanding compilers. */
34913 # include <limits.h>
34915 # include <assert.h>
34920 /* Override any gcc2 internal prototype to avoid an error. */
34925 /* We use char because int might match the return type of a gcc2
34926 builtin and then its argument prototype would still apply. */
34928 /* The GNU C library defines this for functions which it implements
34929 to always fail with ENOSYS. Some functions are actually named
34930 something starting with __ and the normal name is an alias. */
34931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34934 char (*f) () = $ac_func;
34943 return f != $ac_func;
34948 rm -f conftest.
$ac_objext conftest
$ac_exeext
34949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34950 (eval $ac_link) 2>conftest.er1
34952 grep -v '^ *+' conftest.er1
>conftest.err
34954 cat conftest.err
>&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } &&
34957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try
='test -s conftest$ac_exeext'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34969 eval "$as_ac_var=yes"
34971 echo "$as_me: failed program was:" >&5
34972 sed 's/^/| /' conftest.
$ac_ext >&5
34974 eval "$as_ac_var=no"
34976 rm -f conftest.err conftest.
$ac_objext \
34977 conftest
$ac_exeext conftest.
$ac_ext
34979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34981 if test `eval echo '${'$as_ac_var'}'` = yes; then
34982 cat >>confdefs.h
<<_ACEOF
34983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34990 if test "$ac_cv_func_localtime" = "yes"; then
34991 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34992 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34993 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 cat >conftest.
$ac_ext <<_ACEOF
35000 cat confdefs.h
>>conftest.
$ac_ext
35001 cat >>conftest.
$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35017 rm -f conftest.
$ac_objext
35018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35019 (eval $ac_compile) 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_objext'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; }; then
35039 wx_cv_struct_tm_has_gmtoff
=yes
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.
$ac_ext >&5
35045 wx_cv_struct_tm_has_gmtoff
=no
35048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35051 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35052 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35055 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35056 cat >>confdefs.h
<<\_ACEOF
35057 #define WX_GMTOFF_IN_TM 1
35064 for ac_func
in gettimeofday ftime
35066 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35067 echo "$as_me:$LINENO: checking for $ac_func" >&5
35068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35069 if eval "test \"\${$as_ac_var+set}\" = set"; then
35070 echo $ECHO_N "(cached) $ECHO_C" >&6
35072 cat >conftest.
$ac_ext <<_ACEOF
35075 cat confdefs.h
>>conftest.
$ac_ext
35076 cat >>conftest.
$ac_ext <<_ACEOF
35077 /* end confdefs.h. */
35078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35080 #define $ac_func innocuous_$ac_func
35082 /* System header to define __stub macros and hopefully few prototypes,
35083 which can conflict with char $ac_func (); below.
35084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35085 <limits.h> exists even on freestanding compilers. */
35088 # include <limits.h>
35090 # include <assert.h>
35095 /* Override any gcc2 internal prototype to avoid an error. */
35100 /* We use char because int might match the return type of a gcc2
35101 builtin and then its argument prototype would still apply. */
35103 /* The GNU C library defines this for functions which it implements
35104 to always fail with ENOSYS. Some functions are actually named
35105 something starting with __ and the normal name is an alias. */
35106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35109 char (*f) () = $ac_func;
35118 return f != $ac_func;
35123 rm -f conftest.
$ac_objext conftest
$ac_exeext
35124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35125 (eval $ac_link) 2>conftest.er1
35127 grep -v '^ *+' conftest.er1
>conftest.err
35129 cat conftest.err
>&5
35130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35131 (exit $ac_status); } &&
35132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35134 (eval $ac_try) 2>&5
35136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35137 (exit $ac_status); }; } &&
35138 { ac_try
='test -s conftest$ac_exeext'
35139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35140 (eval $ac_try) 2>&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); }; }; then
35144 eval "$as_ac_var=yes"
35146 echo "$as_me: failed program was:" >&5
35147 sed 's/^/| /' conftest.
$ac_ext >&5
35149 eval "$as_ac_var=no"
35151 rm -f conftest.err conftest.
$ac_objext \
35152 conftest
$ac_exeext conftest.
$ac_ext
35154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35156 if test `eval echo '${'$as_ac_var'}'` = yes; then
35157 cat >>confdefs.h
<<_ACEOF
35158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35165 if test "$ac_cv_func_gettimeofday" = "yes"; then
35166 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35167 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35168 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35169 echo $ECHO_N "(cached) $ECHO_C" >&6
35175 ac_cpp
='$CXXCPP $CPPFLAGS'
35176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35181 cat >conftest.
$ac_ext <<_ACEOF
35184 cat confdefs.h
>>conftest.
$ac_ext
35185 cat >>conftest.
$ac_ext <<_ACEOF
35186 /* end confdefs.h. */
35188 #include <sys/time.h>
35189 #include <unistd.h>
35196 gettimeofday(&tv, NULL);
35202 rm -f conftest.
$ac_objext
35203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35204 (eval $ac_compile) 2>conftest.er1
35206 grep -v '^ *+' conftest.er1
>conftest.err
35208 cat conftest.err
>&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } &&
35211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35213 (eval $ac_try) 2>&5
35215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35216 (exit $ac_status); }; } &&
35217 { ac_try
='test -s conftest.$ac_objext'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; }; then
35223 wx_cv_func_gettimeofday_has_2_args
=yes
35225 echo "$as_me: failed program was:" >&5
35226 sed 's/^/| /' conftest.
$ac_ext >&5
35228 cat >conftest.
$ac_ext <<_ACEOF
35231 cat confdefs.h
>>conftest.
$ac_ext
35232 cat >>conftest.
$ac_ext <<_ACEOF
35233 /* end confdefs.h. */
35235 #include <sys/time.h>
35236 #include <unistd.h>
35249 rm -f conftest.
$ac_objext
35250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35251 (eval $ac_compile) 2>conftest.er1
35253 grep -v '^ *+' conftest.er1
>conftest.err
35255 cat conftest.err
>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); } &&
35258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; } &&
35264 { ac_try
='test -s conftest.$ac_objext'
35265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35266 (eval $ac_try) 2>&5
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); }; }; then
35270 wx_cv_func_gettimeofday_has_2_args
=no
35272 echo "$as_me: failed program was:" >&5
35273 sed 's/^/| /' conftest.
$ac_ext >&5
35276 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35277 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35278 wx_cv_func_gettimeofday_has_2_args
=unknown
35282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35287 ac_cpp
='$CPP $CPPFLAGS'
35288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35294 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35295 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35297 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35298 cat >>confdefs.h
<<\_ACEOF
35299 #define WX_GETTIMEOFDAY_NO_TZ 1
35305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35309 if test "$wxUSE_SOCKETS" = "yes"; then
35310 if test "$wxUSE_MGL" = "1"; then
35311 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35312 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35317 if test "$wxUSE_SOCKETS" = "yes"; then
35318 if test "$TOOLKIT" != "MSW"; then
35319 echo "$as_me:$LINENO: checking for socket" >&5
35320 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35321 if test "${ac_cv_func_socket+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 cat >conftest.
$ac_ext <<_ACEOF
35327 cat confdefs.h
>>conftest.
$ac_ext
35328 cat >>conftest.
$ac_ext <<_ACEOF
35329 /* end confdefs.h. */
35330 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35332 #define socket innocuous_socket
35334 /* System header to define __stub macros and hopefully few prototypes,
35335 which can conflict with char socket (); below.
35336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35337 <limits.h> exists even on freestanding compilers. */
35340 # include <limits.h>
35342 # include <assert.h>
35347 /* Override any gcc2 internal prototype to avoid an error. */
35352 /* We use char because int might match the return type of a gcc2
35353 builtin and then its argument prototype would still apply. */
35355 /* The GNU C library defines this for functions which it implements
35356 to always fail with ENOSYS. Some functions are actually named
35357 something starting with __ and the normal name is an alias. */
35358 #if defined (__stub_socket) || defined (__stub___socket)
35361 char (*f) () = socket;
35370 return f != socket;
35375 rm -f conftest.
$ac_objext conftest
$ac_exeext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35377 (eval $ac_link) 2>conftest.er1
35379 grep -v '^ *+' conftest.er1
>conftest.err
35381 cat conftest.err
>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try
='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 ac_cv_func_socket
=yes
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.
$ac_ext >&5
35401 ac_cv_func_socket
=no
35403 rm -f conftest.err conftest.
$ac_objext \
35404 conftest
$ac_exeext conftest.
$ac_ext
35406 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35407 echo "${ECHO_T}$ac_cv_func_socket" >&6
35408 if test $ac_cv_func_socket = yes; then
35412 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35413 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35414 if test "${ac_cv_lib_socket_socket+set}" = set; then
35415 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 ac_check_lib_save_LIBS
=$LIBS
35418 LIBS
="-lsocket $LIBS"
35419 cat >conftest.
$ac_ext <<_ACEOF
35422 cat confdefs.h
>>conftest.
$ac_ext
35423 cat >>conftest.
$ac_ext <<_ACEOF
35424 /* end confdefs.h. */
35426 /* Override any gcc2 internal prototype to avoid an error. */
35430 /* We use char because int might match the return type of a gcc2
35431 builtin and then its argument prototype would still apply. */
35441 rm -f conftest.
$ac_objext conftest
$ac_exeext
35442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35443 (eval $ac_link) 2>conftest.er1
35445 grep -v '^ *+' conftest.er1
>conftest.err
35447 cat conftest.err
>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
35450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; } &&
35456 { ac_try
='test -s conftest$ac_exeext'
35457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35458 (eval $ac_try) 2>&5
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); }; }; then
35462 ac_cv_lib_socket_socket
=yes
35464 echo "$as_me: failed program was:" >&5
35465 sed 's/^/| /' conftest.
$ac_ext >&5
35467 ac_cv_lib_socket_socket
=no
35469 rm -f conftest.err conftest.
$ac_objext \
35470 conftest
$ac_exeext conftest.
$ac_ext
35471 LIBS
=$ac_check_lib_save_LIBS
35473 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35474 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35475 if test $ac_cv_lib_socket_socket = yes; then
35476 if test "$INET_LINK" != " -lsocket"; then
35477 INET_LINK
="$INET_LINK -lsocket"
35481 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35482 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35495 if test "$wxUSE_SOCKETS" = "yes" ; then
35496 if test "$TOOLKIT" != "MSW"; then
35498 ac_cpp
='$CXXCPP $CPPFLAGS'
35499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35503 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35504 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35505 if test "${wx_cv_type_getsockname3+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35509 cat >conftest.
$ac_ext <<_ACEOF
35512 cat confdefs.h
>>conftest.
$ac_ext
35513 cat >>conftest.
$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35516 #include <sys/types.h>
35517 #include <sys/socket.h>
35524 getsockname(0, 0, &len);
35530 rm -f conftest.
$ac_objext
35531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35532 (eval $ac_compile) 2>conftest.er1
35534 grep -v '^ *+' conftest.er1
>conftest.err
35536 cat conftest.err
>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
35539 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35545 { ac_try
='test -s conftest.$ac_objext'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 wx_cv_type_getsockname3
=socklen_t
35553 echo "$as_me: failed program was:" >&5
35554 sed 's/^/| /' conftest.
$ac_ext >&5
35557 CFLAGS_OLD
="$CFLAGS"
35558 if test "$GCC" = yes ; then
35559 CFLAGS
="$CFLAGS -Werror"
35562 cat >conftest.
$ac_ext <<_ACEOF
35565 cat confdefs.h
>>conftest.
$ac_ext
35566 cat >>conftest.
$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35569 #include <sys/types.h>
35570 #include <sys/socket.h>
35577 getsockname(0, 0, &len);
35583 rm -f conftest.
$ac_objext
35584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35585 (eval $ac_compile) 2>conftest.er1
35587 grep -v '^ *+' conftest.er1
>conftest.err
35589 cat conftest.err
>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } &&
35592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; } &&
35598 { ac_try
='test -s conftest.$ac_objext'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_type_getsockname3
=size_t
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.
$ac_ext >&5
35609 cat >conftest.
$ac_ext <<_ACEOF
35612 cat confdefs.h
>>conftest.
$ac_ext
35613 cat >>conftest.
$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35616 #include <sys/types.h>
35617 #include <sys/socket.h>
35624 getsockname(0, 0, &len);
35630 rm -f conftest.
$ac_objext
35631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35632 (eval $ac_compile) 2>conftest.er1
35634 grep -v '^ *+' conftest.er1
>conftest.err
35636 cat conftest.err
>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } &&
35639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; } &&
35645 { ac_try
='test -s conftest.$ac_objext'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }; then
35651 wx_cv_type_getsockname3
=int
35653 echo "$as_me: failed program was:" >&5
35654 sed 's/^/| /' conftest.
$ac_ext >&5
35656 wx_cv_type_getsockname3
=unknown
35659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35664 CFLAGS
="$CFLAGS_OLD"
35668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35671 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35672 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35674 if test "$wx_cv_type_getsockname3" = "unknown"; then
35676 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35677 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35679 cat >>confdefs.h
<<_ACEOF
35680 #define SOCKLEN_T $wx_cv_type_getsockname3
35685 ac_cpp
='$CPP $CPPFLAGS'
35686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35693 if test "$wxUSE_SOCKETS" = "yes" ; then
35694 cat >>confdefs.h
<<\_ACEOF
35695 #define wxUSE_SOCKETS 1
35698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35701 if test "$wxUSE_PROTOCOL" = "yes"; then
35702 if test "$wxUSE_SOCKETS" != "yes"; then
35703 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35704 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35709 if test "$wxUSE_PROTOCOL" = "yes"; then
35710 cat >>confdefs.h
<<\_ACEOF
35711 #define wxUSE_PROTOCOL 1
35715 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35716 cat >>confdefs.h
<<\_ACEOF
35717 #define wxUSE_PROTOCOL_HTTP 1
35721 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35722 cat >>confdefs.h
<<\_ACEOF
35723 #define wxUSE_PROTOCOL_FTP 1
35727 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35728 cat >>confdefs.h
<<\_ACEOF
35729 #define wxUSE_PROTOCOL_FILE 1
35734 if test "$wxUSE_FS_INET" = "yes"; then
35735 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35736 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35741 if test "$wxUSE_URL" = "yes"; then
35742 if test "$wxUSE_PROTOCOL" != "yes"; then
35743 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35744 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35747 if test "$wxUSE_URL" = "yes"; then
35748 cat >>confdefs.h
<<\_ACEOF
35749 #define wxUSE_URL 1
35755 if test "$wxUSE_FS_INET" = "yes"; then
35756 cat >>confdefs.h
<<\_ACEOF
35757 #define wxUSE_FS_INET 1
35763 if test "$wxUSE_GUI" = "yes"; then
35765 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35766 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35767 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35771 if test "$TOOLKIT" != "MSW"; then
35772 if test "$wxUSE_JOYSTICK" = "yes"; then
35774 for ac_header
in linux
/joystick.h
35776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35778 echo "$as_me:$LINENO: checking for $ac_header" >&5
35779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35786 # Is the header compilable?
35787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35789 cat >conftest.
$ac_ext <<_ACEOF
35792 cat confdefs.h
>>conftest.
$ac_ext
35793 cat >>conftest.
$ac_ext <<_ACEOF
35794 /* end confdefs.h. */
35795 $ac_includes_default
35796 #include <$ac_header>
35798 rm -f conftest.
$ac_objext
35799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35800 (eval $ac_compile) 2>conftest.er1
35802 grep -v '^ *+' conftest.er1
>conftest.err
35804 cat conftest.err
>&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } &&
35807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; } &&
35813 { ac_try
='test -s conftest.$ac_objext'
35814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815 (eval $ac_try) 2>&5
35817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 (exit $ac_status); }; }; then
35819 ac_header_compiler
=yes
35821 echo "$as_me: failed program was:" >&5
35822 sed 's/^/| /' conftest.
$ac_ext >&5
35824 ac_header_compiler
=no
35826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35828 echo "${ECHO_T}$ac_header_compiler" >&6
35830 # Is the header present?
35831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35833 cat >conftest.
$ac_ext <<_ACEOF
35836 cat confdefs.h
>>conftest.
$ac_ext
35837 cat >>conftest.
$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839 #include <$ac_header>
35841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35844 grep -v '^ *+' conftest.er1
>conftest.err
35846 cat conftest.err
>&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); } >/dev
/null
; then
35849 if test -s conftest.err
; then
35850 ac_cpp_err
=$ac_c_preproc_warn_flag
35851 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35858 if test -z "$ac_cpp_err"; then
35859 ac_header_preproc
=yes
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.
$ac_ext >&5
35864 ac_header_preproc
=no
35866 rm -f conftest.err conftest.
$ac_ext
35867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35868 echo "${ECHO_T}$ac_header_preproc" >&6
35870 # So? What about this header?
35871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35877 ac_header_preproc
=yes
35880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35894 ## ----------------------------------------- ##
35895 ## Report this to wx-dev@lists.wxwidgets.org ##
35896 ## ----------------------------------------- ##
35899 sed "s/^/$as_me: WARNING: /" >&2
35902 echo "$as_me:$LINENO: checking for $ac_header" >&5
35903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35905 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 eval "$as_ac_Header=\$ac_header_preproc"
35909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35914 cat >>confdefs.h
<<_ACEOF
35915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35922 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35924 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35925 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35930 if test "$wxUSE_JOYSTICK" = "yes"; then
35931 cat >>confdefs.h
<<\_ACEOF
35932 #define wxUSE_JOYSTICK 1
35935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35941 if test "$wxUSE_FONTMAP" = "yes" ; then
35942 cat >>confdefs.h
<<\_ACEOF
35943 #define wxUSE_FONTMAP 1
35948 if test "$wxUSE_UNICODE" = "yes" ; then
35949 cat >>confdefs.h
<<\_ACEOF
35950 #define wxUSE_UNICODE 1
35954 if test "$USE_WIN32" != 1; then
35955 wxUSE_UNICODE_MSLU
=no
35958 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35959 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35960 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35961 if test "${ac_cv_lib_unicows_main+set}" = set; then
35962 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 ac_check_lib_save_LIBS
=$LIBS
35965 LIBS
="-lunicows $LIBS"
35966 cat >conftest.
$ac_ext <<_ACEOF
35969 cat confdefs.h
>>conftest.
$ac_ext
35970 cat >>conftest.
$ac_ext <<_ACEOF
35971 /* end confdefs.h. */
35982 rm -f conftest.
$ac_objext conftest
$ac_exeext
35983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35984 (eval $ac_link) 2>conftest.er1
35986 grep -v '^ *+' conftest.er1
>conftest.err
35988 cat conftest.err
>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } &&
35991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try
='test -s conftest$ac_exeext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 ac_cv_lib_unicows_main
=yes
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.
$ac_ext >&5
36008 ac_cv_lib_unicows_main
=no
36010 rm -f conftest.err conftest.
$ac_objext \
36011 conftest
$ac_exeext conftest.
$ac_ext
36012 LIBS
=$ac_check_lib_save_LIBS
36014 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36015 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36016 if test $ac_cv_lib_unicows_main = yes; then
36018 cat >>confdefs.h
<<\_ACEOF
36019 #define wxUSE_UNICODE_MSLU 1
36025 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36026 Applications will only run on Windows NT/2000/XP!" >&5
36027 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36028 Applications will only run on Windows NT/2000/XP!" >&2;}
36029 wxUSE_UNICODE_MSLU
=no
36036 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36037 cat >>confdefs.h
<<\_ACEOF
36038 #define wxUSE_EXPERIMENTAL_PRINTF 1
36044 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36045 cat >>confdefs.h
<<\_ACEOF
36046 #define wxUSE_POSTSCRIPT 1
36051 cat >>confdefs.h
<<\_ACEOF
36052 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36056 cat >>confdefs.h
<<\_ACEOF
36057 #define wxUSE_NORMALIZED_PS_FONTS 1
36062 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36063 cat >>confdefs.h
<<\_ACEOF
36064 #define wxUSE_CONSTRAINTS 1
36067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36070 if test "$wxUSE_MDI" = "yes"; then
36071 cat >>confdefs.h
<<\_ACEOF
36072 #define wxUSE_MDI 1
36076 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36077 cat >>confdefs.h
<<\_ACEOF
36078 #define wxUSE_MDI_ARCHITECTURE 1
36081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36085 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36086 cat >>confdefs.h
<<\_ACEOF
36087 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36091 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36096 if test "$wxUSE_HELP" = "yes"; then
36097 cat >>confdefs.h
<<\_ACEOF
36098 #define wxUSE_HELP 1
36101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36103 if test "$wxUSE_MSW" = 1; then
36104 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36105 cat >>confdefs.h
<<\_ACEOF
36106 #define wxUSE_MS_HTML_HELP 1
36112 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36113 if test "$wxUSE_HTML" = "yes"; then
36114 cat >>confdefs.h
<<\_ACEOF
36115 #define wxUSE_WXHTML_HELP 1
36119 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36120 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36121 wxUSE_WXHTML_HELP
=no
36126 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36127 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36128 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36129 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36131 cat >>confdefs.h
<<\_ACEOF
36132 #define wxUSE_PRINTING_ARCHITECTURE 1
36136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36139 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36140 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36141 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36142 { (exit 1); exit 1; }; }
36146 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36147 -o "$wxUSE_CLIPBOARD" = "yes" \
36148 -o "$wxUSE_OLE" = "yes" \
36149 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36151 for ac_header
in ole2.h
36153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36155 echo "$as_me:$LINENO: checking for $ac_header" >&5
36156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36158 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36163 # Is the header compilable?
36164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36166 cat >conftest.
$ac_ext <<_ACEOF
36169 cat confdefs.h
>>conftest.
$ac_ext
36170 cat >>conftest.
$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 $ac_includes_default
36173 #include <$ac_header>
36175 rm -f conftest.
$ac_objext
36176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36177 (eval $ac_compile) 2>conftest.er1
36179 grep -v '^ *+' conftest.er1
>conftest.err
36181 cat conftest.err
>&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } &&
36184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try
='test -s conftest.$ac_objext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 ac_header_compiler
=yes
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.
$ac_ext >&5
36201 ac_header_compiler
=no
36203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36205 echo "${ECHO_T}$ac_header_compiler" >&6
36207 # Is the header present?
36208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36210 cat >conftest.
$ac_ext <<_ACEOF
36213 cat confdefs.h
>>conftest.
$ac_ext
36214 cat >>conftest.
$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216 #include <$ac_header>
36218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36221 grep -v '^ *+' conftest.er1
>conftest.err
36223 cat conftest.err
>&5
36224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36225 (exit $ac_status); } >/dev
/null
; then
36226 if test -s conftest.err
; then
36227 ac_cpp_err
=$ac_c_preproc_warn_flag
36228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36235 if test -z "$ac_cpp_err"; then
36236 ac_header_preproc
=yes
36238 echo "$as_me: failed program was:" >&5
36239 sed 's/^/| /' conftest.
$ac_ext >&5
36241 ac_header_preproc
=no
36243 rm -f conftest.err conftest.
$ac_ext
36244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36245 echo "${ECHO_T}$ac_header_preproc" >&6
36247 # So? What about this header?
36248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36254 ac_header_preproc
=yes
36257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36271 ## ----------------------------------------- ##
36272 ## Report this to wx-dev@lists.wxwidgets.org ##
36273 ## ----------------------------------------- ##
36276 sed "s/^/$as_me: WARNING: /" >&2
36279 echo "$as_me:$LINENO: checking for $ac_header" >&5
36280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 eval "$as_ac_Header=\$ac_header_preproc"
36286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36291 cat >>confdefs.h
<<_ACEOF
36292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36300 if test "$ac_cv_header_ole2_h" = "yes" ; then
36301 if test "$GCC" = yes ; then
36305 ac_cpp
='$CXXCPP $CPPFLAGS'
36306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36311 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36312 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36313 cat >conftest.
$ac_ext <<_ACEOF
36316 cat confdefs.h
>>conftest.
$ac_ext
36317 cat >>conftest.
$ac_ext <<_ACEOF
36318 /* end confdefs.h. */
36319 #include <windows.h>
36329 rm -f conftest.
$ac_objext
36330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36331 (eval $ac_compile) 2>conftest.er1
36333 grep -v '^ *+' conftest.er1
>conftest.err
36335 cat conftest.err
>&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } &&
36338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; } &&
36344 { ac_try
='test -s conftest.$ac_objext'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; }; then
36350 echo "$as_me:$LINENO: result: no" >&5
36351 echo "${ECHO_T}no" >&6
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.
$ac_ext >&5
36356 echo "$as_me:$LINENO: result: yes" >&5
36357 echo "${ECHO_T}yes" >&6
36358 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36362 ac_cpp
='$CPP $CPPFLAGS'
36363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36367 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36368 if test "$wxUSE_OLE" = "yes" ; then
36369 cat >>confdefs.h
<<\_ACEOF
36370 #define wxUSE_OLE 1
36376 if test "$wxUSE_DATAOBJ" = "yes" ; then
36377 cat >>confdefs.h
<<\_ACEOF
36378 #define wxUSE_DATAOBJ 1
36383 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36384 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36387 wxUSE_DRAG_AND_DROP
=no
36392 if test "$wxUSE_METAFILE" = "yes"; then
36393 cat >>confdefs.h
<<\_ACEOF
36394 #define wxUSE_METAFILE 1
36398 cat >>confdefs.h
<<\_ACEOF
36399 #define wxUSE_ENH_METAFILE 1
36405 if test "$wxUSE_IPC" = "yes"; then
36406 if test "$wxUSE_SOCKETS" != "yes"; then
36407 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36408 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define wxUSE_IPC 1
36417 if test "$wxUSE_CLIPBOARD" = "yes"; then
36418 if test "$wxUSE_MGL" = 1; then
36419 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36420 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36424 if test "$wxUSE_CLIPBOARD" = "yes"; then
36425 cat >>confdefs.h
<<\_ACEOF
36426 #define wxUSE_CLIPBOARD 1
36430 cat >>confdefs.h
<<\_ACEOF
36431 #define wxUSE_DATAOBJ 1
36437 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36438 if test "$wxUSE_GTK" = 1; then
36439 if test "$WXGTK12" != 1; then
36440 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36441 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36442 wxUSE_DRAG_AND_DROP
=no
36446 if test "$wxUSE_MOTIF" = 1; then
36447 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36448 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36449 wxUSE_DRAG_AND_DROP
=no
36452 if test "$wxUSE_X11" = 1; then
36453 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36454 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36455 wxUSE_DRAG_AND_DROP
=no
36458 if test "$wxUSE_MGL" = 1; then
36459 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36460 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36461 wxUSE_DRAG_AND_DROP
=no
36464 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36465 cat >>confdefs.h
<<\_ACEOF
36466 #define wxUSE_DRAG_AND_DROP 1
36473 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36477 if test "$wxUSE_SPLINES" = "yes" ; then
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define wxUSE_SPLINES 1
36486 if test "$wxUSE_CONTROLS" = "yes"; then
36490 if test "$wxUSE_ACCEL" = "yes"; then
36491 cat >>confdefs.h
<<\_ACEOF
36492 #define wxUSE_ACCEL 1
36498 if test "$wxUSE_BUTTON" = "yes"; then
36499 cat >>confdefs.h
<<\_ACEOF
36500 #define wxUSE_BUTTON 1
36506 if test "$wxUSE_BMPBUTTON" = "yes"; then
36507 cat >>confdefs.h
<<\_ACEOF
36508 #define wxUSE_BMPBUTTON 1
36514 if test "$wxUSE_CALCTRL" = "yes"; then
36515 cat >>confdefs.h
<<\_ACEOF
36516 #define wxUSE_CALENDARCTRL 1
36520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36523 if test "$wxUSE_CARET" = "yes"; then
36524 cat >>confdefs.h
<<\_ACEOF
36525 #define wxUSE_CARET 1
36529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36532 if test "$wxUSE_COMBOBOX" = "yes"; then
36533 cat >>confdefs.h
<<\_ACEOF
36534 #define wxUSE_COMBOBOX 1
36540 if test "$wxUSE_CHOICE" = "yes"; then
36541 cat >>confdefs.h
<<\_ACEOF
36542 #define wxUSE_CHOICE 1
36548 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36549 cat >>confdefs.h
<<\_ACEOF
36550 #define wxUSE_CHOICEBOOK 1
36556 if test "$wxUSE_CHECKBOX" = "yes"; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_CHECKBOX 1
36564 if test "$wxUSE_CHECKLST" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_CHECKLISTBOX 1
36570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36573 if test "$wxUSE_DISPLAY" = "yes"; then
36574 cat >>confdefs.h
<<\_ACEOF
36575 #define wxUSE_DISPLAY 1
36578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36581 if test "$wxUSE_GAUGE" = "yes"; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define wxUSE_GAUGE 1
36589 if test "$wxUSE_GRID" = "yes"; then
36590 cat >>confdefs.h
<<\_ACEOF
36591 #define wxUSE_GRID 1
36595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36598 if test "$wxUSE_IMAGLIST" = "yes"; then
36599 cat >>confdefs.h
<<\_ACEOF
36600 #define wxUSE_IMAGLIST 1
36605 if test "$wxUSE_LISTBOOK" = "yes"; then
36606 cat >>confdefs.h
<<\_ACEOF
36607 #define wxUSE_LISTBOOK 1
36613 if test "$wxUSE_LISTBOX" = "yes"; then
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define wxUSE_LISTBOX 1
36621 if test "$wxUSE_LISTCTRL" = "yes"; then
36622 if test "$wxUSE_IMAGLIST" = "yes"; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define wxUSE_LISTCTRL 1
36628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36630 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36631 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36635 if test "$wxUSE_NOTEBOOK" = "yes"; then
36636 cat >>confdefs.h
<<\_ACEOF
36637 #define wxUSE_NOTEBOOK 1
36641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36645 if test "$wxUSE_RADIOBOX" = "yes"; then
36646 cat >>confdefs.h
<<\_ACEOF
36647 #define wxUSE_RADIOBOX 1
36653 if test "$wxUSE_RADIOBTN" = "yes"; then
36654 cat >>confdefs.h
<<\_ACEOF
36655 #define wxUSE_RADIOBTN 1
36661 if test "$wxUSE_SASH" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_SASH 1
36666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36669 if test "$wxUSE_SCROLLBAR" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_SCROLLBAR 1
36675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36678 if test "$wxUSE_SLIDER" = "yes"; then
36679 cat >>confdefs.h
<<\_ACEOF
36680 #define wxUSE_SLIDER 1
36686 if test "$wxUSE_SPINBTN" = "yes"; then
36687 cat >>confdefs.h
<<\_ACEOF
36688 #define wxUSE_SPINBTN 1
36694 if test "$wxUSE_SPINCTRL" = "yes"; then
36695 cat >>confdefs.h
<<\_ACEOF
36696 #define wxUSE_SPINCTRL 1
36702 if test "$wxUSE_SPLITTER" = "yes"; then
36703 cat >>confdefs.h
<<\_ACEOF
36704 #define wxUSE_SPLITTER 1
36707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36710 if test "$wxUSE_STATBMP" = "yes"; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_STATBMP 1
36718 if test "$wxUSE_STATBOX" = "yes"; then
36719 cat >>confdefs.h
<<\_ACEOF
36720 #define wxUSE_STATBOX 1
36726 if test "$wxUSE_STATTEXT" = "yes"; then
36727 cat >>confdefs.h
<<\_ACEOF
36728 #define wxUSE_STATTEXT 1
36734 if test "$wxUSE_STATLINE" = "yes"; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define wxUSE_STATLINE 1
36742 if test "$wxUSE_STATUSBAR" = "yes"; then
36743 cat >>confdefs.h
<<\_ACEOF
36744 #define wxUSE_STATUSBAR 1
36749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36752 if test "$wxUSE_TABDIALOG" = "yes"; then
36753 cat >>confdefs.h
<<\_ACEOF
36754 #define wxUSE_TAB_DIALOG 1
36757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36760 if test "$wxUSE_TEXTCTRL" = "yes"; then
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_TEXTCTRL 1
36766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36769 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36770 if test "$wxUSE_COCOA" = 1 ; then
36771 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36772 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36775 if test "$wxUSE_PM" = 1; then
36776 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36777 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36781 if test "$wxUSE_UNIVERSAL" = "yes"; then
36782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36783 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36788 cat >>confdefs.h
<<\_ACEOF
36789 #define wxUSE_TOGGLEBTN 1
36796 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36797 cat >>confdefs.h
<<\_ACEOF
36798 #define wxUSE_TOOLBAR_SIMPLE 1
36801 wxUSE_TOOLBAR
="yes"
36805 if test "$wxUSE_TOOLBAR" = "yes"; then
36806 cat >>confdefs.h
<<\_ACEOF
36807 #define wxUSE_TOOLBAR 1
36812 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36813 wxUSE_TOOLBAR_NATIVE
="yes"
36816 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36817 cat >>confdefs.h
<<\_ACEOF
36818 #define wxUSE_TOOLBAR_NATIVE 1
36824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36827 if test "$wxUSE_TOOLTIPS" = "yes"; then
36828 if test "$wxUSE_MOTIF" = 1; then
36829 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36830 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36832 if test "$wxUSE_UNIVERSAL" = "yes"; then
36833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36834 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36836 cat >>confdefs.h
<<\_ACEOF
36837 #define wxUSE_TOOLTIPS 1
36844 if test "$wxUSE_TREECTRL" = "yes"; then
36845 if test "$wxUSE_IMAGLIST" = "yes"; then
36846 cat >>confdefs.h
<<\_ACEOF
36847 #define wxUSE_TREECTRL 1
36851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36853 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36854 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36858 if test "$wxUSE_POPUPWIN" = "yes"; then
36859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36860 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36861 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36863 if test "$wxUSE_PM" = 1; then
36864 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36865 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_POPUPWIN 1
36877 if test "$wxUSE_TIPWINDOW" = "yes"; then
36878 if test "$wxUSE_PM" = 1; then
36879 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36880 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36882 cat >>confdefs.h
<<\_ACEOF
36883 #define wxUSE_TIPWINDOW 1
36889 if test "$USES_CONTROLS" = 1; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_CONTROLS 1
36897 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxUSE_ACCESSIBILITY 1
36902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36905 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36906 cat >>confdefs.h
<<\_ACEOF
36907 #define wxUSE_DRAGIMAGE 1
36910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36913 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36914 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36915 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36916 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36918 cat >>confdefs.h
<<\_ACEOF
36919 #define wxUSE_EXCEPTIONS 1
36922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36927 if test "$wxUSE_HTML" = "yes"; then
36928 cat >>confdefs.h
<<\_ACEOF
36929 #define wxUSE_HTML 1
36933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36934 if test "$wxUSE_MAC" = 1; then
36935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36938 if test "$wxUSE_WEBKIT" = "yes"; then
36939 if test "$wxUSE_MAC" = 1; then
36940 old_CPPFLAGS
="$CPPFLAGS"
36941 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36942 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36943 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36944 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36947 cat >conftest.
$ac_ext <<_ACEOF
36950 cat confdefs.h
>>conftest.
$ac_ext
36951 cat >>conftest.
$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36953 #include <Carbon/Carbon.h>
36955 #include <WebKit/HIWebView.h>
36957 rm -f conftest.
$ac_objext
36958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959 (eval $ac_compile) 2>conftest.er1
36961 grep -v '^ *+' conftest.er1
>conftest.err
36963 cat conftest.err
>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } &&
36966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try
='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978 ac_cv_header_WebKit_HIWebView_h
=yes
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.
$ac_ext >&5
36983 ac_cv_header_WebKit_HIWebView_h
=no
36985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36987 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36988 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36989 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_WEBKIT 1
36995 WEBKIT_LINK
="-framework WebKit"
36999 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37000 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37006 CPPFLAGS
="$old_CPPFLAGS"
37007 elif test "$wxUSE_COCOA" = 1; then
37008 cat >>confdefs.h
<<\_ACEOF
37009 #define wxUSE_WEBKIT 1
37018 if test "$wxUSE_XRC" = "yes"; then
37019 if test "$wxUSE_XML" != "yes"; then
37020 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37021 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37024 cat >>confdefs.h
<<\_ACEOF
37025 #define wxUSE_XRC 1
37029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37033 if test "$wxUSE_MENUS" = "yes"; then
37034 cat >>confdefs.h
<<\_ACEOF
37035 #define wxUSE_MENUS 1
37038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37041 if test "$wxUSE_METAFILE" = "yes"; then
37042 cat >>confdefs.h
<<\_ACEOF
37043 #define wxUSE_METAFILE 1
37048 if test "$wxUSE_MIMETYPE" = "yes"; then
37049 cat >>confdefs.h
<<\_ACEOF
37050 #define wxUSE_MIMETYPE 1
37055 if test "$wxUSE_MINIFRAME" = "yes"; then
37056 cat >>confdefs.h
<<\_ACEOF
37057 #define wxUSE_MINIFRAME 1
37060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37063 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37064 cat >>confdefs.h
<<\_ACEOF
37065 #define wxUSE_SYSTEM_OPTIONS 1
37068 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37069 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37075 if test "$wxUSE_VALIDATORS" = "yes"; then
37076 cat >>confdefs.h
<<\_ACEOF
37077 #define wxUSE_VALIDATORS 1
37080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37083 if test "$wxUSE_PALETTE" = "yes" ; then
37084 cat >>confdefs.h
<<\_ACEOF
37085 #define wxUSE_PALETTE 1
37090 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37091 LIBS
=" -lunicows $LIBS"
37095 if test "$wxUSE_IMAGE" = "yes" ; then
37096 cat >>confdefs.h
<<\_ACEOF
37097 #define wxUSE_IMAGE 1
37101 if test "$wxUSE_GIF" = "yes" ; then
37102 cat >>confdefs.h
<<\_ACEOF
37103 #define wxUSE_GIF 1
37108 if test "$wxUSE_PCX" = "yes" ; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define wxUSE_PCX 1
37115 if test "$wxUSE_IFF" = "yes" ; then
37116 cat >>confdefs.h
<<\_ACEOF
37117 #define wxUSE_IFF 1
37122 if test "$wxUSE_PNM" = "yes" ; then
37123 cat >>confdefs.h
<<\_ACEOF
37124 #define wxUSE_PNM 1
37129 if test "$wxUSE_XPM" = "yes" ; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define wxUSE_XPM 1
37136 if test "$wxUSE_ICO_CUR" = "yes" ; then
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define wxUSE_ICO_CUR 1
37145 if test "$wxUSE_CHOICEDLG" = "yes"; then
37146 cat >>confdefs.h
<<\_ACEOF
37147 #define wxUSE_CHOICEDLG 1
37152 if test "$wxUSE_COLOURDLG" = "yes"; then
37153 cat >>confdefs.h
<<\_ACEOF
37154 #define wxUSE_COLOURDLG 1
37159 if test "$wxUSE_FILEDLG" = "yes"; then
37160 cat >>confdefs.h
<<\_ACEOF
37161 #define wxUSE_FILEDLG 1
37166 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37167 cat >>confdefs.h
<<\_ACEOF
37168 #define wxUSE_FINDREPLDLG 1
37173 if test "$wxUSE_FONTDLG" = "yes"; then
37174 cat >>confdefs.h
<<\_ACEOF
37175 #define wxUSE_FONTDLG 1
37180 if test "$wxUSE_DIRDLG" = "yes"; then
37181 if test "$wxUSE_TREECTRL" != "yes"; then
37182 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37183 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37185 cat >>confdefs.h
<<\_ACEOF
37186 #define wxUSE_DIRDLG 1
37192 if test "$wxUSE_MSGDLG" = "yes"; then
37193 cat >>confdefs.h
<<\_ACEOF
37194 #define wxUSE_MSGDLG 1
37199 if test "$wxUSE_NUMBERDLG" = "yes"; then
37200 cat >>confdefs.h
<<\_ACEOF
37201 #define wxUSE_NUMBERDLG 1
37206 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37207 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37208 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37209 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37211 cat >>confdefs.h
<<\_ACEOF
37212 #define wxUSE_PROGRESSDLG 1
37218 if test "$wxUSE_SPLASH" = "yes"; then
37219 cat >>confdefs.h
<<\_ACEOF
37220 #define wxUSE_SPLASH 1
37223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37226 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37227 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37228 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37229 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37231 cat >>confdefs.h
<<\_ACEOF
37232 #define wxUSE_STARTUP_TIPS 1
37238 if test "$wxUSE_TEXTDLG" = "yes"; then
37239 cat >>confdefs.h
<<\_ACEOF
37240 #define wxUSE_TEXTDLG 1
37245 if test "$wxUSE_WIZARDDLG" = "yes"; then
37246 cat >>confdefs.h
<<\_ACEOF
37247 #define wxUSE_WIZARDDLG 1
37250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37254 if test "$cross_compiling" = "yes"; then
37257 OSINFO
=`uname -s -r -m`
37258 OSINFO
="\"$OSINFO\""
37261 cat >>confdefs.h
<<_ACEOF
37262 #define WXWIN_OS_DESCRIPTION $OSINFO
37267 if test "x$prefix" != "xNONE"; then
37270 wxPREFIX
=$ac_default_prefix
37273 cat >>confdefs.h
<<_ACEOF
37274 #define wxINSTALL_PREFIX "$wxPREFIX"
37280 CORE_BASE_LIBS
="net base"
37281 CORE_GUI_LIBS
="adv core"
37283 if test "$wxUSE_XML" = "yes" ; then
37284 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37286 if test "$wxUSE_ODBC" != "no" ; then
37287 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37288 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37290 if test "$wxUSE_HTML" = "yes" ; then
37291 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37293 if test "$wxUSE_XRC" = "yes" ; then
37294 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37297 if test "$wxUSE_GUI" != "yes"; then
37308 if test "$wxUSE_MAC" = 1 ; then
37309 if test "$wxUSE_SOUND" = "yes"; then
37310 LDFLAGS
="$LDFLAGS -framework QuickTime"
37312 if test "$USE_DARWIN" = 1; then
37313 LDFLAGS
="$LDFLAGS -framework IOKit"
37315 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37317 if test "$wxUSE_COCOA" = 1 ; then
37318 LDFLAGS
="$LDFLAGS -framework Cocoa"
37322 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37330 echo "$as_me:$LINENO: checking for $ac_func" >&5
37331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37332 if eval "test \"\${$as_ac_var+set}\" = set"; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 cat >conftest.
$ac_ext <<_ACEOF
37338 cat confdefs.h
>>conftest.
$ac_ext
37339 cat >>conftest.
$ac_ext <<_ACEOF
37340 /* end confdefs.h. */
37341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37343 #define $ac_func innocuous_$ac_func
37345 /* System header to define __stub macros and hopefully few prototypes,
37346 which can conflict with char $ac_func (); below.
37347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37348 <limits.h> exists even on freestanding compilers. */
37351 # include <limits.h>
37353 # include <assert.h>
37358 /* Override any gcc2 internal prototype to avoid an error. */
37363 /* We use char because int might match the return type of a gcc2
37364 builtin and then its argument prototype would still apply. */
37366 /* The GNU C library defines this for functions which it implements
37367 to always fail with ENOSYS. Some functions are actually named
37368 something starting with __ and the normal name is an alias. */
37369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37372 char (*f) () = $ac_func;
37381 return f != $ac_func;
37386 rm -f conftest.
$ac_objext conftest
$ac_exeext
37387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37388 (eval $ac_link) 2>conftest.er1
37390 grep -v '^ *+' conftest.er1
>conftest.err
37392 cat conftest.err
>&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } &&
37395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397 (eval $ac_try) 2>&5
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; } &&
37401 { ac_try
='test -s conftest$ac_exeext'
37402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403 (eval $ac_try) 2>&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); }; }; then
37407 eval "$as_ac_var=yes"
37409 echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.
$ac_ext >&5
37412 eval "$as_ac_var=no"
37414 rm -f conftest.err conftest.
$ac_objext \
37415 conftest
$ac_exeext conftest.
$ac_ext
37417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37419 if test `eval echo '${'$as_ac_var'}'` = yes; then
37420 cat >>confdefs.h
<<_ACEOF
37421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37428 for ac_func
in floor
37430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37431 echo "$as_me:$LINENO: checking for $ac_func" >&5
37432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37433 if eval "test \"\${$as_ac_var+set}\" = set"; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 cat >conftest.
$ac_ext <<_ACEOF
37439 cat confdefs.h
>>conftest.
$ac_ext
37440 cat >>conftest.
$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37444 #define $ac_func innocuous_$ac_func
37446 /* System header to define __stub macros and hopefully few prototypes,
37447 which can conflict with char $ac_func (); below.
37448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37449 <limits.h> exists even on freestanding compilers. */
37452 # include <limits.h>
37454 # include <assert.h>
37459 /* Override any gcc2 internal prototype to avoid an error. */
37464 /* We use char because int might match the return type of a gcc2
37465 builtin and then its argument prototype would still apply. */
37467 /* The GNU C library defines this for functions which it implements
37468 to always fail with ENOSYS. Some functions are actually named
37469 something starting with __ and the normal name is an alias. */
37470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37473 char (*f) () = $ac_func;
37482 return f != $ac_func;
37487 rm -f conftest.
$ac_objext conftest
$ac_exeext
37488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37489 (eval $ac_link) 2>conftest.er1
37491 grep -v '^ *+' conftest.er1
>conftest.err
37493 cat conftest.err
>&5
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); } &&
37496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37498 (eval $ac_try) 2>&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); }; } &&
37502 { ac_try
='test -s conftest$ac_exeext'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; }; then
37508 eval "$as_ac_var=yes"
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.
$ac_ext >&5
37513 eval "$as_ac_var=no"
37515 rm -f conftest.err conftest.
$ac_objext \
37516 conftest
$ac_exeext conftest.
$ac_ext
37518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37520 if test `eval echo '${'$as_ac_var'}'` = yes; then
37521 cat >>confdefs.h
<<_ACEOF
37522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37528 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37529 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37530 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37531 echo "$as_me:$LINENO: result: yes" >&5
37532 echo "${ECHO_T}yes" >&6
37534 echo "$as_me:$LINENO: result: no" >&5
37535 echo "${ECHO_T}no" >&6
37537 # use different functions to avoid configure caching
37543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37544 echo "$as_me:$LINENO: checking for $ac_func" >&5
37545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37546 if eval "test \"\${$as_ac_var+set}\" = set"; then
37547 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 cat >conftest.
$ac_ext <<_ACEOF
37552 cat confdefs.h
>>conftest.
$ac_ext
37553 cat >>conftest.
$ac_ext <<_ACEOF
37554 /* end confdefs.h. */
37555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37557 #define $ac_func innocuous_$ac_func
37559 /* System header to define __stub macros and hopefully few prototypes,
37560 which can conflict with char $ac_func (); below.
37561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37562 <limits.h> exists even on freestanding compilers. */
37565 # include <limits.h>
37567 # include <assert.h>
37572 /* Override any gcc2 internal prototype to avoid an error. */
37577 /* We use char because int might match the return type of a gcc2
37578 builtin and then its argument prototype would still apply. */
37580 /* The GNU C library defines this for functions which it implements
37581 to always fail with ENOSYS. Some functions are actually named
37582 something starting with __ and the normal name is an alias. */
37583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37586 char (*f) () = $ac_func;
37595 return f != $ac_func;
37600 rm -f conftest.
$ac_objext conftest
$ac_exeext
37601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37602 (eval $ac_link) 2>conftest.er1
37604 grep -v '^ *+' conftest.er1
>conftest.err
37606 cat conftest.err
>&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); } &&
37609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611 (eval $ac_try) 2>&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); }; } &&
37615 { ac_try
='test -s conftest$ac_exeext'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; }; then
37621 eval "$as_ac_var=yes"
37623 echo "$as_me: failed program was:" >&5
37624 sed 's/^/| /' conftest.
$ac_ext >&5
37626 eval "$as_ac_var=no"
37628 rm -f conftest.err conftest.
$ac_objext \
37629 conftest
$ac_exeext conftest.
$ac_ext
37631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37633 if test `eval echo '${'$as_ac_var'}'` = yes; then
37634 cat >>confdefs.h
<<_ACEOF
37635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37642 for ac_func
in ceil
37644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37645 echo "$as_me:$LINENO: checking for $ac_func" >&5
37646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37647 if eval "test \"\${$as_ac_var+set}\" = set"; then
37648 echo $ECHO_N "(cached) $ECHO_C" >&6
37650 cat >conftest.
$ac_ext <<_ACEOF
37653 cat confdefs.h
>>conftest.
$ac_ext
37654 cat >>conftest.
$ac_ext <<_ACEOF
37655 /* end confdefs.h. */
37656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37658 #define $ac_func innocuous_$ac_func
37660 /* System header to define __stub macros and hopefully few prototypes,
37661 which can conflict with char $ac_func (); below.
37662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37663 <limits.h> exists even on freestanding compilers. */
37666 # include <limits.h>
37668 # include <assert.h>
37673 /* Override any gcc2 internal prototype to avoid an error. */
37678 /* We use char because int might match the return type of a gcc2
37679 builtin and then its argument prototype would still apply. */
37681 /* The GNU C library defines this for functions which it implements
37682 to always fail with ENOSYS. Some functions are actually named
37683 something starting with __ and the normal name is an alias. */
37684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37687 char (*f) () = $ac_func;
37696 return f != $ac_func;
37701 rm -f conftest.
$ac_objext conftest
$ac_exeext
37702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37703 (eval $ac_link) 2>conftest.er1
37705 grep -v '^ *+' conftest.er1
>conftest.err
37707 cat conftest.err
>&5
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); } &&
37710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37712 (eval $ac_try) 2>&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); }; } &&
37716 { ac_try
='test -s conftest$ac_exeext'
37717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37718 (eval $ac_try) 2>&5
37720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37721 (exit $ac_status); }; }; then
37722 eval "$as_ac_var=yes"
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.
$ac_ext >&5
37727 eval "$as_ac_var=no"
37729 rm -f conftest.err conftest.
$ac_objext \
37730 conftest
$ac_exeext conftest.
$ac_ext
37732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37734 if test `eval echo '${'$as_ac_var'}'` = yes; then
37735 cat >>confdefs.h
<<_ACEOF
37736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37742 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37743 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37744 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37745 echo "$as_me:$LINENO: result: yes" >&5
37746 echo "${ECHO_T}yes" >&6
37748 echo "$as_me:$LINENO: result: no" >&5
37749 echo "${ECHO_T}no" >&6
37750 # not sure we should warn the user, crash, etc.
37754 if test "$wxUSE_GUI" = "yes"; then
37757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37758 drawing dynamic erase event exec font image \
37759 minimal propsize rotate shaped widgets render"
37761 if test "$wxUSE_MONOLITHIC" != "yes"; then
37762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37765 SAMPLES_SUBDIRS
="console"
37769 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37770 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37772 if test "$GXX" = yes ; then
37773 CXXWARNINGS
="-Wall"
37776 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37778 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37779 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37780 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37784 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37785 EXTRALIBS_XML
="$EXPAT_LINK"
37786 EXTRALIBS_HTML
="$MSPACK_LINK"
37787 EXTRALIBS_ODBC
="$ODBC_LINK"
37788 if test "$wxUSE_GUI" = "yes"; then
37789 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37791 if test "$wxUSE_OPENGL" = "yes"; then
37792 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37795 LDFLAGS
="$LDFLAGS $PROFILE"
37797 if test "$wxUSE_GTK" = 1; then
37800 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37803 WXCONFIG_EXTRALIBS
="$LIBS"
37805 if test "$wxUSE_REGEX" = "builtin" ; then
37806 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37808 if test "$wxUSE_EXPAT" = "builtin" ; then
37809 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37811 if test "$wxUSE_ODBC" = "builtin" ; then
37812 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37814 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37815 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37817 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37818 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37820 if test "$wxUSE_LIBPNG" = "builtin" ; then
37821 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37823 if test "$wxUSE_ZLIB" = "builtin" ; then
37824 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37826 if test "$wxUSE_ODBC" = "builtin" ; then
37827 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37830 for i
in $wxconfig_3rdparty ; do
37831 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37835 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37849 if test $wxUSE_MONOLITHIC = "yes" ; then
37855 if test $wxUSE_PLUGINS = "yes" ; then
37861 if test $wxUSE_ODBC != "no" ; then
37867 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37895 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37906 TOOLKIT_USER
="GTK+"
37907 if test "$WXGTK20" = 1; then
37908 TOOLKIT_USER
="$TOOLKIT_USER 2"
37913 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
37918 if test "x$BAKEFILE_HOST" = "x"; then
37919 BAKEFILE_HOST
="${host}"
37922 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37924 if test -n "$ac_tool_prefix"; then
37925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37926 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37927 echo "$as_me:$LINENO: checking for $ac_word" >&5
37928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37929 if test "${ac_cv_prog_RANLIB+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 if test -n "$RANLIB"; then
37933 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37936 for as_dir
in $PATH
37939 test -z "$as_dir" && as_dir
=.
37940 for ac_exec_ext
in '' $ac_executable_extensions; do
37941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37942 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37951 RANLIB
=$ac_cv_prog_RANLIB
37952 if test -n "$RANLIB"; then
37953 echo "$as_me:$LINENO: result: $RANLIB" >&5
37954 echo "${ECHO_T}$RANLIB" >&6
37956 echo "$as_me:$LINENO: result: no" >&5
37957 echo "${ECHO_T}no" >&6
37961 if test -z "$ac_cv_prog_RANLIB"; then
37962 ac_ct_RANLIB
=$RANLIB
37963 # Extract the first word of "ranlib", so it can be a program name with args.
37964 set dummy ranlib
; ac_word
=$2
37965 echo "$as_me:$LINENO: checking for $ac_word" >&5
37966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37967 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37968 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 if test -n "$ac_ct_RANLIB"; then
37971 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37974 for as_dir
in $PATH
37977 test -z "$as_dir" && as_dir
=.
37978 for ac_exec_ext
in '' $ac_executable_extensions; do
37979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37980 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37987 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37990 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37991 if test -n "$ac_ct_RANLIB"; then
37992 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37993 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37995 echo "$as_me:$LINENO: result: no" >&5
37996 echo "${ECHO_T}no" >&6
37999 RANLIB
=$ac_ct_RANLIB
38001 RANLIB
="$ac_cv_prog_RANLIB"
38004 # Find a good install program. We prefer a C program (faster),
38005 # so one script is as good as another. But avoid the broken or
38006 # incompatible versions:
38007 # SysV /etc/install, /usr/sbin/install
38008 # SunOS /usr/etc/install
38009 # IRIX /sbin/install
38011 # AmigaOS /C/install, which installs bootblocks on floppy discs
38012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38015 # OS/2's system install, which has a completely different semantic
38016 # ./install, which can be erroneously created by make from ./install.sh.
38017 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38019 if test -z "$INSTALL"; then
38020 if test "${ac_cv_path_install+set}" = set; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38024 for as_dir
in $PATH
38027 test -z "$as_dir" && as_dir
=.
38028 # Account for people who put trailing slashes in PATH elements.
38030 .
/ | .
// | /cC
/* | \
38031 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38032 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38035 # OSF1 and SCO ODT 3.0 have their own names for install.
38036 # Don't use installbsd from OSF since it installs stuff as root
38038 for ac_prog
in ginstall scoinst
install; do
38039 for ac_exec_ext
in '' $ac_executable_extensions; do
38040 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38041 if test $ac_prog = install &&
38042 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38043 # AIX install. It has an incompatible calling convention.
38045 elif test $ac_prog = install &&
38046 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38047 # program-specific install script used by HP pwplus--don't use.
38050 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38062 if test "${ac_cv_path_install+set}" = set; then
38063 INSTALL
=$ac_cv_path_install
38065 # As a last resort, use the slow shell script. We don't cache a
38066 # path for INSTALL within a source directory, because that will
38067 # break other packages using the cache if that directory is
38068 # removed, or if the path is relative.
38069 INSTALL
=$ac_install_sh
38072 echo "$as_me:$LINENO: result: $INSTALL" >&5
38073 echo "${ECHO_T}$INSTALL" >&6
38075 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38076 # It thinks the first close brace ends the variable substitution.
38077 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38079 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38081 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38083 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38084 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38086 if test "$LN_S" = "ln -s"; then
38087 echo "$as_me:$LINENO: result: yes" >&5
38088 echo "${ECHO_T}yes" >&6
38090 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38091 echo "${ECHO_T}no, using $LN_S" >&6
38095 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38096 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38097 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38098 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38101 cat >conftest.
make <<\_ACEOF
38103 @
echo 'ac_maketemp="$(MAKE)"'
38105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38106 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38107 if test -n "$ac_maketemp"; then
38108 eval ac_cv_prog_make_
${ac_make}_set
=yes
38110 eval ac_cv_prog_make_
${ac_make}_set
=no
38112 rm -f conftest.
make
38114 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38115 echo "$as_me:$LINENO: result: yes" >&5
38116 echo "${ECHO_T}yes" >&6
38119 echo "$as_me:$LINENO: result: no" >&5
38120 echo "${ECHO_T}no" >&6
38121 SET_MAKE
="MAKE=${MAKE-make}"
38126 if test -n "$ac_tool_prefix"; then
38127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38128 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38129 echo "$as_me:$LINENO: checking for $ac_word" >&5
38130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38131 if test "${ac_cv_prog_AR+set}" = set; then
38132 echo $ECHO_N "(cached) $ECHO_C" >&6
38134 if test -n "$AR"; then
38135 ac_cv_prog_AR
="$AR" # Let the user override the test.
38137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38138 for as_dir
in $PATH
38141 test -z "$as_dir" && as_dir
=.
38142 for ac_exec_ext
in '' $ac_executable_extensions; do
38143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38144 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38154 if test -n "$AR"; then
38155 echo "$as_me:$LINENO: result: $AR" >&5
38156 echo "${ECHO_T}$AR" >&6
38158 echo "$as_me:$LINENO: result: no" >&5
38159 echo "${ECHO_T}no" >&6
38163 if test -z "$ac_cv_prog_AR"; then
38165 # Extract the first word of "ar", so it can be a program name with args.
38166 set dummy
ar; ac_word
=$2
38167 echo "$as_me:$LINENO: checking for $ac_word" >&5
38168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38172 if test -n "$ac_ct_AR"; then
38173 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38176 for as_dir
in $PATH
38179 test -z "$as_dir" && as_dir
=.
38180 for ac_exec_ext
in '' $ac_executable_extensions; do
38181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38182 ac_cv_prog_ac_ct_AR
="ar"
38183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38192 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38193 if test -n "$ac_ct_AR"; then
38194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38195 echo "${ECHO_T}$ac_ct_AR" >&6
38197 echo "$as_me:$LINENO: result: no" >&5
38198 echo "${ECHO_T}no" >&6
38203 AR
="$ac_cv_prog_AR"
38206 if test -n "$ac_tool_prefix"; then
38207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38208 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38209 echo "$as_me:$LINENO: checking for $ac_word" >&5
38210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38211 if test "${ac_cv_prog_STRIP+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38214 if test -n "$STRIP"; then
38215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38218 for as_dir
in $PATH
38221 test -z "$as_dir" && as_dir
=.
38222 for ac_exec_ext
in '' $ac_executable_extensions; do
38223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38224 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38233 STRIP
=$ac_cv_prog_STRIP
38234 if test -n "$STRIP"; then
38235 echo "$as_me:$LINENO: result: $STRIP" >&5
38236 echo "${ECHO_T}$STRIP" >&6
38238 echo "$as_me:$LINENO: result: no" >&5
38239 echo "${ECHO_T}no" >&6
38243 if test -z "$ac_cv_prog_STRIP"; then
38245 # Extract the first word of "strip", so it can be a program name with args.
38246 set dummy strip
; ac_word
=$2
38247 echo "$as_me:$LINENO: checking for $ac_word" >&5
38248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 if test -n "$ac_ct_STRIP"; then
38253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38256 for as_dir
in $PATH
38259 test -z "$as_dir" && as_dir
=.
38260 for ac_exec_ext
in '' $ac_executable_extensions; do
38261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38262 ac_cv_prog_ac_ct_STRIP
="strip"
38263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38273 if test -n "$ac_ct_STRIP"; then
38274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38275 echo "${ECHO_T}$ac_ct_STRIP" >&6
38277 echo "$as_me:$LINENO: result: no" >&5
38278 echo "${ECHO_T}no" >&6
38283 STRIP
="$ac_cv_prog_STRIP"
38286 if test -n "$ac_tool_prefix"; then
38287 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38288 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38289 echo "$as_me:$LINENO: checking for $ac_word" >&5
38290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38291 if test "${ac_cv_prog_NM+set}" = set; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 if test -n "$NM"; then
38295 ac_cv_prog_NM
="$NM" # Let the user override the test.
38297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38298 for as_dir
in $PATH
38301 test -z "$as_dir" && as_dir
=.
38302 for ac_exec_ext
in '' $ac_executable_extensions; do
38303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38304 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38314 if test -n "$NM"; then
38315 echo "$as_me:$LINENO: result: $NM" >&5
38316 echo "${ECHO_T}$NM" >&6
38318 echo "$as_me:$LINENO: result: no" >&5
38319 echo "${ECHO_T}no" >&6
38323 if test -z "$ac_cv_prog_NM"; then
38325 # Extract the first word of "nm", so it can be a program name with args.
38326 set dummy nm
; ac_word
=$2
38327 echo "$as_me:$LINENO: checking for $ac_word" >&5
38328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38329 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38330 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 if test -n "$ac_ct_NM"; then
38333 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38336 for as_dir
in $PATH
38339 test -z "$as_dir" && as_dir
=.
38340 for ac_exec_ext
in '' $ac_executable_extensions; do
38341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38342 ac_cv_prog_ac_ct_NM
="nm"
38343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38349 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38352 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38353 if test -n "$ac_ct_NM"; then
38354 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38355 echo "${ECHO_T}$ac_ct_NM" >&6
38357 echo "$as_me:$LINENO: result: no" >&5
38358 echo "${ECHO_T}no" >&6
38363 NM
="$ac_cv_prog_NM"
38367 case ${BAKEFILE_HOST} in
38369 INSTALL_DIR
="mkdir -p"
38371 *) INSTALL_DIR
="$INSTALL -d"
38377 case ${BAKEFILE_HOST} in
38378 *-*-cygwin* | *-*-mingw32* )
38379 LDFLAGS_GUI
="-mwindows"
38385 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38386 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38387 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38391 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38392 egrep -s GNU
> /dev
/null
); then
38393 bakefile_cv_prog_makeisgnu
="yes"
38395 bakefile_cv_prog_makeisgnu
="no"
38399 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38400 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38402 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38417 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38418 case "${BAKEFILE_HOST}" in
38419 *-*-cygwin* | *-*-mingw32* )
38425 *-pc-os2_emx | *-pc-os2-emx )
38428 powerpc
-*-darwin* )
38437 case "$BAKEFILE_FORCE_PLATFORM" in
38455 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38456 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38457 { (exit 1); exit 1; }; }
38470 # Check whether --enable-omf or --disable-omf was given.
38471 if test "${enable_omf+set}" = set; then
38472 enableval
="$enable_omf"
38473 bk_os2_use_omf
="$enableval"
38476 case "${BAKEFILE_HOST}" in
38478 CFLAGS
="$CFLAGS -fno-common"
38479 CXXFLAGS
="$CXXFLAGS -fno-common"
38482 *-pc-os2_emx | *-pc-os2-emx )
38483 if test "x$bk_os2_use_omf" = "xyes" ; then
38486 LDFLAGS
="-Zomf $LDFLAGS"
38487 CFLAGS
="-Zomf $CFLAGS"
38488 CXXFLAGS
="-Zomf $CXXFLAGS"
38498 SO_SUFFIX_MODULE
="so"
38503 DLLPREFIX_MODULE
=""
38506 case "${BAKEFILE_HOST}" in
38509 SO_SUFFIX_MODULE
="sl"
38513 SO_SUFFIX_MODULE
="a"
38515 *-*-cygwin* | *-*-mingw32* )
38517 SO_SUFFIX_MODULE
="dll"
38518 DLLIMP_SUFFIX
="dll.a"
38526 *-pc-os2_emx | *-pc-os2-emx )
38528 SO_SUFFIX_MODULE
="dll"
38529 DLLIMP_SUFFIX
=$OS2_LIBEXT
38533 LIBEXT
=".$OS2_LIBEXT"
38535 powerpc
-*-darwin* )
38537 SO_SUFFIX_MODULE
="bundle"
38541 if test "x$DLLIMP_SUFFIX" = "x" ; then
38542 DLLIMP_SUFFIX
="$SO_SUFFIX"
38555 SHARED_LD_CC
="\$(CC) -shared -o"
38556 SHARED_LD_CXX
="\$(CXX) -shared -o"
38558 if test "x$GCC" = "xyes"; then
38562 case "${BAKEFILE_HOST}" in
38564 if test "x$GCC" = "xyes"; then
38565 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38566 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38568 LDFLAGS
="$LDFLAGS -L/usr/lib"
38570 SHARED_LD_CC
="${CC} -b -o"
38571 SHARED_LD_CXX
="${CXX} -b -o"
38577 if test "x$GCC" != "xyes"; then
38578 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38579 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38580 if test "${bakefile_cv_prog_icc+set}" = set; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38584 cat >conftest.
$ac_ext <<_ACEOF
38587 cat confdefs.h
>>conftest.
$ac_ext
38588 cat >>conftest.
$ac_ext <<_ACEOF
38589 /* end confdefs.h. */
38595 #ifndef __INTEL_COMPILER
38603 rm -f conftest.
$ac_objext
38604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38605 (eval $ac_compile) 2>conftest.er1
38607 grep -v '^ *+' conftest.er1
>conftest.err
38609 cat conftest.err
>&5
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); } &&
38612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38614 (eval $ac_try) 2>&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); }; } &&
38618 { ac_try
='test -s conftest.$ac_objext'
38619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38620 (eval $ac_try) 2>&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); }; }; then
38624 bakefile_cv_prog_icc
=yes
38626 echo "$as_me: failed program was:" >&5
38627 sed 's/^/| /' conftest.
$ac_ext >&5
38629 bakefile_cv_prog_icc
=no
38632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38635 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38636 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38637 if test "$bakefile_cv_prog_icc" = "yes"; then
38644 if test "x$GCC" != xyes
; then
38645 SHARED_LD_CC
="${CC} -G -o"
38646 SHARED_LD_CXX
="${CXX} -G -o"
38653 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38654 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38655 if test "${wx_cv_gcc31+set}" = set; then
38656 echo $ECHO_N "(cached) $ECHO_C" >&6
38659 cat >conftest.
$ac_ext <<_ACEOF
38662 cat confdefs.h
>>conftest.
$ac_ext
38663 cat >>conftest.
$ac_ext <<_ACEOF
38664 /* end confdefs.h. */
38670 #if (__GNUC__ < 3) || \
38671 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38679 rm -f conftest.
$ac_objext
38680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38681 (eval $ac_compile) 2>conftest.er1
38683 grep -v '^ *+' conftest.er1
>conftest.err
38685 cat conftest.err
>&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } &&
38688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38690 (eval $ac_try) 2>&5
38692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38693 (exit $ac_status); }; } &&
38694 { ac_try
='test -s conftest.$ac_objext'
38695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38696 (eval $ac_try) 2>&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); }; }; then
38704 echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.
$ac_ext >&5
38712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38715 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38716 echo "${ECHO_T}$wx_cv_gcc31" >&6
38717 if test "$wx_cv_gcc31" = "no"; then
38720 cat <<EOF >shared-ld-sh
38722 #-----------------------------------------------------------------------------
38723 #-- Name: distrib/mac/shared-ld-sh
38724 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38725 #-- Author: Gilles Depeyrot
38726 #-- Copyright: (c) 2002 Gilles Depeyrot
38727 #-- Licence: any use permitted
38728 #-----------------------------------------------------------------------------
38733 linking_flag="-dynamiclib"
38735 while test ${D}# -gt 0; do
38742 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38743 # collect these options and values
38744 args="${D}{args} ${D}1 ${D}2"
38748 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38749 # collect these options
38750 args="${D}{args} ${D}1"
38753 -dynamiclib|-bundle)
38754 linking_flag="${D}1"
38758 echo "shared-ld: unhandled option '${D}1'"
38762 *.o | *.a | *.dylib)
38763 # collect object files
38764 objects="${D}{objects} ${D}1"
38768 echo "shared-ld: unhandled argument '${D}1'"
38777 # Link one module containing all the others
38779 if test ${D}{verbose} = 1; then
38780 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38782 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38784 if test ${D}{status} != 0; then
38789 # Link the shared library from the single module created
38791 if test ${D}{verbose} = 1; then
38792 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38794 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38796 if test ${D}{status} != 0; then
38801 # Remove intermediate module
38803 rm -f master.${D}${D}.o
38808 chmod +x shared
-ld-sh
38810 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38811 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38812 SHARED_LD_CXX
="$SHARED_LD_CC"
38813 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38815 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38816 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38817 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38818 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38821 PIC_FLAG
="-dynamic -fPIC"
38825 if test "x$GCC" != "xyes"; then
38826 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38827 set dummy makeC
++SharedLib
; ac_word
=$2
38828 echo "$as_me:$LINENO: checking for $ac_word" >&5
38829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38830 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 if test -n "$AIX_CXX_LD"; then
38834 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38837 for as_dir
in $PATH
38840 test -z "$as_dir" && as_dir
=.
38841 for ac_exec_ext
in '' $ac_executable_extensions; do
38842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38843 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38850 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38853 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38854 if test -n "$AIX_CXX_LD"; then
38855 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38856 echo "${ECHO_T}$AIX_CXX_LD" >&6
38858 echo "$as_me:$LINENO: result: no" >&5
38859 echo "${ECHO_T}no" >&6
38862 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38863 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38868 SHARED_LD_CC
="${LD} -shared -o"
38869 SHARED_LD_CXX
="${LD} -shared -o"
38873 if test "x$GCC" != "xyes"; then
38878 *-*-cygwin* | *-*-mingw32* )
38882 *-pc-os2_emx | *-pc-os2-emx )
38883 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38884 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38888 cat <<EOF >dllar.sh
38891 # dllar - a tool to build both a .dll and an .a file
38892 # from a set of object (.o) files for EMX/OS2.
38894 # Written by Andrew Zabolotny, bit@freya.etu.ru
38895 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38897 # This script will accept a set of files on the command line.
38898 # All the public symbols from the .o files will be exported into
38899 # a .DEF file, then linker will be run (through gcc) against them to
38900 # build a shared library consisting of all given .o files. All libraries
38901 # (.a) will be first decompressed into component .o files then act as
38902 # described above. You can optionally give a description (-d "description")
38903 # which will be put into .DLL. To see the list of accepted options (as well
38904 # as command-line format) simply run this program without options. The .DLL
38905 # is built to be imported by name (there is no guarantee that new versions
38906 # of the library you build will have same ordinals for same symbols).
38908 # dllar is free software; you can redistribute it and/or modify
38909 # it under the terms of the GNU General Public License as published by
38910 # the Free Software Foundation; either version 2, or (at your option)
38911 # any later version.
38913 # dllar is distributed in the hope that it will be useful,
38914 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38915 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38916 # GNU General Public License for more details.
38918 # You should have received a copy of the GNU General Public License
38919 # along with dllar; see the file COPYING. If not, write to the Free
38920 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38923 # To successfuly run this program you will need:
38924 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38925 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38927 # (used to build the .dll)
38929 # (used to create .def file from .o files)
38931 # (used to create .a file from .def file)
38932 # - GNU text utilites (cat, sort, uniq)
38933 # used to process emxexp output
38934 # - GNU file utilities (mv, rm)
38936 # - lxlite (optional, see flag below)
38937 # (used for general .dll cleanup)
38944 # basnam, variant of basename, which does _not_ remove the path, _iff_
38945 # second argument (suffix to remove) is given
38949 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38952 echo ${D}1 | sed 's/'${D}2'${D}//'
38955 echo "error in basnam ${D}*"
38961 # Cleanup temporary files and output
38964 for i in ${D}inputFiles ; do
38967 rm -rf \`basnam ${D}i !\`
38974 # Kill result in case of failure as there is just to many stupid make/nmake
38975 # things out there which doesn't do this.
38976 if [] ${D}# -eq 0 []; then
38977 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38981 # Print usage and exit script with rc=1.
38983 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38984 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38985 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38986 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38987 echo ' []*.o[] []*.a[]'
38988 echo '*> "output_file" should have no extension.'
38989 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38990 echo ' The import library name is derived from this and is set to "name".a,'
38991 echo ' unless overridden by -import'
38992 echo '*> "importlib_name" should have no extension.'
38993 echo ' If it has the .o, or .a extension, it is automatically removed.'
38994 echo ' This name is used as the import library name and may be longer and'
38995 echo ' more descriptive than the DLL name which has to follow the old '
38996 echo ' 8.3 convention of FAT.'
38997 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38998 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38999 echo ' These flags will be put at the start of GCC command line.'
39000 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39001 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39002 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39003 echo ' If the last character of a symbol is "*", all symbols beginning'
39004 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39005 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39006 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39007 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39008 echo ' C runtime DLLs.'
39009 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39010 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39011 echo ' unchanged to GCC at the end of command line.'
39012 echo '*> If you create a DLL from a library and you do not specify -o,'
39013 echo ' the basename for DLL and import library will be set to library name,'
39014 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39015 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39016 echo ' library will be renamed into gcc_s.a.'
39019 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39020 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39025 # Execute a command.
39026 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39027 # @Uses Whatever CleanUp() uses.
39033 if [] ${D}rcCmd -ne 0 []; then
39034 echo "command failed, exit code="${D}rcCmd
39048 CFLAGS="-s -Zcrtdll"
39050 EXPORT_BY_ORDINALS=0
39055 case ${D}curDirS in
39059 curDirS=${D}{curDirS}"/"
39062 # Parse commandline
39064 while [] ${D}1 []; do
39067 EXPORT_BY_ORDINALS=1;
39094 exclude_symbols=${D}{exclude_symbols}${D}1" "
39098 library_flags=${D}{library_flags}${D}1" "
39114 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39118 if [] ${D}libsToLink -ne 0 []; then
39119 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39121 for file in ${D}1 ; do
39122 if [] -f ${D}file []; then
39123 inputFiles="${D}{inputFiles} ${D}file"
39127 if [] ${D}found -eq 0 []; then
39128 echo "ERROR: No file(s) found: "${D}1
39135 done # iterate cmdline words
39138 if [] -z "${D}inputFiles" []; then
39139 echo "dllar: no input files"
39143 # Now extract all .o files from .a files
39145 for file in ${D}inputFiles ; do
39156 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39161 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39163 if [] ${D}? -ne 0 []; then
39164 echo "Failed to create subdirectory ./${D}dirname"
39168 # Append '!' to indicate archive
39169 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39170 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39173 for subfile in ${D}dirname/*.o* ; do
39174 if [] -f ${D}subfile []; then
39176 if [] -s ${D}subfile []; then
39177 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39178 newInputFiles="${D}newInputFiles ${D}subfile"
39182 if [] ${D}found -eq 0 []; then
39183 echo "WARNING: there are no files in archive \'${D}file\'"
39187 newInputFiles="${D}{newInputFiles} ${D}file"
39191 inputFiles="${D}newInputFiles"
39193 # Output filename(s).
39195 if [] -z ${D}outFile []; then
39197 set outFile ${D}inputFiles; outFile=${D}2
39200 # If it is an archive, remove the '!' and the '_%' suffixes
39201 case ${D}outFile in
39203 outFile=\`basnam ${D}outFile _%!\`
39208 case ${D}outFile in
39210 outFile=\`basnam ${D}outFile .dll\`
39213 outFile=\`basnam ${D}outFile .DLL\`
39216 outFile=\`basnam ${D}outFile .o\`
39219 outFile=\`basnam ${D}outFile .obj\`
39222 outFile=\`basnam ${D}outFile .a\`
39225 outFile=\`basnam ${D}outFile .lib\`
39230 case ${D}outimpFile in
39232 outimpFile=\`basnam ${D}outimpFile .a\`
39235 outimpFile=\`basnam ${D}outimpFile .lib\`
39240 if [] -z ${D}outimpFile []; then
39241 outimpFile=${D}outFile
39243 defFile="${D}{outFile}.def"
39244 arcFile="${D}{outimpFile}.a"
39245 arcFile2="${D}{outimpFile}.lib"
39246 dllFile="${D}outFile"
39247 # Add suffix to dllFile later, first we need a version to use as
39248 # name in .def file.
39250 if [] ${D}do_backup -ne 0 [] ; then
39251 if [] -f ${D}arcFile [] ; then
39252 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39254 if [] -f ${D}arcFile2 [] ; then
39255 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39259 # Extract public symbols from all the object files.
39260 tmpdefFile=${D}{defFile}_%
39261 rm -f ${D}tmpdefFile
39262 for file in ${D}inputFiles ; do
39267 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39272 # Create the def file.
39274 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39275 dllFile="${D}dllFile.dll"
39276 if [] -n ${D}description []; then
39277 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39279 echo "EXPORTS" >> ${D}defFile
39281 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39282 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39284 # Checks if the export is ok or not.
39285 for word in ${D}exclude_symbols; do
39286 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39287 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39291 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39292 sed "=" < ${D}tmpdefFile | \
39296 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39298 ' > ${D}{tmpdefFile}%
39299 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39301 rm -f ${D}{tmpdefFile}%
39303 cat ${D}tmpdefFile >> ${D}defFile
39304 rm -f ${D}tmpdefFile
39306 # Do linking, create implib, and apply lxlite.
39308 for file in ${D}inputFiles ; do
39313 gccCmdl="${D}gccCmdl ${D}file"
39317 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39318 touch "${D}{outFile}.dll"
39320 doCommand "emximp -o ${D}arcFile ${D}defFile"
39321 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39323 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39326 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39328 doCommand "emxomf -s -l ${D}arcFile"
39338 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39346 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39347 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39348 { (exit 1); exit 1; }; }
39351 if test "x$PIC_FLAG" != "x" ; then
39352 PIC_FLAG
="$PIC_FLAG -DPIC"
39355 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39356 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39358 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39359 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39376 case "${BAKEFILE_HOST}" in
39378 SONAME_FLAG
="-Wl,-soname,"
39406 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39407 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39410 if test "x$GCC" = "xyes"; then
39413 case "${BAKEFILE_HOST}" in
39414 powerpc
-*-darwin* )
39415 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39418 DEPSFLAG_GCC
="-MMD"
39421 echo "$as_me:$LINENO: result: gcc" >&5
39422 echo "${ECHO_T}gcc" >&6
39424 echo "$as_me:$LINENO: result: none" >&5
39425 echo "${ECHO_T}none" >&6
39428 if test $DEPS_TRACKING = 1 ; then
39434 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39435 # script. It is used to track C/C++ files dependencies in portable way.
39437 # Permission is given to use this file in any way.
39439 DEPSMODE=${DEPSMODE}
39441 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39443 mkdir -p ${D}DEPSDIR
39445 if test ${D}DEPSMODE = gcc ; then
39446 ${D}* ${D}{DEPSFLAG_GCC}
39448 if test ${D}{status} != 0 ; then
39451 # move created file to the location we want it in:
39452 while test ${D}# -gt 0; do
39466 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39467 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39468 if test -f ${D}depfile ; then
39469 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39472 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39473 if test -f ${D}depfile ; then
39474 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39494 case ${BAKEFILE_HOST} in
39495 *-*-cygwin* | *-*-mingw32* )
39496 if test "$build" != "$host" ; then
39497 RESCOMP
=$host_alias-windres
39499 # Extract the first word of "windres", so it can be a program name with args.
39500 set dummy windres
; ac_word
=$2
39501 echo "$as_me:$LINENO: checking for $ac_word" >&5
39502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39503 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 if test -n "$RESCOMP"; then
39507 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39510 for as_dir
in $PATH
39513 test -z "$as_dir" && as_dir
=.
39514 for ac_exec_ext
in '' $ac_executable_extensions; do
39515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39516 ac_cv_prog_RESCOMP
="windres"
39517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39526 RESCOMP
=$ac_cv_prog_RESCOMP
39527 if test -n "$RESCOMP"; then
39528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39529 echo "${ECHO_T}$RESCOMP" >&6
39531 echo "$as_me:$LINENO: result: no" >&5
39532 echo "${ECHO_T}no" >&6
39539 # Extract the first word of "Rez", so it can be a program name with args.
39540 set dummy Rez
; ac_word
=$2
39541 echo "$as_me:$LINENO: checking for $ac_word" >&5
39542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39543 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 if test -n "$RESCOMP"; then
39547 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39550 for as_dir
in $PATH
39553 test -z "$as_dir" && as_dir
=.
39554 for ac_exec_ext
in '' $ac_executable_extensions; do
39555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39556 ac_cv_prog_RESCOMP
="Rez"
39557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39563 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39566 RESCOMP
=$ac_cv_prog_RESCOMP
39567 if test -n "$RESCOMP"; then
39568 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39569 echo "${ECHO_T}$RESCOMP" >&6
39571 echo "$as_me:$LINENO: result: no" >&5
39572 echo "${ECHO_T}no" >&6
39575 # Extract the first word of "SetFile", so it can be a program name with args.
39576 set dummy SetFile
; ac_word
=$2
39577 echo "$as_me:$LINENO: checking for $ac_word" >&5
39578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39579 if test "${ac_cv_prog_SETFILE+set}" = set; then
39580 echo $ECHO_N "(cached) $ECHO_C" >&6
39582 if test -n "$SETFILE"; then
39583 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39586 for as_dir
in $PATH
39589 test -z "$as_dir" && as_dir
=.
39590 for ac_exec_ext
in '' $ac_executable_extensions; do
39591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39592 ac_cv_prog_SETFILE
="SetFile"
39593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39602 SETFILE
=$ac_cv_prog_SETFILE
39603 if test -n "$SETFILE"; then
39604 echo "$as_me:$LINENO: result: $SETFILE" >&5
39605 echo "${ECHO_T}$SETFILE" >&6
39607 echo "$as_me:$LINENO: result: no" >&5
39608 echo "${ECHO_T}no" >&6
39618 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39624 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39628 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39629 if test "${enable_precomp_headers+set}" = set; then
39630 enableval
="$enable_precomp_headers"
39631 bk_use_pch
="$enableval"
39636 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39637 if test "x$GCC" = "xyes"; then
39638 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39639 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39640 cat >conftest.
$ac_ext <<_ACEOF
39643 cat confdefs.h
>>conftest.
$ac_ext
39644 cat >>conftest.
$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39651 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39652 #error "no pch support"
39655 #error "no pch support"
39657 #if (__GNUC__ == 3) && \
39658 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39659 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39660 #error "no pch support"
39667 rm -f conftest.
$ac_objext
39668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39669 (eval $ac_compile) 2>conftest.er1
39671 grep -v '^ *+' conftest.er1
>conftest.err
39673 cat conftest.err
>&5
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); } &&
39676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try
='test -s conftest.$ac_objext'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39689 echo "$as_me:$LINENO: result: yes" >&5
39690 echo "${ECHO_T}yes" >&6
39694 echo "$as_me: failed program was:" >&5
39695 sed 's/^/| /' conftest.
$ac_ext >&5
39698 echo "$as_me:$LINENO: result: no" >&5
39699 echo "${ECHO_T}no" >&6
39702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39703 if test $GCC_PCH = 1 ; then
39704 cat <<EOF >bk-make-pch
39707 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39708 # script. It is used to generated precompiled headers.
39710 # Permission is given to use this file in any way.
39719 while test \${#} -gt 0; do
39722 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39723 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39724 headerfile="\${incdir}/\${header}"
39728 compiler="\${compiler} \${1}"
39732 if test "x\${headerfile}" = "x" ; then
39733 echo "error: can't find header \${header} in include paths" >2
39735 if test -f \${outfile} ; then
39738 mkdir -p \`dirname \${outfile}\`
39740 depsfile=".deps/\`basename \${outfile}\`.d"
39742 # can do this because gcc is >= 3.4:
39743 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39747 chmod +x bk
-make-pch
39758 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39759 if test "${enable_precomp_headers+set}" = set; then
39760 enableval
="$enable_precomp_headers"
39761 bk_use_pch
="$enableval"
39766 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39767 if test "x$GCC" = "xyes"; then
39768 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39769 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39770 cat >conftest.
$ac_ext <<_ACEOF
39773 cat confdefs.h
>>conftest.
$ac_ext
39774 cat >>conftest.
$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39781 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39782 #error "no pch support"
39785 #error "no pch support"
39787 #if (__GNUC__ == 3) && \
39788 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39789 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39790 #error "no pch support"
39797 rm -f conftest.
$ac_objext
39798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39799 (eval $ac_compile) 2>conftest.er1
39801 grep -v '^ *+' conftest.er1
>conftest.err
39803 cat conftest.err
>&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
39806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try
='test -s conftest.$ac_objext'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39819 echo "$as_me:$LINENO: result: yes" >&5
39820 echo "${ECHO_T}yes" >&6
39824 echo "$as_me: failed program was:" >&5
39825 sed 's/^/| /' conftest.
$ac_ext >&5
39828 echo "$as_me:$LINENO: result: no" >&5
39829 echo "${ECHO_T}no" >&6
39832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39833 if test $GCC_PCH = 1 ; then
39834 cat <<EOF >bk-make-pch
39837 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39838 # script. It is used to generated precompiled headers.
39840 # Permission is given to use this file in any way.
39849 while test \${#} -gt 0; do
39852 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39853 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39854 headerfile="\${incdir}/\${header}"
39858 compiler="\${compiler} \${1}"
39862 if test "x\${headerfile}" = "x" ; then
39863 echo "error: can't find header \${header} in include paths" >2
39865 if test -f \${outfile} ; then
39868 mkdir -p \`dirname \${outfile}\`
39870 depsfile=".deps/\`basename \${outfile}\`.d"
39872 # can do this because gcc is >= 3.4:
39873 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39877 chmod +x bk
-make-pch
39884 COND_BUILD_DEBUG
="#"
39885 if test "x$BUILD" = "xdebug" ; then
39886 COND_BUILD_DEBUG
=""
39889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39890 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39895 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39899 COND_BUILD_DEBUG_UNICODE_0
="#"
39900 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39901 COND_BUILD_DEBUG_UNICODE_0
=""
39904 COND_BUILD_DEBUG_UNICODE_1
="#"
39905 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39906 COND_BUILD_DEBUG_UNICODE_1
=""
39909 COND_BUILD_RELEASE
="#"
39910 if test "x$BUILD" = "xrelease" ; then
39911 COND_BUILD_RELEASE
=""
39914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39915 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39919 COND_BUILD_RELEASE_UNICODE_0
="#"
39920 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39921 COND_BUILD_RELEASE_UNICODE_0
=""
39924 COND_BUILD_RELEASE_UNICODE_1
="#"
39925 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39926 COND_BUILD_RELEASE_UNICODE_1
=""
39929 COND_DEBUG_FLAG_1
="#"
39930 if test "x$DEBUG_FLAG" = "x1" ; then
39931 COND_DEBUG_FLAG_1
=""
39934 COND_DEBUG_INFO_0
="#"
39935 if test "x$DEBUG_INFO" = "x0" ; then
39936 COND_DEBUG_INFO_0
=""
39939 COND_DEBUG_INFO_1
="#"
39940 if test "x$DEBUG_INFO" = "x1" ; then
39941 COND_DEBUG_INFO_1
=""
39944 COND_DEPS_TRACKING_0
="#"
39945 if test "x$DEPS_TRACKING" = "x0" ; then
39946 COND_DEPS_TRACKING_0
=""
39949 COND_DEPS_TRACKING_1
="#"
39950 if test "x$DEPS_TRACKING" = "x1" ; then
39951 COND_DEPS_TRACKING_1
=""
39955 if test "x$GCC_PCH" = "x1" ; then
39959 COND_MONOLITHIC_0
="#"
39960 if test "x$MONOLITHIC" = "x0" ; then
39961 COND_MONOLITHIC_0
=""
39964 COND_MONOLITHIC_0_SHARED_0
="#"
39965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39966 COND_MONOLITHIC_0_SHARED_0
=""
39969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39971 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39974 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39976 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39979 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39981 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39984 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39986 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39989 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39991 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39994 COND_MONOLITHIC_0_SHARED_1
="#"
39995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39996 COND_MONOLITHIC_0_SHARED_1
=""
39999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40001 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40004 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40006 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40009 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40011 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40014 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40016 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40019 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40024 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40025 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40026 COND_MONOLITHIC_0_USE_ODBC_1
=""
40029 COND_MONOLITHIC_1
="#"
40030 if test "x$MONOLITHIC" = "x1" ; then
40031 COND_MONOLITHIC_1
=""
40034 COND_MONOLITHIC_1_SHARED_0
="#"
40035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40036 COND_MONOLITHIC_1_SHARED_0
=""
40039 COND_MONOLITHIC_1_SHARED_1
="#"
40040 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40041 COND_MONOLITHIC_1_SHARED_1
=""
40044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40045 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40050 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40051 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40054 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40056 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40059 COND_PLATFORM_MACOSX_1
="#"
40060 if test "x$PLATFORM_MACOSX" = "x1" ; then
40061 COND_PLATFORM_MACOSX_1
=""
40064 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40066 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40069 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40071 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40074 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40076 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40079 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40084 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40086 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40089 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40091 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40094 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40096 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40099 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40101 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40104 COND_PLATFORM_MACOS_1
="#"
40105 if test "x$PLATFORM_MACOS" = "x1" ; then
40106 COND_PLATFORM_MACOS_1
=""
40109 COND_PLATFORM_MAC_1
="#"
40110 if test "x$PLATFORM_MAC" = "x1" ; then
40111 COND_PLATFORM_MAC_1
=""
40114 COND_PLATFORM_OS2_1
="#"
40115 if test "x$PLATFORM_OS2" = "x1" ; then
40116 COND_PLATFORM_OS2_1
=""
40119 COND_PLATFORM_UNIX_0
="#"
40120 if test "x$PLATFORM_UNIX" = "x0" ; then
40121 COND_PLATFORM_UNIX_0
=""
40124 COND_PLATFORM_UNIX_1
="#"
40125 if test "x$PLATFORM_UNIX" = "x1" ; then
40126 COND_PLATFORM_UNIX_1
=""
40129 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40130 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40131 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40135 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40136 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40139 COND_PLATFORM_WIN32_0
="#"
40140 if test "x$PLATFORM_WIN32" = "x0" ; then
40141 COND_PLATFORM_WIN32_0
=""
40144 COND_PLATFORM_WIN32_1
="#"
40145 if test "x$PLATFORM_WIN32" = "x1" ; then
40146 COND_PLATFORM_WIN32_1
=""
40150 if test "x$SHARED" = "x0" ; then
40154 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40155 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40160 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40164 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40165 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40169 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40170 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40171 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40174 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40175 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40176 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40179 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40180 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40181 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40184 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40185 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40186 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40189 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40190 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40191 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40194 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40195 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40196 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40199 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40200 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40201 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40204 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40205 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40206 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40210 if test "x$SHARED" = "x1" ; then
40214 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40215 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40216 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40220 if test "x$TOOLKIT" = "x" ; then
40224 COND_TOOLKIT_COCOA
="#"
40225 if test "x$TOOLKIT" = "xCOCOA" ; then
40226 COND_TOOLKIT_COCOA
=""
40229 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40230 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40231 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40234 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40235 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40236 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40239 COND_TOOLKIT_GTK
="#"
40240 if test "x$TOOLKIT" = "xGTK" ; then
40241 COND_TOOLKIT_GTK
=""
40244 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40245 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40246 COND_TOOLKIT_GTK_USE_GUI_1
=""
40249 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40251 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40254 COND_TOOLKIT_MAC
="#"
40255 if test "x$TOOLKIT" = "xMAC" ; then
40256 COND_TOOLKIT_MAC
=""
40259 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40261 COND_TOOLKIT_MAC_USE_GUI_1
=""
40264 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40265 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40266 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40269 COND_TOOLKIT_MGL
="#"
40270 if test "x$TOOLKIT" = "xMGL" ; then
40271 COND_TOOLKIT_MGL
=""
40274 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40275 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40276 COND_TOOLKIT_MGL_USE_GUI_1
=""
40279 COND_TOOLKIT_MOTIF
="#"
40280 if test "x$TOOLKIT" = "xMOTIF" ; then
40281 COND_TOOLKIT_MOTIF
=""
40284 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40286 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40289 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40290 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40294 COND_TOOLKIT_MSW
="#"
40295 if test "x$TOOLKIT" = "xMSW" ; then
40296 COND_TOOLKIT_MSW
=""
40299 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40301 COND_TOOLKIT_MSW_USE_GUI_1
=""
40304 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40305 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40306 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40309 COND_TOOLKIT_PM
="#"
40310 if test "x$TOOLKIT" = "xPM" ; then
40314 COND_TOOLKIT_PM_USE_GUI_1
="#"
40315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40316 COND_TOOLKIT_PM_USE_GUI_1
=""
40319 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40321 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40324 COND_TOOLKIT_WINCE
="#"
40325 if test "x$TOOLKIT" = "xWINCE" ; then
40326 COND_TOOLKIT_WINCE
=""
40329 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40331 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40334 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40336 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40339 COND_TOOLKIT_X11
="#"
40340 if test "x$TOOLKIT" = "xX11" ; then
40341 COND_TOOLKIT_X11
=""
40344 COND_TOOLKIT_X11_USE_GUI_1
="#"
40345 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40346 COND_TOOLKIT_X11_USE_GUI_1
=""
40350 if test "x$UNICODE" = "x1" ; then
40354 COND_USE_EXCEPTIONS_0
="#"
40355 if test "x$USE_EXCEPTIONS" = "x0" ; then
40356 COND_USE_EXCEPTIONS_0
=""
40359 COND_USE_EXCEPTIONS_1
="#"
40360 if test "x$USE_EXCEPTIONS" = "x1" ; then
40361 COND_USE_EXCEPTIONS_1
=""
40365 if test "x$USE_GUI" = "x0" ; then
40370 if test "x$USE_GUI" = "x1" ; then
40374 COND_USE_GUI_1_WXUNIV_0
="#"
40375 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40376 COND_USE_GUI_1_WXUNIV_0
=""
40379 COND_USE_GUI_1_WXUNIV_1
="#"
40380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40381 COND_USE_GUI_1_WXUNIV_1
=""
40384 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40385 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40386 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40389 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40391 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40394 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40396 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40399 COND_USE_ODBC_1
="#"
40400 if test "x$USE_ODBC" = "x1" ; then
40404 COND_USE_OPENGL_1
="#"
40405 if test "x$USE_OPENGL" = "x1" ; then
40406 COND_USE_OPENGL_1
=""
40409 COND_USE_PLUGINS_0
="#"
40410 if test "x$USE_PLUGINS" = "x0" ; then
40411 COND_USE_PLUGINS_0
=""
40414 COND_USE_SOSYMLINKS_1
="#"
40415 if test "x$USE_SOSYMLINKS" = "x1" ; then
40416 COND_USE_SOSYMLINKS_1
=""
40419 COND_USE_SOVERLINUX_1
="#"
40420 if test "x$USE_SOVERLINUX" = "x1" ; then
40421 COND_USE_SOVERLINUX_1
=""
40424 COND_USE_SOVERSION_0
="#"
40425 if test "x$USE_SOVERSION" = "x0" ; then
40426 COND_USE_SOVERSION_0
=""
40429 COND_USE_SOVERSOLARIS_1
="#"
40430 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40431 COND_USE_SOVERSOLARIS_1
=""
40435 if test "x$USE_XRC" = "x1" ; then
40439 COND_WITH_PLUGIN_SDL_1
="#"
40440 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40441 COND_WITH_PLUGIN_SDL_1
=""
40445 if test "x$WXUNIV" = "x1" ; then
40449 COND_WXUSE_EXPAT_BUILTIN
="#"
40450 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40451 COND_WXUSE_EXPAT_BUILTIN
=""
40454 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40455 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40456 COND_WXUSE_LIBJPEG_BUILTIN
=""
40459 COND_WXUSE_LIBPNG_BUILTIN
="#"
40460 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40461 COND_WXUSE_LIBPNG_BUILTIN
=""
40464 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40465 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40466 COND_WXUSE_LIBTIFF_BUILTIN
=""
40469 COND_WXUSE_ODBC_BUILTIN
="#"
40470 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40471 COND_WXUSE_ODBC_BUILTIN
=""
40474 COND_WXUSE_REGEX_BUILTIN
="#"
40475 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40476 COND_WXUSE_REGEX_BUILTIN
=""
40479 COND_WXUSE_ZLIB_BUILTIN
="#"
40480 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40481 COND_WXUSE_ZLIB_BUILTIN
=""
40484 COND_BUILD_DEBUG
="#"
40485 if test "x$BUILD" = "xdebug" ; then
40486 COND_BUILD_DEBUG
=""
40489 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40490 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40491 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40494 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40495 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40496 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40499 COND_BUILD_DEBUG_UNICODE_0
="#"
40500 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40501 COND_BUILD_DEBUG_UNICODE_0
=""
40504 COND_BUILD_DEBUG_UNICODE_1
="#"
40505 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40506 COND_BUILD_DEBUG_UNICODE_1
=""
40509 COND_BUILD_RELEASE
="#"
40510 if test "x$BUILD" = "xrelease" ; then
40511 COND_BUILD_RELEASE
=""
40514 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40515 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40516 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40519 COND_BUILD_RELEASE_UNICODE_0
="#"
40520 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40521 COND_BUILD_RELEASE_UNICODE_0
=""
40524 COND_BUILD_RELEASE_UNICODE_1
="#"
40525 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40526 COND_BUILD_RELEASE_UNICODE_1
=""
40529 COND_DEBUG_FLAG_1
="#"
40530 if test "x$DEBUG_FLAG" = "x1" ; then
40531 COND_DEBUG_FLAG_1
=""
40534 COND_DEBUG_INFO_0
="#"
40535 if test "x$DEBUG_INFO" = "x0" ; then
40536 COND_DEBUG_INFO_0
=""
40539 COND_DEBUG_INFO_1
="#"
40540 if test "x$DEBUG_INFO" = "x1" ; then
40541 COND_DEBUG_INFO_1
=""
40544 COND_DEPS_TRACKING_0
="#"
40545 if test "x$DEPS_TRACKING" = "x0" ; then
40546 COND_DEPS_TRACKING_0
=""
40549 COND_DEPS_TRACKING_1
="#"
40550 if test "x$DEPS_TRACKING" = "x1" ; then
40551 COND_DEPS_TRACKING_1
=""
40555 if test "x$GCC_PCH" = "x1" ; then
40559 COND_MONOLITHIC_0
="#"
40560 if test "x$MONOLITHIC" = "x0" ; then
40561 COND_MONOLITHIC_0
=""
40564 COND_MONOLITHIC_0_SHARED_0
="#"
40565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40566 COND_MONOLITHIC_0_SHARED_0
=""
40569 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40571 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40574 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40576 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40579 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40581 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40584 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40586 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40589 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40591 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40594 COND_MONOLITHIC_0_SHARED_1
="#"
40595 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40596 COND_MONOLITHIC_0_SHARED_1
=""
40599 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40600 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40604 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40605 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40609 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40610 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40611 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40614 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40615 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40616 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40619 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40620 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40621 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40624 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40625 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40626 COND_MONOLITHIC_0_USE_ODBC_1
=""
40629 COND_MONOLITHIC_1
="#"
40630 if test "x$MONOLITHIC" = "x1" ; then
40631 COND_MONOLITHIC_1
=""
40634 COND_MONOLITHIC_1_SHARED_0
="#"
40635 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40636 COND_MONOLITHIC_1_SHARED_0
=""
40639 COND_MONOLITHIC_1_SHARED_1
="#"
40640 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40641 COND_MONOLITHIC_1_SHARED_1
=""
40644 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40645 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40646 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40649 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40650 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40651 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40654 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40655 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40656 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40659 COND_PLATFORM_MACOSX_1
="#"
40660 if test "x$PLATFORM_MACOSX" = "x1" ; then
40661 COND_PLATFORM_MACOSX_1
=""
40664 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40665 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40666 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40669 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40670 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40671 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40674 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40675 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40676 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40679 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40681 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40684 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40685 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40686 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40689 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40690 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40691 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40694 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40695 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40696 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40699 COND_PLATFORM_MAC_1
="#"
40700 if test "x$PLATFORM_MAC" = "x1" ; then
40701 COND_PLATFORM_MAC_1
=""
40704 COND_PLATFORM_OS2_1
="#"
40705 if test "x$PLATFORM_OS2" = "x1" ; then
40706 COND_PLATFORM_OS2_1
=""
40709 COND_PLATFORM_UNIX_0
="#"
40710 if test "x$PLATFORM_UNIX" = "x0" ; then
40711 COND_PLATFORM_UNIX_0
=""
40714 COND_PLATFORM_UNIX_1
="#"
40715 if test "x$PLATFORM_UNIX" = "x1" ; then
40716 COND_PLATFORM_UNIX_1
=""
40719 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40720 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40721 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40724 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40725 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40726 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40729 COND_PLATFORM_WIN32_0
="#"
40730 if test "x$PLATFORM_WIN32" = "x0" ; then
40731 COND_PLATFORM_WIN32_0
=""
40734 COND_PLATFORM_WIN32_1
="#"
40735 if test "x$PLATFORM_WIN32" = "x1" ; then
40736 COND_PLATFORM_WIN32_1
=""
40740 if test "x$SHARED" = "x0" ; then
40744 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40745 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40746 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40749 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40750 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40751 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40755 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40756 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40759 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40760 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40761 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40764 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40765 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40766 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40769 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40770 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40771 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40774 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40775 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40776 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40779 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40780 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40781 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40785 if test "x$SHARED" = "x1" ; then
40789 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40790 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40791 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40794 COND_TOOLKIT_COCOA
="#"
40795 if test "x$TOOLKIT" = "xCOCOA" ; then
40796 COND_TOOLKIT_COCOA
=""
40799 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40800 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40801 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40804 COND_TOOLKIT_GTK
="#"
40805 if test "x$TOOLKIT" = "xGTK" ; then
40806 COND_TOOLKIT_GTK
=""
40809 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40810 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40811 COND_TOOLKIT_GTK_USE_GUI_1
=""
40814 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40815 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40816 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40819 COND_TOOLKIT_MAC
="#"
40820 if test "x$TOOLKIT" = "xMAC" ; then
40821 COND_TOOLKIT_MAC
=""
40824 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40825 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40826 COND_TOOLKIT_MAC_USE_GUI_1
=""
40829 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40830 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40831 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40834 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40835 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40836 COND_TOOLKIT_MAC_WXUNIV_0
=""
40839 COND_TOOLKIT_MGL
="#"
40840 if test "x$TOOLKIT" = "xMGL" ; then
40841 COND_TOOLKIT_MGL
=""
40844 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40845 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40846 COND_TOOLKIT_MGL_USE_GUI_1
=""
40849 COND_TOOLKIT_MOTIF
="#"
40850 if test "x$TOOLKIT" = "xMOTIF" ; then
40851 COND_TOOLKIT_MOTIF
=""
40854 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40855 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40856 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40860 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40861 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40864 COND_TOOLKIT_MSW
="#"
40865 if test "x$TOOLKIT" = "xMSW" ; then
40866 COND_TOOLKIT_MSW
=""
40869 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40870 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40871 COND_TOOLKIT_MSW_USE_GUI_1
=""
40874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40875 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40876 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40879 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40880 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40881 COND_TOOLKIT_MSW_WXUNIV_0
=""
40884 COND_TOOLKIT_PM
="#"
40885 if test "x$TOOLKIT" = "xPM" ; then
40889 COND_TOOLKIT_PM_USE_GUI_1
="#"
40890 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40891 COND_TOOLKIT_PM_USE_GUI_1
=""
40894 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40895 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40896 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40899 COND_TOOLKIT_PM_WXUNIV_0
="#"
40900 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40901 COND_TOOLKIT_PM_WXUNIV_0
=""
40904 COND_TOOLKIT_WINCE
="#"
40905 if test "x$TOOLKIT" = "xWINCE" ; then
40906 COND_TOOLKIT_WINCE
=""
40909 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40910 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40911 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40914 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40915 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40916 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40919 COND_TOOLKIT_X11
="#"
40920 if test "x$TOOLKIT" = "xX11" ; then
40921 COND_TOOLKIT_X11
=""
40924 COND_TOOLKIT_X11_USE_GUI_1
="#"
40925 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40926 COND_TOOLKIT_X11_USE_GUI_1
=""
40930 if test "x$UNICODE" = "x1" ; then
40934 COND_USE_EXCEPTIONS_0
="#"
40935 if test "x$USE_EXCEPTIONS" = "x0" ; then
40936 COND_USE_EXCEPTIONS_0
=""
40939 COND_USE_EXCEPTIONS_1
="#"
40940 if test "x$USE_EXCEPTIONS" = "x1" ; then
40941 COND_USE_EXCEPTIONS_1
=""
40945 if test "x$USE_GUI" = "x0" ; then
40950 if test "x$USE_GUI" = "x1" ; then
40954 COND_USE_GUI_1_WXUNIV_0
="#"
40955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40956 COND_USE_GUI_1_WXUNIV_0
=""
40959 COND_USE_GUI_1_WXUNIV_1
="#"
40960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40961 COND_USE_GUI_1_WXUNIV_1
=""
40964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40966 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40976 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40979 COND_USE_ODBC_1
="#"
40980 if test "x$USE_ODBC" = "x1" ; then
40984 COND_USE_PLUGINS_0
="#"
40985 if test "x$USE_PLUGINS" = "x0" ; then
40986 COND_USE_PLUGINS_0
=""
40989 COND_USE_SOSYMLINKS_1
="#"
40990 if test "x$USE_SOSYMLINKS" = "x1" ; then
40991 COND_USE_SOSYMLINKS_1
=""
40994 COND_USE_SOVERLINUX_1
="#"
40995 if test "x$USE_SOVERLINUX" = "x1" ; then
40996 COND_USE_SOVERLINUX_1
=""
40999 COND_USE_SOVERSION_0
="#"
41000 if test "x$USE_SOVERSION" = "x0" ; then
41001 COND_USE_SOVERSION_0
=""
41004 COND_USE_SOVERSOLARIS_1
="#"
41005 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41006 COND_USE_SOVERSOLARIS_1
=""
41009 COND_WITH_PLUGIN_SDL_1
="#"
41010 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41011 COND_WITH_PLUGIN_SDL_1
=""
41015 if test "x$WXUNIV" = "x1" ; then
41019 COND_WXUSE_EXPAT_BUILTIN
="#"
41020 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41021 COND_WXUSE_EXPAT_BUILTIN
=""
41024 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41025 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41026 COND_WXUSE_LIBJPEG_BUILTIN
=""
41029 COND_WXUSE_LIBPNG_BUILTIN
="#"
41030 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41031 COND_WXUSE_LIBPNG_BUILTIN
=""
41034 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41035 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41036 COND_WXUSE_LIBTIFF_BUILTIN
=""
41039 COND_WXUSE_ODBC_BUILTIN
="#"
41040 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41041 COND_WXUSE_ODBC_BUILTIN
=""
41044 COND_WXUSE_REGEX_BUILTIN
="#"
41045 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41046 COND_WXUSE_REGEX_BUILTIN
=""
41049 COND_WXUSE_ZLIB_BUILTIN
="#"
41050 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41051 COND_WXUSE_ZLIB_BUILTIN
=""
41056 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41057 { { 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
41058 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;}
41059 { (exit 1); exit 1; }; }
41063 if test "$wxUSE_SHARED" = "yes"; then
41065 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41066 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41070 EXE_LINKER
="$CXX -o"
41074 GCC_PRAGMA_FLAGS
=""
41075 if test $GCC_PCH = 1 ; then
41076 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41079 powerpc
-*-darwin* )
41080 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41083 if test "$wxUSE_STL" = "yes" -o \
41084 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41085 "$wxUSE_NO_RTTI" != "yes"; then
41086 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41087 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41088 cat >conftest.
$ac_ext <<_ACEOF
41091 cat confdefs.h
>>conftest.
$ac_ext
41092 cat >>conftest.
$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41098 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41099 #error "Not GCC 3.2 or greater"
41106 rm -f conftest.
$ac_objext
41107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41108 (eval $ac_compile) 2>conftest.er1
41110 grep -v '^ *+' conftest.er1
>conftest.err
41112 cat conftest.err
>&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } &&
41115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; } &&
41121 { ac_try
='test -s conftest.$ac_objext'
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; }; then
41127 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41128 echo "$as_me:$LINENO: result: yes" >&5
41129 echo "${ECHO_T}yes" >&6
41131 echo "$as_me: failed program was:" >&5
41132 sed 's/^/| /' conftest.
$ac_ext >&5
41134 echo "$as_me:$LINENO: result: no" >&5
41135 echo "${ECHO_T}no" >&6
41137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41142 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41145 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41209 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41210 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41211 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41212 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41213 echo $ECHO_N "(cached) $ECHO_C" >&6
41215 cat >conftest.
make <<\_ACEOF
41217 @
echo 'ac_maketemp="$(MAKE)"'
41219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41220 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41221 if test -n "$ac_maketemp"; then
41222 eval ac_cv_prog_make_
${ac_make}_set
=yes
41224 eval ac_cv_prog_make_
${ac_make}_set
=no
41226 rm -f conftest.
make
41228 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41229 echo "$as_me:$LINENO: result: yes" >&5
41230 echo "${ECHO_T}yes" >&6
41233 echo "$as_me:$LINENO: result: no" >&5
41234 echo "${ECHO_T}no" >&6
41235 SET_MAKE
="MAKE=${MAKE-make}"
41240 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41243 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41246 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41249 ac_config_files
="$ac_config_files version-script Makefile"
41252 ac_config_commands
="$ac_config_commands wx-config
41258 if test "$wxUSE_GUI" = "yes"; then
41259 SUBDIRS
="samples demos utils contrib"
41260 else SUBDIRS
="samples utils"
41265 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41266 if test "${with_cppunit_prefix+set}" = set; then
41267 withval
="$with_cppunit_prefix"
41268 cppunit_config_prefix
="$withval"
41270 cppunit_config_prefix
=""
41273 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41274 if test "${with_cppunit_exec_prefix+set}" = set; then
41275 withval
="$with_cppunit_exec_prefix"
41276 cppunit_config_exec_prefix
="$withval"
41278 cppunit_config_exec_prefix
=""
41281 if test x
$cppunit_config_exec_prefix != x
; then
41282 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41283 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41284 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41287 if test x
$cppunit_config_prefix != x
; then
41288 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41289 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41290 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41294 # Extract the first word of "cppunit-config", so it can be a program name with args.
41295 set dummy cppunit
-config; ac_word
=$2
41296 echo "$as_me:$LINENO: checking for $ac_word" >&5
41297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41298 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 case $CPPUNIT_CONFIG in
41303 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41307 for as_dir
in $PATH
41310 test -z "$as_dir" && as_dir
=.
41311 for ac_exec_ext
in '' $ac_executable_extensions; do
41312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41313 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41320 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41324 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41326 if test -n "$CPPUNIT_CONFIG"; then
41327 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41328 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41330 echo "$as_me:$LINENO: result: no" >&5
41331 echo "${ECHO_T}no" >&6
41334 cppunit_version_min
=1.8.0
41336 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41337 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41339 if test "$CPPUNIT_CONFIG" = "no" ; then
41342 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41343 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41344 cppunit_version
=`$CPPUNIT_CONFIG --version`
41346 cppunit_major_version
=`echo $cppunit_version | \
41347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41348 cppunit_minor_version
=`echo $cppunit_version | \
41349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41350 cppunit_micro_version
=`echo $cppunit_version | \
41351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41353 cppunit_major_min
=`echo $cppunit_version_min | \
41354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41355 cppunit_minor_min
=`echo $cppunit_version_min | \
41356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41357 cppunit_micro_min
=`echo $cppunit_version_min | \
41358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41360 cppunit_version_proper
=`expr \
41361 $cppunit_major_version \> $cppunit_major_min \| \
41362 $cppunit_major_version \= $cppunit_major_min \& \
41363 $cppunit_minor_version \> $cppunit_minor_min \| \
41364 $cppunit_major_version \= $cppunit_major_min \& \
41365 $cppunit_minor_version \= $cppunit_minor_min \& \
41366 $cppunit_micro_version \>= $cppunit_micro_min `
41368 if test "$cppunit_version_proper" = "1" ; then
41369 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41370 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41372 echo "$as_me:$LINENO: result: no" >&5
41373 echo "${ECHO_T}no" >&6
41378 if test "x$no_cppunit" = x
; then
41379 SUBDIRS
="$SUBDIRS tests"
41390 for subdir
in `echo $SUBDIRS`; do
41391 if test -d ${srcdir}/${subdir} ; then
41392 if test "$wxUSE_GUI" = "yes"; then
41393 if test ${subdir} = "samples"; then
41394 makefiles
="samples/Makefile.in $makefiles"
41395 for sample
in `echo $SAMPLES_SUBDIRS`; do
41396 if test -d $srcdir/samples
/$sample; then
41397 makefiles
="samples/$sample/Makefile.in $makefiles"
41400 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41402 else if test ${subdir} = "samples"; then
41403 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41404 elif test ${subdir} = "utils"; then
41406 for util
in HelpGen tex2rtf
; do
41407 if test -d $srcdir/utils
/$util ; then
41408 makefiles
="utils/$util/Makefile.in \
41409 utils/$util/src/Makefile.in \
41413 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41417 for mkin
in $makefiles ; do
41418 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41419 ac_config_files
="$ac_config_files $mk"
41426 cat >confcache
<<\_ACEOF
41427 # This file is a shell script that caches the results of configure
41428 # tests run on this system so they can be shared between configure
41429 # scripts and configure runs, see configure's option --config-cache.
41430 # It is not useful on other systems. If it contains results you don't
41431 # want to keep, you may remove or edit it.
41433 # config.status only pays attention to the cache file if you give it
41434 # the --recheck option to rerun configure.
41436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41438 # following values.
41442 # The following way of writing the cache mishandles newlines in values,
41443 # but we know of no workaround that is simple, portable, and efficient.
41444 # So, don't put newlines in cache variables' values.
41445 # Ultrix sh set writes to stderr and can't be redirected directly,
41446 # and sets the high bit in the cache file unless we assign to the vars.
41449 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41451 # `set' does not quote correctly, so add quotes (double-quote
41452 # substitution turns \\\\ into \\, and sed turns \\ into \).
41455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41458 # `set' quotes correctly as required by POSIX, so do not add quotes.
41460 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41469 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41471 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41472 if test -w $cache_file; then
41473 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41474 cat confcache
>$cache_file
41476 echo "not updating unwritable cache $cache_file"
41481 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41482 # Let make expand exec_prefix.
41483 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41487 # trailing colons and then remove the whole line if VPATH becomes empty
41488 # (actually we leave an empty line to preserve line numbers).
41489 if test "x$srcdir" = x.
; then
41490 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41491 s/:*\$(srcdir):*/:/;
41492 s/:*\${srcdir}:*/:/;
41494 s/^\([^=]*=[ ]*\):*/\1/;
41500 DEFS
=-DHAVE_CONFIG_H
41504 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41505 # 1. Remove the extension, and $U if already installed.
41506 ac_i
=`echo "$ac_i" |
41507 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41509 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41510 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41512 LIBOBJS
=$ac_libobjs
41514 LTLIBOBJS
=$ac_ltlibobjs
41518 : ${CONFIG_STATUS=./config.status}
41519 ac_clean_files_save
=$ac_clean_files
41520 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41521 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41522 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41523 cat >$CONFIG_STATUS <<_ACEOF
41525 # Generated by $as_me.
41526 # Run this file to recreate the current configuration.
41527 # Compiler output produced by configure, useful for debugging
41528 # configure, is in config.log if it exists.
41531 ac_cs_recheck=false
41533 SHELL=\${CONFIG_SHELL-$SHELL}
41536 cat >>$CONFIG_STATUS <<\_ACEOF
41537 ## --------------------- ##
41538 ## M4sh Initialization. ##
41539 ## --------------------- ##
41541 # Be Bourne compatible
41542 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41545 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41546 # is contrary to our usage. Disable this feature.
41547 alias -g '${1+"$@"}'='"$@"'
41548 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41551 DUALCASE
=1; export DUALCASE
# for MKS sh
41553 # Support unset when possible.
41554 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41561 # Work around bugs in pre-3.0 UWIN ksh.
41562 $as_unset ENV MAIL MAILPATH
41569 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41570 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41571 LC_TELEPHONE LC_TIME
41573 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41574 eval $as_var=C
; export $as_var
41580 # Required to use basename.
41581 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41587 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41588 as_basename
=basename
41594 # Name of the executable.
41595 as_me
=`$as_basename "$0" ||
41596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41597 X"$0" : 'X\(//\)$' \| \
41598 X"$0" : 'X\(/\)$' \| \
41599 . : '\(.\)' 2>/dev/null ||
41601 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41602 /^X\/\(\/\/\)$/{ s//\1/; q; }
41603 /^X\/\(\/\).*/{ s//\1/; q; }
41607 # PATH needs CR, and LINENO needs CR and PATH.
41608 # Avoid depending upon Character Ranges.
41609 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41610 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41611 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41612 as_cr_digits
='0123456789'
41613 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41615 # The user is always right.
41616 if test "${PATH_SEPARATOR+set}" != set; then
41617 echo "#! /bin/sh" >conf$$.sh
41618 echo "exit 0" >>conf$$.sh
41620 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41629 as_lineno_1
=$LINENO
41630 as_lineno_2
=$LINENO
41631 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41632 test "x$as_lineno_1" != "x$as_lineno_2" &&
41633 test "x$as_lineno_3" = "x$as_lineno_2" || {
41634 # Find who we are. Look in the path if we contain no path at all
41637 *[\\/]* ) as_myself
=$0 ;;
41638 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41639 for as_dir
in $PATH
41642 test -z "$as_dir" && as_dir
=.
41643 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41648 # We did not find ourselves, most probably we were run as `sh COMMAND'
41649 # in which case we are not to be found in the path.
41650 if test "x$as_myself" = x
; then
41653 if test ! -f "$as_myself"; then
41654 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41655 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41656 { (exit 1); exit 1; }; }
41658 case $CONFIG_SHELL in
41660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41661 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41664 test -z "$as_dir" && as_dir
=.
41665 for as_base
in sh bash ksh sh5
; do
41668 if ("$as_dir/$as_base" -c '
41669 as_lineno_1=$LINENO
41670 as_lineno_2=$LINENO
41671 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41672 test "x$as_lineno_1" != "x$as_lineno_2" &&
41673 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41674 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41675 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41676 CONFIG_SHELL
=$as_dir/$as_base
41677 export CONFIG_SHELL
41678 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41686 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41687 # uniformly replaced by the line number. The first 'sed' inserts a
41688 # line-number line before each line; the second 'sed' does the real
41689 # work. The second script uses 'N' to pair each line-number line
41690 # with the numbered line, and appends trailing '-' during
41691 # substitution so that $LINENO is not a special case at line end.
41692 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41693 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41694 sed '=' <$as_myself |
41699 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41702 s,^['$as_cr_digits']*\n,,
41703 ' >$as_me.lineno
&&
41704 chmod +x
$as_me.lineno
||
41705 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41706 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41707 { (exit 1); exit 1; }; }
41709 # Don't try to exec as it changes $[0], causing all sort of problems
41710 # (the dirname of $[0] is not the place where we might find the
41711 # original and so on. Autoconf is especially sensible to this).
41713 # Exit status is that of the last command.
41718 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41719 *c
*,-n*) ECHO_N
= ECHO_C
='
41721 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41722 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41725 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41731 rm -f conf$$ conf$$.exe conf$$.
file
41733 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41734 # We could just check for DJGPP; but this test a) works b) is more generic
41735 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41736 if test -f conf$$.exe
; then
41737 # Don't use ln at all; we don't have any links
41742 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41747 rm -f conf$$ conf$$.exe conf$$.
file
41749 if mkdir -p .
2>/dev
/null
; then
41752 test -d .
/-p && rmdir .
/-p
41756 as_executable_p
="test -f"
41758 # Sed expression to map a string onto a valid CPP name.
41759 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41761 # Sed expression to map a string onto a valid variable name.
41762 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41766 # We need space, tab and new line, in precisely that order.
41776 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41777 # report actual input values of CONFIG_FILES etc. instead of their
41778 # values after options handling. Logging --version etc. is OK.
41782 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41783 ## Running $as_me. ##
41788 This file was extended by wxWidgets $as_me 2.5.3, which was
41789 generated by GNU Autoconf 2.59. Invocation command line was
41791 CONFIG_FILES = $CONFIG_FILES
41792 CONFIG_HEADERS = $CONFIG_HEADERS
41793 CONFIG_LINKS = $CONFIG_LINKS
41794 CONFIG_COMMANDS = $CONFIG_COMMANDS
41798 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41802 # Files that config.status was made for.
41803 if test -n "$ac_config_files"; then
41804 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41807 if test -n "$ac_config_headers"; then
41808 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41811 if test -n "$ac_config_links"; then
41812 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41815 if test -n "$ac_config_commands"; then
41816 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41819 cat >>$CONFIG_STATUS <<\_ACEOF
41822 \`$as_me' instantiates files from templates according to the
41823 current configuration.
41825 Usage: $0 [OPTIONS] [FILE]...
41827 -h, --help print this help, then exit
41828 -V, --version print version number, then exit
41829 -q, --quiet do not print progress messages
41830 -d, --debug don't remove temporary files
41831 --recheck update $as_me by reconfiguring in the same conditions
41832 --file=FILE[:TEMPLATE]
41833 instantiate the configuration file FILE
41834 --header=FILE[:TEMPLATE]
41835 instantiate the configuration header FILE
41837 Configuration files:
41840 Configuration headers:
41843 Configuration commands:
41846 Report bugs to <bug-autoconf@gnu.org>."
41849 cat >>$CONFIG_STATUS <<_ACEOF
41851 wxWidgets config.status 2.5.3
41852 configured by $0, generated by GNU Autoconf 2.59,
41853 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41855 Copyright (C) 2003 Free Software Foundation, Inc.
41856 This config.status script is free software; the Free Software Foundation
41857 gives unlimited permission to copy, distribute and modify it."
41862 cat >>$CONFIG_STATUS <<\_ACEOF
41863 # If no file are specified by the user, then we need to provide default
41864 # value. By we need to know if files were specified by the user.
41870 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41871 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41879 *) # This is not an option, so the user has probably given explicit
41882 ac_need_defaults
=false
;;
41886 # Handling of the options.
41888 cat >>$CONFIG_STATUS <<\_ACEOF
41889 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41891 --version | --vers* | -V )
41892 echo "$ac_cs_version"; exit 0 ;;
41894 # Conflict between --help and --header
41895 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41896 Try \`$0 --help' for more information." >&5
41897 echo "$as_me: error: ambiguous option: $1
41898 Try \`$0 --help' for more information." >&2;}
41899 { (exit 1); exit 1; }; };;
41900 --help | --hel | -h )
41901 echo "$ac_cs_usage"; exit 0 ;;
41902 --debug | --d* | -d )
41904 --file | --fil | --fi | --f )
41906 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41907 ac_need_defaults
=false
;;
41908 --header | --heade | --head | --hea )
41910 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41911 ac_need_defaults
=false
;;
41912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41916 # This is an error.
41917 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41918 Try \`$0 --help' for more information." >&5
41919 echo "$as_me: error: unrecognized option: $1
41920 Try \`$0 --help' for more information." >&2;}
41921 { (exit 1); exit 1; }; } ;;
41923 *) ac_config_targets
="$ac_config_targets $1" ;;
41929 ac_configure_extra_args
=
41931 if $ac_cs_silent; then
41933 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41937 cat >>$CONFIG_STATUS <<_ACEOF
41938 if \$ac_cs_recheck; then
41939 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41940 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41945 cat >>$CONFIG_STATUS <<_ACEOF
41947 # INIT-COMMANDS section.
41950 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41951 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41952 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41960 cat >>$CONFIG_STATUS <<\_ACEOF
41961 for ac_config_target
in $ac_config_targets
41963 case "$ac_config_target" in
41964 # Handling of arguments.
41965 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41966 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41967 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41968 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41969 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41970 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41971 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41972 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41973 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41974 { (exit 1); exit 1; }; };;
41978 # If the user did not use the arguments to specify the items to instantiate,
41979 # then the envvar interface is used. Set only those that are not.
41980 # We use the long form for the default assignment because of an extremely
41981 # bizarre bug on SunOS 4.1.3.
41982 if $ac_need_defaults; then
41983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41985 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41988 # Have a temporary directory for convenience. Make it in the build tree
41989 # simply because there is no reason to put it here, and in addition,
41990 # creating and moving files from /tmp can sometimes cause problems.
41991 # Create a temporary directory, and hook for its removal unless debugging.
41994 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41995 trap '{ (exit 1); exit 1; }' 1 2 13 15
41998 # Create a (secure) tmp directory for tmp files.
42001 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42002 test -n "$tmp" && test -d "$tmp"
42005 tmp
=.
/confstat$$
-$RANDOM
42006 (umask 077 && mkdir $tmp)
42009 echo "$me: cannot create a temporary directory in ." >&2
42010 { (exit 1); exit 1; }
42015 cat >>$CONFIG_STATUS <<_ACEOF
42018 # CONFIG_FILES section.
42021 # No need to generate the scripts if there are no CONFIG_FILES.
42022 # This happens for instance when ./config.status config.h
42023 if test -n "\$CONFIG_FILES"; then
42024 # Protect against being on the right side of a sed subst in config.status.
42025 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42026 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42027 s,@SHELL@,$SHELL,;t t
42028 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42029 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42030 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42031 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42032 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42033 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42034 s,@exec_prefix@,$exec_prefix,;t t
42035 s,@prefix@,$prefix,;t t
42036 s,@program_transform_name@,$program_transform_name,;t t
42037 s,@bindir@,$bindir,;t t
42038 s,@sbindir@,$sbindir,;t t
42039 s,@libexecdir@,$libexecdir,;t t
42040 s,@datadir@,$datadir,;t t
42041 s,@sysconfdir@,$sysconfdir,;t t
42042 s,@sharedstatedir@,$sharedstatedir,;t t
42043 s,@localstatedir@,$localstatedir,;t t
42044 s,@libdir@,$libdir,;t t
42045 s,@includedir@,$includedir,;t t
42046 s,@oldincludedir@,$oldincludedir,;t t
42047 s,@infodir@,$infodir,;t t
42048 s,@mandir@,$mandir,;t t
42049 s,@build_alias@,$build_alias,;t t
42050 s,@host_alias@,$host_alias,;t t
42051 s,@target_alias@,$target_alias,;t t
42052 s,@DEFS@,$DEFS,;t t
42053 s,@ECHO_C@,$ECHO_C,;t t
42054 s,@ECHO_N@,$ECHO_N,;t t
42055 s,@ECHO_T@,$ECHO_T,;t t
42056 s,@LIBS@,$LIBS,;t t
42057 s,@build@,$build,;t t
42058 s,@build_cpu@,$build_cpu,;t t
42059 s,@build_vendor@,$build_vendor,;t t
42060 s,@build_os@,$build_os,;t t
42061 s,@host@,$host,;t t
42062 s,@host_cpu@,$host_cpu,;t t
42063 s,@host_vendor@,$host_vendor,;t t
42064 s,@host_os@,$host_os,;t t
42065 s,@target@,$target,;t t
42066 s,@target_cpu@,$target_cpu,;t t
42067 s,@target_vendor@,$target_vendor,;t t
42068 s,@target_os@,$target_os,;t t
42070 s,@CFLAGS@,$CFLAGS,;t t
42071 s,@LDFLAGS@,$LDFLAGS,;t t
42072 s,@CPPFLAGS@,$CPPFLAGS,;t t
42073 s,@ac_ct_CC@,$ac_ct_CC,;t t
42074 s,@EXEEXT@,$EXEEXT,;t t
42075 s,@OBJEXT@,$OBJEXT,;t t
42077 s,@EGREP@,$EGREP,;t t
42079 s,@CXXFLAGS@,$CXXFLAGS,;t t
42080 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42081 s,@RANLIB@,$RANLIB,;t t
42082 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42084 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42085 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42086 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42087 s,@STRIP@,$STRIP,;t t
42088 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42089 s,@LN_S@,$LN_S,;t t
42090 s,@CXXCPP@,$CXXCPP,;t t
42091 s,@subdirs@,$subdirs,;t t
42092 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42093 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42094 s,@GTK_LIBS@,$GTK_LIBS,;t t
42095 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42096 s,@X_CFLAGS@,$X_CFLAGS,;t t
42097 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42098 s,@X_LIBS@,$X_LIBS,;t t
42099 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42100 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42101 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42102 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42103 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42104 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42105 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42106 s,@RESCOMP@,$RESCOMP,;t t
42107 s,@DEREZ@,$DEREZ,;t t
42108 s,@SETFILE@,$SETFILE,;t t
42109 s,@LIBICONV@,$LIBICONV,;t t
42110 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42111 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42112 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42113 s,@SDL_LIBS@,$SDL_LIBS,;t t
42114 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42115 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42116 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42117 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42118 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42119 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42120 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42121 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42122 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42123 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42124 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42125 s,@VENDOR@,$VENDOR,;t t
42126 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42127 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42128 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42129 s,@WXUNIV@,$WXUNIV,;t t
42130 s,@MONOLITHIC@,$MONOLITHIC,;t t
42131 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42132 s,@EXTRALIBS@,$EXTRALIBS,;t t
42133 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42134 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42135 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42136 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42137 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42138 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42139 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42140 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42141 s,@UNICODE@,$UNICODE,;t t
42142 s,@BUILD@,$BUILD,;t t
42143 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42144 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42145 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42146 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42147 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42148 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42149 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42150 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42151 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42152 s,@SET_MAKE@,$SET_MAKE,;t t
42153 s,@MAKE_SET@,$MAKE_SET,;t t
42154 s,@ac_ct_AR@,$ac_ct_AR,;t t
42155 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42157 s,@ac_ct_NM@,$ac_ct_NM,;t t
42158 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42159 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42160 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42161 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42162 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42163 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42164 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42165 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42166 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42167 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42168 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42169 s,@LIBPREFIX@,$LIBPREFIX,;t t
42170 s,@LIBEXT@,$LIBEXT,;t t
42171 s,@DLLPREFIX@,$DLLPREFIX,;t t
42172 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42173 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42174 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42175 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42176 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42177 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42178 s,@PIC_FLAG@,$PIC_FLAG,;t t
42179 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42180 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42181 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42182 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42183 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42184 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42185 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42186 s,@GCC_PCH@,$GCC_PCH,;t t
42187 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42188 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42189 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42190 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42191 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42192 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42193 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42194 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42195 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42196 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42197 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42198 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42199 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42200 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42201 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42202 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42203 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42204 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42205 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
42206 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42207 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42208 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42209 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42210 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42211 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
42212 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42213 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42214 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42215 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42216 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42217 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42218 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42219 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42220 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42221 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42222 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42223 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42224 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42225 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42226 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42227 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42228 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42229 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42230 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42231 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42232 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42233 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42234 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42235 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42236 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42237 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42238 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42239 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42240 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42241 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42242 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42243 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42244 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42245 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42246 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42247 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42248 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42249 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42250 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42251 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42252 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42253 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42254 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42255 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42256 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42257 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42258 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42259 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42260 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42261 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42262 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42263 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42264 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42265 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42266 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42267 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42268 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42269 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42270 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42271 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42272 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42273 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42274 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42275 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42276 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42277 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42278 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42279 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42280 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42281 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42282 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42283 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42284 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42285 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42286 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42287 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42288 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42289 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42290 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42291 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42292 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42293 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42294 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42295 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42296 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42297 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42298 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42299 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42300 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42301 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42302 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42303 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42304 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42305 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42306 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42307 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42308 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42309 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42310 s,@SHARED@,$SHARED,;t t
42311 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42312 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42313 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42314 s,@USE_GUI@,$USE_GUI,;t t
42315 s,@AFMINSTALL@,$AFMINSTALL,;t t
42316 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42317 s,@TOOLKIT@,$TOOLKIT,;t t
42318 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42319 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42320 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42321 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42322 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42323 s,@cross_compiling@,$cross_compiling,;t t
42324 s,@WIDGET_SET@,$WIDGET_SET,;t t
42325 s,@WX_RELEASE@,$WX_RELEASE,;t t
42326 s,@WX_VERSION@,$WX_VERSION,;t t
42327 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42328 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42329 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42330 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42331 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42332 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42333 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42334 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42335 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42336 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42337 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42338 s,@EXE_LINKER@,$EXE_LINKER,;t t
42339 s,@GUIDIST@,$GUIDIST,;t t
42340 s,@DISTDIR@,$DISTDIR,;t t
42341 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42342 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42343 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42344 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42345 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42346 s,@RESFLAGS@,$RESFLAGS,;t t
42347 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42348 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42349 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42350 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42351 s,@MACRESCOMP@,$MACRESCOMP,;t t
42352 s,@MACSETFILE@,$MACSETFILE,;t t
42353 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42355 s,@DLLTOOL@,$DLLTOOL,;t t
42356 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42357 s,@LIBOBJS@,$LIBOBJS,;t t
42358 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42363 cat >>$CONFIG_STATUS <<\_ACEOF
42364 # Split the substitutions into bite-sized pieces for seds with
42365 # small command number limits, like on Digital OSF/1 and HP-UX.
42366 ac_max_sed_lines
=48
42367 ac_sed_frag
=1 # Number of current file.
42368 ac_beg
=1 # First line for current file.
42369 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42372 while $ac_more_lines; do
42373 if test $ac_beg -gt 1; then
42374 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42376 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42378 if test ! -s $tmp/subs.frag
; then
42379 ac_more_lines
=false
42381 # The purpose of the label and of the branching condition is to
42382 # speed up the sed processing (if there are no `@' at all, there
42383 # is no need to browse any of the substitutions).
42384 # These are the two extra sed commands mentioned above.
42386 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42387 if test -z "$ac_sed_cmds"; then
42388 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42390 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42392 ac_sed_frag
=`expr $ac_sed_frag + 1`
42394 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42397 if test -z "$ac_sed_cmds"; then
42400 fi # test -n "$CONFIG_FILES"
42403 cat >>$CONFIG_STATUS <<\_ACEOF
42404 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42405 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42407 - | *:- | *:-:* ) # input from stdin
42409 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42410 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42411 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42412 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42413 * ) ac_file_in
=$ac_file.
in ;;
42416 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42417 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42419 X"$ac_file" : 'X\(//\)[^/]' \| \
42420 X"$ac_file" : 'X\(//\)$' \| \
42421 X"$ac_file" : 'X\(/\)' \| \
42422 . : '\(.\)' 2>/dev/null ||
42424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42426 /^X\(\/\/\)$/{ s//\1/; q; }
42427 /^X\(\/\).*/{ s//\1/; q; }
42429 { if $as_mkdir_p; then
42434 while test ! -d "$as_dir"; do
42435 as_dirs
="$as_dir $as_dirs"
42436 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42438 X"$as_dir" : 'X\(//\)[^/]' \| \
42439 X"$as_dir" : 'X\(//\)$' \| \
42440 X"$as_dir" : 'X\(/\)' \| \
42441 . : '\(.\)' 2>/dev/null ||
42443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42445 /^X\(\/\/\)$/{ s//\1/; q; }
42446 /^X\(\/\).*/{ s//\1/; q; }
42449 test ! -n "$as_dirs" || mkdir $as_dirs
42450 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42452 { (exit 1); exit 1; }; }; }
42456 if test "$ac_dir" != .
; then
42457 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42458 # A "../" for each directory in $ac_dir_suffix.
42459 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42461 ac_dir_suffix
= ac_top_builddir
=
42465 .
) # No --srcdir option. We are building in place.
42467 if test -z "$ac_top_builddir"; then
42470 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42472 [\\/]* | ?
:[\\/]* ) # Absolute path.
42473 ac_srcdir
=$srcdir$ac_dir_suffix;
42474 ac_top_srcdir
=$srcdir ;;
42475 *) # Relative path.
42476 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42477 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42480 # Do not use `cd foo && pwd` to compute absolute paths, because
42481 # the directories may not exist.
42483 .
) ac_abs_builddir
="$ac_dir";;
42486 .
) ac_abs_builddir
=`pwd`;;
42487 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42488 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42491 case $ac_abs_builddir in
42492 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42494 case ${ac_top_builddir}.
in
42495 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42496 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42497 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42500 case $ac_abs_builddir in
42501 .
) ac_abs_srcdir
=$ac_srcdir;;
42504 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42505 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42506 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42509 case $ac_abs_builddir in
42510 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42512 case $ac_top_srcdir in
42513 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42514 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42515 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42521 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42522 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42525 # Let's still pretend it is `configure' which instantiates (i.e., don't
42526 # use $as_me), people would be surprised to read:
42527 # /* config.h. Generated by config.status. */
42528 if test x
"$ac_file" = x
-; then
42531 configure_input
="$ac_file. "
42533 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42534 sed 's,.*/,,'` by configure."
42536 # First look for the input files in the build tree, otherwise in the
42538 ac_file_inputs
=`IFS=:
42539 for f in $ac_file_in; do
42541 -) echo $tmp/stdin ;;
42543 # Absolute (can't be DOS-style, as IFS=:)
42544 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42545 echo "$as_me: error: cannot find input file: $f" >&2;}
42546 { (exit 1); exit 1; }; }
42549 if test -f "$f"; then
42552 elif test -f "$srcdir/$f"; then
42557 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42558 echo "$as_me: error: cannot find input file: $f" >&2;}
42559 { (exit 1); exit 1; }; }
42562 done` || { (exit 1); exit 1; }
42564 if test x
"$ac_file" != x
-; then
42565 { echo "$as_me:$LINENO: creating $ac_file" >&5
42566 echo "$as_me: creating $ac_file" >&6;}
42570 cat >>$CONFIG_STATUS <<_ACEOF
42574 cat >>$CONFIG_STATUS <<\_ACEOF
42576 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42577 s
,@configure_input@
,$configure_input,;t t
42578 s
,@srcdir@
,$ac_srcdir,;t t
42579 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42580 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42581 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42582 s
,@builddir@
,$ac_builddir,;t t
42583 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42584 s
,@top_builddir@
,$ac_top_builddir,;t t
42585 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42586 s
,@INSTALL@
,$ac_INSTALL,;t t
42587 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42589 if test x"$ac_file" != x-; then
42590 mv $tmp/out $ac_file
42596 # Run the commands associated with the file.
42598 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42599 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42603 cat >>$CONFIG_STATUS <<\_ACEOF
42606 # CONFIG_HEADER section.
42609 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42610 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42612 # ac_d sets the value in "#define NAME VALUE" lines.
42613 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42614 ac_dB
='[ ].*$,\1#\2'
42617 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42618 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42619 ac_uB
='$,\1#\2define\3'
42623 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42624 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42626 - | *:- | *:-:* ) # input from stdin
42628 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42629 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42630 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42631 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42632 * ) ac_file_in
=$ac_file.
in ;;
42635 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42636 echo "$as_me: creating $ac_file" >&6;}
42638 # First look for the input files in the build tree, otherwise in the
42640 ac_file_inputs
=`IFS=:
42641 for f in $ac_file_in; do
42643 -) echo $tmp/stdin ;;
42645 # Absolute (can't be DOS-style, as IFS=:)
42646 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42647 echo "$as_me: error: cannot find input file: $f" >&2;}
42648 { (exit 1); exit 1; }; }
42649 # Do quote $f, to prevent DOS paths from being IFS'd.
42652 if test -f "$f"; then
42655 elif test -f "$srcdir/$f"; then
42660 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42661 echo "$as_me: error: cannot find input file: $f" >&2;}
42662 { (exit 1); exit 1; }; }
42665 done` || { (exit 1); exit 1; }
42666 # Remove the trailing spaces.
42667 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42671 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42672 # `conftest.undefs', that substitutes the proper values into
42673 # config.h.in to produce config.h. The first handles `#define'
42674 # templates, and the second `#undef' templates.
42675 # And first: Protect against being on the right side of a sed subst in
42676 # config.status. Protect against being in an unquoted here document
42677 # in config.status.
42678 rm -f conftest.defines conftest.undefs
42679 # Using a here document instead of a string reduces the quoting nightmare.
42680 # Putting comments in sed scripts is not portable.
42682 # `end' is used to avoid that the second main sed command (meant for
42683 # 0-ary CPP macros) applies to n-ary macro definitions.
42684 # See the Autoconf documentation for `clear'.
42685 cat >confdef2sed.
sed <<\_ACEOF
42690 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42692 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42695 # If some macros were called several times there might be several times
42696 # the same #defines, which is useless. Nevertheless, we may not want to
42697 # sort them, since we want the *last* AC-DEFINE to be honored.
42698 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42699 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42700 rm -f confdef2sed.sed
42702 # This sed command replaces #undef with comments. This is necessary, for
42703 # example, in the case of _POSIX_SOURCE, which is predefined and required
42704 # on some systems where configure will not decide to define it.
42705 cat >>conftest.undefs <<\_ACEOF
42706 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42709 # Break up conftest.defines because some shells have a limit on the size
42710 # of here documents, and old seds have small limits too (100 cmds).
42711 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42712 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42713 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42714 echo ' :' >>$CONFIG_STATUS
42715 rm -f conftest.tail
42716 while grep . conftest.defines >/dev/null
42718 # Write a limited-size here document to $tmp/defines.sed.
42719 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42720 # Speed up: don't consider the non `#define' lines.
42721 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42722 # Work around the forget-to-reset-the-flag bug.
42723 echo 't clr' >>$CONFIG_STATUS
42724 echo ': clr' >>$CONFIG_STATUS
42725 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42727 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42729 mv $tmp/out $tmp/in
42731 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42732 rm -f conftest.defines
42733 mv conftest.
tail conftest.defines
42735 rm -f conftest.defines
42736 echo ' fi # grep' >>$CONFIG_STATUS
42737 echo >>$CONFIG_STATUS
42739 # Break up conftest.undefs because some shells have a limit on the size
42740 # of here documents, and old seds have small limits too (100 cmds).
42741 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42742 rm -f conftest.
tail
42743 while grep . conftest.undefs
>/dev
/null
42745 # Write a limited-size here document to $tmp/undefs.sed.
42746 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42747 # Speed up: don't consider the non
`#undef'
42748 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42749 # Work around the forget-to-reset-the-flag bug.
42750 echo 't clr' >>$CONFIG_STATUS
42751 echo ': clr' >>$CONFIG_STATUS
42752 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42754 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42756 mv $tmp/out $tmp/in
42758 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42759 rm -f conftest.undefs
42760 mv conftest.tail conftest.undefs
42762 rm -f conftest.undefs
42764 cat >>$CONFIG_STATUS <<\_ACEOF
42765 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42766 # use $as_me), people would be surprised to read:
42767 # /* config.h. Generated by config.status. */
42768 if test x
"$ac_file" = x
-; then
42769 echo "/* Generated by configure. */" >$tmp/config.h
42771 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42773 cat $tmp/in >>$tmp/config.h
42775 if test x
"$ac_file" != x
-; then
42776 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42777 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42778 echo "$as_me: $ac_file is unchanged" >&6;}
42780 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42781 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42782 X"$ac_file" : 'X\(//\)[^/]' \| \
42783 X"$ac_file" : 'X\(//\)$' \| \
42784 X"$ac_file" : 'X\(/\)' \| \
42785 . : '\(.\)' 2>/dev/null ||
42787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42789 /^X\(\/\/\)$/{ s//\1/; q; }
42790 /^X\(\/\).*/{ s//\1/; q; }
42792 { if $as_mkdir_p; then
42797 while test ! -d "$as_dir"; do
42798 as_dirs
="$as_dir $as_dirs"
42799 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42801 X"$as_dir" : 'X\(//\)[^/]' \| \
42802 X"$as_dir" : 'X\(//\)$' \| \
42803 X"$as_dir" : 'X\(/\)' \| \
42804 . : '\(.\)' 2>/dev/null ||
42806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42808 /^X\(\/\/\)$/{ s//\1/; q; }
42809 /^X\(\/\).*/{ s//\1/; q; }
42812 test ! -n "$as_dirs" || mkdir $as_dirs
42813 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42814 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42815 { (exit 1); exit 1; }; }; }
42818 mv $tmp/config.h
$ac_file
42822 rm -f $tmp/config.h
42826 cat >>$CONFIG_STATUS <<\_ACEOF
42829 # CONFIG_COMMANDS section.
42831 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42832 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42833 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42834 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42835 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42836 X"$ac_dest" : 'X\(//\)[^/]' \| \
42837 X"$ac_dest" : 'X\(//\)$' \| \
42838 X"$ac_dest" : 'X\(/\)' \| \
42839 . : '\(.\)' 2>/dev/null ||
42841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42843 /^X\(\/\/\)$/{ s//\1/; q; }
42844 /^X\(\/\).*/{ s//\1/; q; }
42846 { if $as_mkdir_p; then
42851 while test ! -d "$as_dir"; do
42852 as_dirs
="$as_dir $as_dirs"
42853 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42855 X"$as_dir" : 'X\(//\)[^/]' \| \
42856 X"$as_dir" : 'X\(//\)$' \| \
42857 X"$as_dir" : 'X\(/\)' \| \
42858 . : '\(.\)' 2>/dev/null ||
42860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42862 /^X\(\/\/\)$/{ s//\1/; q; }
42863 /^X\(\/\).*/{ s//\1/; q; }
42866 test ! -n "$as_dirs" || mkdir $as_dirs
42867 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42868 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42869 { (exit 1); exit 1; }; }; }
42873 if test "$ac_dir" != .
; then
42874 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42875 # A "../" for each directory in $ac_dir_suffix.
42876 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42878 ac_dir_suffix
= ac_top_builddir
=
42882 .
) # No --srcdir option. We are building in place.
42884 if test -z "$ac_top_builddir"; then
42887 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42889 [\\/]* | ?
:[\\/]* ) # Absolute path.
42890 ac_srcdir
=$srcdir$ac_dir_suffix;
42891 ac_top_srcdir
=$srcdir ;;
42892 *) # Relative path.
42893 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42894 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42897 # Do not use `cd foo && pwd` to compute absolute paths, because
42898 # the directories may not exist.
42900 .
) ac_abs_builddir
="$ac_dir";;
42903 .
) ac_abs_builddir
=`pwd`;;
42904 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42905 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42908 case $ac_abs_builddir in
42909 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42911 case ${ac_top_builddir}.
in
42912 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42913 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42914 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42917 case $ac_abs_builddir in
42918 .
) ac_abs_srcdir
=$ac_srcdir;;
42921 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42922 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42923 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42926 case $ac_abs_builddir in
42927 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42929 case $ac_top_srcdir in
42930 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42931 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42932 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42937 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42938 echo "$as_me: executing $ac_dest commands" >&6;}
42940 wx
-config ) rm -f wx
-config
42941 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42947 cat >>$CONFIG_STATUS <<\_ACEOF
42949 { (exit 0); exit 0; }
42951 chmod +x
$CONFIG_STATUS
42952 ac_clean_files
=$ac_clean_files_save
42955 # configure is writing to config.log, and then calls config.status.
42956 # config.status does its own redirection, appending to config.log.
42957 # Unfortunately, on DOS this fails, as config.log is still kept open
42958 # by configure, so config.status won't be able to write to it; its
42959 # output is simply discarded. So we exec the FD to /dev/null,
42960 # effectively closing config.log, so it can be properly (re)opened and
42961 # appended to by config.status. When coming back to configure, we
42962 # need to make the FD available again.
42963 if test "$no_create" != yes; then
42965 ac_config_status_args
=
42966 test "$silent" = yes &&
42967 ac_config_status_args
="$ac_config_status_args --quiet"
42969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42972 # would make configure fail if this is the last instruction.
42973 $ac_cs_success || { (exit 1); exit 1; }
42977 # CONFIG_SUBDIRS section.
42979 if test "$no_recursion" != yes; then
42981 # Remove --cache-file and --srcdir arguments so they do not pile up.
42982 ac_sub_configure_args
=
42984 for ac_arg
in $ac_configure_args; do
42985 if test -n "$ac_prev"; then
42990 -cache-file | --cache-file | --cache-fil | --cache-fi \
42991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42992 ac_prev
=cache_file
;;
42993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42997 --config-cache | -C)
42999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43007 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43011 # Always prepend --prefix to ensure using the same prefix
43012 # in subdir configurations.
43013 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43016 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43018 # Do not complain, so a configure script can configure whichever
43019 # parts of a large source tree are present.
43020 test -d $srcdir/$ac_dir || continue
43022 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43023 echo "$as_me: configuring in $ac_dir" >&6;}
43024 { if $as_mkdir_p; then
43029 while test ! -d "$as_dir"; do
43030 as_dirs
="$as_dir $as_dirs"
43031 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43032 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43033 X"$as_dir" : 'X\(//\)[^/]' \| \
43034 X"$as_dir" : 'X\(//\)$' \| \
43035 X"$as_dir" : 'X\(/\)' \| \
43036 . : '\(.\)' 2>/dev/null ||
43038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43040 /^X\(\/\/\)$/{ s//\1/; q; }
43041 /^X\(\/\).*/{ s//\1/; q; }
43044 test ! -n "$as_dirs" || mkdir $as_dirs
43045 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43046 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43047 { (exit 1); exit 1; }; }; }
43051 if test "$ac_dir" != .
; then
43052 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43053 # A "../" for each directory in $ac_dir_suffix.
43054 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43056 ac_dir_suffix
= ac_top_builddir
=
43060 .
) # No --srcdir option. We are building in place.
43062 if test -z "$ac_top_builddir"; then
43065 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43067 [\\/]* | ?
:[\\/]* ) # Absolute path.
43068 ac_srcdir
=$srcdir$ac_dir_suffix;
43069 ac_top_srcdir
=$srcdir ;;
43070 *) # Relative path.
43071 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43072 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43075 # Do not use `cd foo && pwd` to compute absolute paths, because
43076 # the directories may not exist.
43078 .
) ac_abs_builddir
="$ac_dir";;
43081 .
) ac_abs_builddir
=`pwd`;;
43082 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43083 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43086 case $ac_abs_builddir in
43087 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43089 case ${ac_top_builddir}.
in
43090 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43091 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43092 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43095 case $ac_abs_builddir in
43096 .
) ac_abs_srcdir
=$ac_srcdir;;
43099 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43100 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43101 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43104 case $ac_abs_builddir in
43105 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43107 case $ac_top_srcdir in
43108 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43109 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43110 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43117 # Check for guested configure; otherwise get Cygnus style configure.
43118 if test -f $ac_srcdir/configure.gnu
; then
43119 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43120 elif test -f $ac_srcdir/configure
; then
43121 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43122 elif test -f $ac_srcdir/configure.
in; then
43123 ac_sub_configure
=$ac_configure
43125 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43130 # The recursion is here.
43131 if test -n "$ac_sub_configure"; then
43132 # Make the cache file name correct relative to the subdirectory.
43133 case $cache_file in
43134 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43135 *) # Relative path.
43136 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43139 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43140 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43141 # The eval makes quoting arguments work.
43142 eval $ac_sub_configure $ac_sub_configure_args \
43143 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43144 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43145 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43146 { (exit 1); exit 1; }; }
43155 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43157 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43158 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43160 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43161 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43162 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43164 echo " What level of wxWidgets compatibility should be enabled?"
43165 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43166 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43168 echo " Which libraries should wxWidgets use?"
43169 echo " jpeg ${wxUSE_LIBJPEG-none}"
43170 echo " png ${wxUSE_LIBPNG-none}"
43171 echo " regex ${wxUSE_REGEX}"
43172 echo " tiff ${wxUSE_LIBTIFF-none}"
43173 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43174 echo " xpm ${wxUSE_LIBXPM-none}"
43176 echo " zlib ${wxUSE_ZLIB}"
43177 echo " odbc ${wxUSE_ODBC}"
43178 echo " expat ${wxUSE_EXPAT}"
43179 echo " libmspack ${wxUSE_LIBMSPACK}"
43180 echo " sdl ${wxUSE_LIBSDL}"
43181 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"