2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.3:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class
for DLL loading
912 --enable-dynamicloader use
(new
) wxDynamicLibrary class
913 --enable-exceptions build exception
-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual
file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP
/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf
()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support
in wxProtocol
941 --enable-protocol-ftp FTP support
in wxProtocol
942 --enable-protocol-file FILE support
in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use
help subsystem
946 --enable-mshtmlhelp use MS HTML Help
(win32
)
947 --enable-html use wxHTML sub
-library
948 --enable-htmlhelp use wxHTML
-based help
949 --enable-xrc use XRC resources sub
-library
950 --enable-constraints use layout
-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl
(Mac
)
958 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
959 --enable-prologio not available
; see contrib
960 --enable-resources not available
; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag
'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-display use wxDisplay class
976 --enable-gauge use wxGauge class
977 --enable-grid use wxGrid class
978 --enable-imaglist use wxImageList class
979 --enable-listbook use wxListbook class
980 --enable-listbox use wxListBox class
981 --enable-listctrl use wxListCtrl class
982 --enable-notebook use wxNotebook class
983 --enable-radiobox use wxRadioBox class
984 --enable-radiobtn use wxRadioButton class
985 --enable-sash use wxSashWindow class
986 --enable-scrollbar use wxScrollBar class and scrollable windows
987 --enable-slider use wxSlider class
988 --enable-spinbtn use wxSpinButton class
989 --enable-spinctrl use wxSpinCtrl class
990 --enable-splitter use wxSplitterWindow class
991 --enable-statbmp use wxStaticBitmap class
992 --enable-statbox use wxStaticBox class
993 --enable-statline use wxStaticLine class
994 --enable-stattext use wxStaticText class
995 --enable-statusbar use wxStatusBar class
996 --enable-tabdialog use wxTabControl class
997 --enable-textctrl use wxTextCtrl class
998 --enable-togglebtn use wxToggleButton class
999 --enable-toolbar use wxToolBar class
1000 --enable-tbarnative use native wxToolBar class
1001 --enable-tbarsmpl use wxToolBarSimple class
1002 --enable-treectrl use wxTreeCtrl class
1003 --enable-tipwindow use wxTipWindow class
1004 --enable-popupwin use wxPopUpWindow class
1005 --enable-commondlg use all common dialogs
1006 --enable-choicedlg use wxChoiceDialog
1007 --enable-coldlg use wxColourDialog
1008 --enable-filedlg use wxFileDialog
1009 --enable-finddlg use wxFindReplaceDialog
1010 --enable-fontdlg use wxFontDialog
1011 --enable-dirdlg use wxDirDialog
1012 --enable-msgdlg use wxMessageDialog
1013 --enable-numberdlg use wxNumberEntryDialog
1014 --enable-splash use wxSplashScreen
1015 --enable-textdlg use wxTextDialog
1016 --enable-tipdlg use startup tips
1017 --enable-progressdlg use wxProgressDialog
1018 --enable-wizarddlg use wxWizard
1019 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1020 --enable-miniframe use wxMiniFrame class
1021 --enable-tooltips use wxToolTip class
1022 --enable-splines use spline drawing code
1023 --enable-validators use wxValidator and derived classes
1024 --enable-busyinfo use wxBusyInfo
1025 --enable-joystick use wxJoystick
(Linux only
)
1026 --enable-metafiles use wxMetaFile
(Windows only
)
1027 --enable-dragimage use wxDragImage
1028 --enable-accessibility enable accessibility support
1029 --enable-palette use wxPalette class
1030 --enable-image use wxImage class
1031 --enable-gif use gif images
(GIF
file format
)
1032 --enable-pcx use pcx images
(PCX
file format
)
1033 --enable-iff use iff images
(IFF
file format
)
1034 --enable-pnm use pnm images
(PNM
file format
)
1035 --enable-xpm use xpm images
(XPM
file format
)
1036 --enable-icocur use Windows ICO and CUR formats
1037 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1038 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1039 --disable-largefile omit support
for large files
1040 --disable-gtktest do not try to compile and run a
test GTK
+ program
1041 --disable-gtktest Do not try to compile and run a
test GTK program
1042 --disable-sdltest Do not try to compile and run a
test SDL program
1043 --enable-omf use OMF object format
(OS
/2)
1044 --disable-precomp-headers
1045 don
't use precompiled headers even if compiler can
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-motif use Motif/Lesstif
1052 --with-mac use Mac OS X
1053 --with-cocoa use Cocoa
1054 --with-wine use Wine
1055 --with-msw use MS-Windows
1056 --with-pm use OS/2 Presentation Manager
1057 --with-mgl use SciTech MGL
1058 --with-microwin use MicroWindows
1060 --with-libpng use libpng (PNG image format)
1061 --with-libjpeg use libjpeg (JPEG file format)
1062 --with-libtiff use libtiff (TIFF file format)
1063 --with-libxpm use libxpm (XPM file format)
1064 --with-libmspack use libmspack (CHM help files loading)
1065 --with-sdl use SDL for audio on Unix
1066 --with-gnomeprint use GNOME print for printing under Unix
1067 --with-opengl use OpenGL (or Mesa)
1068 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1069 --with-regex enable support for wxRegEx class
1070 --with-zlib use zlib for LZW compression
1071 --with-odbc use the IODBC and wxODBC classes
1072 --with-expat enable XML support using expat parser
1073 --with-flavour=NAME specify a name to identify this build
1074 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1075 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1076 --with-x use the X Window System
1077 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1078 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1079 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1080 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1081 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1083 Some influential environment variables:
1084 CC C compiler command
1085 CFLAGS C compiler flags
1086 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1087 nonstandard directory <lib dir>
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir>
1091 CXX C++ compiler command
1092 CXXFLAGS C++ compiler flags
1093 CXXCPP C++ preprocessor
1095 Use these variables to override the choices made by `configure' or to
help
1096 it to
find libraries and programs with nonstandard names
/locations.
1098 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1105 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1106 test -d $ac_dir || continue
1109 if test "$ac_dir" != .
; then
1110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 ac_dir_suffix
= ac_top_builddir
=
1118 .
) # No --srcdir option. We are building in place.
1120 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1125 [\\/]* | ?
:[\\/]* ) # Absolute path.
1126 ac_srcdir
=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir
=$srcdir ;;
1129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1136 .
) ac_abs_builddir
="$ac_dir";;
1139 .
) ac_abs_builddir
=`pwd`;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 case ${ac_top_builddir}.
in
1148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_srcdir
=$ac_srcdir;;
1157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1162 case $ac_abs_builddir in
1163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu
; then
1176 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1177 elif test -f $ac_srcdir/configure
; then
1179 $SHELL $ac_srcdir/configure
--help=recursive
1180 elif test -f $ac_srcdir/configure.ac
||
1181 test -f $ac_srcdir/configure.
in; then
1183 $ac_configure --help
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1194 wxWidgets configure
2.5.3
1195 generated by GNU Autoconf
2.59
1197 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1198 This configure
script is free software
; the Free Software Foundation
1199 gives unlimited permission to copy
, distribute and modify it.
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1208 It was created by wxWidgets $as_me 2.5.3, which was
1209 generated by GNU Autoconf 2.59. Invocation command line was
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1243 test -z "$as_dir" && as_dir
=.
1244 echo "PATH: $as_dir"
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_must_keep_next
=false
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1284 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true
; then
1286 ac_must_keep_next
=false
# Got value, back to normal.
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 -* ) ac_must_keep_next
=true
;;
1300 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1307 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1308 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1326 # The following way of writing the cache mishandles newlines in values,
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1349 for ac_var in $ac_subst_vars
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1356 if test -n "$ac_subst_files"; then
1363 for ac_var in $ac_subst_files
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1371 if test -s confdefs.h; then
1378 sed "/^$/d" confdefs.h | sort
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 for ac_signal
in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest
* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 # Predefined preprocessor variables.
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE
; then
1430 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1432 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 for ac_site_file
in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1451 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1452 *) . .
/$cache_file;;
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1461 # Check that the precious variables saved in the cache have kept the same
1463 ac_cache_corrupted
=false
1464 for ac_var
in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1467 eval ac_new_set
=\
$ac_env_${ac_var}_set
1468 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val
="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted
=: ;;
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted
=:
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg
=$ac_var=$ac_new_val ;;
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1513 ac_cpp
='$CPP $CPPFLAGS'
1514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1548 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1549 if test -f $ac_dir/install-sh; then
1551 ac_install_sh
="$ac_aux_dir/install-sh -c"
1553 elif test -f $ac_dir/install.sh
; then
1555 ac_install_sh
="$ac_aux_dir/install.sh -c"
1557 elif test -f $ac_dir/shtool
; then
1559 ac_install_sh
="$ac_aux_dir/shtool install -c"
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_build_alias
=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias
=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1599 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 ac_cv_host_alias
=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias
=$ac_cv_build_alias
1612 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1621 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_target_alias
=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias
=$ac_cv_host_alias
1634 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target
=$ac_cv_target
1643 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1653 program_prefix
=${target_alias}-
1657 wx_major_version_number
=2
1658 wx_minor_version_number
=5
1660 wx_subrelease_number
=3
1662 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1663 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1664 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1666 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1682 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1688 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1694 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1696 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1698 DEFAULT_wxUSE_COCOA
=0
1702 DEFAULT_wxUSE_MICROWIN
=0
1703 DEFAULT_wxUSE_MOTIF
=0
1708 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1709 DEFAULT_DEFAULT_wxUSE_GTK
=0
1710 DEFAULT_DEFAULT_wxUSE_MAC
=0
1711 DEFAULT_DEFAULT_wxUSE_MGL
=0
1712 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1713 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_MSW
=0
1715 DEFAULT_DEFAULT_wxUSE_PM
=0
1716 DEFAULT_DEFAULT_wxUSE_X11
=0
1721 SAMPLES_RPATH_POSTLINK
=
1726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1729 cat >>confdefs.h
<<\_ACEOF
1736 cat >>confdefs.h
<<\_ACEOF
1741 if test "x$TMP" = "xalpha"; then
1743 cat >>confdefs.h
<<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_GTK
=1
1750 *-*-gnu* | *-*-k*bsd
*-gnu )
1753 if test "x$TMP" = "xalpha"; then
1755 cat >>confdefs.h
<<\_ACEOF
1760 DEFAULT_DEFAULT_wxUSE_GTK
=1
1762 *-*-irix5* | *-*-irix6* )
1765 cat >>confdefs.h
<<\_ACEOF
1769 cat >>confdefs.h
<<\_ACEOF
1773 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1779 cat >>confdefs.h
<<\_ACEOF
1783 cat >>confdefs.h
<<\_ACEOF
1784 #define __SOLARIS__ 1
1787 cat >>confdefs.h
<<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1792 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1798 cat >>confdefs.h
<<\_ACEOF
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1815 cat >>confdefs.h
<<\_ACEOF
1816 #define __FREEBSD__ 1
1819 cat >>confdefs.h
<<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_GTK
=1
1828 cat >>confdefs.h
<<\_ACEOF
1829 #define __OPENBSD__ 1
1832 cat >>confdefs.h
<<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_GTK
=1
1841 cat >>confdefs.h
<<\_ACEOF
1842 #define __NETBSD__ 1
1845 cat >>confdefs.h
<<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_GTK
=1
1854 cat >>confdefs.h
<<\_ACEOF
1858 cat >>confdefs.h
<<\_ACEOF
1862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1863 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1868 cat >>confdefs.h
<<\_ACEOF
1872 cat >>confdefs.h
<<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1881 cat >>confdefs.h
<<\_ACEOF
1885 cat >>confdefs.h
<<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1896 cat >>confdefs.h
<<\_ACEOF
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define __UNIXWARE__ 1
1921 *-*-cygwin* | *-*-mingw32* )
1925 DEFAULT_DEFAULT_wxUSE_MSW
=1
1931 cat >>confdefs.h
<<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_MGL
=1
1937 LIBS
="$LIBS -lstdc++"
1940 *-pc-os2_emx | *-pc-os2-emx )
1941 cat >>confdefs.h
<<\_ACEOF
1946 cat >>confdefs.h
<<\_ACEOF
1951 DEFAULT_DEFAULT_wxUSE_PM
=1
1953 LDFLAGS
="$LDFLAGS -Zcrtdll"
1954 ac_executable_extensions
=".exe"
1955 export ac_executable_extensions
1959 for ac_dir
in $PATH; do
1961 if test -z "$ac_TEMP_PATH"; then
1962 ac_TEMP_PATH
="$ac_dir"
1964 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1967 export PATH
="$ac_TEMP_PATH"
1975 cat >>confdefs.h
<<\_ACEOF
1979 cat >>confdefs.h
<<\_ACEOF
1980 #define __DARWIN__ 1
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __POWERPC__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2075 DEFAULT_wxUSE_STD_IOSTREAM
=no
2076 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2077 DEFAULT_wxUSE_DATETIME
=no
2078 DEFAULT_wxUSE_TIMER
=no
2079 DEFAULT_wxUSE_STOPWATCH
=no
2080 DEFAULT_wxUSE_FILE
=no
2081 DEFAULT_wxUSE_FFILE
=no
2082 DEFAULT_wxUSE_TEXTBUFFER
=no
2083 DEFAULT_wxUSE_TEXTFILE
=no
2084 DEFAULT_wxUSE_SOUND
=no
2085 DEFAULT_wxUSE_MEDIACTRL
=no
2086 DEFAULT_wxUSE_DIRECTSHOW
=no
2087 DEFAULT_wxUSE_INTL
=no
2088 DEFAULT_wxUSE_CONFIG
=no
2089 DEFAULT_wxUSE_FONTMAP
=no
2090 DEFAULT_wxUSE_STREAMS
=no
2091 DEFAULT_wxUSE_SOCKETS
=no
2092 DEFAULT_wxUSE_OLE
=no
2093 DEFAULT_wxUSE_DATAOBJ
=no
2094 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2095 DEFAULT_wxUSE_JOYSTICK
=no
2096 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2097 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2098 DEFAULT_wxUSE_LONGLONG
=no
2099 DEFAULT_wxUSE_GEOMETRY
=no
2101 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2102 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2103 DEFAULT_wxUSE_POSTSCRIPT
=no
2105 DEFAULT_wxUSE_CLIPBOARD
=no
2106 DEFAULT_wxUSE_TOOLTIPS
=no
2107 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2108 DEFAULT_wxUSE_DRAGIMAGE
=no
2109 DEFAULT_wxUSE_SPLINES
=no
2111 DEFAULT_wxUSE_MDI
=no
2112 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2113 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_RESOURCES
=no
2117 DEFAULT_wxUSE_CONSTRAINTS
=no
2118 DEFAULT_wxUSE_IPC
=no
2119 DEFAULT_wxUSE_HELP
=no
2120 DEFAULT_wxUSE_MS_HTML_HELP
=no
2121 DEFAULT_wxUSE_WXHTML_HELP
=no
2122 DEFAULT_wxUSE_TREELAYOUT
=no
2123 DEFAULT_wxUSE_METAFILE
=no
2124 DEFAULT_wxUSE_MIMETYPE
=no
2125 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2126 DEFAULT_wxUSE_PROTOCOL
=no
2127 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2128 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2129 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2130 DEFAULT_wxUSE_URL
=no
2132 DEFAULT_wxUSE_COMMONDLGS
=no
2133 DEFAULT_wxUSE_CHOICEDLG
=no
2134 DEFAULT_wxUSE_COLOURDLG
=no
2135 DEFAULT_wxUSE_DIRDLG
=no
2136 DEFAULT_wxUSE_FILEDLG
=no
2137 DEFAULT_wxUSE_FINDREPLDLG
=no
2138 DEFAULT_wxUSE_FONTDLG
=no
2139 DEFAULT_wxUSE_MSGDLG
=no
2140 DEFAULT_wxUSE_NUMBERDLG
=no
2141 DEFAULT_wxUSE_TEXTDLG
=no
2142 DEFAULT_wxUSE_SPLASH
=no
2143 DEFAULT_wxUSE_STARTUP_TIPS
=no
2144 DEFAULT_wxUSE_PROGRESSDLG
=no
2145 DEFAULT_wxUSE_WIZARDDLG
=no
2147 DEFAULT_wxUSE_MENUS
=no
2148 DEFAULT_wxUSE_MINIFRAME
=no
2149 DEFAULT_wxUSE_HTML
=no
2150 DEFAULT_wxUSE_XRC
=no
2151 DEFAULT_wxUSE_WEBKIT
=no
2152 DEFAULT_wxUSE_FILESYSTEM
=no
2153 DEFAULT_wxUSE_FS_INET
=no
2154 DEFAULT_wxUSE_FS_ZIP
=no
2155 DEFAULT_wxUSE_BUSYINFO
=no
2156 DEFAULT_wxUSE_ZIPSTREAM
=no
2157 DEFAULT_wxUSE_VALIDATORS
=no
2159 DEFAULT_wxUSE_ACCEL
=no
2160 DEFAULT_wxUSE_BUTTON
=no
2161 DEFAULT_wxUSE_BMPBUTTON
=no
2162 DEFAULT_wxUSE_CALCTRL
=no
2163 DEFAULT_wxUSE_CARET
=no
2164 DEFAULT_wxUSE_CHECKBOX
=no
2165 DEFAULT_wxUSE_CHECKLST
=no
2166 DEFAULT_wxUSE_CHOICE
=no
2167 DEFAULT_wxUSE_CHOICEBOOK
=no
2168 DEFAULT_wxUSE_COMBOBOX
=no
2169 DEFAULT_wxUSE_DISPLAY
=no
2170 DEFAULT_wxUSE_GAUGE
=no
2171 DEFAULT_wxUSE_GRID
=no
2172 DEFAULT_wxUSE_IMAGLIST
=no
2173 DEFAULT_wxUSE_LISTBOOK
=no
2174 DEFAULT_wxUSE_LISTBOX
=no
2175 DEFAULT_wxUSE_LISTCTRL
=no
2176 DEFAULT_wxUSE_NOTEBOOK
=no
2177 DEFAULT_wxUSE_RADIOBOX
=no
2178 DEFAULT_wxUSE_RADIOBTN
=no
2179 DEFAULT_wxUSE_SASH
=no
2180 DEFAULT_wxUSE_SCROLLBAR
=no
2181 DEFAULT_wxUSE_SLIDER
=no
2182 DEFAULT_wxUSE_SPINBTN
=no
2183 DEFAULT_wxUSE_SPINCTRL
=no
2184 DEFAULT_wxUSE_SPLITTER
=no
2185 DEFAULT_wxUSE_STATBMP
=no
2186 DEFAULT_wxUSE_STATBOX
=no
2187 DEFAULT_wxUSE_STATLINE
=no
2188 DEFAULT_wxUSE_STATTEXT
=no
2189 DEFAULT_wxUSE_STATUSBAR
=yes
2190 DEFAULT_wxUSE_TABDIALOG
=no
2191 DEFAULT_wxUSE_TEXTCTRL
=no
2192 DEFAULT_wxUSE_TOGGLEBTN
=no
2193 DEFAULT_wxUSE_TOOLBAR
=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2196 DEFAULT_wxUSE_TREECTRL
=no
2197 DEFAULT_wxUSE_POPUPWIN
=no
2198 DEFAULT_wxUSE_TIPWINDOW
=no
2200 DEFAULT_wxUSE_UNICODE
=no
2201 DEFAULT_wxUSE_UNICODE_MSLU
=no
2202 DEFAULT_wxUSE_WCSRTOMBS
=no
2204 DEFAULT_wxUSE_PALETTE
=no
2205 DEFAULT_wxUSE_IMAGE
=no
2206 DEFAULT_wxUSE_GIF
=no
2207 DEFAULT_wxUSE_PCX
=no
2208 DEFAULT_wxUSE_PNM
=no
2209 DEFAULT_wxUSE_IFF
=no
2210 DEFAULT_wxUSE_XPM
=no
2211 DEFAULT_wxUSE_ICO_CUR
=no
2212 DEFAULT_wxUSE_ACCESSIBILITY
=no
2214 DEFAULT_wxUSE_MONOLITHIC
=no
2215 DEFAULT_wxUSE_PLUGINS
=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2218 DEFAULT_wxUSE_UNIVERSAL
=no
2219 DEFAULT_wxUSE_STL
=no
2221 DEFAULT_wxUSE_NANOX
=no
2223 DEFAULT_wxUSE_THREADS
=yes
2225 DEFAULT_wxUSE_SHARED
=yes
2226 DEFAULT_wxUSE_OPTIMISE
=yes
2227 DEFAULT_wxUSE_PROFILE
=no
2228 DEFAULT_wxUSE_NO_DEPS
=no
2229 DEFAULT_wxUSE_NO_RTTI
=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2231 DEFAULT_wxUSE_RPATH
=yes
2232 DEFAULT_wxUSE_PERMISSIVE
=no
2233 DEFAULT_wxUSE_DEBUG_FLAG
=no
2234 DEFAULT_wxUSE_DEBUG_INFO
=no
2235 DEFAULT_wxUSE_DEBUG_GDB
=no
2236 DEFAULT_wxUSE_MEM_TRACING
=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2238 DEFAULT_wxUSE_DMALLOC
=no
2239 DEFAULT_wxUSE_APPLE_IEEE
=yes
2241 DEFAULT_wxUSE_EXCEPTIONS
=yes
2242 DEFAULT_wxUSE_LOG
=yes
2243 DEFAULT_wxUSE_LOGWINDOW
=yes
2244 DEFAULT_wxUSE_LOGGUI
=yes
2245 DEFAULT_wxUSE_LOGDIALOG
=yes
2247 DEFAULT_wxUSE_GUI
=yes
2249 DEFAULT_wxUSE_REGEX
=yes
2250 DEFAULT_wxUSE_XML
=yes
2251 DEFAULT_wxUSE_EXPAT
=yes
2252 DEFAULT_wxUSE_ZLIB
=yes
2253 DEFAULT_wxUSE_LIBPNG
=yes
2254 DEFAULT_wxUSE_LIBJPEG
=yes
2255 DEFAULT_wxUSE_LIBTIFF
=yes
2256 DEFAULT_wxUSE_LIBXPM
=yes
2257 DEFAULT_wxUSE_LIBMSPACK
=yes
2258 DEFAULT_wxUSE_LIBSDL
=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2260 DEFAULT_wxUSE_ODBC
=no
2261 DEFAULT_wxUSE_OPENGL
=no
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2264 DEFAULT_wxUSE_STACKWALKER
=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM
=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2268 DEFAULT_wxUSE_DATETIME
=yes
2269 DEFAULT_wxUSE_TIMER
=yes
2270 DEFAULT_wxUSE_STOPWATCH
=yes
2271 DEFAULT_wxUSE_FILE
=yes
2272 DEFAULT_wxUSE_FFILE
=yes
2273 DEFAULT_wxUSE_TEXTBUFFER
=yes
2274 DEFAULT_wxUSE_TEXTFILE
=yes
2275 DEFAULT_wxUSE_SOUND
=yes
2276 DEFAULT_wxUSE_MEDIACTRL
=no
2277 DEFAULT_wxUSE_DIRECTSHOW
=no
2278 DEFAULT_wxUSE_INTL
=yes
2279 DEFAULT_wxUSE_CONFIG
=yes
2280 DEFAULT_wxUSE_FONTMAP
=yes
2281 DEFAULT_wxUSE_STREAMS
=yes
2282 DEFAULT_wxUSE_SOCKETS
=yes
2283 DEFAULT_wxUSE_OLE
=yes
2284 DEFAULT_wxUSE_DATAOBJ
=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2286 DEFAULT_wxUSE_JOYSTICK
=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2289 DEFAULT_wxUSE_LONGLONG
=yes
2290 DEFAULT_wxUSE_GEOMETRY
=yes
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2294 DEFAULT_wxUSE_POSTSCRIPT
=yes
2296 DEFAULT_wxUSE_CLIPBOARD
=yes
2297 DEFAULT_wxUSE_TOOLTIPS
=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2299 DEFAULT_wxUSE_DRAGIMAGE
=yes
2300 DEFAULT_wxUSE_SPLINES
=yes
2302 DEFAULT_wxUSE_MDI
=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_RESOURCES
=no
2308 DEFAULT_wxUSE_CONSTRAINTS
=yes
2309 DEFAULT_wxUSE_IPC
=yes
2310 DEFAULT_wxUSE_HELP
=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2312 DEFAULT_wxUSE_WXHTML_HELP
=yes
2313 DEFAULT_wxUSE_TREELAYOUT
=yes
2314 DEFAULT_wxUSE_METAFILE
=yes
2315 DEFAULT_wxUSE_MIMETYPE
=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2317 DEFAULT_wxUSE_PROTOCOL
=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2321 DEFAULT_wxUSE_URL
=yes
2323 DEFAULT_wxUSE_COMMONDLGS
=yes
2324 DEFAULT_wxUSE_CHOICEDLG
=yes
2325 DEFAULT_wxUSE_COLOURDLG
=yes
2326 DEFAULT_wxUSE_DIRDLG
=yes
2327 DEFAULT_wxUSE_FILEDLG
=yes
2328 DEFAULT_wxUSE_FINDREPLDLG
=yes
2329 DEFAULT_wxUSE_FONTDLG
=yes
2330 DEFAULT_wxUSE_MSGDLG
=yes
2331 DEFAULT_wxUSE_NUMBERDLG
=yes
2332 DEFAULT_wxUSE_TEXTDLG
=yes
2333 DEFAULT_wxUSE_SPLASH
=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2335 DEFAULT_wxUSE_PROGRESSDLG
=yes
2336 DEFAULT_wxUSE_WIZARDDLG
=yes
2338 DEFAULT_wxUSE_MENUS
=yes
2339 DEFAULT_wxUSE_MINIFRAME
=yes
2340 DEFAULT_wxUSE_HTML
=yes
2341 DEFAULT_wxUSE_XRC
=yes
2342 DEFAULT_wxUSE_WEBKIT
=yes
2343 DEFAULT_wxUSE_FILESYSTEM
=yes
2344 DEFAULT_wxUSE_FS_INET
=yes
2345 DEFAULT_wxUSE_FS_ZIP
=yes
2346 DEFAULT_wxUSE_BUSYINFO
=yes
2347 DEFAULT_wxUSE_ZIPSTREAM
=yes
2348 DEFAULT_wxUSE_VALIDATORS
=yes
2350 DEFAULT_wxUSE_ACCEL
=yes
2351 DEFAULT_wxUSE_BUTTON
=yes
2352 DEFAULT_wxUSE_BMPBUTTON
=yes
2353 DEFAULT_wxUSE_CALCTRL
=yes
2354 DEFAULT_wxUSE_CARET
=yes
2355 DEFAULT_wxUSE_CHECKBOX
=yes
2356 DEFAULT_wxUSE_CHECKLST
=yes
2357 DEFAULT_wxUSE_CHOICE
=yes
2358 DEFAULT_wxUSE_CHOICEBOOK
=yes
2359 DEFAULT_wxUSE_COMBOBOX
=yes
2360 DEFAULT_wxUSE_DISPLAY
=yes
2361 DEFAULT_wxUSE_GAUGE
=yes
2362 DEFAULT_wxUSE_GRID
=yes
2363 DEFAULT_wxUSE_IMAGLIST
=yes
2364 DEFAULT_wxUSE_LISTBOOK
=yes
2365 DEFAULT_wxUSE_LISTBOX
=yes
2366 DEFAULT_wxUSE_LISTCTRL
=yes
2367 DEFAULT_wxUSE_NOTEBOOK
=yes
2368 DEFAULT_wxUSE_RADIOBOX
=yes
2369 DEFAULT_wxUSE_RADIOBTN
=yes
2370 DEFAULT_wxUSE_SASH
=yes
2371 DEFAULT_wxUSE_SCROLLBAR
=yes
2372 DEFAULT_wxUSE_SLIDER
=yes
2373 DEFAULT_wxUSE_SPINBTN
=yes
2374 DEFAULT_wxUSE_SPINCTRL
=yes
2375 DEFAULT_wxUSE_SPLITTER
=yes
2376 DEFAULT_wxUSE_STATBMP
=yes
2377 DEFAULT_wxUSE_STATBOX
=yes
2378 DEFAULT_wxUSE_STATLINE
=yes
2379 DEFAULT_wxUSE_STATTEXT
=yes
2380 DEFAULT_wxUSE_STATUSBAR
=yes
2381 DEFAULT_wxUSE_TABDIALOG
=no
2382 DEFAULT_wxUSE_TEXTCTRL
=yes
2383 DEFAULT_wxUSE_TOGGLEBTN
=yes
2384 DEFAULT_wxUSE_TOOLBAR
=yes
2385 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2386 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2387 DEFAULT_wxUSE_TREECTRL
=yes
2388 DEFAULT_wxUSE_POPUPWIN
=yes
2389 DEFAULT_wxUSE_TIPWINDOW
=yes
2391 DEFAULT_wxUSE_UNICODE
=no
2392 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2393 DEFAULT_wxUSE_WCSRTOMBS
=no
2395 DEFAULT_wxUSE_PALETTE
=yes
2396 DEFAULT_wxUSE_IMAGE
=yes
2397 DEFAULT_wxUSE_GIF
=yes
2398 DEFAULT_wxUSE_PCX
=yes
2399 DEFAULT_wxUSE_IFF
=no
2400 DEFAULT_wxUSE_PNM
=yes
2401 DEFAULT_wxUSE_XPM
=yes
2402 DEFAULT_wxUSE_ICO_CUR
=yes
2403 DEFAULT_wxUSE_ACCESSIBILITY
=no
2405 DEFAULT_wxUSE_MONOLITHIC
=no
2406 DEFAULT_wxUSE_PLUGINS
=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2409 DEFAULT_wxUSE_GTK2
=yes
2414 for toolkit
in `echo $ALL_TOOLKITS`; do
2415 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2416 if test "x$LINE" != "x" ; then
2417 has_toolkit_in_cache
=1
2418 eval "DEFAULT_$LINE"
2419 eval "CACHE_$toolkit=1"
2426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2427 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2429 # Check whether --enable-gui or --disable-gui was given.
2430 if test "${enable_gui+set}" = set; then
2431 enableval
="$enable_gui"
2433 if test "$enableval" = yes; then
2434 ac_cv_use_gui
='wxUSE_GUI=yes'
2436 ac_cv_use_gui
='wxUSE_GUI=no'
2441 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2442 if test "x$LINE" != x
; then
2443 eval "DEFAULT_$LINE"
2448 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2452 eval "$ac_cv_use_gui"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2457 if test "$wxUSE_GUI" = yes; then
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2470 # Check whether --enable-monolithic or --disable-monolithic was given.
2471 if test "${enable_monolithic+set}" = set; then
2472 enableval
="$enable_monolithic"
2474 if test "$enableval" = yes; then
2475 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2477 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2482 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x
; then
2484 eval "DEFAULT_$LINE"
2489 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2493 eval "$ac_cv_use_monolithic"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_MONOLITHIC" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2511 # Check whether --enable-plugins or --disable-plugins was given.
2512 if test "${enable_plugins+set}" = set; then
2513 enableval
="$enable_plugins"
2515 if test "$enableval" = yes; then
2516 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2518 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2523 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x
; then
2525 eval "DEFAULT_$LINE"
2530 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2534 eval "$ac_cv_use_plugins"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_PLUGINS" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2548 if test "$wxUSE_GUI" = "yes"; then
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2555 # Check whether --enable-universal or --disable-universal was given.
2556 if test "${enable_universal+set}" = set; then
2557 enableval
="$enable_universal"
2559 if test "$enableval" = yes; then
2560 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2562 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2567 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x
; then
2569 eval "DEFAULT_$LINE"
2574 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2578 eval "$ac_cv_use_universal"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_UNIVERSAL" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2592 # Check whether --with-gtk or --without-gtk was given.
2593 if test "${with_gtk+set}" = set; then
2595 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2598 # Check whether --with-motif or --without-motif was given.
2599 if test "${with_motif+set}" = set; then
2600 withval
="$with_motif"
2601 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-mac or --without-mac was given.
2605 if test "${with_mac+set}" = set; then
2607 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-cocoa or --without-cocoa was given.
2611 if test "${with_cocoa+set}" = set; then
2612 withval
="$with_cocoa"
2613 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2616 # Check whether --with-wine or --without-wine was given.
2617 if test "${with_wine+set}" = set; then
2618 withval
="$with_wine"
2619 wxUSE_WINE
="$withval" CACHE_WINE
=1
2622 # Check whether --with-msw or --without-msw was given.
2623 if test "${with_msw+set}" = set; then
2625 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2628 # Check whether --with-pm or --without-pm was given.
2629 if test "${with_pm+set}" = set; then
2631 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2634 # Check whether --with-mgl or --without-mgl was given.
2635 if test "${with_mgl+set}" = set; then
2637 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2640 # Check whether --with-microwin or --without-microwin was given.
2641 if test "${with_microwin+set}" = set; then
2642 withval
="$with_microwin"
2643 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2646 # Check whether --with-x11 or --without-x11 was given.
2647 if test "${with_x11+set}" = set; then
2649 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2656 # Check whether --enable-nanox or --disable-nanox was given.
2657 if test "${enable_nanox+set}" = set; then
2658 enableval
="$enable_nanox"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2663 ac_cv_use_nanox
='wxUSE_NANOX=no'
2668 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2679 eval "$ac_cv_use_nanox"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_NANOX" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2696 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2698 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2699 if test "${enable_gtk2+set}" = set; then
2700 enableval
="$enable_gtk2"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2705 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2710 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2721 eval "$ac_cv_use_gtk2"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_GTK2" = yes; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2739 # Check whether --enable-gpe or --disable-gpe was given.
2740 if test "${enable_gpe+set}" = set; then
2741 enableval
="$enable_gpe"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_gpe
='wxUSE_GPE=yes'
2746 ac_cv_use_gpe
='wxUSE_GPE=no'
2751 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2762 eval "$ac_cv_use_gpe"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_GPE" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2777 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2778 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2781 # Check whether --with-libpng or --without-libpng was given.
2782 if test "${with_libpng+set}" = set; then
2783 withval
="$with_libpng"
2785 if test "$withval" = yes; then
2786 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2787 elif test "$withval" = no
; then
2788 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2789 elif test "$withval" = sys
; then
2790 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2791 elif test "$withval" = builtin; then
2792 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2801 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2812 eval "$ac_cv_use_libpng"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_LIBPNG" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2820 elif test "$wxUSE_LIBPNG" = no
; then
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2823 elif test "$wxUSE_LIBPNG" = sys
; then
2824 echo "$as_me:$LINENO: result: system version" >&5
2825 echo "${ECHO_T}system version" >&6
2826 elif test "$wxUSE_LIBPNG" = builtin; then
2827 echo "$as_me:$LINENO: result: builtin version" >&5
2828 echo "${ECHO_T}builtin version" >&6
2830 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2831 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2832 { (exit 1); exit 1; }; }
2836 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2837 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2840 # Check whether --with-libjpeg or --without-libjpeg was given.
2841 if test "${with_libjpeg+set}" = set; then
2842 withval
="$with_libjpeg"
2844 if test "$withval" = yes; then
2845 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2846 elif test "$withval" = no
; then
2847 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2848 elif test "$withval" = sys
; then
2849 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2860 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2871 eval "$ac_cv_use_libjpeg"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2876 if test "$wxUSE_LIBJPEG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBJPEG" = no
; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBJPEG" = sys
; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBJPEG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2896 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2899 # Check whether --with-libtiff or --without-libtiff was given.
2900 if test "${with_libtiff+set}" = set; then
2901 withval
="$with_libtiff"
2903 if test "$withval" = yes; then
2904 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2905 elif test "$withval" = no
; then
2906 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2907 elif test "$withval" = sys
; then
2908 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2919 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2930 eval "$ac_cv_use_libtiff"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_LIBTIFF" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBTIFF" = no
; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBTIFF" = sys
; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBTIFF" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2954 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2955 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2958 # Check whether --with-libxpm or --without-libxpm was given.
2959 if test "${with_libxpm+set}" = set; then
2960 withval
="$with_libxpm"
2962 if test "$withval" = yes; then
2963 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2964 elif test "$withval" = no
; then
2965 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2966 elif test "$withval" = sys
; then
2967 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2978 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2989 eval "$ac_cv_use_libxpm"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_LIBXPM" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBXPM" = no
; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBXPM" = sys
; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBXPM" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3013 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3014 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3017 # Check whether --with-libmspack or --without-libmspack was given.
3018 if test "${with_libmspack+set}" = set; then
3019 withval
="$with_libmspack"
3021 if test "$withval" = yes; then
3022 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3024 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3029 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3040 eval "$ac_cv_use_libmspack"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3045 if test "$wxUSE_LIBMSPACK" = yes; then
3046 echo "$as_me:$LINENO: result: yes" >&5
3047 echo "${ECHO_T}yes" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3054 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3055 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3058 # Check whether --with-sdl or --without-sdl was given.
3059 if test "${with_sdl+set}" = set; then
3062 if test "$withval" = yes; then
3063 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3065 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3070 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3081 eval "$ac_cv_use_sdl"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3086 if test "$wxUSE_LIBSDL" = yes; then
3087 echo "$as_me:$LINENO: result: yes" >&5
3088 echo "${ECHO_T}yes" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3096 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3099 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3100 if test "${with_gnomeprint+set}" = set; then
3101 withval
="$with_gnomeprint"
3103 if test "$withval" = yes; then
3104 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3106 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3111 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3122 eval "$ac_cv_use_gnomeprint"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3136 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3137 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3140 # Check whether --with-opengl or --without-opengl was given.
3141 if test "${with_opengl+set}" = set; then
3142 withval
="$with_opengl"
3144 if test "$withval" = yes; then
3145 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3147 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3152 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3163 eval "$ac_cv_use_opengl"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_OPENGL" = yes; then
3169 echo "$as_me:$LINENO: result: yes" >&5
3170 echo "${ECHO_T}yes" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3180 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3181 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3184 # Check whether --with-dmalloc or --without-dmalloc was given.
3185 if test "${with_dmalloc+set}" = set; then
3186 withval
="$with_dmalloc"
3188 if test "$withval" = yes; then
3189 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3191 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3196 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3207 eval "$ac_cv_use_dmalloc"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_DMALLOC" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3221 echo "$as_me:$LINENO: checking for --with-regex" >&5
3222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3225 # Check whether --with-regex or --without-regex was given.
3226 if test "${with_regex+set}" = set; then
3227 withval
="$with_regex"
3229 if test "$withval" = yes; then
3230 ac_cv_use_regex
='wxUSE_REGEX=yes'
3231 elif test "$withval" = no
; then
3232 ac_cv_use_regex
='wxUSE_REGEX=no'
3233 elif test "$withval" = sys
; then
3234 ac_cv_use_regex
='wxUSE_REGEX=sys'
3235 elif test "$withval" = builtin; then
3236 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3240 { (exit 1); exit 1; }; }
3245 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3256 eval "$ac_cv_use_regex"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_REGEX" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 elif test "$wxUSE_REGEX" = no
; then
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 elif test "$wxUSE_REGEX" = sys
; then
3268 echo "$as_me:$LINENO: result: system version" >&5
3269 echo "${ECHO_T}system version" >&6
3270 elif test "$wxUSE_REGEX" = builtin; then
3271 echo "$as_me:$LINENO: result: builtin version" >&5
3272 echo "${ECHO_T}builtin version" >&6
3274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3276 { (exit 1); exit 1; }; }
3280 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3281 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3284 # Check whether --with-zlib or --without-zlib was given.
3285 if test "${with_zlib+set}" = set; then
3286 withval
="$with_zlib"
3288 if test "$withval" = yes; then
3289 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3290 elif test "$withval" = no
; then
3291 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3292 elif test "$withval" = sys
; then
3293 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3294 elif test "$withval" = builtin; then
3295 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3299 { (exit 1); exit 1; }; }
3304 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3315 eval "$ac_cv_use_zlib"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_ZLIB" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 elif test "$wxUSE_ZLIB" = no
; then
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 elif test "$wxUSE_ZLIB" = sys
; then
3327 echo "$as_me:$LINENO: result: system version" >&5
3328 echo "${ECHO_T}system version" >&6
3329 elif test "$wxUSE_ZLIB" = builtin; then
3330 echo "$as_me:$LINENO: result: builtin version" >&5
3331 echo "${ECHO_T}builtin version" >&6
3333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3335 { (exit 1); exit 1; }; }
3339 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3340 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3343 # Check whether --with-odbc or --without-odbc was given.
3344 if test "${with_odbc+set}" = set; then
3345 withval
="$with_odbc"
3347 if test "$withval" = yes; then
3348 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3349 elif test "$withval" = no
; then
3350 ac_cv_use_odbc
='wxUSE_ODBC=no'
3351 elif test "$withval" = sys
; then
3352 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3353 elif test "$withval" = builtin; then
3354 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3358 { (exit 1); exit 1; }; }
3363 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3374 eval "$ac_cv_use_odbc"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3379 if test "$wxUSE_ODBC" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3382 elif test "$wxUSE_ODBC" = no
; then
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3385 elif test "$wxUSE_ODBC" = sys
; then
3386 echo "$as_me:$LINENO: result: system version" >&5
3387 echo "${ECHO_T}system version" >&6
3388 elif test "$wxUSE_ODBC" = builtin; then
3389 echo "$as_me:$LINENO: result: builtin version" >&5
3390 echo "${ECHO_T}builtin version" >&6
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3398 echo "$as_me:$LINENO: checking for --with-expat" >&5
3399 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3402 # Check whether --with-expat or --without-expat was given.
3403 if test "${with_expat+set}" = set; then
3404 withval
="$with_expat"
3406 if test "$withval" = yes; then
3407 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3408 elif test "$withval" = no
; then
3409 ac_cv_use_expat
='wxUSE_EXPAT=no'
3410 elif test "$withval" = sys
; then
3411 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3412 elif test "$withval" = builtin; then
3413 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3417 { (exit 1); exit 1; }; }
3422 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3433 eval "$ac_cv_use_expat"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_EXPAT" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 elif test "$wxUSE_EXPAT" = no
; then
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3444 elif test "$wxUSE_EXPAT" = sys
; then
3445 echo "$as_me:$LINENO: result: system version" >&5
3446 echo "${ECHO_T}system version" >&6
3447 elif test "$wxUSE_EXPAT" = builtin; then
3448 echo "$as_me:$LINENO: result: builtin version" >&5
3449 echo "${ECHO_T}builtin version" >&6
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3463 # Check whether --enable-shared or --disable-shared was given.
3464 if test "${enable_shared+set}" = set; then
3465 enableval
="$enable_shared"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_shared
='wxUSE_SHARED=yes'
3470 ac_cv_use_shared
='wxUSE_SHARED=no'
3475 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3486 eval "$ac_cv_use_shared"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_SHARED" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3504 # Check whether --enable-optimise or --disable-optimise was given.
3505 if test "${enable_optimise+set}" = set; then
3506 enableval
="$enable_optimise"
3508 if test "$enableval" = yes; then
3509 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3511 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3516 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3527 eval "$ac_cv_use_optimise"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_OPTIMISE" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3543 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3545 # Check whether --enable-debug or --disable-debug was given.
3546 if test "${enable_debug+set}" = set; then
3547 enableval
="$enable_debug"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3552 ac_cv_use_debug
='wxUSE_DEBUG=no'
3557 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3568 eval "$ac_cv_use_debug"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_DEBUG" = yes; then
3574 echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3577 echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3584 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3586 # Check whether --enable-stl or --disable-stl was given.
3587 if test "${enable_stl+set}" = set; then
3588 enableval
="$enable_stl"
3590 if test "$enableval" = yes; then
3591 ac_cv_use_stl
='wxUSE_STL=yes'
3593 ac_cv_use_stl
='wxUSE_STL=no'
3598 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3605 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3609 eval "$ac_cv_use_stl"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_STL" = yes; then
3615 echo "$as_me:$LINENO: result: yes" >&5
3616 echo "${ECHO_T}yes" >&6
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3622 if test "$USE_OS2" = "1"; then
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3628 # Check whether --enable-omf or --disable-omf was given.
3629 if test "${enable_omf+set}" = set; then
3630 enableval
="$enable_omf"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_omf
='wxUSE_OMF=yes'
3635 ac_cv_use_omf
='wxUSE_OMF=no'
3640 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3651 eval "$ac_cv_use_omf"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_OMF" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3666 if test "$wxUSE_DEBUG" = "yes"; then
3667 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3668 DEFAULT_wxUSE_DEBUG_INFO
=yes
3670 elif test "$wxUSE_DEBUG" = "no"; then
3671 DEFAULT_wxUSE_DEBUG_FLAG
=no
3672 DEFAULT_wxUSE_DEBUG_INFO
=no
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3681 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3682 if test "${enable_debug_flag+set}" = set; then
3683 enableval
="$enable_debug_flag"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3693 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3704 eval "$ac_cv_use_debug_flag"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_DEBUG_FLAG" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3722 # Check whether --enable-debug_info or --disable-debug_info was given.
3723 if test "${enable_debug_info+set}" = set; then
3724 enableval
="$enable_debug_info"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3734 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3745 eval "$ac_cv_use_debug_info"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DEBUG_INFO" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3763 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3764 if test "${enable_debug_gdb+set}" = set; then
3765 enableval
="$enable_debug_gdb"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3775 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3786 eval "$ac_cv_use_debug_gdb"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DEBUG_GDB" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3804 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3805 if test "${enable_debug_cntxt+set}" = set; then
3806 enableval
="$enable_debug_cntxt"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3816 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3827 eval "$ac_cv_use_debug_cntxt"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3845 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3846 if test "${enable_mem_tracing+set}" = set; then
3847 enableval
="$enable_mem_tracing"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3857 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x
; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3868 eval "$ac_cv_use_mem_tracing"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_MEM_TRACING" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3886 # Check whether --enable-profile or --disable-profile was given.
3887 if test "${enable_profile+set}" = set; then
3888 enableval
="$enable_profile"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3893 ac_cv_use_profile
='wxUSE_PROFILE=no'
3898 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3909 eval "$ac_cv_use_profile"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_PROFILE" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3927 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3928 if test "${enable_no_rtti+set}" = set; then
3929 enableval
="$enable_no_rtti"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3939 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x
; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3950 eval "$ac_cv_use_no_rtti"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_NO_RTTI" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3968 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3969 if test "${enable_no_exceptions+set}" = set; then
3970 enableval
="$enable_no_exceptions"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3980 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x
; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3991 eval "$ac_cv_use_no_exceptions"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4009 # Check whether --enable-permissive or --disable-permissive was given.
4010 if test "${enable_permissive+set}" = set; then
4011 enableval
="$enable_permissive"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4021 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4032 eval "$ac_cv_use_permissive"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_PERMISSIVE" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4050 # Check whether --enable-no_deps or --disable-no_deps was given.
4051 if test "${enable_no_deps+set}" = set; then
4052 enableval
="$enable_no_deps"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4062 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4073 eval "$ac_cv_use_no_deps"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_NO_DEPS" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4092 # Check whether --enable-compat22 or --disable-compat22 was given.
4093 if test "${enable_compat22+set}" = set; then
4094 enableval
="$enable_compat22"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4104 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4115 eval "$ac_cv_use_compat22"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4120 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4129 enablestring
=disable
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval
="$enable_compat24"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4145 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4173 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4175 # Check whether --enable-rpath or --disable-rpath was given.
4176 if test "${enable_rpath+set}" = set; then
4177 enableval
="$enable_rpath"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4182 ac_cv_use_rpath
='wxUSE_RPATH=no'
4187 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4198 eval "$ac_cv_use_rpath"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4203 if test "$wxUSE_RPATH" = yes; then
4204 echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4217 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4219 # Check whether --enable-intl or --disable-intl was given.
4220 if test "${enable_intl+set}" = set; then
4221 enableval
="$enable_intl"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_intl
='wxUSE_INTL=yes'
4226 ac_cv_use_intl
='wxUSE_INTL=no'
4231 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4242 eval "$ac_cv_use_intl"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_INTL" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249 echo "${ECHO_T}yes" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4260 # Check whether --enable-config or --disable-config was given.
4261 if test "${enable_config+set}" = set; then
4262 enableval
="$enable_config"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_config
='wxUSE_CONFIG=yes'
4267 ac_cv_use_config
='wxUSE_CONFIG=no'
4272 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x
; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4283 eval "$ac_cv_use_config"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_CONFIG" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4302 # Check whether --enable-protocols or --disable-protocols was given.
4303 if test "${enable_protocols+set}" = set; then
4304 enableval
="$enable_protocols"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4314 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4325 eval "$ac_cv_use_protocols"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_PROTOCOL" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4343 # Check whether --enable-ftp or --disable-ftp was given.
4344 if test "${enable_ftp+set}" = set; then
4345 enableval
="$enable_ftp"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4355 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4366 eval "$ac_cv_use_ftp"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4384 # Check whether --enable-http or --disable-http was given.
4385 if test "${enable_http+set}" = set; then
4386 enableval
="$enable_http"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4396 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4407 eval "$ac_cv_use_http"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4425 # Check whether --enable-fileproto or --disable-fileproto was given.
4426 if test "${enable_fileproto+set}" = set; then
4427 enableval
="$enable_fileproto"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4437 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4448 eval "$ac_cv_use_fileproto"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4466 # Check whether --enable-sockets or --disable-sockets was given.
4467 if test "${enable_sockets+set}" = set; then
4468 enableval
="$enable_sockets"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4473 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4478 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4489 eval "$ac_cv_use_sockets"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_SOCKETS" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4507 # Check whether --enable-ole or --disable-ole was given.
4508 if test "${enable_ole+set}" = set; then
4509 enableval
="$enable_ole"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_ole
='wxUSE_OLE=yes'
4514 ac_cv_use_ole
='wxUSE_OLE=no'
4519 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4530 eval "$ac_cv_use_ole"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_OLE" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4548 # Check whether --enable-dataobj or --disable-dataobj was given.
4549 if test "${enable_dataobj+set}" = set; then
4550 enableval
="$enable_dataobj"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4560 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x
; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4571 eval "$ac_cv_use_dataobj"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_DATAOBJ" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4590 # Check whether --enable-ipc or --disable-ipc was given.
4591 if test "${enable_ipc+set}" = set; then
4592 enableval
="$enable_ipc"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_ipc
='wxUSE_IPC=yes'
4597 ac_cv_use_ipc
='wxUSE_IPC=no'
4602 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4613 eval "$ac_cv_use_ipc"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_IPC" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4632 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4633 if test "${enable_apple_ieee+set}" = set; then
4634 enableval
="$enable_apple_ieee"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4644 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4655 eval "$ac_cv_use_apple_ieee"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_APPLE_IEEE" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4673 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4674 if test "${enable_catch_segvs+set}" = set; then
4675 enableval
="$enable_catch_segvs"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4680 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4685 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4696 eval "$ac_cv_use_catch_segvs"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4714 # Check whether --enable-backtrace or --disable-backtrace was given.
4715 if test "${enable_backtrace+set}" = set; then
4716 enableval
="$enable_backtrace"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4726 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4737 eval "$ac_cv_use_backtrace"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_STACKWALKER" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4755 # Check whether --enable-cmdline or --disable-cmdline was given.
4756 if test "${enable_cmdline+set}" = set; then
4757 enableval
="$enable_cmdline"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4762 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4767 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x
; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4778 eval "$ac_cv_use_cmdline"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4796 # Check whether --enable-datetime or --disable-datetime was given.
4797 if test "${enable_datetime+set}" = set; then
4798 enableval
="$enable_datetime"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4803 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4808 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x
; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4819 eval "$ac_cv_use_datetime"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_DATETIME" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4837 # Check whether --enable-dialupman or --disable-dialupman was given.
4838 if test "${enable_dialupman+set}" = set; then
4839 enableval
="$enable_dialupman"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4844 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4849 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4860 eval "$ac_cv_use_dialupman"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4878 # Check whether --enable-dynlib or --disable-dynlib was given.
4879 if test "${enable_dynlib+set}" = set; then
4880 enableval
="$enable_dynlib"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4885 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4890 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4901 eval "$ac_cv_use_dynlib"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4919 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4920 if test "${enable_dynamicloader+set}" = set; then
4921 enableval
="$enable_dynamicloader"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4926 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4931 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4942 eval "$ac_cv_use_dynamicloader"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4960 # Check whether --enable-exceptions or --disable-exceptions was given.
4961 if test "${enable_exceptions+set}" = set; then
4962 enableval
="$enable_exceptions"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4967 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4972 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4983 eval "$ac_cv_use_exceptions"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_EXCEPTIONS" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5001 # Check whether --enable-ffile or --disable-ffile was given.
5002 if test "${enable_ffile+set}" = set; then
5003 enableval
="$enable_ffile"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5008 ac_cv_use_ffile
='wxUSE_FFILE=no'
5013 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x
; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5024 eval "$ac_cv_use_ffile"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_FFILE" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5042 # Check whether --enable-file or --disable-file was given.
5043 if test "${enable_file+set}" = set; then
5044 enableval
="$enable_file"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_file
='wxUSE_FILE=yes'
5049 ac_cv_use_file
='wxUSE_FILE=no'
5054 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x
; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5065 eval "$ac_cv_use_file"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_FILE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5083 # Check whether --enable-filesystem or --disable-filesystem was given.
5084 if test "${enable_filesystem+set}" = set; then
5085 enableval
="$enable_filesystem"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5090 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5095 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x
; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5106 eval "$ac_cv_use_filesystem"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_FILESYSTEM" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5124 # Check whether --enable-fontmap or --disable-fontmap was given.
5125 if test "${enable_fontmap+set}" = set; then
5126 enableval
="$enable_fontmap"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5131 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5136 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5147 eval "$ac_cv_use_fontmap"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FONTMAP" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval
="$enable_fs_inet"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5172 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5177 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FS_INET" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval
="$enable_fs_zip"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5213 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5218 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FS_ZIP" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5247 # Check whether --enable-geometry or --disable-geometry was given.
5248 if test "${enable_geometry+set}" = set; then
5249 enableval
="$enable_geometry"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5254 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5259 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5270 eval "$ac_cv_use_geometry"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_GEOMETRY" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5288 # Check whether --enable-log or --disable-log was given.
5289 if test "${enable_log+set}" = set; then
5290 enableval
="$enable_log"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_log
='wxUSE_LOG=yes'
5295 ac_cv_use_log
='wxUSE_LOG=no'
5300 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x
; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5311 eval "$ac_cv_use_log"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_LOG" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5329 # Check whether --enable-longlong or --disable-longlong was given.
5330 if test "${enable_longlong+set}" = set; then
5331 enableval
="$enable_longlong"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5336 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5341 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5352 eval "$ac_cv_use_longlong"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_LONGLONG" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5370 # Check whether --enable-mimetype or --disable-mimetype was given.
5371 if test "${enable_mimetype+set}" = set; then
5372 enableval
="$enable_mimetype"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5377 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5382 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x
; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5393 eval "$ac_cv_use_mimetype"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_MIMETYPE" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5411 # Check whether --enable-mslu or --disable-mslu was given.
5412 if test "${enable_mslu+set}" = set; then
5413 enableval
="$enable_mslu"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5418 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5423 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5434 eval "$ac_cv_use_mslu"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_UNICODE_MSLU" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5452 # Check whether --enable-snglinst or --disable-snglinst was given.
5453 if test "${enable_snglinst+set}" = set; then
5454 enableval
="$enable_snglinst"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5459 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5464 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5475 eval "$ac_cv_use_snglinst"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5493 # Check whether --enable-streams or --disable-streams was given.
5494 if test "${enable_streams+set}" = set; then
5495 enableval
="$enable_streams"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5500 ac_cv_use_streams
='wxUSE_STREAMS=no'
5505 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5516 eval "$ac_cv_use_streams"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_STREAMS" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5534 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5535 if test "${enable_std_iostreams+set}" = set; then
5536 enableval
="$enable_std_iostreams"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5541 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5546 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5557 eval "$ac_cv_use_std_iostreams"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_STD_IOSTREAM" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5575 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5576 if test "${enable_stopwatch+set}" = set; then
5577 enableval
="$enable_stopwatch"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5582 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5587 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5598 eval "$ac_cv_use_stopwatch"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_STOPWATCH" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5616 # Check whether --enable-system_options or --disable-system_options was given.
5617 if test "${enable_system_options+set}" = set; then
5618 enableval
="$enable_system_options"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5623 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5628 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5639 eval "$ac_cv_use_system_options"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5657 # Check whether --enable-textbuf or --disable-textbuf was given.
5658 if test "${enable_textbuf+set}" = set; then
5659 enableval
="$enable_textbuf"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5664 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5669 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5680 eval "$ac_cv_use_textbuf"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_TEXTBUFFER" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5698 # Check whether --enable-textfile or --disable-textfile was given.
5699 if test "${enable_textfile+set}" = set; then
5700 enableval
="$enable_textfile"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5705 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5710 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x
; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5721 eval "$ac_cv_use_textfile"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_TEXTFILE" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5739 # Check whether --enable-timer or --disable-timer was given.
5740 if test "${enable_timer+set}" = set; then
5741 enableval
="$enable_timer"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_timer
='wxUSE_TIMER=yes'
5746 ac_cv_use_timer
='wxUSE_TIMER=no'
5751 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x
; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5762 eval "$ac_cv_use_timer"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_TIMER" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5780 # Check whether --enable-unicode or --disable-unicode was given.
5781 if test "${enable_unicode+set}" = set; then
5782 enableval
="$enable_unicode"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5787 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5792 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x
; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5803 eval "$ac_cv_use_unicode"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_UNICODE" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5821 # Check whether --enable-sound or --disable-sound was given.
5822 if test "${enable_sound+set}" = set; then
5823 enableval
="$enable_sound"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_sound
='wxUSE_SOUND=yes'
5828 ac_cv_use_sound
='wxUSE_SOUND=no'
5833 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5844 eval "$ac_cv_use_sound"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_SOUND" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5862 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5863 if test "${enable_mediactrl+set}" = set; then
5864 enableval
="$enable_mediactrl"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5869 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5874 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x
; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5885 eval "$ac_cv_use_mediactrl"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_MEDIACTRL" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5903 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5904 if test "${enable_wxprintfv+set}" = set; then
5905 enableval
="$enable_wxprintfv"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5910 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5915 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x
; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5926 eval "$ac_cv_use_wxprintfv"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5944 # Check whether --enable-zipstream or --disable-zipstream was given.
5945 if test "${enable_zipstream+set}" = set; then
5946 enableval
="$enable_zipstream"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5951 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5956 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x
; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5967 eval "$ac_cv_use_zipstream"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_ZIPSTREAM" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5986 # Check whether --enable-url or --disable-url was given.
5987 if test "${enable_url+set}" = set; then
5988 enableval
="$enable_url"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_url
='wxUSE_URL=yes'
5993 ac_cv_use_url
='wxUSE_URL=no'
5998 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6009 eval "$ac_cv_use_url"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_URL" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016 echo "${ECHO_T}yes" >&6
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6027 # Check whether --enable-protocol or --disable-protocol was given.
6028 if test "${enable_protocol+set}" = set; then
6029 enableval
="$enable_protocol"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6034 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6039 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6050 eval "$ac_cv_use_protocol"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_PROTOCOL" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057 echo "${ECHO_T}yes" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6068 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6069 if test "${enable_protocol_http+set}" = set; then
6070 enableval
="$enable_protocol_http"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6075 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6080 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6091 eval "$ac_cv_use_protocol_http"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098 echo "${ECHO_T}yes" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6109 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6110 if test "${enable_protocol_ftp+set}" = set; then
6111 enableval
="$enable_protocol_ftp"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6116 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6121 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6132 eval "$ac_cv_use_protocol_ftp"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139 echo "${ECHO_T}yes" >&6
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6150 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6151 if test "${enable_protocol_file+set}" = set; then
6152 enableval
="$enable_protocol_file"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6157 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6162 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6173 eval "$ac_cv_use_protocol_file"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6192 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6194 # Check whether --enable-threads or --disable-threads was given.
6195 if test "${enable_threads+set}" = set; then
6196 enableval
="$enable_threads"
6198 if test "$enableval" = yes; then
6199 ac_cv_use_threads
='wxUSE_THREADS=yes'
6201 ac_cv_use_threads
='wxUSE_THREADS=no'
6206 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6207 if test "x$LINE" != x
; then
6208 eval "DEFAULT_$LINE"
6213 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6217 eval "$ac_cv_use_threads"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6222 if test "$wxUSE_THREADS" = yes; then
6223 echo "$as_me:$LINENO: result: yes" >&5
6224 echo "${ECHO_T}yes" >&6
6226 echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6
6231 if test "$wxUSE_GUI" = "yes"; then
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6239 # Check whether --enable-docview or --disable-docview was given.
6240 if test "${enable_docview+set}" = set; then
6241 enableval
="$enable_docview"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6246 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6251 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6262 eval "$ac_cv_use_docview"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6280 # Check whether --enable-help or --disable-help was given.
6281 if test "${enable_help+set}" = set; then
6282 enableval
="$enable_help"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_help
='wxUSE_HELP=yes'
6287 ac_cv_use_help
='wxUSE_HELP=no'
6292 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6303 eval "$ac_cv_use_help"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_HELP" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6321 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6322 if test "${enable_mshtmlhelp+set}" = set; then
6323 enableval
="$enable_mshtmlhelp"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6328 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6333 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6344 eval "$ac_cv_use_mshtmlhelp"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_MS_HTML_HELP" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6362 # Check whether --enable-html or --disable-html was given.
6363 if test "${enable_html+set}" = set; then
6364 enableval
="$enable_html"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_html
='wxUSE_HTML=yes'
6369 ac_cv_use_html
='wxUSE_HTML=no'
6374 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6385 eval "$ac_cv_use_html"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_HTML" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6403 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6404 if test "${enable_htmlhelp+set}" = set; then
6405 enableval
="$enable_htmlhelp"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6410 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6415 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x
; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6426 eval "$ac_cv_use_htmlhelp"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_WXHTML_HELP" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6444 # Check whether --enable-xrc or --disable-xrc was given.
6445 if test "${enable_xrc+set}" = set; then
6446 enableval
="$enable_xrc"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_xrc
='wxUSE_XRC=yes'
6451 ac_cv_use_xrc
='wxUSE_XRC=no'
6456 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6467 eval "$ac_cv_use_xrc"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_XRC" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6485 # Check whether --enable-constraints or --disable-constraints was given.
6486 if test "${enable_constraints+set}" = set; then
6487 enableval
="$enable_constraints"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6492 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6497 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x
; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6508 eval "$ac_cv_use_constraints"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_CONSTRAINTS" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6526 # Check whether --enable-printarch or --disable-printarch was given.
6527 if test "${enable_printarch+set}" = set; then
6528 enableval
="$enable_printarch"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6533 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6538 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6549 eval "$ac_cv_use_printarch"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6567 # Check whether --enable-mdi or --disable-mdi was given.
6568 if test "${enable_mdi+set}" = set; then
6569 enableval
="$enable_mdi"
6571 if test "$enableval" = yes; then
6572 ac_cv_use_mdi
='wxUSE_MDI=yes'
6574 ac_cv_use_mdi
='wxUSE_MDI=no'
6579 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x
; then
6581 eval "DEFAULT_$LINE"
6586 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6590 eval "$ac_cv_use_mdi"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_MDI" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6608 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6609 if test "${enable_mdidoc+set}" = set; then
6610 enableval
="$enable_mdidoc"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6615 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6620 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x
; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6631 eval "$ac_cv_use_mdidoc"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6649 # Check whether --enable-loggui or --disable-loggui was given.
6650 if test "${enable_loggui+set}" = set; then
6651 enableval
="$enable_loggui"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6656 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6661 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6672 eval "$ac_cv_use_loggui"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_LOGGUI" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6690 # Check whether --enable-logwin or --disable-logwin was given.
6691 if test "${enable_logwin+set}" = set; then
6692 enableval
="$enable_logwin"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6697 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6702 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6713 eval "$ac_cv_use_logwin"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_LOGWINDOW" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6731 # Check whether --enable-logdialog or --disable-logdialog was given.
6732 if test "${enable_logdialog+set}" = set; then
6733 enableval
="$enable_logdialog"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6738 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6743 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6754 eval "$ac_cv_use_logdialog"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_LOGDIALOG" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6772 # Check whether --enable-webkit or --disable-webkit was given.
6773 if test "${enable_webkit+set}" = set; then
6774 enableval
="$enable_webkit"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6779 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6784 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6795 eval "$ac_cv_use_webkit"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_WEBKIT" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6814 # Check whether --enable-postscript or --disable-postscript was given.
6815 if test "${enable_postscript+set}" = set; then
6816 enableval
="$enable_postscript"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6821 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6826 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6837 eval "$ac_cv_use_postscript"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_POSTSCRIPT" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6856 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6858 # Check whether --enable-prologio or --disable-prologio was given.
6859 if test "${enable_prologio+set}" = set; then
6860 enableval
="$enable_prologio"
6862 if test "$enableval" = yes; then
6863 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6865 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6870 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x
; then
6872 eval "DEFAULT_$LINE"
6877 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6881 eval "$ac_cv_use_prologio"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_PROLOGIO" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888 echo "${ECHO_T}yes" >&6
6890 echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6899 # Check whether --enable-resources or --disable-resources was given.
6900 if test "${enable_resources+set}" = set; then
6901 enableval
="$enable_resources"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6906 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6911 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6922 eval "$ac_cv_use_resources"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6927 if test "$wxUSE_RESOURCES" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6942 # Check whether --enable-clipboard or --disable-clipboard was given.
6943 if test "${enable_clipboard+set}" = set; then
6944 enableval
="$enable_clipboard"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6949 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6954 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6965 eval "$ac_cv_use_clipboard"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_CLIPBOARD" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6983 # Check whether --enable-dnd or --disable-dnd was given.
6984 if test "${enable_dnd+set}" = set; then
6985 enableval
="$enable_dnd"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6990 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6995 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7006 eval "$ac_cv_use_dnd"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7024 # Check whether --enable-metafile or --disable-metafile was given.
7025 if test "${enable_metafile+set}" = set; then
7026 enableval
="$enable_metafile"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7031 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7036 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7047 eval "$ac_cv_use_metafile"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_METAFILE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7068 # Check whether --enable-controls or --disable-controls was given.
7069 if test "${enable_controls+set}" = set; then
7070 enableval
="$enable_controls"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7075 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7080 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7091 eval "$ac_cv_use_controls"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_CONTROLS" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7105 if test "$wxUSE_CONTROLS" = "yes"; then
7106 DEFAULT_wxUSE_ACCEL
=yes
7107 DEFAULT_wxUSE_BMPBUTTON
=yes
7108 DEFAULT_wxUSE_BUTTON
=yes
7109 DEFAULT_wxUSE_CALCTRL
=no
7110 DEFAULT_wxUSE_CARET
=yes
7111 DEFAULT_wxUSE_COMBOBOX
=yes
7112 DEFAULT_wxUSE_CHECKBOX
=yes
7113 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7114 DEFAULT_wxUSE_CHOICE
=yes
7115 DEFAULT_wxUSE_CHOICEBOOK
=yes
7116 DEFAULT_wxUSE_GAUGE
=yes
7117 DEFAULT_wxUSE_GRID
=yes
7118 DEFAULT_wxUSE_IMAGLIST
=yes
7119 DEFAULT_wxUSE_LISTBOOK
=yes
7120 DEFAULT_wxUSE_LISTBOX
=yes
7121 DEFAULT_wxUSE_LISTCTRL
=yes
7122 DEFAULT_wxUSE_NOTEBOOK
=yes
7123 DEFAULT_wxUSE_RADIOBOX
=yes
7124 DEFAULT_wxUSE_RADIOBTN
=yes
7125 DEFAULT_wxUSE_SASH
=yes
7126 DEFAULT_wxUSE_SCROLLBAR
=yes
7127 DEFAULT_wxUSE_SLIDER
=yes
7128 DEFAULT_wxUSE_SPINBTN
=yes
7129 DEFAULT_wxUSE_SPINCTRL
=yes
7130 DEFAULT_wxUSE_SPLITTER
=yes
7131 DEFAULT_wxUSE_STATBMP
=yes
7132 DEFAULT_wxUSE_STATBOX
=yes
7133 DEFAULT_wxUSE_STATLINE
=yes
7134 DEFAULT_wxUSE_STATUSBAR
=yes
7135 DEFAULT_wxUSE_TAB_DIALOG
=yes
7136 DEFAULT_wxUSE_TOGGLEBTN
=yes
7137 DEFAULT_wxUSE_TOOLBAR
=yes
7138 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7139 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7140 DEFAULT_wxUSE_TOOLTIPS
=yes
7141 DEFAULT_wxUSE_TREECTRL
=yes
7142 DEFAULT_wxUSE_POPUPWIN
=yes
7143 DEFAULT_wxUSE_TIPWINDOW
=yes
7144 elif test "$wxUSE_CONTROLS" = "no"; then
7145 DEFAULT_wxUSE_ACCEL
=no
7146 DEFAULT_wxUSE_BMPBUTTON
=no
7147 DEFAULT_wxUSE_BUTTON
=no
7148 DEFAULT_wxUSE_CALCTRL
=no
7149 DEFAULT_wxUSE_CARET
=no
7150 DEFAULT_wxUSE_COMBOBOX
=no
7151 DEFAULT_wxUSE_CHECKBOX
=no
7152 DEFAULT_wxUSE_CHECKLISTBOX
=no
7153 DEFAULT_wxUSE_CHOICE
=no
7154 DEFAULT_wxUSE_CHOICEBOOK
=no
7155 DEFAULT_wxUSE_GAUGE
=no
7156 DEFAULT_wxUSE_GRID
=no
7157 DEFAULT_wxUSE_IMAGLIST
=no
7158 DEFAULT_wxUSE_LISTBOOK
=no
7159 DEFAULT_wxUSE_LISTBOX
=no
7160 DEFAULT_wxUSE_LISTCTRL
=no
7161 DEFAULT_wxUSE_NOTEBOOK
=no
7162 DEFAULT_wxUSE_RADIOBOX
=no
7163 DEFAULT_wxUSE_RADIOBTN
=no
7164 DEFAULT_wxUSE_SASH
=no
7165 DEFAULT_wxUSE_SCROLLBAR
=no
7166 DEFAULT_wxUSE_SLIDER
=no
7167 DEFAULT_wxUSE_SPINBTN
=no
7168 DEFAULT_wxUSE_SPINCTRL
=no
7169 DEFAULT_wxUSE_SPLITTER
=no
7170 DEFAULT_wxUSE_STATBMP
=no
7171 DEFAULT_wxUSE_STATBOX
=no
7172 DEFAULT_wxUSE_STATLINE
=no
7173 DEFAULT_wxUSE_STATUSBAR
=no
7174 DEFAULT_wxUSE_TAB_DIALOG
=no
7175 DEFAULT_wxUSE_TOGGLEBTN
=no
7176 DEFAULT_wxUSE_TOOLBAR
=no
7177 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7178 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7179 DEFAULT_wxUSE_TOOLTIPS
=no
7180 DEFAULT_wxUSE_TREECTRL
=no
7181 DEFAULT_wxUSE_POPUPWIN
=no
7182 DEFAULT_wxUSE_TIPWINDOW
=no
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7190 # Check whether --enable-accel or --disable-accel was given.
7191 if test "${enable_accel+set}" = set; then
7192 enableval
="$enable_accel"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7197 ac_cv_use_accel
='wxUSE_ACCEL=no'
7202 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x
; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7213 eval "$ac_cv_use_accel"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_ACCEL" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7231 # Check whether --enable-button or --disable-button was given.
7232 if test "${enable_button+set}" = set; then
7233 enableval
="$enable_button"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_button
='wxUSE_BUTTON=yes'
7238 ac_cv_use_button
='wxUSE_BUTTON=no'
7243 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x
; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7254 eval "$ac_cv_use_button"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_BUTTON" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7272 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7273 if test "${enable_bmpbutton+set}" = set; then
7274 enableval
="$enable_bmpbutton"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7279 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7284 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x
; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7295 eval "$ac_cv_use_bmpbutton"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_BMPBUTTON" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7313 # Check whether --enable-calendar or --disable-calendar was given.
7314 if test "${enable_calendar+set}" = set; then
7315 enableval
="$enable_calendar"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7320 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7325 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7336 eval "$ac_cv_use_calendar"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_CALCTRL" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7354 # Check whether --enable-caret or --disable-caret was given.
7355 if test "${enable_caret+set}" = set; then
7356 enableval
="$enable_caret"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_caret
='wxUSE_CARET=yes'
7361 ac_cv_use_caret
='wxUSE_CARET=no'
7366 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7377 eval "$ac_cv_use_caret"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_CARET" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7395 # Check whether --enable-checkbox or --disable-checkbox was given.
7396 if test "${enable_checkbox+set}" = set; then
7397 enableval
="$enable_checkbox"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7402 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7407 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7418 eval "$ac_cv_use_checkbox"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_CHECKBOX" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7436 # Check whether --enable-checklst or --disable-checklst was given.
7437 if test "${enable_checklst+set}" = set; then
7438 enableval
="$enable_checklst"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7443 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7448 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7459 eval "$ac_cv_use_checklst"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_CHECKLST" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7477 # Check whether --enable-choice or --disable-choice was given.
7478 if test "${enable_choice+set}" = set; then
7479 enableval
="$enable_choice"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7484 ac_cv_use_choice
='wxUSE_CHOICE=no'
7489 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7500 eval "$ac_cv_use_choice"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_CHOICE" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7518 # Check whether --enable-choicebook or --disable-choicebook was given.
7519 if test "${enable_choicebook+set}" = set; then
7520 enableval
="$enable_choicebook"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7525 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7530 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x
; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7541 eval "$ac_cv_use_choicebook"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_CHOICEBOOK" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7559 # Check whether --enable-combobox or --disable-combobox was given.
7560 if test "${enable_combobox+set}" = set; then
7561 enableval
="$enable_combobox"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7566 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7571 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x
; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7582 eval "$ac_cv_use_combobox"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7587 if test "$wxUSE_COMBOBOX" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7600 # Check whether --enable-display or --disable-display was given.
7601 if test "${enable_display+set}" = set; then
7602 enableval
="$enable_display"
7604 if test "$enableval" = yes; then
7605 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7607 ac_cv_use_display
='wxUSE_DISPLAY=no'
7612 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x
; then
7614 eval "DEFAULT_$LINE"
7619 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7623 eval "$ac_cv_use_display"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7628 if test "$wxUSE_DISPLAY" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7641 # Check whether --enable-gauge or --disable-gauge was given.
7642 if test "${enable_gauge+set}" = set; then
7643 enableval
="$enable_gauge"
7645 if test "$enableval" = yes; then
7646 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7648 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7653 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x
; then
7655 eval "DEFAULT_$LINE"
7660 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7664 eval "$ac_cv_use_gauge"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_GAUGE" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7682 # Check whether --enable-grid or --disable-grid was given.
7683 if test "${enable_grid+set}" = set; then
7684 enableval
="$enable_grid"
7686 if test "$enableval" = yes; then
7687 ac_cv_use_grid
='wxUSE_GRID=yes'
7689 ac_cv_use_grid
='wxUSE_GRID=no'
7694 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x
; then
7696 eval "DEFAULT_$LINE"
7701 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7705 eval "$ac_cv_use_grid"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_GRID" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7723 # Check whether --enable-imaglist or --disable-imaglist was given.
7724 if test "${enable_imaglist+set}" = set; then
7725 enableval
="$enable_imaglist"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7730 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7735 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7746 eval "$ac_cv_use_imaglist"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7751 if test "$wxUSE_IMAGLIST" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7764 # Check whether --enable-listbook or --disable-listbook was given.
7765 if test "${enable_listbook+set}" = set; then
7766 enableval
="$enable_listbook"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7771 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7776 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x
; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7787 eval "$ac_cv_use_listbook"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_LISTBOOK" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7805 # Check whether --enable-listbox or --disable-listbox was given.
7806 if test "${enable_listbox+set}" = set; then
7807 enableval
="$enable_listbox"
7809 if test "$enableval" = yes; then
7810 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7812 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7817 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x
; then
7819 eval "DEFAULT_$LINE"
7824 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7828 eval "$ac_cv_use_listbox"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_LISTBOX" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7846 # Check whether --enable-listctrl or --disable-listctrl was given.
7847 if test "${enable_listctrl+set}" = set; then
7848 enableval
="$enable_listctrl"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7853 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7858 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7869 eval "$ac_cv_use_listctrl"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_LISTCTRL" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7887 # Check whether --enable-notebook or --disable-notebook was given.
7888 if test "${enable_notebook+set}" = set; then
7889 enableval
="$enable_notebook"
7891 if test "$enableval" = yes; then
7892 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7894 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7899 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x
; then
7901 eval "DEFAULT_$LINE"
7906 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7910 eval "$ac_cv_use_notebook"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_NOTEBOOK" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7928 # Check whether --enable-radiobox or --disable-radiobox was given.
7929 if test "${enable_radiobox+set}" = set; then
7930 enableval
="$enable_radiobox"
7932 if test "$enableval" = yes; then
7933 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7935 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7940 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x
; then
7942 eval "DEFAULT_$LINE"
7947 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7951 eval "$ac_cv_use_radiobox"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_RADIOBOX" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7969 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7970 if test "${enable_radiobtn+set}" = set; then
7971 enableval
="$enable_radiobtn"
7973 if test "$enableval" = yes; then
7974 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7976 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7981 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x
; then
7983 eval "DEFAULT_$LINE"
7988 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7992 eval "$ac_cv_use_radiobtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_RADIOBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8010 # Check whether --enable-sash or --disable-sash was given.
8011 if test "${enable_sash+set}" = set; then
8012 enableval
="$enable_sash"
8014 if test "$enableval" = yes; then
8015 ac_cv_use_sash
='wxUSE_SASH=yes'
8017 ac_cv_use_sash
='wxUSE_SASH=no'
8022 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x
; then
8024 eval "DEFAULT_$LINE"
8029 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8033 eval "$ac_cv_use_sash"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_SASH" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8051 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8052 if test "${enable_scrollbar+set}" = set; then
8053 enableval
="$enable_scrollbar"
8055 if test "$enableval" = yes; then
8056 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8058 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8063 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x
; then
8065 eval "DEFAULT_$LINE"
8070 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8074 eval "$ac_cv_use_scrollbar"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8079 if test "$wxUSE_SCROLLBAR" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8092 # Check whether --enable-slider or --disable-slider was given.
8093 if test "${enable_slider+set}" = set; then
8094 enableval
="$enable_slider"
8096 if test "$enableval" = yes; then
8097 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8099 ac_cv_use_slider
='wxUSE_SLIDER=no'
8104 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x
; then
8106 eval "DEFAULT_$LINE"
8111 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8115 eval "$ac_cv_use_slider"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8120 if test "$wxUSE_SLIDER" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8133 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8134 if test "${enable_spinbtn+set}" = set; then
8135 enableval
="$enable_spinbtn"
8137 if test "$enableval" = yes; then
8138 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8140 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8145 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x
; then
8147 eval "DEFAULT_$LINE"
8152 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8156 eval "$ac_cv_use_spinbtn"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_SPINBTN" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8174 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8175 if test "${enable_spinctrl+set}" = set; then
8176 enableval
="$enable_spinctrl"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8181 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8186 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x
; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8197 eval "$ac_cv_use_spinctrl"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_SPINCTRL" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8215 # Check whether --enable-splitter or --disable-splitter was given.
8216 if test "${enable_splitter+set}" = set; then
8217 enableval
="$enable_splitter"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8222 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8227 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x
; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8238 eval "$ac_cv_use_splitter"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_SPLITTER" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8256 # Check whether --enable-statbmp or --disable-statbmp was given.
8257 if test "${enable_statbmp+set}" = set; then
8258 enableval
="$enable_statbmp"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8263 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8268 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8279 eval "$ac_cv_use_statbmp"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_STATBMP" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8297 # Check whether --enable-statbox or --disable-statbox was given.
8298 if test "${enable_statbox+set}" = set; then
8299 enableval
="$enable_statbox"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8304 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8309 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8320 eval "$ac_cv_use_statbox"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_STATBOX" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8338 # Check whether --enable-statline or --disable-statline was given.
8339 if test "${enable_statline+set}" = set; then
8340 enableval
="$enable_statline"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8345 ac_cv_use_statline
='wxUSE_STATLINE=no'
8350 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8361 eval "$ac_cv_use_statline"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_STATLINE" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8379 # Check whether --enable-stattext or --disable-stattext was given.
8380 if test "${enable_stattext+set}" = set; then
8381 enableval
="$enable_stattext"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8386 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8391 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8402 eval "$ac_cv_use_stattext"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_STATTEXT" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8420 # Check whether --enable-statusbar or --disable-statusbar was given.
8421 if test "${enable_statusbar+set}" = set; then
8422 enableval
="$enable_statusbar"
8424 if test "$enableval" = yes; then
8425 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8427 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8432 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x
; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8443 eval "$ac_cv_use_statusbar"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8448 if test "$wxUSE_STATUSBAR" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8461 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8462 if test "${enable_tabdialog+set}" = set; then
8463 enableval
="$enable_tabdialog"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8468 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8473 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x
; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8484 eval "$ac_cv_use_tabdialog"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8489 if test "$wxUSE_TABDIALOG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8502 # Check whether --enable-textctrl or --disable-textctrl was given.
8503 if test "${enable_textctrl+set}" = set; then
8504 enableval
="$enable_textctrl"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8509 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8514 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8525 eval "$ac_cv_use_textctrl"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_TEXTCTRL" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8543 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8544 if test "${enable_togglebtn+set}" = set; then
8545 enableval
="$enable_togglebtn"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8550 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8555 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8566 eval "$ac_cv_use_togglebtn"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_TOGGLEBTN" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8584 # Check whether --enable-toolbar or --disable-toolbar was given.
8585 if test "${enable_toolbar+set}" = set; then
8586 enableval
="$enable_toolbar"
8588 if test "$enableval" = yes; then
8589 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8591 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8596 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x
; then
8598 eval "DEFAULT_$LINE"
8603 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8607 eval "$ac_cv_use_toolbar"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_TOOLBAR" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8625 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8626 if test "${enable_tbarnative+set}" = set; then
8627 enableval
="$enable_tbarnative"
8629 if test "$enableval" = yes; then
8630 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8632 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8637 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x
; then
8639 eval "DEFAULT_$LINE"
8644 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8648 eval "$ac_cv_use_tbarnative"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8653 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8666 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8667 if test "${enable_tbarsmpl+set}" = set; then
8668 enableval
="$enable_tbarsmpl"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8673 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8678 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8689 eval "$ac_cv_use_tbarsmpl"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8707 # Check whether --enable-treectrl or --disable-treectrl was given.
8708 if test "${enable_treectrl+set}" = set; then
8709 enableval
="$enable_treectrl"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8714 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8719 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x
; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8730 eval "$ac_cv_use_treectrl"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_TREECTRL" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8748 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8749 if test "${enable_tipwindow+set}" = set; then
8750 enableval
="$enable_tipwindow"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8755 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8760 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x
; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8771 eval "$ac_cv_use_tipwindow"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_TIPWINDOW" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8789 # Check whether --enable-popupwin or --disable-popupwin was given.
8790 if test "${enable_popupwin+set}" = set; then
8791 enableval
="$enable_popupwin"
8793 if test "$enableval" = yes; then
8794 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8796 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8801 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x
; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8812 eval "$ac_cv_use_popupwin"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8817 if test "$wxUSE_POPUPWIN" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8832 # Check whether --enable-commondlg or --disable-commondlg was given.
8833 if test "${enable_commondlg+set}" = set; then
8834 enableval
="$enable_commondlg"
8836 if test "$enableval" = yes; then
8837 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8839 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8844 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x
; then
8846 eval "DEFAULT_$LINE"
8851 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8855 eval "$ac_cv_use_commondlg"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8860 if test "$wxUSE_COMMONDLGS" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8873 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8874 if test "${enable_choicedlg+set}" = set; then
8875 enableval
="$enable_choicedlg"
8877 if test "$enableval" = yes; then
8878 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8880 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8885 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x
; then
8887 eval "DEFAULT_$LINE"
8892 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8896 eval "$ac_cv_use_choicedlg"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8901 if test "$wxUSE_CHOICEDLG" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8914 # Check whether --enable-coldlg or --disable-coldlg was given.
8915 if test "${enable_coldlg+set}" = set; then
8916 enableval
="$enable_coldlg"
8918 if test "$enableval" = yes; then
8919 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8921 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8926 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x
; then
8928 eval "DEFAULT_$LINE"
8933 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8937 eval "$ac_cv_use_coldlg"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8942 if test "$wxUSE_COLOURDLG" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8955 # Check whether --enable-filedlg or --disable-filedlg was given.
8956 if test "${enable_filedlg+set}" = set; then
8957 enableval
="$enable_filedlg"
8959 if test "$enableval" = yes; then
8960 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8962 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8967 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x
; then
8969 eval "DEFAULT_$LINE"
8974 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8978 eval "$ac_cv_use_filedlg"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8983 if test "$wxUSE_FILEDLG" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8996 # Check whether --enable-finddlg or --disable-finddlg was given.
8997 if test "${enable_finddlg+set}" = set; then
8998 enableval
="$enable_finddlg"
9000 if test "$enableval" = yes; then
9001 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9003 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9008 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x
; then
9010 eval "DEFAULT_$LINE"
9015 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9019 eval "$ac_cv_use_finddlg"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9024 if test "$wxUSE_FINDREPLDLG" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9037 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9038 if test "${enable_fontdlg+set}" = set; then
9039 enableval
="$enable_fontdlg"
9041 if test "$enableval" = yes; then
9042 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9044 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9049 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x
; then
9051 eval "DEFAULT_$LINE"
9056 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9060 eval "$ac_cv_use_fontdlg"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9065 if test "$wxUSE_FONTDLG" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9078 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9079 if test "${enable_dirdlg+set}" = set; then
9080 enableval
="$enable_dirdlg"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9085 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9090 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x
; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9101 eval "$ac_cv_use_dirdlg"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_DIRDLG" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9119 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9120 if test "${enable_msgdlg+set}" = set; then
9121 enableval
="$enable_msgdlg"
9123 if test "$enableval" = yes; then
9124 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9126 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9131 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x
; then
9133 eval "DEFAULT_$LINE"
9138 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9142 eval "$ac_cv_use_msgdlg"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9147 if test "$wxUSE_MSGDLG" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9160 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9161 if test "${enable_numberdlg+set}" = set; then
9162 enableval
="$enable_numberdlg"
9164 if test "$enableval" = yes; then
9165 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9167 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9172 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x
; then
9174 eval "DEFAULT_$LINE"
9179 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9183 eval "$ac_cv_use_numberdlg"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9188 if test "$wxUSE_NUMBERDLG" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9201 # Check whether --enable-splash or --disable-splash was given.
9202 if test "${enable_splash+set}" = set; then
9203 enableval
="$enable_splash"
9205 if test "$enableval" = yes; then
9206 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9208 ac_cv_use_splash
='wxUSE_SPLASH=no'
9213 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x
; then
9215 eval "DEFAULT_$LINE"
9220 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9224 eval "$ac_cv_use_splash"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9229 if test "$wxUSE_SPLASH" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6
9233 echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9242 # Check whether --enable-textdlg or --disable-textdlg was given.
9243 if test "${enable_textdlg+set}" = set; then
9244 enableval
="$enable_textdlg"
9246 if test "$enableval" = yes; then
9247 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9249 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9254 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x
; then
9256 eval "DEFAULT_$LINE"
9261 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9265 eval "$ac_cv_use_textdlg"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9270 if test "$wxUSE_TEXTDLG" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9283 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9284 if test "${enable_tipdlg+set}" = set; then
9285 enableval
="$enable_tipdlg"
9287 if test "$enableval" = yes; then
9288 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9290 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9295 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x
; then
9297 eval "DEFAULT_$LINE"
9302 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9306 eval "$ac_cv_use_tipdlg"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9311 if test "$wxUSE_STARTUP_TIPS" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9324 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9325 if test "${enable_progressdlg+set}" = set; then
9326 enableval
="$enable_progressdlg"
9328 if test "$enableval" = yes; then
9329 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9331 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9336 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x
; then
9338 eval "DEFAULT_$LINE"
9343 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9347 eval "$ac_cv_use_progressdlg"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9352 if test "$wxUSE_PROGRESSDLG" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9365 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9366 if test "${enable_wizarddlg+set}" = set; then
9367 enableval
="$enable_wizarddlg"
9369 if test "$enableval" = yes; then
9370 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9372 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9377 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x
; then
9379 eval "DEFAULT_$LINE"
9384 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9388 eval "$ac_cv_use_wizarddlg"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9393 if test "$wxUSE_WIZARDDLG" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9408 # Check whether --enable-menus or --disable-menus was given.
9409 if test "${enable_menus+set}" = set; then
9410 enableval
="$enable_menus"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_menus
='wxUSE_MENUS=yes'
9415 ac_cv_use_menus
='wxUSE_MENUS=no'
9420 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x
; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9431 eval "$ac_cv_use_menus"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_MENUS" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9449 # Check whether --enable-miniframe or --disable-miniframe was given.
9450 if test "${enable_miniframe+set}" = set; then
9451 enableval
="$enable_miniframe"
9453 if test "$enableval" = yes; then
9454 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9456 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9461 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x
; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9472 eval "$ac_cv_use_miniframe"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9477 if test "$wxUSE_MINIFRAME" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9490 # Check whether --enable-tooltips or --disable-tooltips was given.
9491 if test "${enable_tooltips+set}" = set; then
9492 enableval
="$enable_tooltips"
9494 if test "$enableval" = yes; then
9495 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9497 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9502 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x
; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9513 eval "$ac_cv_use_tooltips"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9518 if test "$wxUSE_TOOLTIPS" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9531 # Check whether --enable-splines or --disable-splines was given.
9532 if test "${enable_splines+set}" = set; then
9533 enableval
="$enable_splines"
9535 if test "$enableval" = yes; then
9536 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9538 ac_cv_use_splines
='wxUSE_SPLINES=no'
9543 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x
; then
9545 eval "DEFAULT_$LINE"
9550 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9554 eval "$ac_cv_use_splines"
9555 if test "$no_cache" != 1; then
9556 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9559 if test "$wxUSE_SPLINES" = yes; then
9560 echo "$as_me:$LINENO: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9563 echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6
9569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9572 # Check whether --enable-validators or --disable-validators was given.
9573 if test "${enable_validators+set}" = set; then
9574 enableval
="$enable_validators"
9576 if test "$enableval" = yes; then
9577 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9579 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9584 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x
; then
9586 eval "DEFAULT_$LINE"
9591 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9595 eval "$ac_cv_use_validators"
9596 if test "$no_cache" != 1; then
9597 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9600 if test "$wxUSE_VALIDATORS" = yes; then
9601 echo "$as_me:$LINENO: result: yes" >&5
9602 echo "${ECHO_T}yes" >&6
9604 echo "$as_me:$LINENO: result: no" >&5
9605 echo "${ECHO_T}no" >&6
9610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9613 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9614 if test "${enable_busyinfo+set}" = set; then
9615 enableval
="$enable_busyinfo"
9617 if test "$enableval" = yes; then
9618 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9620 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9625 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x
; then
9627 eval "DEFAULT_$LINE"
9632 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9636 eval "$ac_cv_use_busyinfo"
9637 if test "$no_cache" != 1; then
9638 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9641 if test "$wxUSE_BUSYINFO" = yes; then
9642 echo "$as_me:$LINENO: result: yes" >&5
9643 echo "${ECHO_T}yes" >&6
9645 echo "$as_me:$LINENO: result: no" >&5
9646 echo "${ECHO_T}no" >&6
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9654 # Check whether --enable-joystick or --disable-joystick was given.
9655 if test "${enable_joystick+set}" = set; then
9656 enableval
="$enable_joystick"
9658 if test "$enableval" = yes; then
9659 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9661 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9666 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x
; then
9668 eval "DEFAULT_$LINE"
9673 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9677 eval "$ac_cv_use_joystick"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9682 if test "$wxUSE_JOYSTICK" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9695 # Check whether --enable-metafile or --disable-metafile was given.
9696 if test "${enable_metafile+set}" = set; then
9697 enableval
="$enable_metafile"
9699 if test "$enableval" = yes; then
9700 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9702 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9707 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x
; then
9709 eval "DEFAULT_$LINE"
9714 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9718 eval "$ac_cv_use_metafile"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9723 if test "$wxUSE_METAFILE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9736 # Check whether --enable-dragimage or --disable-dragimage was given.
9737 if test "${enable_dragimage+set}" = set; then
9738 enableval
="$enable_dragimage"
9740 if test "$enableval" = yes; then
9741 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9743 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9748 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x
; then
9750 eval "DEFAULT_$LINE"
9755 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9759 eval "$ac_cv_use_dragimage"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9764 if test "$wxUSE_DRAGIMAGE" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9777 # Check whether --enable-accessibility or --disable-accessibility was given.
9778 if test "${enable_accessibility+set}" = set; then
9779 enableval
="$enable_accessibility"
9781 if test "$enableval" = yes; then
9782 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9784 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9789 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x
; then
9791 eval "DEFAULT_$LINE"
9796 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9800 eval "$ac_cv_use_accessibility"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9805 if test "$wxUSE_ACCESSIBILITY" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9820 # Check whether --enable-palette or --disable-palette was given.
9821 if test "${enable_palette+set}" = set; then
9822 enableval
="$enable_palette"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9827 ac_cv_use_palette
='wxUSE_PALETTE=no'
9832 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9843 eval "$ac_cv_use_palette"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_PALETTE" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9861 # Check whether --enable-image or --disable-image was given.
9862 if test "${enable_image+set}" = set; then
9863 enableval
="$enable_image"
9865 if test "$enableval" = yes; then
9866 ac_cv_use_image
='wxUSE_IMAGE=yes'
9868 ac_cv_use_image
='wxUSE_IMAGE=no'
9873 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x
; then
9875 eval "DEFAULT_$LINE"
9880 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9884 eval "$ac_cv_use_image"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9889 if test "$wxUSE_IMAGE" = yes; then
9890 echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9902 # Check whether --enable-gif or --disable-gif was given.
9903 if test "${enable_gif+set}" = set; then
9904 enableval
="$enable_gif"
9906 if test "$enableval" = yes; then
9907 ac_cv_use_gif
='wxUSE_GIF=yes'
9909 ac_cv_use_gif
='wxUSE_GIF=no'
9914 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x
; then
9916 eval "DEFAULT_$LINE"
9921 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9925 eval "$ac_cv_use_gif"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9930 if test "$wxUSE_GIF" = yes; then
9931 echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6
9934 echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6
9940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9943 # Check whether --enable-pcx or --disable-pcx was given.
9944 if test "${enable_pcx+set}" = set; then
9945 enableval
="$enable_pcx"
9947 if test "$enableval" = yes; then
9948 ac_cv_use_pcx
='wxUSE_PCX=yes'
9950 ac_cv_use_pcx
='wxUSE_PCX=no'
9955 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x
; then
9957 eval "DEFAULT_$LINE"
9962 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9966 eval "$ac_cv_use_pcx"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9971 if test "$wxUSE_PCX" = yes; then
9972 echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9984 # Check whether --enable-iff or --disable-iff was given.
9985 if test "${enable_iff+set}" = set; then
9986 enableval
="$enable_iff"
9988 if test "$enableval" = yes; then
9989 ac_cv_use_iff
='wxUSE_IFF=yes'
9991 ac_cv_use_iff
='wxUSE_IFF=no'
9996 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x
; then
9998 eval "DEFAULT_$LINE"
10003 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10007 eval "$ac_cv_use_iff"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10012 if test "$wxUSE_IFF" = yes; then
10013 echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10025 # Check whether --enable-pnm or --disable-pnm was given.
10026 if test "${enable_pnm+set}" = set; then
10027 enableval
="$enable_pnm"
10029 if test "$enableval" = yes; then
10030 ac_cv_use_pnm
='wxUSE_PNM=yes'
10032 ac_cv_use_pnm
='wxUSE_PNM=no'
10037 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x
; then
10039 eval "DEFAULT_$LINE"
10044 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10048 eval "$ac_cv_use_pnm"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10053 if test "$wxUSE_PNM" = yes; then
10054 echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6
10057 echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6
10063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10066 # Check whether --enable-xpm or --disable-xpm was given.
10067 if test "${enable_xpm+set}" = set; then
10068 enableval
="$enable_xpm"
10070 if test "$enableval" = yes; then
10071 ac_cv_use_xpm
='wxUSE_XPM=yes'
10073 ac_cv_use_xpm
='wxUSE_XPM=no'
10078 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x
; then
10080 eval "DEFAULT_$LINE"
10085 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10089 eval "$ac_cv_use_xpm"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10094 if test "$wxUSE_XPM" = yes; then
10095 echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6
10098 echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6
10104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10107 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10108 if test "${enable_ico_cur+set}" = set; then
10109 enableval
="$enable_ico_cur"
10111 if test "$enableval" = yes; then
10112 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10114 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10119 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x
; then
10121 eval "DEFAULT_$LINE"
10126 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10130 eval "$ac_cv_use_ico_cur"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10135 if test "$wxUSE_ICO_CUR" = yes; then
10136 echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6
10139 echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6
10148 # Check whether --with-flavour or --without-flavour was given.
10149 if test "${with_flavour+set}" = set; then
10150 withval
="$with_flavour"
10151 WX_FLAVOUR
="$withval"
10157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10160 # Check whether --enable-official_build or --disable-official_build was given.
10161 if test "${enable_official_build+set}" = set; then
10162 enableval
="$enable_official_build"
10164 if test "$enableval" = yes; then
10165 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10167 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10172 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10173 if test "x$LINE" != x
; then
10174 eval "DEFAULT_$LINE"
10179 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10183 eval "$ac_cv_use_official_build"
10184 if test "$no_cache" != 1; then
10185 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10188 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10189 echo "$as_me:$LINENO: result: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10192 echo "$as_me:$LINENO: result: no" >&5
10193 echo "${ECHO_T}no" >&6
10196 # Check whether --enable-vendor or --disable-vendor was given.
10197 if test "${enable_vendor+set}" = set; then
10198 enableval
="$enable_vendor"
10199 VENDOR
="$enableval"
10201 if test "x$VENDOR" = "x"; then
10208 echo "saving argument cache $wx_arg_cache_file"
10209 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10213 echo "$as_me:$LINENO: checking for toolkit" >&5
10214 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10216 # In Wine, we need to default to MSW, not GTK or MOTIF
10217 if test "$wxUSE_WINE" = "yes"; then
10218 DEFAULT_DEFAULT_wxUSE_GTK
=0
10219 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10220 DEFAULT_DEFAULT_wxUSE_MSW
=1
10224 if test "$wxUSE_GUI" = "yes"; then
10226 if test "$USE_BEOS" = 1; then
10227 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10228 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10229 { (exit 1); exit 1; }; }
10232 if test "$TOOLKIT_GIVEN" = 1; then
10233 for toolkit
in `echo $ALL_TOOLKITS`; do
10235 eval "value=\$${var}"
10236 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10239 for toolkit
in `echo $ALL_TOOLKITS`; do
10240 if test "$has_toolkit_in_cache" != 1; then
10241 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10243 var
=DEFAULT_wxUSE_
$toolkit
10245 eval "wxUSE_$toolkit=\$${var}"
10249 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10250 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10251 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10254 *-pc-os2_emx | *-pc-os2-emx )
10255 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10258 case "$NUM_TOOLKITS" in
10262 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10263 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10264 { (exit 1); exit 1; }; }
10267 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10268 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10269 { (exit 1); exit 1; }; }
10272 for toolkit
in `echo $ALL_TOOLKITS`; do
10274 eval "value=\$${var}"
10275 if test "x$value" != x
; then
10276 cache_var
=CACHE_
$toolkit
10277 eval "cache=\$${cache_var}"
10278 if test "$cache" = 1; then
10279 echo "$var=$value" >> ${wx_arg_cache_file}
10281 if test "$value" = 1; then
10282 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10283 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10284 echo "${ECHO_T}$toolkit_echo" >&6
10289 if test "x$host_alias" != "x"; then
10290 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10291 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10293 echo "$as_me:$LINENO: result: base only" >&5
10294 echo "${ECHO_T}base only" >&6
10299 doesnt_want_win32
=0
10302 if test "$wxUSE_MSW" = 1 ; then
10305 doesnt_want_win32
=1
10313 if test "$wxUSE_WINE" = "yes"; then
10318 LDFLAGS_GUI
="-mwindows"
10321 if test "$wants_win32" = 1 ; then
10324 cat >>confdefs.h
<<\_ACEOF
10325 #define __WIN32__ 1
10328 cat >>confdefs.h
<<\_ACEOF
10329 #define __WIN95__ 1
10332 cat >>confdefs.h
<<\_ACEOF
10333 #define __WINDOWS__ 1
10336 cat >>confdefs.h
<<\_ACEOF
10337 #define __GNUWIN32__ 1
10340 cat >>confdefs.h
<<\_ACEOF
10344 cat >>confdefs.h
<<\_ACEOF
10345 #define WINVER 0x0400
10349 if test "$doesnt_want_win32" = 1 ; then
10354 if test "$USE_UNIX" = 1 ; then
10356 cat >>confdefs.h
<<\_ACEOF
10363 cat >confcache
<<\_ACEOF
10364 # This file is a shell script that caches the results of configure
10365 # tests run on this system so they can be shared between configure
10366 # scripts and configure runs, see configure's option --config-cache.
10367 # It is not useful on other systems. If it contains results you don't
10368 # want to keep, you may remove or edit it.
10370 # config.status only pays attention to the cache file if you give it
10371 # the --recheck option to rerun configure.
10373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10375 # following values.
10379 # The following way of writing the cache mishandles newlines in values,
10380 # but we know of no workaround that is simple, portable, and efficient.
10381 # So, don't put newlines in cache variables' values.
10382 # Ultrix sh set writes to stderr and can't be redirected directly,
10383 # and sets the high bit in the cache file unless we assign to the vars.
10386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10388 # `set' does not quote correctly, so add quotes (double-quote
10389 # substitution turns \\\\ into \\, and sed turns \\ into \).
10392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10395 # `set' quotes correctly as required by POSIX, so do not add quotes.
10397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10408 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10409 if test -w $cache_file; then
10410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10411 cat confcache
>$cache_file
10413 echo "not updating unwritable cache $cache_file"
10418 if test "$build" != "$host" ; then
10419 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10421 CXX
=$host_alias-c++
10423 RANLIB
=$host_alias-ranlib
10424 DLLTOOL
=$host_alias-dlltool
10425 RESCOMP
=$host_alias-windres
10426 STRIP
=$host_alias-strip
10427 elif test "x$CC" '!=' "x"; then
10428 echo "You set CC, I assume you know what you are doing."
10430 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10431 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10432 { (exit 1); exit 1; }; }
10438 ac_cpp
='$CPP $CPPFLAGS'
10439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10442 if test -n "$ac_tool_prefix"; then
10443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10444 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 if test -n "$CC"; then
10451 ac_cv_prog_CC
="$CC" # Let the user override the test.
10453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10454 for as_dir
in $PATH
10457 test -z "$as_dir" && as_dir
=.
10458 for ac_exec_ext
in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 if test -n "$CC"; then
10471 echo "$as_me:$LINENO: result: $CC" >&5
10472 echo "${ECHO_T}$CC" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10479 if test -z "$ac_cv_prog_CC"; then
10481 # Extract the first word of "gcc", so it can be a program name with args.
10482 set dummy gcc
; ac_word
=$2
10483 echo "$as_me:$LINENO: checking for $ac_word" >&5
10484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 if test -n "$ac_ct_CC"; then
10489 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10492 for as_dir
in $PATH
10495 test -z "$as_dir" && as_dir
=.
10496 for ac_exec_ext
in '' $ac_executable_extensions; do
10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10498 ac_cv_prog_ac_ct_CC
="gcc"
10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10507 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10508 if test -n "$ac_ct_CC"; then
10509 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10510 echo "${ECHO_T}$ac_ct_CC" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 CC
="$ac_cv_prog_CC"
10521 if test -z "$CC"; then
10522 if test -n "$ac_tool_prefix"; then
10523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10524 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10525 echo "$as_me:$LINENO: checking for $ac_word" >&5
10526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10527 if test "${ac_cv_prog_CC+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 if test -n "$CC"; then
10531 ac_cv_prog_CC
="$CC" # Let the user override the test.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10540 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10550 if test -n "$CC"; then
10551 echo "$as_me:$LINENO: result: $CC" >&5
10552 echo "${ECHO_T}$CC" >&6
10554 echo "$as_me:$LINENO: result: no" >&5
10555 echo "${ECHO_T}no" >&6
10559 if test -z "$ac_cv_prog_CC"; then
10561 # Extract the first word of "cc", so it can be a program name with args.
10562 set dummy cc
; ac_word
=$2
10563 echo "$as_me:$LINENO: checking for $ac_word" >&5
10564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 if test -n "$ac_ct_CC"; then
10569 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_ac_ct_CC
="cc"
10579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10588 if test -n "$ac_ct_CC"; then
10589 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10590 echo "${ECHO_T}$ac_ct_CC" >&6
10592 echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6
10598 CC
="$ac_cv_prog_CC"
10602 if test -z "$CC"; then
10603 # Extract the first word of "cc", so it can be a program name with args.
10604 set dummy cc
; ac_word
=$2
10605 echo "$as_me:$LINENO: checking for $ac_word" >&5
10606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10607 if test "${ac_cv_prog_CC+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 if test -n "$CC"; then
10611 ac_cv_prog_CC
="$CC" # Let the user override the test.
10613 ac_prog_rejected
=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10622 ac_prog_rejected
=yes
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 if test $ac_prog_rejected = yes; then
10633 # We found a bogon in the path, so make sure we never use it.
10634 set dummy
$ac_cv_prog_CC
10636 if test $# != 0; then
10637 # We chose a different compiler from the bogus one.
10638 # However, it has the same basename, so the bogon will be chosen
10639 # first if we set CC to just the basename; use the full file name.
10641 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10656 if test -z "$CC"; then
10657 if test -n "$ac_tool_prefix"; then
10660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10661 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10662 echo "$as_me:$LINENO: checking for $ac_word" >&5
10663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10664 if test "${ac_cv_prog_CC+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 if test -n "$CC"; then
10668 ac_cv_prog_CC
="$CC" # Let the user override the test.
10670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10671 for as_dir
in $PATH
10674 test -z "$as_dir" && as_dir
=.
10675 for ac_exec_ext
in '' $ac_executable_extensions; do
10676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10687 if test -n "$CC"; then
10688 echo "$as_me:$LINENO: result: $CC" >&5
10689 echo "${ECHO_T}$CC" >&6
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10695 test -n "$CC" && break
10698 if test -z "$CC"; then
10702 # Extract the first word of "$ac_prog", so it can be a program name with args.
10703 set dummy
$ac_prog; ac_word
=$2
10704 echo "$as_me:$LINENO: checking for $ac_word" >&5
10705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 if test -n "$ac_ct_CC"; then
10710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10713 for as_dir
in $PATH
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_ac_ct_CC
="$ac_prog"
10720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10729 if test -n "$ac_ct_CC"; then
10730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10731 echo "${ECHO_T}$ac_ct_CC" >&6
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10737 test -n "$ac_ct_CC" && break
10746 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10747 See \`config.log' for more details." >&5
10748 echo "$as_me: error: no acceptable C compiler found in \$PATH
10749 See \`config.log' for more details." >&2;}
10750 { (exit 1); exit 1; }; }
10752 # Provide some information about the compiler.
10753 echo "$as_me:$LINENO:" \
10754 "checking for C compiler version" >&5
10755 ac_compiler
=`set X $ac_compile; echo $2`
10756 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10757 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }
10761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10762 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }
10766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10767 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10787 ac_clean_files_save
=$ac_clean_files
10788 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10789 # Try to create an executable without -o first, disregard a.out.
10790 # It will help us diagnose broken compilers, and finding out an intuition
10792 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10793 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10794 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10795 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10796 (eval $ac_link_default) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; then
10800 # Find the output, starting from the most likely. This scheme is
10801 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10804 # Be careful to initialize this variable, since it used to be cached.
10805 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10807 # b.out is created by i960 compilers.
10808 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10810 test -f "$ac_file" || continue
10812 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10815 # This is the source file.
10818 # We found the default executable, but exeext='' is most
10822 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10823 # FIXME: I believe we export ac_cv_exeext for Libtool,
10824 # but it would be cool to find out if it's true. Does anybody
10825 # maintain Libtool? --akim.
10826 export ac_cv_exeext
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10836 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: C compiler cannot create executables
10839 See \`config.log' for more details." >&2;}
10840 { (exit 77); exit 77; }; }
10843 ac_exeext
=$ac_cv_exeext
10844 echo "$as_me:$LINENO: result: $ac_file" >&5
10845 echo "${ECHO_T}$ac_file" >&6
10847 # Check the compiler produces executables we can run. If not, either
10848 # the compiler is broken, or we cross compile.
10849 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10850 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10851 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10852 # If not cross compiling, check that we can run a simple program.
10853 if test "$cross_compiling" != yes; then
10854 if { ac_try
='./$ac_file'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10862 if test "$cross_compiling" = maybe
; then
10863 cross_compiling
=yes
10865 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10866 If you meant to cross compile, use \`--host'.
10867 See \`config.log' for more details." >&5
10868 echo "$as_me: error: cannot run C compiled programs.
10869 If you meant to cross compile, use \`--host'.
10870 See \`config.log' for more details." >&2;}
10871 { (exit 1); exit 1; }; }
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10878 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10879 ac_clean_files
=$ac_clean_files_save
10880 # Check the compiler produces executables we can run. If not, either
10881 # the compiler is broken, or we cross compile.
10882 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10883 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10884 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10885 echo "${ECHO_T}$cross_compiling" >&6
10887 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10888 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10890 (eval $ac_link) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; then
10894 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10895 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10896 # work properly (i.e., refer to `conftest.exe'), while it won't with
10898 for ac_file
in conftest.exe conftest conftest.
*; do
10899 test -f "$ac_file" || continue
10901 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10902 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10903 export ac_cv_exeext
10909 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10916 rm -f conftest
$ac_cv_exeext
10917 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10918 echo "${ECHO_T}$ac_cv_exeext" >&6
10920 rm -f conftest.
$ac_ext
10921 EXEEXT
=$ac_cv_exeext
10923 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10924 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10925 if test "${ac_cv_objext+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 cat >conftest.
$ac_ext <<_ACEOF
10931 cat confdefs.h
>>conftest.
$ac_ext
10932 cat >>conftest.
$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10943 rm -f conftest.o conftest.obj
10944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10945 (eval $ac_compile) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; then
10949 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10951 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10952 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.
$ac_ext >&5
10960 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10961 See \`config.log' for more details." >&5
10962 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10963 See \`config.log' for more details." >&2;}
10964 { (exit 1); exit 1; }; }
10967 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10969 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10970 echo "${ECHO_T}$ac_cv_objext" >&6
10971 OBJEXT
=$ac_cv_objext
10973 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10974 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 cat >conftest.
$ac_ext <<_ACEOF
10981 cat confdefs.h
>>conftest.
$ac_ext
10982 cat >>conftest.
$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10996 rm -f conftest.
$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
11000 grep -v '^ *+' conftest.er1
>conftest.err
11002 cat conftest.err
>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; } &&
11011 { ac_try
='test -s conftest.$ac_objext'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; }; then
11017 ac_compiler_gnu
=yes
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.
$ac_ext >&5
11024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11025 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11030 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11031 ac_test_CFLAGS
=${CFLAGS+set}
11032 ac_save_CFLAGS
=$CFLAGS
11034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11036 if test "${ac_cv_prog_cc_g+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11054 rm -f conftest.
$ac_objext
11055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11056 (eval $ac_compile) 2>conftest.er1
11058 grep -v '^ *+' conftest.er1
>conftest.err
11060 cat conftest.err
>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try
='test -s conftest.$ac_objext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_prog_cc_g
=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11086 if test "$ac_test_CFLAGS" = set; then
11087 CFLAGS
=$ac_save_CFLAGS
11088 elif test $ac_cv_prog_cc_g = yes; then
11089 if test "$GCC" = yes; then
11095 if test "$GCC" = yes; then
11101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_cv_prog_cc_stdc
=no
11108 cat >conftest.
$ac_ext <<_ACEOF
11111 cat confdefs.h
>>conftest.
$ac_ext
11112 cat >>conftest.
$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #include <stdarg.h>
11116 #include <sys/types.h>
11117 #include <sys/stat.h>
11118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11119 struct buf { int x; };
11120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11121 static char *e (p, i)
11127 static char *f (char * (*g) (char **, int), char **p, ...)
11132 s = g (p, va_arg (v,int));
11137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11138 function prototypes and stuff, but not '\xHH' hex character constants.
11139 These don't provoke an error unfortunately, instead are silently treated
11140 as 'x'. The following induces an error, until -std1 is added to get
11141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11142 array size at least. It's necessary to write '\x00'==0 to get something
11143 that's true only with -std1. */
11144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11146 int test (int i, double x);
11147 struct s1 {int (*f) (int a);};
11148 struct s2 {int (*f) (double a);};
11149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11160 # Don't try gcc -ansi; that turns off useful extensions and
11161 # breaks some systems' header files.
11162 # AIX -qlanglvl=ansi
11163 # Ultrix and OSF/1 -std1
11164 # HP-UX 10.20 and later -Ae
11165 # HP-UX older versions -Aa -D_HPUX_SOURCE
11166 # SVR4 -Xc -D__EXTENSIONS__
11167 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11169 CC
="$ac_save_CC $ac_arg"
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try
='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_cv_prog_cc_stdc
=$ac_arg
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext
11200 rm -f conftest.
$ac_ext conftest.
$ac_objext
11205 case "x$ac_cv_prog_cc_stdc" in
11207 echo "$as_me:$LINENO: result: none needed" >&5
11208 echo "${ECHO_T}none needed" >&6 ;;
11210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11211 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11212 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11215 # Some people use a C++ compiler to compile C. Since we use `exit',
11216 # in C++ we need to declare it. In case someone uses the same compiler
11217 # for both compiling C and C++ we need to have the C++ compiler decide
11218 # the declaration of exit, since it's the most demanding environment.
11219 cat >conftest.
$ac_ext <<_ACEOF
11220 #ifndef __cplusplus
11224 rm -f conftest.
$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest.$ac_objext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 for ac_declaration
in \
11247 'extern "C" void std::exit (int) throw (); using std::exit;' \
11248 'extern "C" void std::exit (int); using std::exit;' \
11249 'extern "C" void exit (int) throw ();' \
11250 'extern "C" void exit (int);' \
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11260 #include <stdlib.h>
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11313 rm -f conftest.
$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1
>conftest.err
11319 cat conftest.err
>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try
='test -s conftest.$ac_objext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.
$ac_ext >&5
11340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11343 if test -n "$ac_declaration"; then
11344 echo '#ifdef __cplusplus' >>confdefs.h
11345 echo $ac_declaration >>confdefs.h
11346 echo '#endif' >>confdefs.h
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.
$ac_ext >&5
11354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11356 ac_cpp
='$CPP $CPPFLAGS'
11357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11364 ac_cpp
='$CPP $CPPFLAGS'
11365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11368 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11369 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11370 # On Suns, sometimes $CPP names a directory.
11371 if test -n "$CPP" && test -d "$CPP"; then
11374 if test -z "$CPP"; then
11375 if test "${ac_cv_prog_CPP+set}" = set; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 # Double quotes because CPP needs to be expanded
11379 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11381 ac_preproc_ok
=false
11382 for ac_c_preproc_warn_flag
in '' yes
11384 # Use a header file that comes with gcc, so configuring glibc
11385 # with a fresh cross-compiler works.
11386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11387 # <limits.h> exists even on freestanding compilers.
11388 # On the NeXT, cc -E runs the code through the compiler's parser,
11389 # not just through cpp. "Syntax error" is here to catch this case.
11390 cat >conftest.
$ac_ext <<_ACEOF
11393 cat confdefs.h
>>conftest.
$ac_ext
11394 cat >>conftest.
$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11397 # include <limits.h>
11399 # include <assert.h>
11403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11406 grep -v '^ *+' conftest.er1
>conftest.err
11408 cat conftest.err
>&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } >/dev
/null
; then
11411 if test -s conftest.err
; then
11412 ac_cpp_err
=$ac_c_preproc_warn_flag
11413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11420 if test -z "$ac_cpp_err"; then
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.
$ac_ext >&5
11426 # Broken: fails on valid input.
11429 rm -f conftest.err conftest.
$ac_ext
11431 # OK, works on sane cases. Now check whether non-existent headers
11432 # can be detected and how.
11433 cat >conftest.
$ac_ext <<_ACEOF
11436 cat confdefs.h
>>conftest.
$ac_ext
11437 cat >>conftest.
$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 #include <ac_nonexistent.h>
11441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11444 grep -v '^ *+' conftest.er1
>conftest.err
11446 cat conftest.err
>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } >/dev
/null
; then
11449 if test -s conftest.err
; then
11450 ac_cpp_err
=$ac_c_preproc_warn_flag
11451 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11458 if test -z "$ac_cpp_err"; then
11459 # Broken: success on invalid input.
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.
$ac_ext >&5
11465 # Passes both tests.
11469 rm -f conftest.err conftest.
$ac_ext
11472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11473 rm -f conftest.err conftest.
$ac_ext
11474 if $ac_preproc_ok; then
11479 ac_cv_prog_CPP
=$CPP
11482 CPP
=$ac_cv_prog_CPP
11484 ac_cv_prog_CPP
=$CPP
11486 echo "$as_me:$LINENO: result: $CPP" >&5
11487 echo "${ECHO_T}$CPP" >&6
11488 ac_preproc_ok
=false
11489 for ac_c_preproc_warn_flag
in '' yes
11491 # Use a header file that comes with gcc, so configuring glibc
11492 # with a fresh cross-compiler works.
11493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11494 # <limits.h> exists even on freestanding compilers.
11495 # On the NeXT, cc -E runs the code through the compiler's parser,
11496 # not just through cpp. "Syntax error" is here to catch this case.
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11504 # include <limits.h>
11506 # include <assert.h>
11510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } >/dev
/null
; then
11518 if test -s conftest.err
; then
11519 ac_cpp_err
=$ac_c_preproc_warn_flag
11520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11527 if test -z "$ac_cpp_err"; then
11530 echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.
$ac_ext >&5
11533 # Broken: fails on valid input.
11536 rm -f conftest.err conftest.
$ac_ext
11538 # OK, works on sane cases. Now check whether non-existent headers
11539 # can be detected and how.
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 #include <ac_nonexistent.h>
11548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11551 grep -v '^ *+' conftest.er1
>conftest.err
11553 cat conftest.err
>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); } >/dev
/null
; then
11556 if test -s conftest.err
; then
11557 ac_cpp_err
=$ac_c_preproc_warn_flag
11558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11565 if test -z "$ac_cpp_err"; then
11566 # Broken: success on invalid input.
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11572 # Passes both tests.
11576 rm -f conftest.err conftest.
$ac_ext
11579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11580 rm -f conftest.err conftest.
$ac_ext
11581 if $ac_preproc_ok; then
11584 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11585 See \`config.log' for more details." >&5
11586 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11587 See \`config.log' for more details." >&2;}
11588 { (exit 1); exit 1; }; }
11592 ac_cpp
='$CPP $CPPFLAGS'
11593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11598 echo "$as_me:$LINENO: checking for egrep" >&5
11599 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11600 if test "${ac_cv_prog_egrep+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11604 then ac_cv_prog_egrep
='grep -E'
11605 else ac_cv_prog_egrep
='egrep'
11608 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11609 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11610 EGREP
=$ac_cv_prog_egrep
11613 if test $ac_cv_c_compiler_gnu = yes; then
11614 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11615 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11616 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 ac_pattern
="Autoconf.*'x'"
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11630 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11631 ac_cv_prog_gcc_traditional
=yes
11633 ac_cv_prog_gcc_traditional
=no
11638 if test $ac_cv_prog_gcc_traditional = no
; then
11639 cat >conftest.
$ac_ext <<_ACEOF
11642 cat confdefs.h
>>conftest.
$ac_ext
11643 cat >>conftest.
$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 #include <termio.h>
11648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11649 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11650 ac_cv_prog_gcc_traditional
=yes
11656 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11657 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11658 if test $ac_cv_prog_gcc_traditional = yes; then
11659 CC
="$CC -traditional"
11667 ac_cpp
='$CXXCPP $CPPFLAGS'
11668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11673 CXXFLAGS
=${CXXFLAGS:=}
11675 ac_cpp
='$CXXCPP $CPPFLAGS'
11676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11679 if test -n "$ac_tool_prefix"; then
11680 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11683 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11684 echo "$as_me:$LINENO: checking for $ac_word" >&5
11685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11686 if test "${ac_cv_prog_CXX+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 if test -n "$CXX"; then
11690 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11693 for as_dir
in $PATH
11696 test -z "$as_dir" && as_dir
=.
11697 for ac_exec_ext
in '' $ac_executable_extensions; do
11698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11699 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11708 CXX
=$ac_cv_prog_CXX
11709 if test -n "$CXX"; then
11710 echo "$as_me:$LINENO: result: $CXX" >&5
11711 echo "${ECHO_T}$CXX" >&6
11713 echo "$as_me:$LINENO: result: no" >&5
11714 echo "${ECHO_T}no" >&6
11717 test -n "$CXX" && break
11720 if test -z "$CXX"; then
11722 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11724 # Extract the first word of "$ac_prog", so it can be a program name with args.
11725 set dummy
$ac_prog; ac_word
=$2
11726 echo "$as_me:$LINENO: checking for $ac_word" >&5
11727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11728 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 if test -n "$ac_ct_CXX"; then
11732 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11735 for as_dir
in $PATH
11738 test -z "$as_dir" && as_dir
=.
11739 for ac_exec_ext
in '' $ac_executable_extensions; do
11740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11741 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11751 if test -n "$ac_ct_CXX"; then
11752 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11753 echo "${ECHO_T}$ac_ct_CXX" >&6
11755 echo "$as_me:$LINENO: result: no" >&5
11756 echo "${ECHO_T}no" >&6
11759 test -n "$ac_ct_CXX" && break
11761 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11767 # Provide some information about the compiler.
11768 echo "$as_me:$LINENO:" \
11769 "checking for C++ compiler version" >&5
11770 ac_compiler
=`set X $ac_compile; echo $2`
11771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11772 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }
11776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11777 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }
11781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11782 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }
11787 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11788 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11789 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 cat >conftest.
$ac_ext <<_ACEOF
11795 cat confdefs.h
>>conftest.
$ac_ext
11796 cat >>conftest.
$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11810 rm -f conftest.
$ac_objext
11811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11812 (eval $ac_compile) 2>conftest.er1
11814 grep -v '^ *+' conftest.er1
>conftest.err
11816 cat conftest.err
>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } &&
11819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; } &&
11825 { ac_try
='test -s conftest.$ac_objext'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_compiler_gnu
=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.
$ac_ext >&5
11838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11839 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11842 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11843 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11844 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11845 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11846 ac_save_CXXFLAGS
=$CXXFLAGS
11848 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11849 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11850 if test "${ac_cv_prog_cxx_g+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 cat >conftest.
$ac_ext <<_ACEOF
11856 cat confdefs.h
>>conftest.
$ac_ext
11857 cat >>conftest.
$ac_ext <<_ACEOF
11858 /* end confdefs.h. */
11868 rm -f conftest.
$ac_objext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>conftest.er1
11872 grep -v '^ *+' conftest.er1
>conftest.err
11874 cat conftest.err
>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } &&
11877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; } &&
11883 { ac_try
='test -s conftest.$ac_objext'
11884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11885 (eval $ac_try) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); }; }; then
11889 ac_cv_prog_cxx_g
=yes
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.
$ac_ext >&5
11894 ac_cv_prog_cxx_g
=no
11896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11898 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11899 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11900 if test "$ac_test_CXXFLAGS" = set; then
11901 CXXFLAGS
=$ac_save_CXXFLAGS
11902 elif test $ac_cv_prog_cxx_g = yes; then
11903 if test "$GXX" = yes; then
11909 if test "$GXX" = yes; then
11915 for ac_declaration
in \
11917 'extern "C" void std::exit (int) throw (); using std::exit;' \
11918 'extern "C" void std::exit (int); using std::exit;' \
11919 'extern "C" void exit (int) throw ();' \
11920 'extern "C" void exit (int);' \
11923 cat >conftest.
$ac_ext <<_ACEOF
11926 cat confdefs.h
>>conftest.
$ac_ext
11927 cat >>conftest.
$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11930 #include <stdlib.h>
11939 rm -f conftest.
$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1
>conftest.err
11945 cat conftest.err
>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try
='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11968 cat >conftest.
$ac_ext <<_ACEOF
11971 cat confdefs.h
>>conftest.
$ac_ext
11972 cat >>conftest.
$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11983 rm -f conftest.
$ac_objext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11985 (eval $ac_compile) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try
='test -s conftest.$ac_objext'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; }; then
12006 echo "$as_me: failed program was:" >&5
12007 sed 's/^/| /' conftest.
$ac_ext >&5
12010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12013 if test -n "$ac_declaration"; then
12014 echo '#ifdef __cplusplus' >>confdefs.h
12015 echo $ac_declaration >>confdefs.h
12016 echo '#endif' >>confdefs.h
12020 ac_cpp
='$CXXCPP $CPPFLAGS'
12021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12027 ac_cpp
='$CPP $CPPFLAGS'
12028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12033 if test -n "$ac_tool_prefix"; then
12034 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12035 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12036 echo "$as_me:$LINENO: checking for $ac_word" >&5
12037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12038 if test "${ac_cv_prog_RANLIB+set}" = set; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 if test -n "$RANLIB"; then
12042 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12045 for as_dir
in $PATH
12048 test -z "$as_dir" && as_dir
=.
12049 for ac_exec_ext
in '' $ac_executable_extensions; do
12050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12051 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12060 RANLIB
=$ac_cv_prog_RANLIB
12061 if test -n "$RANLIB"; then
12062 echo "$as_me:$LINENO: result: $RANLIB" >&5
12063 echo "${ECHO_T}$RANLIB" >&6
12065 echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6
12070 if test -z "$ac_cv_prog_RANLIB"; then
12071 ac_ct_RANLIB
=$RANLIB
12072 # Extract the first word of "ranlib", so it can be a program name with args.
12073 set dummy ranlib
; ac_word
=$2
12074 echo "$as_me:$LINENO: checking for $ac_word" >&5
12075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12076 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 if test -n "$ac_ct_RANLIB"; then
12080 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12083 for as_dir
in $PATH
12086 test -z "$as_dir" && as_dir
=.
12087 for ac_exec_ext
in '' $ac_executable_extensions; do
12088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12099 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12100 if test -n "$ac_ct_RANLIB"; then
12101 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12102 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12104 echo "$as_me:$LINENO: result: no" >&5
12105 echo "${ECHO_T}no" >&6
12108 RANLIB
=$ac_ct_RANLIB
12110 RANLIB
="$ac_cv_prog_RANLIB"
12114 # Extract the first word of "ar", so it can be a program name with args.
12115 set dummy
ar; ac_word
=$2
12116 echo "$as_me:$LINENO: checking for $ac_word" >&5
12117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12118 if test "${ac_cv_prog_AR+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 if test -n "$AR"; then
12122 ac_cv_prog_AR
="$AR" # Let the user override the test.
12124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12125 for as_dir
in $PATH
12128 test -z "$as_dir" && as_dir
=.
12129 for ac_exec_ext
in '' $ac_executable_extensions; do
12130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12141 if test -n "$AR"; then
12142 echo "$as_me:$LINENO: result: $AR" >&5
12143 echo "${ECHO_T}$AR" >&6
12145 echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6
12149 if test "x$AR" = "x" ; then
12150 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12151 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12152 { (exit 1); exit 1; }; }
12155 # Find a good install program. We prefer a C program (faster),
12156 # so one script is as good as another. But avoid the broken or
12157 # incompatible versions:
12158 # SysV /etc/install, /usr/sbin/install
12159 # SunOS /usr/etc/install
12160 # IRIX /sbin/install
12162 # AmigaOS /C/install, which installs bootblocks on floppy discs
12163 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12164 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12165 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12166 # OS/2's system install, which has a completely different semantic
12167 # ./install, which can be erroneously created by make from ./install.sh.
12168 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12169 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12170 if test -z "$INSTALL"; then
12171 if test "${ac_cv_path_install+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12175 for as_dir
in $PATH
12178 test -z "$as_dir" && as_dir
=.
12179 # Account for people who put trailing slashes in PATH elements.
12181 .
/ | .
// | /cC
/* | \
12182 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12183 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12186 # OSF1 and SCO ODT 3.0 have their own names for install.
12187 # Don't use installbsd from OSF since it installs stuff as root
12189 for ac_prog
in ginstall scoinst
install; do
12190 for ac_exec_ext
in '' $ac_executable_extensions; do
12191 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12192 if test $ac_prog = install &&
12193 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12194 # AIX install. It has an incompatible calling convention.
12196 elif test $ac_prog = install &&
12197 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12198 # program-specific install script used by HP pwplus--don't use.
12201 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12213 if test "${ac_cv_path_install+set}" = set; then
12214 INSTALL
=$ac_cv_path_install
12216 # As a last resort, use the slow shell script. We don't cache a
12217 # path for INSTALL within a source directory, because that will
12218 # break other packages using the cache if that directory is
12219 # removed, or if the path is relative.
12220 INSTALL
=$ac_install_sh
12223 echo "$as_me:$LINENO: result: $INSTALL" >&5
12224 echo "${ECHO_T}$INSTALL" >&6
12226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12227 # It thinks the first close brace ends the variable substitution.
12228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12232 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12238 ?
:* ) # Drive letter, considered as absolute.
12241 INSTALL
=`pwd`/${INSTALL} ;;
12247 powerpc
-*-darwin* )
12248 INSTALL_PROGRAM
="cp -fp"
12249 INSTALL_DATA
="cp -fp"
12255 # Extract the first word of "strip", so it can be a program name with args.
12256 set dummy strip
; ac_word
=$2
12257 echo "$as_me:$LINENO: checking for $ac_word" >&5
12258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12259 if test "${ac_cv_prog_STRIP+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 if test -n "$STRIP"; then
12263 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12266 for as_dir
in $PATH
12269 test -z "$as_dir" && as_dir
=.
12270 for ac_exec_ext
in '' $ac_executable_extensions; do
12271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12272 ac_cv_prog_STRIP
="strip"
12273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12279 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12282 STRIP
=$ac_cv_prog_STRIP
12283 if test -n "$STRIP"; then
12284 echo "$as_me:$LINENO: result: $STRIP" >&5
12285 echo "${ECHO_T}$STRIP" >&6
12287 echo "$as_me:$LINENO: result: no" >&5
12288 echo "${ECHO_T}no" >&6
12292 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12293 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12294 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12299 egrep -s GNU
> /dev
/null
); then
12300 wx_cv_prog_makeisgnu
="yes"
12302 wx_cv_prog_makeisgnu
="no"
12306 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12307 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12309 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12317 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12318 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12319 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12320 if test "${wx_cv_prog_makevpath+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 cat - << EOF > confMake
12330 if test ! -d sub
; then
12333 echo dummy
> sub
/file
12334 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12336 rm -f sub
/file check final_file confMake
12338 if test "$RESULT" = 0; then
12339 wx_cv_prog_makevpath
="yes"
12341 wx_cv_prog_makevpath
="no"
12345 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12346 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12348 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12349 { { echo "$as_me:$LINENO: error:
12350 You need a make-utility that is able to use the variable
12352 If your version of make does not support VPATH correctly,
12353 please install GNU-make (possibly as gmake), and start
12354 configure with the following command:
12355 export MAKE=gmake; ./configure for sh-type shells
12356 setenv MAKE gmake; ./configure for csh-type shells
12357 Also please do remember to use gmake in this case every time
12358 you are trying to compile.
12360 echo "$as_me: error:
12361 You need a make-utility that is able to use the variable
12363 If your version of make does not support VPATH correctly,
12364 please install GNU-make (possibly as gmake), and start
12365 configure with the following command:
12366 export MAKE=gmake; ./configure for sh-type shells
12367 setenv MAKE gmake; ./configure for csh-type shells
12368 Also please do remember to use gmake in this case every time
12369 you are trying to compile.
12371 { (exit 1); exit 1; }; }
12373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12376 if test "$LN_S" = "ln -s"; then
12377 echo "$as_me:$LINENO: result: yes" >&5
12378 echo "${ECHO_T}yes" >&6
12380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12381 echo "${ECHO_T}no, using $LN_S" >&6
12387 *-pc-os2_emx | *-pc-os2-emx )
12388 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12389 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12390 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12391 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 ac_check_lib_save_LIBS
=$LIBS
12395 LIBS
="-lcExt $LIBS"
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12403 /* Override any gcc2 internal prototype to avoid an error. */
12407 /* We use char because int might match the return type of a gcc2
12408 builtin and then its argument prototype would still apply. */
12418 rm -f conftest.
$ac_objext conftest
$ac_exeext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try
='test -s conftest$ac_exeext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_cv_lib_cExt_drand48
=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.
$ac_ext >&5
12444 ac_cv_lib_cExt_drand48
=no
12446 rm -f conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12448 LIBS
=$ac_check_lib_save_LIBS
12450 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12451 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12452 if test $ac_cv_lib_cExt_drand48 = yes; then
12453 LIBS
="$LIBS -lcExt"
12457 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12459 echo "$as_me:$LINENO: checking for gcc version" >&5
12460 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12461 if test "${wx_cv_gccversion+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 cat >conftest.
$ac_ext <<_ACEOF
12468 cat confdefs.h
>>conftest.
$ac_ext
12469 cat >>conftest.
$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12484 rm -f conftest.
$ac_objext
12485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12486 (eval $ac_compile) 2>conftest.er1
12488 grep -v '^ *+' conftest.er1
>conftest.err
12490 cat conftest.err
>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } &&
12493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; } &&
12499 { ac_try
='test -s conftest.$ac_objext'
12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12501 (eval $ac_try) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; }; then
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12517 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12518 #error intermediate gcc
12525 rm -f conftest.
$ac_objext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12527 (eval $ac_compile) 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try
='test -s conftest.$ac_objext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12547 wx_cv_gccversion
=Innotek
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12561 echo "$as_me: failed program was:" >&5
12562 sed 's/^/| /' conftest.
$ac_ext >&5
12569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12572 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12573 echo "${ECHO_T}$wx_cv_gccversion" >&6
12574 if test "$wx_cv_gccversion" = "2"; then
12575 LIBS
="$LIBS -lstdcpp"
12576 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12578 if test "$wx_cv_gccversion" = "3"; then
12579 LIBS
="$LIBS -lstdcxx"
12580 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12582 LIBS
="$LIBS -lstdc++"
12585 if test "$wxUSE_OMF" = "yes"; then
12586 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12594 ac_cpp
='$CXXCPP $CPPFLAGS'
12595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12601 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12602 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12603 if test "${ac_cv_string_strcasecmp+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 cat >conftest.
$ac_ext <<_ACEOF
12610 cat confdefs.h
>>conftest.
$ac_ext
12611 cat >>conftest.
$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12614 #include <string.h>
12620 strcasecmp("foo", "bar");
12626 rm -f conftest.
$ac_objext conftest
$ac_exeext
12627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12628 (eval $ac_link) 2>conftest.er1
12630 grep -v '^ *+' conftest.er1
>conftest.err
12632 cat conftest.err
>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); } &&
12635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 (eval $ac_try) 2>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); }; } &&
12641 { ac_try
='test -s conftest$ac_exeext'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then
12647 ac_cv_string_strcasecmp
=yes
12649 echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.
$ac_ext >&5
12652 ac_cv_string_strcasecmp
=no
12655 rm -f conftest.err conftest.
$ac_objext \
12656 conftest
$ac_exeext conftest.
$ac_ext
12659 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12660 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12662 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12663 cat >>confdefs.h
<<\_ACEOF
12664 #define HAVE_STRCASECMP_IN_STRING_H 1
12668 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12669 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12670 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 cat >conftest.
$ac_ext <<_ACEOF
12677 cat confdefs.h
>>conftest.
$ac_ext
12678 cat >>conftest.
$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12681 #include <strings.h>
12687 strcasecmp("foo", "bar");
12693 rm -f conftest.
$ac_objext conftest
$ac_exeext
12694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12695 (eval $ac_link) 2>conftest.er1
12697 grep -v '^ *+' conftest.er1
>conftest.err
12699 cat conftest.err
>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } &&
12702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; } &&
12708 { ac_try
='test -s conftest$ac_exeext'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 ac_cv_strings_strcasecmp
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_cv_strings_strcasecmp
=no
12722 rm -f conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12726 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12727 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12729 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12730 cat >>confdefs.h
<<\_ACEOF
12731 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12735 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12736 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12737 { (exit 1); exit 1; }; }
12742 ac_cpp
='$CPP $CPPFLAGS'
12743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12751 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12752 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12753 if test "${ac_cv_header_stdc+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12762 #include <stdlib.h>
12763 #include <stdarg.h>
12764 #include <string.h>
12775 rm -f conftest.
$ac_objext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>conftest.er1
12779 grep -v '^ *+' conftest.er1
>conftest.err
12781 cat conftest.err
>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; } &&
12790 { ac_try
='test -s conftest.$ac_objext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_cv_header_stdc
=yes
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.
$ac_ext >&5
12801 ac_cv_header_stdc
=no
12803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12805 if test $ac_cv_header_stdc = yes; then
12806 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12807 cat >conftest.
$ac_ext <<_ACEOF
12810 cat confdefs.h
>>conftest.
$ac_ext
12811 cat >>conftest.
$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12813 #include <string.h>
12816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12817 $EGREP "memchr" >/dev
/null
2>&1; then
12820 ac_cv_header_stdc
=no
12826 if test $ac_cv_header_stdc = yes; then
12827 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12828 cat >conftest.
$ac_ext <<_ACEOF
12831 cat confdefs.h
>>conftest.
$ac_ext
12832 cat >>conftest.
$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 #include <stdlib.h>
12837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12838 $EGREP "free" >/dev
/null
2>&1; then
12841 ac_cv_header_stdc
=no
12847 if test $ac_cv_header_stdc = yes; then
12848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12849 if test "$cross_compiling" = yes; then
12852 cat >conftest.
$ac_ext <<_ACEOF
12855 cat confdefs.h
>>conftest.
$ac_ext
12856 cat >>conftest.
$ac_ext <<_ACEOF
12857 /* end confdefs.h. */
12859 #if ((' ' & 0x0FF) == 0x020)
12860 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12861 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12863 # define ISLOWER(c) \
12864 (('a' <= (c) && (c) <= 'i') \
12865 || ('j' <= (c) && (c) <= 'r') \
12866 || ('s' <= (c) && (c) <= 'z'))
12867 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12870 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12875 for (i = 0; i < 256; i++)
12876 if (XOR (islower (i), ISLOWER (i))
12877 || toupper (i) != TOUPPER (i))
12882 rm -f conftest
$ac_exeext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12884 (eval $ac_link) 2>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; }; then
12895 echo "$as_me: program exited with status $ac_status" >&5
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.
$ac_ext >&5
12899 ( exit $ac_status )
12900 ac_cv_header_stdc
=no
12902 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12906 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12907 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12908 if test $ac_cv_header_stdc = yes; then
12910 cat >>confdefs.h
<<\_ACEOF
12911 #define STDC_HEADERS 1
12916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12926 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12927 inttypes.h stdint.h unistd.h
12929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12930 echo "$as_me:$LINENO: checking for $ac_header" >&5
12931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12933 echo $ECHO_N "(cached) $ECHO_C" >&6
12935 cat >conftest.
$ac_ext <<_ACEOF
12938 cat confdefs.h
>>conftest.
$ac_ext
12939 cat >>conftest.
$ac_ext <<_ACEOF
12940 /* end confdefs.h. */
12941 $ac_includes_default
12943 #include <$ac_header>
12945 rm -f conftest.
$ac_objext
12946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12947 (eval $ac_compile) 2>conftest.er1
12949 grep -v '^ *+' conftest.er1
>conftest.err
12951 cat conftest.err
>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; } &&
12960 { ac_try
='test -s conftest.$ac_objext'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12966 eval "$as_ac_Header=yes"
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.
$ac_ext >&5
12971 eval "$as_ac_Header=no"
12973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12978 cat >>confdefs.h
<<_ACEOF
12979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12988 for ac_header
in stdlib.h
12990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12992 echo "$as_me:$LINENO: checking for $ac_header" >&5
12993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000 # Is the header compilable?
13001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13003 cat >conftest.
$ac_ext <<_ACEOF
13006 cat confdefs.h
>>conftest.
$ac_ext
13007 cat >>conftest.
$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 $ac_includes_default
13010 #include <$ac_header>
13012 rm -f conftest.
$ac_objext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13014 (eval $ac_compile) 2>conftest.er1
13016 grep -v '^ *+' conftest.er1
>conftest.err
13018 cat conftest.err
>&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } &&
13021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; } &&
13027 { ac_try
='test -s conftest.$ac_objext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_header_compiler
=yes
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.
$ac_ext >&5
13038 ac_header_compiler
=no
13040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13042 echo "${ECHO_T}$ac_header_compiler" >&6
13044 # Is the header present?
13045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13047 cat >conftest.
$ac_ext <<_ACEOF
13050 cat confdefs.h
>>conftest.
$ac_ext
13051 cat >>conftest.
$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13053 #include <$ac_header>
13055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13058 grep -v '^ *+' conftest.er1
>conftest.err
13060 cat conftest.err
>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } >/dev
/null
; then
13063 if test -s conftest.err
; then
13064 ac_cpp_err
=$ac_c_preproc_warn_flag
13065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13072 if test -z "$ac_cpp_err"; then
13073 ac_header_preproc
=yes
13075 echo "$as_me: failed program was:" >&5
13076 sed 's/^/| /' conftest.
$ac_ext >&5
13078 ac_header_preproc
=no
13080 rm -f conftest.err conftest.
$ac_ext
13081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13082 echo "${ECHO_T}$ac_header_preproc" >&6
13084 # So? What about this header?
13085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13091 ac_header_preproc
=yes
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13108 ## ----------------------------------------- ##
13109 ## Report this to wx-dev@lists.wxwidgets.org ##
13110 ## ----------------------------------------- ##
13113 sed "s/^/$as_me: WARNING: /" >&2
13116 echo "$as_me:$LINENO: checking for $ac_header" >&5
13117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 eval "$as_ac_Header=\$ac_header_preproc"
13123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13128 cat >>confdefs.h
<<_ACEOF
13129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13137 for ac_header
in malloc.h
13139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13141 echo "$as_me:$LINENO: checking for $ac_header" >&5
13142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13149 # Is the header compilable?
13150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13152 cat >conftest.
$ac_ext <<_ACEOF
13155 cat confdefs.h
>>conftest.
$ac_ext
13156 cat >>conftest.
$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 $ac_includes_default
13159 #include <$ac_header>
13161 rm -f conftest.
$ac_objext
13162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13163 (eval $ac_compile) 2>conftest.er1
13165 grep -v '^ *+' conftest.er1
>conftest.err
13167 cat conftest.err
>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } &&
13170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; } &&
13176 { ac_try
='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler
=yes
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 ac_header_compiler
=no
13189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191 echo "${ECHO_T}$ac_header_compiler" >&6
13193 # Is the header present?
13194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196 cat >conftest.
$ac_ext <<_ACEOF
13199 cat confdefs.h
>>conftest.
$ac_ext
13200 cat >>conftest.
$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13202 #include <$ac_header>
13204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1
>conftest.err
13209 cat conftest.err
>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } >/dev
/null
; then
13212 if test -s conftest.err
; then
13213 ac_cpp_err
=$ac_c_preproc_warn_flag
13214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13221 if test -z "$ac_cpp_err"; then
13222 ac_header_preproc
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 ac_header_preproc
=no
13229 rm -f conftest.err conftest.
$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231 echo "${ECHO_T}$ac_header_preproc" >&6
13233 # So? What about this header?
13234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13240 ac_header_preproc
=yes
13243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13257 ## ----------------------------------------- ##
13258 ## Report this to wx-dev@lists.wxwidgets.org ##
13259 ## ----------------------------------------- ##
13262 sed "s/^/$as_me: WARNING: /" >&2
13265 echo "$as_me:$LINENO: checking for $ac_header" >&5
13266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 eval "$as_ac_Header=\$ac_header_preproc"
13272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13277 cat >>confdefs.h
<<_ACEOF
13278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13286 for ac_header
in unistd.h
13288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13298 # Is the header compilable?
13299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13308 #include <$ac_header>
13310 rm -f conftest.
$ac_objext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312 (eval $ac_compile) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; } &&
13325 { ac_try
='test -s conftest.$ac_objext'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; }; then
13331 ac_header_compiler
=yes
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.
$ac_ext >&5
13336 ac_header_compiler
=no
13338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13340 echo "${ECHO_T}$ac_header_compiler" >&6
13342 # Is the header present?
13343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13345 cat >conftest.
$ac_ext <<_ACEOF
13348 cat confdefs.h
>>conftest.
$ac_ext
13349 cat >>conftest.
$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #include <$ac_header>
13353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13356 grep -v '^ *+' conftest.er1
>conftest.err
13358 cat conftest.err
>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } >/dev
/null
; then
13361 if test -s conftest.err
; then
13362 ac_cpp_err
=$ac_c_preproc_warn_flag
13363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13370 if test -z "$ac_cpp_err"; then
13371 ac_header_preproc
=yes
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.
$ac_ext >&5
13376 ac_header_preproc
=no
13378 rm -f conftest.err conftest.
$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13380 echo "${ECHO_T}$ac_header_preproc" >&6
13382 # So? What about this header?
13383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13389 ac_header_preproc
=yes
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13406 ## ----------------------------------------- ##
13407 ## Report this to wx-dev@lists.wxwidgets.org ##
13408 ## ----------------------------------------- ##
13411 sed "s/^/$as_me: WARNING: /" >&2
13414 echo "$as_me:$LINENO: checking for $ac_header" >&5
13415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13417 echo $ECHO_N "(cached) $ECHO_C" >&6
13419 eval "$as_ac_Header=\$ac_header_preproc"
13421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13426 cat >>confdefs.h
<<_ACEOF
13427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13435 for ac_header
in wchar.h
13437 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13439 echo "$as_me:$LINENO: checking for $ac_header" >&5
13440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13442 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13447 # Is the header compilable?
13448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13450 cat >conftest.
$ac_ext <<_ACEOF
13453 cat confdefs.h
>>conftest.
$ac_ext
13454 cat >>conftest.
$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 $ac_includes_default
13457 #include <$ac_header>
13459 rm -f conftest.
$ac_objext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13461 (eval $ac_compile) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try
='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 ac_header_compiler
=yes
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_header_compiler
=no
13487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13489 echo "${ECHO_T}$ac_header_compiler" >&6
13491 # Is the header present?
13492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13494 cat >conftest.
$ac_ext <<_ACEOF
13497 cat confdefs.h
>>conftest.
$ac_ext
13498 cat >>conftest.
$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13500 #include <$ac_header>
13502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1
>conftest.err
13507 cat conftest.err
>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } >/dev
/null
; then
13510 if test -s conftest.err
; then
13511 ac_cpp_err
=$ac_c_preproc_warn_flag
13512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13519 if test -z "$ac_cpp_err"; then
13520 ac_header_preproc
=yes
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.
$ac_ext >&5
13525 ac_header_preproc
=no
13527 rm -f conftest.err conftest.
$ac_ext
13528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13529 echo "${ECHO_T}$ac_header_preproc" >&6
13531 # So? What about this header?
13532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13538 ac_header_preproc
=yes
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13555 ## ----------------------------------------- ##
13556 ## Report this to wx-dev@lists.wxwidgets.org ##
13557 ## ----------------------------------------- ##
13560 sed "s/^/$as_me: WARNING: /" >&2
13563 echo "$as_me:$LINENO: checking for $ac_header" >&5
13564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 eval "$as_ac_Header=\$ac_header_preproc"
13570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13575 cat >>confdefs.h
<<_ACEOF
13576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13584 if test "$ac_cv_header_wchar_h" != "yes"; then
13586 for ac_header
in wcstr.h
13588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13590 echo "$as_me:$LINENO: checking for $ac_header" >&5
13591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13598 # Is the header compilable?
13599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 $ac_includes_default
13608 #include <$ac_header>
13610 rm -f conftest.
$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>conftest.er1
13614 grep -v '^ *+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } &&
13619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; } &&
13625 { ac_try
='test -s conftest.$ac_objext'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; }; then
13631 ac_header_compiler
=yes
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.
$ac_ext >&5
13636 ac_header_compiler
=no
13638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13640 echo "${ECHO_T}$ac_header_compiler" >&6
13642 # Is the header present?
13643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13645 cat >conftest.
$ac_ext <<_ACEOF
13648 cat confdefs.h
>>conftest.
$ac_ext
13649 cat >>conftest.
$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 #include <$ac_header>
13653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13656 grep -v '^ *+' conftest.er1
>conftest.err
13658 cat conftest.err
>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } >/dev
/null
; then
13661 if test -s conftest.err
; then
13662 ac_cpp_err
=$ac_c_preproc_warn_flag
13663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13670 if test -z "$ac_cpp_err"; then
13671 ac_header_preproc
=yes
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.
$ac_ext >&5
13676 ac_header_preproc
=no
13678 rm -f conftest.err conftest.
$ac_ext
13679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13680 echo "${ECHO_T}$ac_header_preproc" >&6
13682 # So? What about this header?
13683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13689 ac_header_preproc
=yes
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13706 ## ----------------------------------------- ##
13707 ## Report this to wx-dev@lists.wxwidgets.org ##
13708 ## ----------------------------------------- ##
13711 sed "s/^/$as_me: WARNING: /" >&2
13714 echo "$as_me:$LINENO: checking for $ac_header" >&5
13715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 eval "$as_ac_Header=\$ac_header_preproc"
13721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13726 cat >>confdefs.h
<<_ACEOF
13727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13737 for ac_header
in fnmatch.h
13739 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13741 echo "$as_me:$LINENO: checking for $ac_header" >&5
13742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13749 # Is the header compilable?
13750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13752 cat >conftest.
$ac_ext <<_ACEOF
13755 cat confdefs.h
>>conftest.
$ac_ext
13756 cat >>conftest.
$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758 $ac_includes_default
13759 #include <$ac_header>
13761 rm -f conftest.
$ac_objext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13763 (eval $ac_compile) 2>conftest.er1
13765 grep -v '^ *+' conftest.er1
>conftest.err
13767 cat conftest.err
>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try
='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 ac_header_compiler
=yes
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.
$ac_ext >&5
13787 ac_header_compiler
=no
13789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13791 echo "${ECHO_T}$ac_header_compiler" >&6
13793 # Is the header present?
13794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13796 cat >conftest.
$ac_ext <<_ACEOF
13799 cat confdefs.h
>>conftest.
$ac_ext
13800 cat >>conftest.
$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #include <$ac_header>
13804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } >/dev
/null
; then
13812 if test -s conftest.err
; then
13813 ac_cpp_err
=$ac_c_preproc_warn_flag
13814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13821 if test -z "$ac_cpp_err"; then
13822 ac_header_preproc
=yes
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.
$ac_ext >&5
13827 ac_header_preproc
=no
13829 rm -f conftest.err conftest.
$ac_ext
13830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13831 echo "${ECHO_T}$ac_header_preproc" >&6
13833 # So? What about this header?
13834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13840 ac_header_preproc
=yes
13843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13857 ## ----------------------------------------- ##
13858 ## Report this to wx-dev@lists.wxwidgets.org ##
13859 ## ----------------------------------------- ##
13862 sed "s/^/$as_me: WARNING: /" >&2
13865 echo "$as_me:$LINENO: checking for $ac_header" >&5
13866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 eval "$as_ac_Header=\$ac_header_preproc"
13872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13877 cat >>confdefs.h
<<_ACEOF
13878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13886 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13888 for ac_func
in fnmatch
13890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13891 echo "$as_me:$LINENO: checking for $ac_func" >&5
13892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13893 if eval "test \"\${$as_ac_var+set}\" = set"; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 cat >conftest.
$ac_ext <<_ACEOF
13899 cat confdefs.h
>>conftest.
$ac_ext
13900 cat >>conftest.
$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13904 #define $ac_func innocuous_$ac_func
13906 /* System header to define __stub macros and hopefully few prototypes,
13907 which can conflict with char $ac_func (); below.
13908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13909 <limits.h> exists even on freestanding compilers. */
13912 # include <limits.h>
13914 # include <assert.h>
13919 /* Override any gcc2 internal prototype to avoid an error. */
13924 /* We use char because int might match the return type of a gcc2
13925 builtin and then its argument prototype would still apply. */
13927 /* The GNU C library defines this for functions which it implements
13928 to always fail with ENOSYS. Some functions are actually named
13929 something starting with __ and the normal name is an alias. */
13930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13933 char (*f) () = $ac_func;
13942 return f != $ac_func;
13947 rm -f conftest.
$ac_objext conftest
$ac_exeext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13949 (eval $ac_link) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; } &&
13962 { ac_try
='test -s conftest$ac_exeext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 eval "$as_ac_var=yes"
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13973 eval "$as_ac_var=no"
13975 rm -f conftest.err conftest.
$ac_objext \
13976 conftest
$ac_exeext conftest.
$ac_ext
13978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13980 if test `eval echo '${'$as_ac_var'}'` = yes; then
13981 cat >>confdefs.h
<<_ACEOF
13982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13991 for ac_header
in langinfo.h
13993 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13995 echo "$as_me:$LINENO: checking for $ac_header" >&5
13996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14003 # Is the header compilable?
14004 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14006 cat >conftest.
$ac_ext <<_ACEOF
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 $ac_includes_default
14013 #include <$ac_header>
14015 rm -f conftest.
$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>conftest.er1
14019 grep -v '^ *+' conftest.er1
>conftest.err
14021 cat conftest.err
>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try
='test -s conftest.$ac_objext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14036 ac_header_compiler
=yes
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14041 ac_header_compiler
=no
14043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14045 echo "${ECHO_T}$ac_header_compiler" >&6
14047 # Is the header present?
14048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 #include <$ac_header>
14058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14061 grep -v '^ *+' conftest.er1
>conftest.err
14063 cat conftest.err
>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } >/dev
/null
; then
14066 if test -s conftest.err
; then
14067 ac_cpp_err
=$ac_c_preproc_warn_flag
14068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14075 if test -z "$ac_cpp_err"; then
14076 ac_header_preproc
=yes
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.
$ac_ext >&5
14081 ac_header_preproc
=no
14083 rm -f conftest.err conftest.
$ac_ext
14084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14085 echo "${ECHO_T}$ac_header_preproc" >&6
14087 # So? What about this header?
14088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14094 ac_header_preproc
=yes
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14111 ## ----------------------------------------- ##
14112 ## Report this to wx-dev@lists.wxwidgets.org ##
14113 ## ----------------------------------------- ##
14116 sed "s/^/$as_me: WARNING: /" >&2
14119 echo "$as_me:$LINENO: checking for $ac_header" >&5
14120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 eval "$as_ac_Header=\$ac_header_preproc"
14126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14131 cat >>confdefs.h
<<_ACEOF
14132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14141 *-pc-os2_emx | *-pc-os2-emx )
14142 if test $ac_cv_header_langinfo_h = "yes"; then
14143 LIBS
="$LIBS -lintl"
14148 if test "$wxUSE_GUI" = "yes"; then
14149 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14151 for ac_header
in X
11/Xlib.h
14153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14155 echo "$as_me:$LINENO: checking for $ac_header" >&5
14156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14163 # Is the header compilable?
14164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 $ac_includes_default
14173 #include <$ac_header>
14175 rm -f conftest.
$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>conftest.er1
14179 grep -v '^ *+' conftest.er1
>conftest.err
14181 cat conftest.err
>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } &&
14184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; } &&
14190 { ac_try
='test -s conftest.$ac_objext'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; }; then
14196 ac_header_compiler
=yes
14198 echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.
$ac_ext >&5
14201 ac_header_compiler
=no
14203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14205 echo "${ECHO_T}$ac_header_compiler" >&6
14207 # Is the header present?
14208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14209 echo $ECHO_N "checking $ac_header presence... $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. */
14216 #include <$ac_header>
14218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14221 grep -v '^ *+' conftest.er1
>conftest.err
14223 cat conftest.err
>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } >/dev
/null
; then
14226 if test -s conftest.err
; then
14227 ac_cpp_err
=$ac_c_preproc_warn_flag
14228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14235 if test -z "$ac_cpp_err"; then
14236 ac_header_preproc
=yes
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.
$ac_ext >&5
14241 ac_header_preproc
=no
14243 rm -f conftest.err conftest.
$ac_ext
14244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14245 echo "${ECHO_T}$ac_header_preproc" >&6
14247 # So? What about this header?
14248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14254 ac_header_preproc
=yes
14257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14271 ## ----------------------------------------- ##
14272 ## Report this to wx-dev@lists.wxwidgets.org ##
14273 ## ----------------------------------------- ##
14276 sed "s/^/$as_me: WARNING: /" >&2
14279 echo "$as_me:$LINENO: checking for $ac_header" >&5
14280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 eval "$as_ac_Header=\$ac_header_preproc"
14286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14291 cat >>confdefs.h
<<_ACEOF
14292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14300 for ac_header
in X
11/XKBlib.h
14302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14303 echo "$as_me:$LINENO: checking for $ac_header" >&5
14304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 cat >conftest.
$ac_ext <<_ACEOF
14311 cat confdefs.h
>>conftest.
$ac_ext
14312 cat >>conftest.
$ac_ext <<_ACEOF
14313 /* end confdefs.h. */
14315 #if HAVE_X11_XLIB_H
14316 #include <X11/Xlib.h>
14320 #include <$ac_header>
14322 rm -f conftest.
$ac_objext
14323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14324 (eval $ac_compile) 2>conftest.er1
14326 grep -v '^ *+' conftest.er1
>conftest.err
14328 cat conftest.err
>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } &&
14331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try
='test -s conftest.$ac_objext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 eval "$as_ac_Header=yes"
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.
$ac_ext >&5
14348 eval "$as_ac_Header=no"
14350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14355 cat >>confdefs.h
<<_ACEOF
14356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14367 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14368 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14369 if test "${ac_cv_c_const+set}" = set; then
14370 echo $ECHO_N "(cached) $ECHO_C" >&6
14372 cat >conftest.
$ac_ext <<_ACEOF
14375 cat confdefs.h
>>conftest.
$ac_ext
14376 cat >>conftest.
$ac_ext <<_ACEOF
14377 /* end confdefs.h. */
14382 /* FIXME: Include the comments suggested by Paul. */
14383 #ifndef __cplusplus
14384 /* Ultrix mips cc rejects this. */
14385 typedef int charset[2];
14387 /* SunOS 4.1.1 cc rejects this. */
14388 char const *const *ccp;
14390 /* NEC SVR4.0.2 mips cc rejects this. */
14391 struct point {int x, y;};
14392 static struct point const zero = {0,0};
14393 /* AIX XL C 1.02.0.0 rejects this.
14394 It does not let you subtract one const X* pointer from another in
14395 an arm of an if-expression whose if-part is not a constant
14397 const char *g = "string";
14398 ccp = &g + (g ? g-g : 0);
14399 /* HPUX 7.0 cc rejects these. */
14402 ccp = (char const *const *) p;
14403 { /* SCO 3.2v4 cc rejects this. */
14405 char const *s = 0 ? (char *) 0 : (char const *) 0;
14409 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14410 int x[] = {25, 17};
14411 const int *foo = &x[0];
14414 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14415 typedef const int *iptr;
14419 { /* AIX XL C 1.02.0.0 rejects this saying
14420 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14421 struct s { int j; const int *ap[3]; };
14422 struct s *b; b->j = 5;
14424 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14425 const int foo = 10;
14433 rm -f conftest.
$ac_objext
14434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14435 (eval $ac_compile) 2>conftest.er1
14437 grep -v '^ *+' conftest.er1
>conftest.err
14439 cat conftest.err
>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } &&
14442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; } &&
14448 { ac_try
='test -s conftest.$ac_objext'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.
$ac_ext >&5
14461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14463 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14464 echo "${ECHO_T}$ac_cv_c_const" >&6
14465 if test $ac_cv_c_const = no
; then
14467 cat >>confdefs.h
<<\_ACEOF
14473 echo "$as_me:$LINENO: checking for inline" >&5
14474 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14475 if test "${ac_cv_c_inline+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 for ac_kw
in inline __inline__ __inline
; do
14480 cat >conftest.
$ac_ext <<_ACEOF
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 #ifndef __cplusplus
14488 static $ac_kw foo_t static_foo () {return 0; }
14489 $ac_kw foo_t foo () {return 0; }
14493 rm -f conftest.
$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>conftest.er1
14497 grep -v '^ *+' conftest.er1
>conftest.err
14499 cat conftest.err
>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try
='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_c_inline
=$ac_kw; break
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.
$ac_ext >&5
14520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14524 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14525 echo "${ECHO_T}$ac_cv_c_inline" >&6
14528 case $ac_cv_c_inline in
14531 case $ac_cv_c_inline in
14533 *) ac_val
=$ac_cv_c_inline;;
14535 cat >>confdefs.h
<<_ACEOF
14536 #ifndef __cplusplus
14537 #define inline $ac_val
14544 echo "$as_me:$LINENO: checking for char" >&5
14545 echo $ECHO_N "checking for char... $ECHO_C" >&6
14546 if test "${ac_cv_type_char+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 cat >conftest.
$ac_ext <<_ACEOF
14552 cat confdefs.h
>>conftest.
$ac_ext
14553 cat >>conftest.
$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14567 rm -f conftest.
$ac_objext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14569 (eval $ac_compile) 2>conftest.er1
14571 grep -v '^ *+' conftest.er1
>conftest.err
14573 cat conftest.err
>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try
='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_type_char
=yes
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14597 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14598 echo "${ECHO_T}$ac_cv_type_char" >&6
14600 echo "$as_me:$LINENO: checking size of char" >&5
14601 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14602 if test "${ac_cv_sizeof_char+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 if test "$ac_cv_type_char" = yes; then
14606 # The cast to unsigned long works around a bug in the HP C Compiler
14607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14609 # This bug is HP SR number 8606223364.
14610 if test "$cross_compiling" = yes; then
14611 # Depending upon the size, compute the lo and hi bounds.
14612 cat >conftest.
$ac_ext <<_ACEOF
14615 cat confdefs.h
>>conftest.
$ac_ext
14616 cat >>conftest.
$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618 $ac_includes_default
14622 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14629 rm -f conftest.
$ac_objext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14631 (eval $ac_compile) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1
>conftest.err
14635 cat conftest.err
>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } &&
14644 { ac_try
='test -s conftest.$ac_objext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14652 cat >conftest.
$ac_ext <<_ACEOF
14655 cat confdefs.h
>>conftest.
$ac_ext
14656 cat >>conftest.
$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658 $ac_includes_default
14662 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14669 rm -f conftest.
$ac_objext
14670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671 (eval $ac_compile) 2>conftest.er1
14673 grep -v '^ *+' conftest.er1
>conftest.err
14675 cat conftest.err
>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } &&
14678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; } &&
14684 { ac_try
='test -s conftest.$ac_objext'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; }; then
14690 ac_hi
=$ac_mid; break
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.
$ac_ext >&5
14695 ac_lo
=`expr $ac_mid + 1`
14696 if test $ac_lo -le $ac_mid; then
14700 ac_mid
=`expr 2 '*' $ac_mid + 1`
14702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.
$ac_ext >&5
14708 cat >conftest.
$ac_ext <<_ACEOF
14711 cat confdefs.h
>>conftest.
$ac_ext
14712 cat >>conftest.
$ac_ext <<_ACEOF
14713 /* end confdefs.h. */
14714 $ac_includes_default
14718 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14725 rm -f conftest.
$ac_objext
14726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14727 (eval $ac_compile) 2>conftest.er1
14729 grep -v '^ *+' conftest.er1
>conftest.err
14731 cat conftest.err
>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } &&
14734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14736 (eval $ac_try) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; } &&
14740 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14748 cat >conftest.
$ac_ext <<_ACEOF
14751 cat confdefs.h
>>conftest.
$ac_ext
14752 cat >>conftest.
$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754 $ac_includes_default
14758 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14765 rm -f conftest.
$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767 (eval $ac_compile) 2>conftest.er1
14769 grep -v '^ *+' conftest.er1
>conftest.err
14771 cat conftest.err
>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; } &&
14780 { ac_try
='test -s conftest.$ac_objext'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; }; then
14786 ac_lo
=$ac_mid; break
14788 echo "$as_me: failed program was:" >&5
14789 sed 's/^/| /' conftest.
$ac_ext >&5
14791 ac_hi
=`expr '(' $ac_mid ')' - 1`
14792 if test $ac_mid -le $ac_hi; then
14796 ac_mid
=`expr 2 '*' $ac_mid`
14798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.
$ac_ext >&5
14806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14809 # Binary search between lo and hi bounds.
14810 while test "x$ac_lo" != "x$ac_hi"; do
14811 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14812 cat >conftest.
$ac_ext <<_ACEOF
14815 cat confdefs.h
>>conftest.
$ac_ext
14816 cat >>conftest.
$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 $ac_includes_default
14822 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14829 rm -f conftest.
$ac_objext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14831 (eval $ac_compile) 2>conftest.er1
14833 grep -v '^ *+' conftest.er1
>conftest.err
14835 cat conftest.err
>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } &&
14838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; } &&
14844 { ac_try
='test -s conftest.$ac_objext'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; }; then
14852 echo "$as_me: failed program was:" >&5
14853 sed 's/^/| /' conftest.
$ac_ext >&5
14855 ac_lo
=`expr '(' $ac_mid ')' + 1`
14857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14860 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14861 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14862 See \`config.log' for more details." >&5
14863 echo "$as_me: error: cannot compute sizeof (char), 77
14864 See \`config.log' for more details." >&2;}
14865 { (exit 1); exit 1; }; } ;;
14868 if test "$cross_compiling" = yes; then
14869 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14870 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14871 { (exit 1); exit 1; }; }
14873 cat >conftest.
$ac_ext <<_ACEOF
14876 cat confdefs.h
>>conftest.
$ac_ext
14877 cat >>conftest.
$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14879 $ac_includes_default
14880 long longval () { return (long) (sizeof (char)); }
14881 unsigned long ulongval () { return (long) (sizeof (char)); }
14883 #include <stdlib.h>
14888 FILE *f = fopen ("conftest.val", "w");
14891 if (((long) (sizeof (char))) < 0)
14893 long i = longval ();
14894 if (i != ((long) (sizeof (char))))
14896 fprintf (f, "%ld\n", i);
14900 unsigned long i = ulongval ();
14901 if (i != ((long) (sizeof (char))))
14903 fprintf (f, "%lu\n", i);
14905 exit (ferror (f) || fclose (f) != 0);
14911 rm -f conftest
$ac_exeext
14912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14913 (eval $ac_link) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 ac_cv_sizeof_char
=`cat conftest.val`
14924 echo "$as_me: program exited with status $ac_status" >&5
14925 echo "$as_me: failed program was:" >&5
14926 sed 's/^/| /' conftest.
$ac_ext >&5
14928 ( exit $ac_status )
14929 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14930 See \`config.log' for more details." >&5
14931 echo "$as_me: error: cannot compute sizeof (char), 77
14932 See \`config.log' for more details." >&2;}
14933 { (exit 1); exit 1; }; }
14935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14940 ac_cv_sizeof_char
=0
14943 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14944 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14945 cat >>confdefs.h
<<_ACEOF
14946 #define SIZEOF_CHAR $ac_cv_sizeof_char
14950 echo "$as_me:$LINENO: checking for short" >&5
14951 echo $ECHO_N "checking for short... $ECHO_C" >&6
14952 if test "${ac_cv_type_short+set}" = set; then
14953 echo $ECHO_N "(cached) $ECHO_C" >&6
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14967 if (sizeof (short))
14973 rm -f conftest.
$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try
='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_cv_type_short
=yes
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ac_cv_type_short
=no
15001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15003 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15004 echo "${ECHO_T}$ac_cv_type_short" >&6
15006 echo "$as_me:$LINENO: checking size of short" >&5
15007 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15008 if test "${ac_cv_sizeof_short+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 if test "$ac_cv_type_short" = yes; then
15012 # The cast to unsigned long works around a bug in the HP C Compiler
15013 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15014 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15015 # This bug is HP SR number 8606223364.
15016 if test "$cross_compiling" = yes; then
15017 # Depending upon the size, compute the lo and hi bounds.
15018 cat >conftest.
$ac_ext <<_ACEOF
15021 cat confdefs.h
>>conftest.
$ac_ext
15022 cat >>conftest.
$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15024 $ac_includes_default
15028 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15035 rm -f conftest.
$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>conftest.er1
15039 grep -v '^ *+' conftest.er1
>conftest.err
15041 cat conftest.err
>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; } &&
15050 { ac_try
='test -s conftest.$ac_objext'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; }; then
15058 cat >conftest.
$ac_ext <<_ACEOF
15061 cat confdefs.h
>>conftest.
$ac_ext
15062 cat >>conftest.
$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064 $ac_includes_default
15068 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15075 rm -f conftest.
$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try
='test -s conftest.$ac_objext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 ac_hi
=$ac_mid; break
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.
$ac_ext >&5
15101 ac_lo
=`expr $ac_mid + 1`
15102 if test $ac_lo -le $ac_mid; then
15106 ac_mid
=`expr 2 '*' $ac_mid + 1`
15108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.
$ac_ext >&5
15114 cat >conftest.
$ac_ext <<_ACEOF
15117 cat confdefs.h
>>conftest.
$ac_ext
15118 cat >>conftest.
$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15120 $ac_includes_default
15124 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15131 rm -f conftest.
$ac_objext
15132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15133 (eval $ac_compile) 2>conftest.er1
15135 grep -v '^ *+' conftest.er1
>conftest.err
15137 cat conftest.err
>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } &&
15140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15154 cat >conftest.
$ac_ext <<_ACEOF
15157 cat confdefs.h
>>conftest.
$ac_ext
15158 cat >>conftest.
$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 $ac_includes_default
15164 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15171 rm -f conftest.
$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15175 grep -v '^ *+' conftest.er1
>conftest.err
15177 cat conftest.err
>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; } &&
15186 { ac_try
='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_lo
=$ac_mid; break
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.
$ac_ext >&5
15197 ac_hi
=`expr '(' $ac_mid ')' - 1`
15198 if test $ac_mid -le $ac_hi; then
15202 ac_mid
=`expr 2 '*' $ac_mid`
15204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15215 # Binary search between lo and hi bounds.
15216 while test "x$ac_lo" != "x$ac_hi"; do
15217 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 $ac_includes_default
15228 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15235 rm -f conftest.
$ac_objext
15236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15237 (eval $ac_compile) 2>conftest.er1
15239 grep -v '^ *+' conftest.er1
>conftest.err
15241 cat conftest.err
>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); } &&
15244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; } &&
15250 { ac_try
='test -s conftest.$ac_objext'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; }; then
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.
$ac_ext >&5
15261 ac_lo
=`expr '(' $ac_mid ')' + 1`
15263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15266 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15267 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15268 See \`config.log' for more details." >&5
15269 echo "$as_me: error: cannot compute sizeof (short), 77
15270 See \`config.log' for more details." >&2;}
15271 { (exit 1); exit 1; }; } ;;
15274 if test "$cross_compiling" = yes; then
15275 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15276 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15277 { (exit 1); exit 1; }; }
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 $ac_includes_default
15286 long longval () { return (long) (sizeof (short)); }
15287 unsigned long ulongval () { return (long) (sizeof (short)); }
15289 #include <stdlib.h>
15294 FILE *f = fopen ("conftest.val", "w");
15297 if (((long) (sizeof (short))) < 0)
15299 long i = longval ();
15300 if (i != ((long) (sizeof (short))))
15302 fprintf (f, "%ld\n", i);
15306 unsigned long i = ulongval ();
15307 if (i != ((long) (sizeof (short))))
15309 fprintf (f, "%lu\n", i);
15311 exit (ferror (f) || fclose (f) != 0);
15317 rm -f conftest
$ac_exeext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15319 (eval $ac_link) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_cv_sizeof_short
=`cat conftest.val`
15330 echo "$as_me: program exited with status $ac_status" >&5
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 ( exit $ac_status )
15335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15336 See \`config.log' for more details." >&5
15337 echo "$as_me: error: cannot compute sizeof (short), 77
15338 See \`config.log' for more details." >&2;}
15339 { (exit 1); exit 1; }; }
15341 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15346 ac_cv_sizeof_short
=0
15349 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15350 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15351 cat >>confdefs.h
<<_ACEOF
15352 #define SIZEOF_SHORT $ac_cv_sizeof_short
15356 echo "$as_me:$LINENO: checking for void *" >&5
15357 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15358 if test "${ac_cv_type_void_p+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 cat >conftest.
$ac_ext <<_ACEOF
15364 cat confdefs.h
>>conftest.
$ac_ext
15365 cat >>conftest.
$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 $ac_includes_default
15373 if (sizeof (void *))
15379 rm -f conftest.
$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15383 grep -v '^ *+' conftest.er1
>conftest.err
15385 cat conftest.err
>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try
='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_cv_type_void_p
=yes
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ac_cv_type_void_p
=no
15407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15409 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15410 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15412 echo "$as_me:$LINENO: checking size of void *" >&5
15413 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15414 if test "${ac_cv_sizeof_void_p+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 if test "$ac_cv_type_void_p" = yes; then
15418 # The cast to unsigned long works around a bug in the HP C Compiler
15419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15421 # This bug is HP SR number 8606223364.
15422 if test "$cross_compiling" = yes; then
15423 # Depending upon the size, compute the lo and hi bounds.
15424 cat >conftest.
$ac_ext <<_ACEOF
15427 cat confdefs.h
>>conftest.
$ac_ext
15428 cat >>conftest.
$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 $ac_includes_default
15434 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15441 rm -f conftest.
$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15445 grep -v '^ *+' conftest.er1
>conftest.err
15447 cat conftest.err
>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; } &&
15456 { ac_try
='test -s conftest.$ac_objext'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; }; then
15464 cat >conftest.
$ac_ext <<_ACEOF
15467 cat confdefs.h
>>conftest.
$ac_ext
15468 cat >>conftest.
$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 $ac_includes_default
15474 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15481 rm -f conftest.
$ac_objext
15482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15483 (eval $ac_compile) 2>conftest.er1
15485 grep -v '^ *+' conftest.er1
>conftest.err
15487 cat conftest.err
>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } &&
15490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }; } &&
15496 { ac_try
='test -s conftest.$ac_objext'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; }; then
15502 ac_hi
=$ac_mid; break
15504 echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.
$ac_ext >&5
15507 ac_lo
=`expr $ac_mid + 1`
15508 if test $ac_lo -le $ac_mid; then
15512 ac_mid
=`expr 2 '*' $ac_mid + 1`
15514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15517 echo "$as_me: failed program was:" >&5
15518 sed 's/^/| /' conftest.
$ac_ext >&5
15520 cat >conftest.
$ac_ext <<_ACEOF
15523 cat confdefs.h
>>conftest.
$ac_ext
15524 cat >>conftest.
$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15526 $ac_includes_default
15530 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15537 rm -f conftest.
$ac_objext
15538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15539 (eval $ac_compile) 2>conftest.er1
15541 grep -v '^ *+' conftest.er1
>conftest.err
15543 cat conftest.err
>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } &&
15546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; } &&
15552 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15560 cat >conftest.
$ac_ext <<_ACEOF
15563 cat confdefs.h
>>conftest.
$ac_ext
15564 cat >>conftest.
$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15566 $ac_includes_default
15570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15577 rm -f conftest.
$ac_objext
15578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15579 (eval $ac_compile) 2>conftest.er1
15581 grep -v '^ *+' conftest.er1
>conftest.err
15583 cat conftest.err
>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } &&
15586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try
='test -s conftest.$ac_objext'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15598 ac_lo
=$ac_mid; break
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.
$ac_ext >&5
15603 ac_hi
=`expr '(' $ac_mid ')' - 1`
15604 if test $ac_mid -le $ac_hi; then
15608 ac_mid
=`expr 2 '*' $ac_mid`
15610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15613 echo "$as_me: failed program was:" >&5
15614 sed 's/^/| /' conftest.
$ac_ext >&5
15618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15621 # Binary search between lo and hi bounds.
15622 while test "x$ac_lo" != "x$ac_hi"; do
15623 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15624 cat >conftest.
$ac_ext <<_ACEOF
15627 cat confdefs.h
>>conftest.
$ac_ext
15628 cat >>conftest.
$ac_ext <<_ACEOF
15629 /* end confdefs.h. */
15630 $ac_includes_default
15634 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15641 rm -f conftest.
$ac_objext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15643 (eval $ac_compile) 2>conftest.er1
15645 grep -v '^ *+' conftest.er1
>conftest.err
15647 cat conftest.err
>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; } &&
15656 { ac_try
='test -s conftest.$ac_objext'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; }; then
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.
$ac_ext >&5
15667 ac_lo
=`expr '(' $ac_mid ')' + 1`
15669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15672 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15673 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15674 See \`config.log' for more details." >&5
15675 echo "$as_me: error: cannot compute sizeof (void *), 77
15676 See \`config.log' for more details." >&2;}
15677 { (exit 1); exit 1; }; } ;;
15680 if test "$cross_compiling" = yes; then
15681 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15682 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15683 { (exit 1); exit 1; }; }
15685 cat >conftest.
$ac_ext <<_ACEOF
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15692 long longval () { return (long) (sizeof (void *)); }
15693 unsigned long ulongval () { return (long) (sizeof (void *)); }
15695 #include <stdlib.h>
15700 FILE *f = fopen ("conftest.val", "w");
15703 if (((long) (sizeof (void *))) < 0)
15705 long i = longval ();
15706 if (i != ((long) (sizeof (void *))))
15708 fprintf (f, "%ld\n", i);
15712 unsigned long i = ulongval ();
15713 if (i != ((long) (sizeof (void *))))
15715 fprintf (f, "%lu\n", i);
15717 exit (ferror (f) || fclose (f) != 0);
15723 rm -f conftest
$ac_exeext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15725 (eval $ac_link) 2>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_sizeof_void_p
=`cat conftest.val`
15736 echo "$as_me: program exited with status $ac_status" >&5
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.
$ac_ext >&5
15740 ( exit $ac_status )
15741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15742 See \`config.log' for more details." >&5
15743 echo "$as_me: error: cannot compute sizeof (void *), 77
15744 See \`config.log' for more details." >&2;}
15745 { (exit 1); exit 1; }; }
15747 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15752 ac_cv_sizeof_void_p
=0
15755 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15756 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15757 cat >>confdefs.h
<<_ACEOF
15758 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15762 echo "$as_me:$LINENO: checking for int" >&5
15763 echo $ECHO_N "checking for int... $ECHO_C" >&6
15764 if test "${ac_cv_type_int+set}" = set; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 cat >conftest.
$ac_ext <<_ACEOF
15770 cat confdefs.h
>>conftest.
$ac_ext
15771 cat >>conftest.
$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15773 $ac_includes_default
15785 rm -f conftest.
$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15789 grep -v '^ *+' conftest.er1
>conftest.err
15791 cat conftest.err
>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; } &&
15800 { ac_try
='test -s conftest.$ac_objext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15815 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15816 echo "${ECHO_T}$ac_cv_type_int" >&6
15818 echo "$as_me:$LINENO: checking size of int" >&5
15819 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15820 if test "${ac_cv_sizeof_int+set}" = set; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 if test "$ac_cv_type_int" = yes; then
15824 # The cast to unsigned long works around a bug in the HP C Compiler
15825 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15826 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15827 # This bug is HP SR number 8606223364.
15828 if test "$cross_compiling" = yes; then
15829 # Depending upon the size, compute the lo and hi bounds.
15830 cat >conftest.
$ac_ext <<_ACEOF
15833 cat confdefs.h
>>conftest.
$ac_ext
15834 cat >>conftest.
$ac_ext <<_ACEOF
15835 /* end confdefs.h. */
15836 $ac_includes_default
15840 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15847 rm -f conftest.
$ac_objext
15848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15849 (eval $ac_compile) 2>conftest.er1
15851 grep -v '^ *+' conftest.er1
>conftest.err
15853 cat conftest.err
>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } &&
15856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; } &&
15862 { ac_try
='test -s conftest.$ac_objext'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; }; then
15870 cat >conftest.
$ac_ext <<_ACEOF
15873 cat confdefs.h
>>conftest.
$ac_ext
15874 cat >>conftest.
$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15880 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15887 rm -f conftest.
$ac_objext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>conftest.er1
15891 grep -v '^ *+' conftest.er1
>conftest.err
15893 cat conftest.err
>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } &&
15896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; } &&
15902 { ac_try
='test -s conftest.$ac_objext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15908 ac_hi
=$ac_mid; break
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.
$ac_ext >&5
15913 ac_lo
=`expr $ac_mid + 1`
15914 if test $ac_lo -le $ac_mid; then
15918 ac_mid
=`expr 2 '*' $ac_mid + 1`
15920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.
$ac_ext >&5
15926 cat >conftest.
$ac_ext <<_ACEOF
15929 cat confdefs.h
>>conftest.
$ac_ext
15930 cat >>conftest.
$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932 $ac_includes_default
15936 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15943 rm -f conftest.
$ac_objext
15944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15945 (eval $ac_compile) 2>conftest.er1
15947 grep -v '^ *+' conftest.er1
>conftest.err
15949 cat conftest.err
>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try
='test -s conftest.$ac_objext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15966 cat >conftest.
$ac_ext <<_ACEOF
15969 cat confdefs.h
>>conftest.
$ac_ext
15970 cat >>conftest.
$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15976 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15983 rm -f conftest.
$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>conftest.er1
15987 grep -v '^ *+' conftest.er1
>conftest.err
15989 cat conftest.err
>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } &&
15992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; } &&
15998 { ac_try
='test -s conftest.$ac_objext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 ac_lo
=$ac_mid; break
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.
$ac_ext >&5
16009 ac_hi
=`expr '(' $ac_mid ')' - 1`
16010 if test $ac_mid -le $ac_hi; then
16014 ac_mid
=`expr 2 '*' $ac_mid`
16016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.
$ac_ext >&5
16024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16027 # Binary search between lo and hi bounds.
16028 while test "x$ac_lo" != "x$ac_hi"; do
16029 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16030 cat >conftest.
$ac_ext <<_ACEOF
16033 cat confdefs.h
>>conftest.
$ac_ext
16034 cat >>conftest.
$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 $ac_includes_default
16040 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16047 rm -f conftest.
$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>conftest.er1
16051 grep -v '^ *+' conftest.er1
>conftest.err
16053 cat conftest.err
>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; } &&
16062 { ac_try
='test -s conftest.$ac_objext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.
$ac_ext >&5
16073 ac_lo
=`expr '(' $ac_mid ')' + 1`
16075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16078 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16079 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16080 See \`config.log' for more details." >&5
16081 echo "$as_me: error: cannot compute sizeof (int), 77
16082 See \`config.log' for more details." >&2;}
16083 { (exit 1); exit 1; }; } ;;
16086 if test "$cross_compiling" = yes; then
16087 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16088 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16089 { (exit 1); exit 1; }; }
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 $ac_includes_default
16098 long longval () { return (long) (sizeof (int)); }
16099 unsigned long ulongval () { return (long) (sizeof (int)); }
16101 #include <stdlib.h>
16106 FILE *f = fopen ("conftest.val", "w");
16109 if (((long) (sizeof (int))) < 0)
16111 long i = longval ();
16112 if (i != ((long) (sizeof (int))))
16114 fprintf (f, "%ld\n", i);
16118 unsigned long i = ulongval ();
16119 if (i != ((long) (sizeof (int))))
16121 fprintf (f, "%lu\n", i);
16123 exit (ferror (f) || fclose (f) != 0);
16129 rm -f conftest
$ac_exeext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16131 (eval $ac_link) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_sizeof_int
=`cat conftest.val`
16142 echo "$as_me: program exited with status $ac_status" >&5
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 ( exit $ac_status )
16147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16148 See \`config.log' for more details." >&5
16149 echo "$as_me: error: cannot compute sizeof (int), 77
16150 See \`config.log' for more details." >&2;}
16151 { (exit 1); exit 1; }; }
16153 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16161 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16162 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16163 cat >>confdefs.h
<<_ACEOF
16164 #define SIZEOF_INT $ac_cv_sizeof_int
16168 echo "$as_me:$LINENO: checking for long" >&5
16169 echo $ECHO_N "checking for long... $ECHO_C" >&6
16170 if test "${ac_cv_type_long+set}" = set; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 cat >conftest.
$ac_ext <<_ACEOF
16176 cat confdefs.h
>>conftest.
$ac_ext
16177 cat >>conftest.
$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_type_long
=yes
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16221 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16222 echo "${ECHO_T}$ac_cv_type_long" >&6
16224 echo "$as_me:$LINENO: checking size of long" >&5
16225 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16226 if test "${ac_cv_sizeof_long+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 if test "$ac_cv_type_long" = yes; then
16230 # The cast to unsigned long works around a bug in the HP C Compiler
16231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16233 # This bug is HP SR number 8606223364.
16234 if test "$cross_compiling" = yes; then
16235 # Depending upon the size, compute the lo and hi bounds.
16236 cat >conftest.
$ac_ext <<_ACEOF
16239 cat confdefs.h
>>conftest.
$ac_ext
16240 cat >>conftest.
$ac_ext <<_ACEOF
16241 /* end confdefs.h. */
16242 $ac_includes_default
16246 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16253 rm -f conftest.
$ac_objext
16254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16255 (eval $ac_compile) 2>conftest.er1
16257 grep -v '^ *+' conftest.er1
>conftest.err
16259 cat conftest.err
>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); } &&
16262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; } &&
16268 { ac_try
='test -s conftest.$ac_objext'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; }; then
16276 cat >conftest.
$ac_ext <<_ACEOF
16279 cat confdefs.h
>>conftest.
$ac_ext
16280 cat >>conftest.
$ac_ext <<_ACEOF
16281 /* end confdefs.h. */
16282 $ac_includes_default
16286 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16293 rm -f conftest.
$ac_objext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16295 (eval $ac_compile) 2>conftest.er1
16297 grep -v '^ *+' conftest.er1
>conftest.err
16299 cat conftest.err
>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try
='test -s conftest.$ac_objext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 ac_hi
=$ac_mid; break
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.
$ac_ext >&5
16319 ac_lo
=`expr $ac_mid + 1`
16320 if test $ac_lo -le $ac_mid; then
16324 ac_mid
=`expr 2 '*' $ac_mid + 1`
16326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16329 echo "$as_me: failed program was:" >&5
16330 sed 's/^/| /' conftest.
$ac_ext >&5
16332 cat >conftest.
$ac_ext <<_ACEOF
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 $ac_includes_default
16342 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16349 rm -f conftest.
$ac_objext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16351 (eval $ac_compile) 2>conftest.er1
16353 grep -v '^ *+' conftest.er1
>conftest.err
16355 cat conftest.err
>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } &&
16358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; } &&
16364 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16372 cat >conftest.
$ac_ext <<_ACEOF
16375 cat confdefs.h
>>conftest.
$ac_ext
16376 cat >>conftest.
$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378 $ac_includes_default
16382 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16389 rm -f conftest.
$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 ac_lo
=$ac_mid; break
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_hi
=`expr '(' $ac_mid ')' - 1`
16416 if test $ac_mid -le $ac_hi; then
16420 ac_mid
=`expr 2 '*' $ac_mid`
16422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16425 echo "$as_me: failed program was:" >&5
16426 sed 's/^/| /' conftest.
$ac_ext >&5
16430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16433 # Binary search between lo and hi bounds.
16434 while test "x$ac_lo" != "x$ac_hi"; do
16435 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16436 cat >conftest.
$ac_ext <<_ACEOF
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16446 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16453 rm -f conftest.
$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>conftest.er1
16457 grep -v '^ *+' conftest.er1
>conftest.err
16459 cat conftest.err
>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; } &&
16468 { ac_try
='test -s conftest.$ac_objext'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16479 ac_lo
=`expr '(' $ac_mid ')' + 1`
16481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16484 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16486 See \`config.log' for more details." >&5
16487 echo "$as_me: error: cannot compute sizeof (long), 77
16488 See \`config.log' for more details." >&2;}
16489 { (exit 1); exit 1; }; } ;;
16492 if test "$cross_compiling" = yes; then
16493 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16494 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16495 { (exit 1); exit 1; }; }
16497 cat >conftest.
$ac_ext <<_ACEOF
16500 cat confdefs.h
>>conftest.
$ac_ext
16501 cat >>conftest.
$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503 $ac_includes_default
16504 long longval () { return (long) (sizeof (long)); }
16505 unsigned long ulongval () { return (long) (sizeof (long)); }
16507 #include <stdlib.h>
16512 FILE *f = fopen ("conftest.val", "w");
16515 if (((long) (sizeof (long))) < 0)
16517 long i = longval ();
16518 if (i != ((long) (sizeof (long))))
16520 fprintf (f, "%ld\n", i);
16524 unsigned long i = ulongval ();
16525 if (i != ((long) (sizeof (long))))
16527 fprintf (f, "%lu\n", i);
16529 exit (ferror (f) || fclose (f) != 0);
16535 rm -f conftest
$ac_exeext
16536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16537 (eval $ac_link) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_cv_sizeof_long
=`cat conftest.val`
16548 echo "$as_me: program exited with status $ac_status" >&5
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 ( exit $ac_status )
16553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16554 See \`config.log' for more details." >&5
16555 echo "$as_me: error: cannot compute sizeof (long), 77
16556 See \`config.log' for more details." >&2;}
16557 { (exit 1); exit 1; }; }
16559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16564 ac_cv_sizeof_long
=0
16567 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16568 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16569 cat >>confdefs.h
<<_ACEOF
16570 #define SIZEOF_LONG $ac_cv_sizeof_long
16574 echo "$as_me:$LINENO: checking for size_t" >&5
16575 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16576 if test "${ac_cv_type_size_t+set}" = set; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 cat >conftest.
$ac_ext <<_ACEOF
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16591 if (sizeof (size_t))
16597 rm -f conftest.
$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1
>conftest.err
16603 cat conftest.err
>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try
='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_cv_type_size_t
=yes
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ac_cv_type_size_t
=no
16625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16627 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16628 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16630 echo "$as_me:$LINENO: checking size of size_t" >&5
16631 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16632 if test "${ac_cv_sizeof_size_t+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 if test "$ac_cv_type_size_t" = yes; then
16636 # The cast to unsigned long works around a bug in the HP C Compiler
16637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16639 # This bug is HP SR number 8606223364.
16640 if test "$cross_compiling" = yes; then
16641 # Depending upon the size, compute the lo and hi bounds.
16642 cat >conftest.
$ac_ext <<_ACEOF
16645 cat confdefs.h
>>conftest.
$ac_ext
16646 cat >>conftest.
$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648 $ac_includes_default
16652 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16682 cat >conftest.
$ac_ext <<_ACEOF
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 $ac_includes_default
16692 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16699 rm -f conftest.
$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_hi
=$ac_mid; break
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_lo
=`expr $ac_mid + 1`
16726 if test $ac_lo -le $ac_mid; then
16730 ac_mid
=`expr 2 '*' $ac_mid + 1`
16732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16748 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16755 rm -f conftest.
$ac_objext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>conftest.er1
16759 grep -v '^ *+' conftest.er1
>conftest.err
16761 cat conftest.err
>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; } &&
16770 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16778 cat >conftest.
$ac_ext <<_ACEOF
16781 cat confdefs.h
>>conftest.
$ac_ext
16782 cat >>conftest.
$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 $ac_includes_default
16788 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16795 rm -f conftest.
$ac_objext
16796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16797 (eval $ac_compile) 2>conftest.er1
16799 grep -v '^ *+' conftest.er1
>conftest.err
16801 cat conftest.err
>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); } &&
16804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; } &&
16810 { ac_try
='test -s conftest.$ac_objext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16816 ac_lo
=$ac_mid; break
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16821 ac_hi
=`expr '(' $ac_mid ')' - 1`
16822 if test $ac_mid -le $ac_hi; then
16826 ac_mid
=`expr 2 '*' $ac_mid`
16828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16839 # Binary search between lo and hi bounds.
16840 while test "x$ac_lo" != "x$ac_hi"; do
16841 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16842 cat >conftest.
$ac_ext <<_ACEOF
16845 cat confdefs.h
>>conftest.
$ac_ext
16846 cat >>conftest.
$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 $ac_includes_default
16852 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16859 rm -f conftest.
$ac_objext
16860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16861 (eval $ac_compile) 2>conftest.er1
16863 grep -v '^ *+' conftest.er1
>conftest.err
16865 cat conftest.err
>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; } &&
16874 { ac_try
='test -s conftest.$ac_objext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.
$ac_ext >&5
16885 ac_lo
=`expr '(' $ac_mid ')' + 1`
16887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16890 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16891 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16892 See \`config.log' for more details." >&5
16893 echo "$as_me: error: cannot compute sizeof (size_t), 77
16894 See \`config.log' for more details." >&2;}
16895 { (exit 1); exit 1; }; } ;;
16898 if test "$cross_compiling" = yes; then
16899 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16900 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16901 { (exit 1); exit 1; }; }
16903 cat >conftest.
$ac_ext <<_ACEOF
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 long longval () { return (long) (sizeof (size_t)); }
16911 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16913 #include <stdlib.h>
16918 FILE *f = fopen ("conftest.val", "w");
16921 if (((long) (sizeof (size_t))) < 0)
16923 long i = longval ();
16924 if (i != ((long) (sizeof (size_t))))
16926 fprintf (f, "%ld\n", i);
16930 unsigned long i = ulongval ();
16931 if (i != ((long) (sizeof (size_t))))
16933 fprintf (f, "%lu\n", i);
16935 exit (ferror (f) || fclose (f) != 0);
16941 rm -f conftest
$ac_exeext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16943 (eval $ac_link) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_cv_sizeof_size_t
=`cat conftest.val`
16954 echo "$as_me: program exited with status $ac_status" >&5
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.
$ac_ext >&5
16958 ( exit $ac_status )
16959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16960 See \`config.log' for more details." >&5
16961 echo "$as_me: error: cannot compute sizeof (size_t), 77
16962 See \`config.log' for more details." >&2;}
16963 { (exit 1); exit 1; }; }
16965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16970 ac_cv_sizeof_size_t
=0
16973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16974 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16975 cat >>confdefs.h
<<_ACEOF
16976 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16983 echo "$as_me:$LINENO: checking for long long" >&5
16984 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16985 if test "${ac_cv_type_long_long+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.
$ac_ext <<_ACEOF
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16994 $ac_includes_default
16998 if ((long long *) 0)
17000 if (sizeof (long long))
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try
='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 ac_cv_type_long_long
=yes
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 ac_cv_type_long_long
=no
17034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17036 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17037 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17039 echo "$as_me:$LINENO: checking size of long long" >&5
17040 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17041 if test "${ac_cv_sizeof_long_long+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 if test "$ac_cv_type_long_long" = yes; then
17045 # The cast to unsigned long works around a bug in the HP C Compiler
17046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17048 # This bug is HP SR number 8606223364.
17049 if test "$cross_compiling" = yes; then
17050 # Depending upon the size, compute the lo and hi bounds.
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17068 rm -f conftest.
$ac_objext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17070 (eval $ac_compile) 2>conftest.er1
17072 grep -v '^ *+' conftest.er1
>conftest.err
17074 cat conftest.err
>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; } &&
17083 { ac_try
='test -s conftest.$ac_objext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17101 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17108 rm -f conftest.
$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1
>conftest.err
17114 cat conftest.err
>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_hi
=$ac_mid; break
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 ac_lo
=`expr $ac_mid + 1`
17135 if test $ac_lo -le $ac_mid; then
17139 ac_mid
=`expr 2 '*' $ac_mid + 1`
17141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.
$ac_ext >&5
17147 cat >conftest.
$ac_ext <<_ACEOF
17150 cat confdefs.h
>>conftest.
$ac_ext
17151 cat >>conftest.
$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 $ac_includes_default
17157 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17164 rm -f conftest.
$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>conftest.er1
17168 grep -v '^ *+' conftest.er1
>conftest.err
17170 cat conftest.err
>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17175 (eval $ac_try) 2>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); }; } &&
17179 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17187 cat >conftest.
$ac_ext <<_ACEOF
17190 cat confdefs.h
>>conftest.
$ac_ext
17191 cat >>conftest.
$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 $ac_includes_default
17197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17204 rm -f conftest.
$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>conftest.er1
17208 grep -v '^ *+' conftest.er1
>conftest.err
17210 cat conftest.err
>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } &&
17213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; } &&
17219 { ac_try
='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225 ac_lo
=$ac_mid; break
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.
$ac_ext >&5
17230 ac_hi
=`expr '(' $ac_mid ')' - 1`
17231 if test $ac_mid -le $ac_hi; then
17235 ac_mid
=`expr 2 '*' $ac_mid`
17237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 # Binary search between lo and hi bounds.
17249 while test "x$ac_lo" != "x$ac_hi"; do
17250 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17251 cat >conftest.
$ac_ext <<_ACEOF
17254 cat confdefs.h
>>conftest.
$ac_ext
17255 cat >>conftest.
$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17261 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17268 rm -f conftest.
$ac_objext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17270 (eval $ac_compile) 2>conftest.er1
17272 grep -v '^ *+' conftest.er1
>conftest.err
17274 cat conftest.err
>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; } &&
17283 { ac_try
='test -s conftest.$ac_objext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.
$ac_ext >&5
17294 ac_lo
=`expr '(' $ac_mid ')' + 1`
17296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17299 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17300 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17301 See \`config.log' for more details." >&5
17302 echo "$as_me: error: cannot compute sizeof (long long), 77
17303 See \`config.log' for more details." >&2;}
17304 { (exit 1); exit 1; }; } ;;
17307 if test "$cross_compiling" = yes; then
17308 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17309 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17310 { (exit 1); exit 1; }; }
17312 cat >conftest.
$ac_ext <<_ACEOF
17315 cat confdefs.h
>>conftest.
$ac_ext
17316 cat >>conftest.
$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 $ac_includes_default
17319 long longval () { return (long) (sizeof (long long)); }
17320 unsigned long ulongval () { return (long) (sizeof (long long)); }
17322 #include <stdlib.h>
17327 FILE *f = fopen ("conftest.val", "w");
17330 if (((long) (sizeof (long long))) < 0)
17332 long i = longval ();
17333 if (i != ((long) (sizeof (long long))))
17335 fprintf (f, "%ld\n", i);
17339 unsigned long i = ulongval ();
17340 if (i != ((long) (sizeof (long long))))
17342 fprintf (f, "%lu\n", i);
17344 exit (ferror (f) || fclose (f) != 0);
17350 rm -f conftest
$ac_exeext
17351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17352 (eval $ac_link) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; }; then
17361 ac_cv_sizeof_long_long
=`cat conftest.val`
17363 echo "$as_me: program exited with status $ac_status" >&5
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 ( exit $ac_status )
17368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17369 See \`config.log' for more details." >&5
17370 echo "$as_me: error: cannot compute sizeof (long long), 77
17371 See \`config.log' for more details." >&2;}
17372 { (exit 1); exit 1; }; }
17374 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17379 ac_cv_sizeof_long_long
=0
17382 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17383 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17384 cat >>confdefs.h
<<_ACEOF
17385 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17391 echo "$as_me:$LINENO: checking for long long" >&5
17392 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17393 if test "${ac_cv_type_long_long+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 cat >conftest.
$ac_ext <<_ACEOF
17399 cat confdefs.h
>>conftest.
$ac_ext
17400 cat >>conftest.
$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 $ac_includes_default
17406 if ((long long *) 0)
17408 if (sizeof (long long))
17414 rm -f conftest.
$ac_objext
17415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17416 (eval $ac_compile) 2>conftest.er1
17418 grep -v '^ *+' conftest.er1
>conftest.err
17420 cat conftest.err
>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } &&
17423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; } &&
17429 { ac_try
='test -s conftest.$ac_objext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 ac_cv_type_long_long
=yes
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.
$ac_ext >&5
17440 ac_cv_type_long_long
=no
17442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17444 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17445 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17447 echo "$as_me:$LINENO: checking size of long long" >&5
17448 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17449 if test "${ac_cv_sizeof_long_long+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 if test "$ac_cv_type_long_long" = yes; then
17453 # The cast to unsigned long works around a bug in the HP C Compiler
17454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17456 # This bug is HP SR number 8606223364.
17457 if test "$cross_compiling" = yes; then
17458 # Depending upon the size, compute the lo and hi bounds.
17459 cat >conftest.
$ac_ext <<_ACEOF
17462 cat confdefs.h
>>conftest.
$ac_ext
17463 cat >>conftest.
$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 $ac_includes_default
17469 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17476 rm -f conftest.
$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17480 grep -v '^ *+' conftest.er1
>conftest.err
17482 cat conftest.err
>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; } &&
17491 { ac_try
='test -s conftest.$ac_objext'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; }; then
17499 cat >conftest.
$ac_ext <<_ACEOF
17502 cat confdefs.h
>>conftest.
$ac_ext
17503 cat >>conftest.
$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 $ac_includes_default
17509 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17516 rm -f conftest.
$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17518 (eval $ac_compile) 2>conftest.er1
17520 grep -v '^ *+' conftest.er1
>conftest.err
17522 cat conftest.err
>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } &&
17525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; } &&
17531 { ac_try
='test -s conftest.$ac_objext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17537 ac_hi
=$ac_mid; break
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.
$ac_ext >&5
17542 ac_lo
=`expr $ac_mid + 1`
17543 if test $ac_lo -le $ac_mid; then
17547 ac_mid
=`expr 2 '*' $ac_mid + 1`
17549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.
$ac_ext >&5
17555 cat >conftest.
$ac_ext <<_ACEOF
17558 cat confdefs.h
>>conftest.
$ac_ext
17559 cat >>conftest.
$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17561 $ac_includes_default
17565 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17572 rm -f conftest.
$ac_objext
17573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17574 (eval $ac_compile) 2>conftest.er1
17576 grep -v '^ *+' conftest.er1
>conftest.err
17578 cat conftest.err
>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } &&
17581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; } &&
17587 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17595 cat >conftest.
$ac_ext <<_ACEOF
17598 cat confdefs.h
>>conftest.
$ac_ext
17599 cat >>conftest.
$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 $ac_includes_default
17605 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17612 rm -f conftest.
$ac_objext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17614 (eval $ac_compile) 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; } &&
17627 { ac_try
='test -s conftest.$ac_objext'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; }; then
17633 ac_lo
=$ac_mid; break
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.
$ac_ext >&5
17638 ac_hi
=`expr '(' $ac_mid ')' - 1`
17639 if test $ac_mid -le $ac_hi; then
17643 ac_mid
=`expr 2 '*' $ac_mid`
17645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 # Binary search between lo and hi bounds.
17657 while test "x$ac_lo" != "x$ac_hi"; do
17658 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17659 cat >conftest.
$ac_ext <<_ACEOF
17662 cat confdefs.h
>>conftest.
$ac_ext
17663 cat >>conftest.
$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 $ac_includes_default
17669 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17676 rm -f conftest.
$ac_objext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17678 (eval $ac_compile) 2>conftest.er1
17680 grep -v '^ *+' conftest.er1
>conftest.err
17682 cat conftest.err
>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; } &&
17691 { ac_try
='test -s conftest.$ac_objext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.
$ac_ext >&5
17702 ac_lo
=`expr '(' $ac_mid ')' + 1`
17704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17707 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17708 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17709 See \`config.log' for more details." >&5
17710 echo "$as_me: error: cannot compute sizeof (long long), 77
17711 See \`config.log' for more details." >&2;}
17712 { (exit 1); exit 1; }; } ;;
17715 if test "$cross_compiling" = yes; then
17716 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17717 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17718 { (exit 1); exit 1; }; }
17720 cat >conftest.
$ac_ext <<_ACEOF
17723 cat confdefs.h
>>conftest.
$ac_ext
17724 cat >>conftest.
$ac_ext <<_ACEOF
17725 /* end confdefs.h. */
17726 $ac_includes_default
17727 long longval () { return (long) (sizeof (long long)); }
17728 unsigned long ulongval () { return (long) (sizeof (long long)); }
17730 #include <stdlib.h>
17735 FILE *f = fopen ("conftest.val", "w");
17738 if (((long) (sizeof (long long))) < 0)
17740 long i = longval ();
17741 if (i != ((long) (sizeof (long long))))
17743 fprintf (f, "%ld\n", i);
17747 unsigned long i = ulongval ();
17748 if (i != ((long) (sizeof (long long))))
17750 fprintf (f, "%lu\n", i);
17752 exit (ferror (f) || fclose (f) != 0);
17758 rm -f conftest
$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_cv_sizeof_long_long
=`cat conftest.val`
17771 echo "$as_me: program exited with status $ac_status" >&5
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.
$ac_ext >&5
17775 ( exit $ac_status )
17776 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17777 See \`config.log' for more details." >&5
17778 echo "$as_me: error: cannot compute sizeof (long long), 77
17779 See \`config.log' for more details." >&2;}
17780 { (exit 1); exit 1; }; }
17782 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17787 ac_cv_sizeof_long_long
=0
17790 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17791 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17792 cat >>confdefs.h
<<_ACEOF
17793 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17797 if test "$ac_cv_sizeof_long_long" != "0"; then
17798 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17802 echo "$as_me:$LINENO: checking for long long" >&5
17803 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17804 if test "${ac_cv_type_long_long+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813 $ac_includes_default
17817 if ((long long *) 0)
17819 if (sizeof (long long))
17825 rm -f conftest.
$ac_objext
17826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17827 (eval $ac_compile) 2>conftest.er1
17829 grep -v '^ *+' conftest.er1
>conftest.err
17831 cat conftest.err
>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } &&
17834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; } &&
17840 { ac_try
='test -s conftest.$ac_objext'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; }; then
17846 ac_cv_type_long_long
=yes
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.
$ac_ext >&5
17851 ac_cv_type_long_long
=no
17853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17856 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17858 echo "$as_me:$LINENO: checking size of long long" >&5
17859 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17860 if test "${ac_cv_sizeof_long_long+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 if test "$ac_cv_type_long_long" = yes; then
17864 # The cast to unsigned long works around a bug in the HP C Compiler
17865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17867 # This bug is HP SR number 8606223364.
17868 if test "$cross_compiling" = yes; then
17869 # Depending upon the size, compute the lo and hi bounds.
17870 cat >conftest.
$ac_ext <<_ACEOF
17873 cat confdefs.h
>>conftest.
$ac_ext
17874 cat >>conftest.
$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876 $ac_includes_default
17880 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17887 rm -f conftest.
$ac_objext
17888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17889 (eval $ac_compile) 2>conftest.er1
17891 grep -v '^ *+' conftest.er1
>conftest.err
17893 cat conftest.err
>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } &&
17896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; } &&
17902 { ac_try
='test -s conftest.$ac_objext'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; }; then
17910 cat >conftest.
$ac_ext <<_ACEOF
17913 cat confdefs.h
>>conftest.
$ac_ext
17914 cat >>conftest.
$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17920 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17927 rm -f conftest.
$ac_objext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17929 (eval $ac_compile) 2>conftest.er1
17931 grep -v '^ *+' conftest.er1
>conftest.err
17933 cat conftest.err
>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } &&
17936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try
='test -s conftest.$ac_objext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_hi
=$ac_mid; break
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.
$ac_ext >&5
17953 ac_lo
=`expr $ac_mid + 1`
17954 if test $ac_lo -le $ac_mid; then
17958 ac_mid
=`expr 2 '*' $ac_mid + 1`
17960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.
$ac_ext >&5
17966 cat >conftest.
$ac_ext <<_ACEOF
17969 cat confdefs.h
>>conftest.
$ac_ext
17970 cat >>conftest.
$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972 $ac_includes_default
17976 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17983 rm -f conftest.
$ac_objext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985 (eval $ac_compile) 2>conftest.er1
17987 grep -v '^ *+' conftest.er1
>conftest.err
17989 cat conftest.err
>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } &&
17992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; } &&
17998 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 $ac_includes_default
18016 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18023 rm -f conftest.
$ac_objext
18024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18025 (eval $ac_compile) 2>conftest.er1
18027 grep -v '^ *+' conftest.er1
>conftest.err
18029 cat conftest.err
>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } &&
18032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; } &&
18038 { ac_try
='test -s conftest.$ac_objext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18044 ac_lo
=$ac_mid; break
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18049 ac_hi
=`expr '(' $ac_mid ')' - 1`
18050 if test $ac_mid -le $ac_hi; then
18054 ac_mid
=`expr 2 '*' $ac_mid`
18056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18067 # Binary search between lo and hi bounds.
18068 while test "x$ac_lo" != "x$ac_hi"; do
18069 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18070 cat >conftest.
$ac_ext <<_ACEOF
18073 cat confdefs.h
>>conftest.
$ac_ext
18074 cat >>conftest.
$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18076 $ac_includes_default
18080 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18087 rm -f conftest.
$ac_objext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>conftest.er1
18091 grep -v '^ *+' conftest.er1
>conftest.err
18093 cat conftest.err
>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; } &&
18102 { ac_try
='test -s conftest.$ac_objext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.
$ac_ext >&5
18113 ac_lo
=`expr '(' $ac_mid ')' + 1`
18115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18119 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18120 See \`config.log' for more details." >&5
18121 echo "$as_me: error: cannot compute sizeof (long long), 77
18122 See \`config.log' for more details." >&2;}
18123 { (exit 1); exit 1; }; } ;;
18126 if test "$cross_compiling" = yes; then
18127 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18128 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18129 { (exit 1); exit 1; }; }
18131 cat >conftest.
$ac_ext <<_ACEOF
18134 cat confdefs.h
>>conftest.
$ac_ext
18135 cat >>conftest.
$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 $ac_includes_default
18138 long longval () { return (long) (sizeof (long long)); }
18139 unsigned long ulongval () { return (long) (sizeof (long long)); }
18141 #include <stdlib.h>
18146 FILE *f = fopen ("conftest.val", "w");
18149 if (((long) (sizeof (long long))) < 0)
18151 long i = longval ();
18152 if (i != ((long) (sizeof (long long))))
18154 fprintf (f, "%ld\n", i);
18158 unsigned long i = ulongval ();
18159 if (i != ((long) (sizeof (long long))))
18161 fprintf (f, "%lu\n", i);
18163 exit (ferror (f) || fclose (f) != 0);
18169 rm -f conftest
$ac_exeext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18171 (eval $ac_link) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18180 ac_cv_sizeof_long_long
=`cat conftest.val`
18182 echo "$as_me: program exited with status $ac_status" >&5
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.
$ac_ext >&5
18186 ( exit $ac_status )
18187 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18188 See \`config.log' for more details." >&5
18189 echo "$as_me: error: cannot compute sizeof (long long), 77
18190 See \`config.log' for more details." >&2;}
18191 { (exit 1); exit 1; }; }
18193 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18198 ac_cv_sizeof_long_long
=0
18201 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18202 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18203 cat >>confdefs.h
<<_ACEOF
18204 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18210 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18211 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18212 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 if test "$cross_compiling" = yes; then
18220 wx_cv_sizeof_wchar_t
=0
18223 wx_cv_sizeof_wchar_t
=4
18229 cat >conftest.
$ac_ext <<_ACEOF
18232 cat confdefs.h
>>conftest.
$ac_ext
18233 cat >>conftest.
$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18236 /* DJGPP only has fake wchar_t: */
18238 # error "fake wchar_t"
18240 #ifdef HAVE_WCHAR_H
18242 # include <stddef.h>
18244 # include <wchar.h>
18246 #ifdef HAVE_STDLIB_H
18247 # include <stdlib.h>
18252 FILE *f=fopen("conftestval", "w");
18254 fprintf(f, "%i", sizeof(wchar_t));
18259 rm -f conftest
$ac_exeext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18261 (eval $ac_link) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; }; then
18270 wx_cv_sizeof_wchar_t
=`cat conftestval`
18272 echo "$as_me: program exited with status $ac_status" >&5
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ( exit $ac_status )
18277 wx_cv_sizeof_wchar_t
=0
18279 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18283 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18284 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18286 cat >>confdefs.h
<<_ACEOF
18287 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18291 echo "$as_me:$LINENO: checking for va_copy" >&5
18292 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18293 if test "${wx_cv_func_va_copy+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 cat >conftest.
$ac_ext <<_ACEOF
18299 #include <stdarg.h>
18300 void foo(char *f, ...)
18314 rm -f conftest.
$ac_objext conftest
$ac_exeext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18316 (eval $ac_link) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest$ac_exeext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 wx_cv_func_va_copy
=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 wx_cv_func_va_copy
=no
18343 rm -f conftest.err conftest.
$ac_objext \
18344 conftest
$ac_exeext conftest.
$ac_ext
18348 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18349 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18351 if test $wx_cv_func_va_copy = "yes"; then
18352 cat >>confdefs.h
<<\_ACEOF
18353 #define HAVE_VA_COPY 1
18357 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18358 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18359 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 if test "$cross_compiling" = yes; then
18364 wx_cv_type_va_list_lvalue
=yes
18367 cat >conftest.
$ac_ext <<_ACEOF
18369 #include <stdarg.h>
18370 int foo(char *f, ...)
18375 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18383 return foo("hi", 17);
18386 rm -f conftest
$ac_exeext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18388 (eval $ac_link) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 wx_cv_type_va_list_lvalue
=yes
18399 echo "$as_me: program exited with status $ac_status" >&5
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ( exit $ac_status )
18404 wx_cv_type_va_list_lvalue
=no
18406 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18411 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18412 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18414 if test $wx_cv_type_va_list_lvalue != "yes"; then
18415 cat >>confdefs.h
<<\_ACEOF
18416 #define VA_LIST_IS_ARRAY 1
18422 # Check whether --enable-largefile or --disable-largefile was given.
18423 if test "${enable_largefile+set}" = set; then
18424 enableval
="$enable_largefile"
18427 if test "$enable_largefile" != no
; then
18430 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18431 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18432 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18433 echo $ECHO_N "(cached) $ECHO_C" >&6
18436 cat >conftest.
$ac_ext <<_ACEOF
18439 cat confdefs.h
>>conftest.
$ac_ext
18440 cat >>conftest.
$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 #define _FILE_OFFSET_BITS 64
18443 #include <sys/types.h>
18448 unsigned int field: sizeof(off_t) == 8;
18455 rm -f conftest.
$ac_objext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18457 (eval $ac_compile) 2>conftest.er1
18459 grep -v '^ *+' conftest.er1
>conftest.err
18461 cat conftest.err
>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_sys_file_offset_bits
=64
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_cv_sys_file_offset_bits
=no
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18488 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18490 if test "$ac_cv_sys_file_offset_bits" != no
; then
18492 cat >>confdefs.h
<<_ACEOF
18493 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18498 if test "x$wx_largefile" != "xyes"; then
18500 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18501 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18502 if test "${ac_cv_sys_large_files+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 #define _LARGE_FILES 1
18513 #include <sys/types.h>
18518 unsigned int field: sizeof(off_t) == 8;
18525 rm -f conftest.
$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527 (eval $ac_compile) 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try
='test -s conftest.$ac_objext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 ac_cv_sys_large_files
=1
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18551 ac_cv_sys_large_files
=no
18553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18557 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18558 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18560 if test "$ac_cv_sys_large_files" != no
; then
18562 cat >>confdefs.h
<<_ACEOF
18563 #define _LARGE_FILES $ac_cv_sys_large_files
18570 echo "$as_me:$LINENO: checking if large file support is available" >&5
18571 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18572 if test "x$wx_largefile" = "xyes"; then
18573 cat >>confdefs.h
<<\_ACEOF
18574 #define HAVE_LARGEFILE_SUPPORT 1
18578 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18579 echo "${ECHO_T}$wx_largefile" >&6
18583 if test "x$wx_largefile" = "xyes"; then
18584 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18585 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18587 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18589 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18590 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18591 if test "${ac_cv_sys_largefile_source+set}" = set; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 ac_cv_sys_largefile_source
=no
18596 cat >conftest.
$ac_ext <<_ACEOF
18599 cat confdefs.h
>>conftest.
$ac_ext
18600 cat >>conftest.
$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18611 rm -f conftest.
$ac_objext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 (eval $ac_compile) 2>conftest.er1
18615 grep -v '^ *+' conftest.er1
>conftest.err
18617 cat conftest.err
>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try
='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.
$ac_ext >&5
18638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 cat >conftest.
$ac_ext <<_ACEOF
18642 cat confdefs.h
>>conftest.
$ac_ext
18643 cat >>conftest.
$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645 #define _LARGEFILE_SOURCE 1
18655 rm -f conftest.
$ac_objext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18657 (eval $ac_compile) 2>conftest.er1
18659 grep -v '^ *+' conftest.er1
>conftest.err
18661 cat conftest.err
>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } &&
18664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try
='test -s conftest.$ac_objext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_sys_largefile_source
=1; break
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.
$ac_ext >&5
18682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18686 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18687 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18688 if test "$ac_cv_sys_largefile_source" != no
; then
18690 cat >>confdefs.h
<<_ACEOF
18691 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18697 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18698 # in glibc 2.1.3, but that breaks too many other things.
18699 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18700 echo "$as_me:$LINENO: checking for fseeko" >&5
18701 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18702 if test "${ac_cv_func_fseeko+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18715 return fseeko && fseeko (stdin, 0, 0);
18720 rm -f conftest.
$ac_objext conftest
$ac_exeext
18721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18722 (eval $ac_link) 2>conftest.er1
18724 grep -v '^ *+' conftest.er1
>conftest.err
18726 cat conftest.err
>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try
='test -s conftest$ac_exeext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 ac_cv_func_fseeko
=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 ac_cv_func_fseeko
=no
18748 rm -f conftest.err conftest.
$ac_objext \
18749 conftest
$ac_exeext conftest.
$ac_ext
18751 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18752 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18753 if test $ac_cv_func_fseeko = yes; then
18755 cat >>confdefs.h
<<\_ACEOF
18756 #define HAVE_FSEEKO 1
18761 if test "$ac_cv_sys_largefile_source" != no
; then
18762 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18764 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18767 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18768 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18769 if test "${ac_cv_c_bigendian+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 ac_cv_c_bigendian
=unknown
18773 # See if sys/param.h defines the BYTE_ORDER macro.
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <sys/types.h>
18781 #include <sys/param.h>
18786 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18787 bogus endian macros
18793 rm -f conftest.
$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>conftest.er1
18797 grep -v '^ *+' conftest.er1
>conftest.err
18799 cat conftest.err
>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try
='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 # It does; now see whether it defined to BIG_ENDIAN or not.
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <sys/types.h>
18822 #include <sys/param.h>
18827 #if BYTE_ORDER != BIG_ENDIAN
18834 rm -f conftest.
$ac_objext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18836 (eval $ac_compile) 2>conftest.er1
18838 grep -v '^ *+' conftest.er1
>conftest.err
18840 cat conftest.err
>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; } &&
18849 { ac_try
='test -s conftest.$ac_objext'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; }; then
18855 ac_cv_c_bigendian
=yes
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.
$ac_ext >&5
18860 ac_cv_c_bigendian
=no
18862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.
$ac_ext >&5
18868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18869 if test $ac_cv_c_bigendian = unknown
; then
18870 if test "$cross_compiling" = yes; then
18871 ac_cv_c_bigendian
=unknown
18873 cat >conftest.
$ac_ext <<_ACEOF
18876 cat confdefs.h
>>conftest.
$ac_ext
18877 cat >>conftest.
$ac_ext <<_ACEOF
18878 /* end confdefs.h. */
18880 /* Are we little or big endian? From Harbison&Steele. */
18884 char c[sizeof (long)];
18887 exit (u.c[sizeof (long) - 1] == 1);
18890 rm -f conftest
$ac_exeext
18891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18892 (eval $ac_link) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_cv_c_bigendian
=no
18903 echo "$as_me: program exited with status $ac_status" >&5
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.
$ac_ext >&5
18907 ( exit $ac_status )
18908 ac_cv_c_bigendian
=yes
18910 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18914 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18915 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18916 if test $ac_cv_c_bigendian = unknown
; then
18917 { 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
18918 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;}
18920 if test $ac_cv_c_bigendian = yes; then
18921 cat >>confdefs.h
<<\_ACEOF
18922 #define WORDS_BIGENDIAN 1
18929 ac_cpp
='$CXXCPP $CPPFLAGS'
18930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18933 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18934 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18935 if test -z "$CXXCPP"; then
18936 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 # Double quotes because CXXCPP needs to be expanded
18940 for CXXCPP
in "$CXX -E" "/lib/cpp"
18942 ac_preproc_ok
=false
18943 for ac_cxx_preproc_warn_flag
in '' yes
18945 # Use a header file that comes with gcc, so configuring glibc
18946 # with a fresh cross-compiler works.
18947 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18948 # <limits.h> exists even on freestanding compilers.
18949 # On the NeXT, cc -E runs the code through the compiler's parser,
18950 # not just through cpp. "Syntax error" is here to catch this case.
18951 cat >conftest.
$ac_ext <<_ACEOF
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18958 # include <limits.h>
18960 # include <assert.h>
18964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18967 grep -v '^ *+' conftest.er1
>conftest.err
18969 cat conftest.err
>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } >/dev
/null
; then
18972 if test -s conftest.err
; then
18973 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18974 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18981 if test -z "$ac_cpp_err"; then
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.
$ac_ext >&5
18987 # Broken: fails on valid input.
18990 rm -f conftest.err conftest.
$ac_ext
18992 # OK, works on sane cases. Now check whether non-existent headers
18993 # can be detected and how.
18994 cat >conftest.
$ac_ext <<_ACEOF
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <ac_nonexistent.h>
19002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } >/dev
/null
; then
19010 if test -s conftest.err
; then
19011 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19012 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19019 if test -z "$ac_cpp_err"; then
19020 # Broken: success on invalid input.
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.
$ac_ext >&5
19026 # Passes both tests.
19030 rm -f conftest.err conftest.
$ac_ext
19033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19034 rm -f conftest.err conftest.
$ac_ext
19035 if $ac_preproc_ok; then
19040 ac_cv_prog_CXXCPP
=$CXXCPP
19043 CXXCPP
=$ac_cv_prog_CXXCPP
19045 ac_cv_prog_CXXCPP
=$CXXCPP
19047 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19048 echo "${ECHO_T}$CXXCPP" >&6
19049 ac_preproc_ok
=false
19050 for ac_cxx_preproc_warn_flag
in '' yes
19052 # Use a header file that comes with gcc, so configuring glibc
19053 # with a fresh cross-compiler works.
19054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19055 # <limits.h> exists even on freestanding compilers.
19056 # On the NeXT, cc -E runs the code through the compiler's parser,
19057 # not just through cpp. "Syntax error" is here to catch this case.
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19065 # include <limits.h>
19067 # include <assert.h>
19071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19074 grep -v '^ *+' conftest.er1
>conftest.err
19076 cat conftest.err
>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } >/dev
/null
; then
19079 if test -s conftest.err
; then
19080 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19081 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19088 if test -z "$ac_cpp_err"; then
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19094 # Broken: fails on valid input.
19097 rm -f conftest.err conftest.
$ac_ext
19099 # OK, works on sane cases. Now check whether non-existent headers
19100 # can be detected and how.
19101 cat >conftest.
$ac_ext <<_ACEOF
19104 cat confdefs.h
>>conftest.
$ac_ext
19105 cat >>conftest.
$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #include <ac_nonexistent.h>
19109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19110 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19112 grep -v '^ *+' conftest.er1
>conftest.err
19114 cat conftest.err
>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } >/dev
/null
; then
19117 if test -s conftest.err
; then
19118 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19119 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19126 if test -z "$ac_cpp_err"; then
19127 # Broken: success on invalid input.
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.
$ac_ext >&5
19133 # Passes both tests.
19137 rm -f conftest.err conftest.
$ac_ext
19140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19141 rm -f conftest.err conftest.
$ac_ext
19142 if $ac_preproc_ok; then
19145 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19146 See \`config.log' for more details." >&5
19147 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19148 See \`config.log' for more details." >&2;}
19149 { (exit 1); exit 1; }; }
19153 ac_cpp
='$CXXCPP $CPPFLAGS'
19154 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19155 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19156 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19163 ac_cpp
='$CXXCPP $CPPFLAGS'
19164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19170 for ac_header
in iostream
19172 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19174 echo "$as_me:$LINENO: checking for $ac_header" >&5
19175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19182 # Is the header compilable?
19183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19192 #include <$ac_header>
19194 rm -f conftest.
$ac_objext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>conftest.er1
19198 grep -v '^ *+' conftest.er1
>conftest.err
19200 cat conftest.err
>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; } &&
19209 { ac_try
='test -s conftest.$ac_objext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_header_compiler
=yes
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.
$ac_ext >&5
19220 ac_header_compiler
=no
19222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19224 echo "${ECHO_T}$ac_header_compiler" >&6
19226 # Is the header present?
19227 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 #include <$ac_header>
19237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19240 grep -v '^ *+' conftest.er1
>conftest.err
19242 cat conftest.err
>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } >/dev
/null
; then
19245 if test -s conftest.err
; then
19246 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19247 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19254 if test -z "$ac_cpp_err"; then
19255 ac_header_preproc
=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19260 ac_header_preproc
=no
19262 rm -f conftest.err conftest.
$ac_ext
19263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19264 echo "${ECHO_T}$ac_header_preproc" >&6
19266 # So? What about this header?
19267 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19273 ac_header_preproc
=yes
19276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19290 ## ----------------------------------------- ##
19291 ## Report this to wx-dev@lists.wxwidgets.org ##
19292 ## ----------------------------------------- ##
19295 sed "s/^/$as_me: WARNING: /" >&2
19298 echo "$as_me:$LINENO: checking for $ac_header" >&5
19299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 eval "$as_ac_Header=\$ac_header_preproc"
19305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19310 cat >>confdefs.h
<<_ACEOF
19311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19319 if test "$ac_cv_header_iostream" = "yes" ; then
19322 cat >>confdefs.h
<<\_ACEOF
19323 #define wxUSE_IOSTREAMH 1
19329 ac_cpp
='$CPP $CPPFLAGS'
19330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19337 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19338 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19339 if test "${wx_cv_cpp_bool+set}" = set; then
19340 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 ac_cpp
='$CXXCPP $CPPFLAGS'
19347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19352 cat >conftest.
$ac_ext <<_ACEOF
19355 cat confdefs.h
>>conftest.
$ac_ext
19356 cat >>conftest.
$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19372 rm -f conftest.
$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>conftest.er1
19376 grep -v '^ *+' conftest.er1
>conftest.err
19378 cat conftest.err
>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try
='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.
$ac_ext >&5
19405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19408 ac_cpp
='$CPP $CPPFLAGS'
19409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19415 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19416 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19418 if test "$wx_cv_cpp_bool" = "yes"; then
19419 cat >>confdefs.h
<<\_ACEOF
19420 #define HAVE_BOOL 1
19427 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19428 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19429 if test "${wx_cv_explicit+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 ac_cpp
='$CXXCPP $CPPFLAGS'
19437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19449 class Foo { public: explicit Foo(int) {} };
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19483 cat >conftest.
$ac_ext <<_ACEOF
19486 cat confdefs.h
>>conftest.
$ac_ext
19487 cat >>conftest.
$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19490 class Foo { public: explicit Foo(int) {} };
19491 static void TakeFoo(const Foo& foo) { }
19504 rm -f conftest.
$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19508 grep -v '^ *+' conftest.er1
>conftest.err
19510 cat conftest.err
>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try
='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19545 ac_cpp
='$CPP $CPPFLAGS'
19546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19552 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19553 echo "${ECHO_T}$wx_cv_explicit" >&6
19555 if test "$wx_cv_explicit" = "yes"; then
19556 cat >>confdefs.h
<<\_ACEOF
19557 #define HAVE_EXPLICIT 1
19563 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19564 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19565 if test "${ac_cv_cxx_const_cast+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 ac_cpp
='$CXXCPP $CPPFLAGS'
19572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19586 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19591 rm -f conftest.
$ac_objext
19592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19593 (eval $ac_compile) 2>conftest.er1
19595 grep -v '^ *+' conftest.er1
>conftest.err
19597 cat conftest.err
>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } &&
19600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; } &&
19606 { ac_try
='test -s conftest.$ac_objext'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19612 ac_cv_cxx_const_cast
=yes
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 ac_cv_cxx_const_cast
=no
19619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 ac_cpp
='$CPP $CPPFLAGS'
19622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19628 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19629 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19630 if test "$ac_cv_cxx_const_cast" = yes; then
19632 cat >>confdefs.h
<<\_ACEOF
19633 #define HAVE_CONST_CAST
19638 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19639 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19640 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 ac_cpp
='$CXXCPP $CPPFLAGS'
19647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19651 cat >conftest.
$ac_ext <<_ACEOF
19654 cat confdefs.h
>>conftest.
$ac_ext
19655 cat >>conftest.
$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 #include <typeinfo>
19658 class Base { public : Base () {} virtual void f () = 0;};
19659 class Derived : public Base { public : Derived () {} virtual void f () {} };
19660 class Unrelated { public : Unrelated () {} };
19661 int g (Unrelated&) { return 0; }
19666 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19671 rm -f conftest.
$ac_objext
19672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19673 (eval $ac_compile) 2>conftest.er1
19675 grep -v '^ *+' conftest.er1
>conftest.err
19677 cat conftest.err
>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } &&
19680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; } &&
19686 { ac_try
='test -s conftest.$ac_objext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 ac_cv_cxx_reinterpret_cast
=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.
$ac_ext >&5
19697 ac_cv_cxx_reinterpret_cast
=no
19699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19701 ac_cpp
='$CPP $CPPFLAGS'
19702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19708 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19709 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19710 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19712 cat >>confdefs.h
<<\_ACEOF
19713 #define HAVE_REINTERPRET_CAST
19718 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19719 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19720 if test "${ac_cv_cxx_static_cast+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 ac_cpp
='$CXXCPP $CPPFLAGS'
19727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 #include <typeinfo>
19738 class Base { public : Base () {} virtual void f () = 0; };
19739 class Derived : public Base { public : Derived () {} virtual void f () {} };
19740 int g (Derived&) { return 0; }
19745 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19750 rm -f conftest.
$ac_objext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19752 (eval $ac_compile) 2>conftest.er1
19754 grep -v '^ *+' conftest.er1
>conftest.err
19756 cat conftest.err
>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } &&
19759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; } &&
19765 { ac_try
='test -s conftest.$ac_objext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 ac_cv_cxx_static_cast
=yes
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.
$ac_ext >&5
19776 ac_cv_cxx_static_cast
=no
19778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19780 ac_cpp
='$CPP $CPPFLAGS'
19781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19787 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19788 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19789 if test "$ac_cv_cxx_static_cast" = yes; then
19791 cat >>confdefs.h
<<\_ACEOF
19792 #define HAVE_STATIC_CAST
19798 if test "$wxUSE_STL" = "yes"; then
19800 ac_cpp
='$CXXCPP $CPPFLAGS'
19801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19806 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19807 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19815 #include <functional>
19816 #include <algorithm>
19822 std::vector<int> moo;
19823 std::list<int> foo;
19824 std::vector<int>::iterator it =
19825 std::find_if(moo.begin(), moo.end(),
19826 std::bind2nd(std::less<int>(), 3));
19831 rm -f conftest.
$ac_objext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19833 (eval $ac_compile) 2>conftest.er1
19835 grep -v '^ *+' conftest.er1
>conftest.err
19837 cat conftest.err
>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; } &&
19846 { ac_try
='test -s conftest.$ac_objext'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; }; then
19852 echo "$as_me:$LINENO: result: yes" >&5
19853 echo "${ECHO_T}yes" >&6
19855 echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.
$ac_ext >&5
19858 echo "$as_me:$LINENO: result: no" >&5
19859 echo "${ECHO_T}no" >&6
19860 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19861 echo "$as_me: error: Basic STL functionality missing" >&2;}
19862 { (exit 1); exit 1; }; }
19864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19866 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19867 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19883 rm -f conftest.
$ac_objext
19884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19885 (eval $ac_compile) 2>conftest.er1
19887 grep -v '^ *+' conftest.er1
>conftest.err
19889 cat conftest.err
>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
19892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; } &&
19898 { ac_try
='test -s conftest.$ac_objext'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 echo "$as_me:$LINENO: result: yes" >&5
19905 echo "${ECHO_T}yes" >&6
19906 cat >>confdefs.h
<<\_ACEOF
19907 #define HAVE_STD_WSTRING 1
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 echo "$as_me:$LINENO: result: no" >&5
19915 echo "${ECHO_T}no" >&6
19917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19920 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19921 cat >conftest.
$ac_ext <<_ACEOF
19924 cat confdefs.h
>>conftest.
$ac_ext
19925 cat >>conftest.
$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19931 std::string foo, bar;
19933 foo.compare(1, 1, bar);
19934 foo.compare(1, 1, bar, 1, 1);
19936 foo.compare(1, 1, "");
19937 foo.compare(1, 1, "", 2);
19942 rm -f conftest.
$ac_objext
19943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19944 (eval $ac_compile) 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 echo "$as_me:$LINENO: result: yes" >&5
19964 echo "${ECHO_T}yes" >&6
19965 cat >>confdefs.h
<<\_ACEOF
19966 #define HAVE_STD_STRING_COMPARE 1
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 echo "$as_me:$LINENO: result: no" >&5
19974 echo "${ECHO_T}no" >&6
19976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19978 if test "${ac_cv_header_hash_map+set}" = set; then
19979 echo "$as_me:$LINENO: checking for hash_map" >&5
19980 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19981 if test "${ac_cv_header_hash_map+set}" = set; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19985 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19987 # Is the header compilable?
19988 echo "$as_me:$LINENO: checking hash_map usability" >&5
19989 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 #include <hash_map>
19999 rm -f conftest.
$ac_objext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20001 (eval $ac_compile) 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest.$ac_objext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_header_compiler
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_header_compiler
=no
20027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20029 echo "${ECHO_T}$ac_header_compiler" >&6
20031 # Is the header present?
20032 echo "$as_me:$LINENO: checking hash_map presence" >&5
20033 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20034 cat >conftest.
$ac_ext <<_ACEOF
20037 cat confdefs.h
>>conftest.
$ac_ext
20038 cat >>conftest.
$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 #include <hash_map>
20042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20045 grep -v '^ *+' conftest.er1
>conftest.err
20047 cat conftest.err
>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } >/dev
/null
; then
20050 if test -s conftest.err
; then
20051 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20052 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20059 if test -z "$ac_cpp_err"; then
20060 ac_header_preproc
=yes
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20065 ac_header_preproc
=no
20067 rm -f conftest.err conftest.
$ac_ext
20068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20069 echo "${ECHO_T}$ac_header_preproc" >&6
20071 # So? What about this header?
20072 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20074 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20075 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20076 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20077 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20078 ac_header_preproc
=yes
20081 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20082 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20083 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20084 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20085 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20086 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20087 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20088 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20089 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20090 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20091 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20092 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20095 ## ----------------------------------------- ##
20096 ## Report this to wx-dev@lists.wxwidgets.org ##
20097 ## ----------------------------------------- ##
20100 sed "s/^/$as_me: WARNING: /" >&2
20103 echo "$as_me:$LINENO: checking for hash_map" >&5
20104 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20105 if test "${ac_cv_header_hash_map+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 ac_cv_header_hash_map
=$ac_header_preproc
20110 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20111 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20114 if test $ac_cv_header_hash_map = yes; then
20115 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20116 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20117 cat >conftest.
$ac_ext <<_ACEOF
20120 cat confdefs.h
>>conftest.
$ac_ext
20121 cat >>conftest.
$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123 #include <hash_map>
20124 #include <hash_set>
20128 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20129 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20134 rm -f conftest.
$ac_objext
20135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20136 (eval $ac_compile) 2>conftest.er1
20138 grep -v '^ *+' conftest.er1
>conftest.err
20140 cat conftest.err
>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } &&
20143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; } &&
20149 { ac_try
='test -s conftest.$ac_objext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 echo "$as_me:$LINENO: result: yes" >&5
20156 echo "${ECHO_T}yes" >&6
20157 cat >>confdefs.h
<<\_ACEOF
20158 #define HAVE_HASH_MAP 1
20161 cat >>confdefs.h
<<\_ACEOF
20162 #define HAVE_STD_HASH_MAP 1
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20169 echo "$as_me:$LINENO: result: no" >&5
20170 echo "${ECHO_T}no" >&6
20172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20178 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20179 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20180 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20181 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20184 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20185 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20187 # Is the header compilable?
20188 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20189 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20190 cat >conftest.
$ac_ext <<_ACEOF
20193 cat confdefs.h
>>conftest.
$ac_ext
20194 cat >>conftest.
$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 $ac_includes_default
20197 #include <ext/hash_map>
20199 rm -f conftest.
$ac_objext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20201 (eval $ac_compile) 2>conftest.er1
20203 grep -v '^ *+' conftest.er1
>conftest.err
20205 cat conftest.err
>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; } &&
20214 { ac_try
='test -s conftest.$ac_objext'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; }; then
20220 ac_header_compiler
=yes
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.
$ac_ext >&5
20225 ac_header_compiler
=no
20227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20229 echo "${ECHO_T}$ac_header_compiler" >&6
20231 # Is the header present?
20232 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20233 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20234 cat >conftest.
$ac_ext <<_ACEOF
20237 cat confdefs.h
>>conftest.
$ac_ext
20238 cat >>conftest.
$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <ext/hash_map>
20242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20245 grep -v '^ *+' conftest.er1
>conftest.err
20247 cat conftest.err
>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); } >/dev
/null
; then
20250 if test -s conftest.err
; then
20251 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20252 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20259 if test -z "$ac_cpp_err"; then
20260 ac_header_preproc
=yes
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.
$ac_ext >&5
20265 ac_header_preproc
=no
20267 rm -f conftest.err conftest.
$ac_ext
20268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20269 echo "${ECHO_T}$ac_header_preproc" >&6
20271 # So? What about this header?
20272 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20274 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20275 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20276 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20277 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20278 ac_header_preproc
=yes
20281 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20282 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20283 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20284 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20285 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20286 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20287 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20288 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20289 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20290 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20291 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20292 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20295 ## ----------------------------------------- ##
20296 ## Report this to wx-dev@lists.wxwidgets.org ##
20297 ## ----------------------------------------- ##
20300 sed "s/^/$as_me: WARNING: /" >&2
20303 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20304 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20305 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 ac_cv_header_ext_hash_map
=$ac_header_preproc
20310 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20311 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20314 if test $ac_cv_header_ext_hash_map = yes; then
20315 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20316 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20317 cat >conftest.
$ac_ext <<_ACEOF
20320 cat confdefs.h
>>conftest.
$ac_ext
20321 cat >>conftest.
$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <ext/hash_map>
20324 #include <ext/hash_set>
20328 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20329 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20334 rm -f conftest.
$ac_objext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20336 (eval $ac_compile) 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try
='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 echo "$as_me:$LINENO: result: yes" >&5
20356 echo "${ECHO_T}yes" >&6
20357 cat >>confdefs.h
<<\_ACEOF
20358 #define HAVE_EXT_HASH_MAP 1
20361 cat >>confdefs.h
<<\_ACEOF
20362 #define HAVE_GNU_CXX_HASH_MAP 1
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.
$ac_ext >&5
20369 echo "$as_me:$LINENO: result: no" >&5
20370 echo "${ECHO_T}no" >&6
20372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20379 ac_cpp
='$CPP $CPPFLAGS'
20380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20388 /usr/local/include \
20390 /usr/Motif-2.1/include \
20391 /usr/Motif-1.2/include \
20392 /usr/include/Motif1.2 \
20393 /opt/xpm/include/X11 \
20394 /opt/GBxpm/include/ \
20395 /opt/GBxpm/X11/include/ \
20398 /usr/openwin/include \
20402 /usr/X11R6/include \
20403 /usr/X11R6.4/include \
20404 /usr/X11R5/include \
20405 /usr/X11R4/include \
20407 /usr/include/X11R6 \
20408 /usr/include/X11R5 \
20409 /usr/include/X11R4 \
20411 /usr/local/X11R6/include \
20412 /usr/local/X11R5/include \
20413 /usr/local/X11R4/include \
20415 /usr/local/include/X11R6 \
20416 /usr/local/include/X11R5 \
20417 /usr/local/include/X11R4 \
20421 /usr/local/X11/include \
20422 /usr/local/include/X11 \
20424 /usr/X386/include \
20425 /usr/x386/include \
20426 /usr/XFree86/include/X11 \
20428 X:/XFree86/include \
20429 X:/XFree86/include/X11 \
20432 /usr/local/include/gtk \
20433 /usr/include/glib \
20434 /usr/local/include/glib \
20437 /usr/local/include/qt \
20439 /usr/local/arm/3.3.2/include \
20441 /usr/include/windows \
20442 /usr/include/wine \
20443 /usr/local/include/wine \
20445 /usr/unsupported/include \
20446 /usr/athena/include \
20447 /usr/local/x11r5/include \
20448 /usr/lpp/Xamples/include \
20450 /usr/openwin/share/include"
20452 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20455 cat >confcache
<<\_ACEOF
20456 # This file is a shell script that caches the results of configure
20457 # tests run on this system so they can be shared between configure
20458 # scripts and configure runs, see configure's option --config-cache.
20459 # It is not useful on other systems. If it contains results you don't
20460 # want to keep, you may remove or edit it.
20462 # config.status only pays attention to the cache file if you give it
20463 # the --recheck option to rerun configure.
20465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20467 # following values.
20471 # The following way of writing the cache mishandles newlines in values,
20472 # but we know of no workaround that is simple, portable, and efficient.
20473 # So, don't put newlines in cache variables' values.
20474 # Ultrix sh set writes to stderr and can't be redirected directly,
20475 # and sets the high bit in the cache file unless we assign to the vars.
20478 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20480 # `set' does not quote correctly, so add quotes (double-quote
20481 # substitution turns \\\\ into \\, and sed turns \\ into \).
20484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20487 # `set' quotes correctly as required by POSIX, so do not add quotes.
20489 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20496 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20498 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20500 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20501 if test -w $cache_file; then
20502 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20503 cat confcache
>$cache_file
20505 echo "not updating unwritable cache $cache_file"
20510 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20511 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20512 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20513 if test "${wx_cv_lib_glibc21+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20517 cat >conftest.
$ac_ext <<_ACEOF
20520 cat confdefs.h
>>conftest.
$ac_ext
20521 cat >>conftest.
$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20523 #include <features.h>
20528 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20529 #error not glibc2.1
20536 rm -f conftest.
$ac_objext
20537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20538 (eval $ac_compile) 2>conftest.er1
20540 grep -v '^ *+' conftest.er1
>conftest.err
20542 cat conftest.err
>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try
='test -s conftest.$ac_objext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20558 wx_cv_lib_glibc21
=yes
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.
$ac_ext >&5
20565 wx_cv_lib_glibc21
=no
20569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20572 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20573 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20574 if test "$wx_cv_lib_glibc21" = "yes"; then
20575 cat >>confdefs.h
<<\_ACEOF
20576 #define wxHAVE_GLIBC2 1
20582 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20583 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20584 cat >>confdefs.h
<<\_ACEOF
20585 #define _GNU_SOURCE 1
20593 if test "$wxUSE_REGEX" != "no"; then
20594 cat >>confdefs.h
<<\_ACEOF
20595 #define wxUSE_REGEX 1
20599 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20600 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20601 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20602 wxUSE_REGEX
=builtin
20605 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20606 if test "${ac_cv_header_regex_h+set}" = set; then
20607 echo "$as_me:$LINENO: checking for regex.h" >&5
20608 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20609 if test "${ac_cv_header_regex_h+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20613 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20615 # Is the header compilable?
20616 echo "$as_me:$LINENO: checking regex.h usability" >&5
20617 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20618 cat >conftest.
$ac_ext <<_ACEOF
20621 cat confdefs.h
>>conftest.
$ac_ext
20622 cat >>conftest.
$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20624 $ac_includes_default
20627 rm -f conftest.
$ac_objext
20628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20629 (eval $ac_compile) 2>conftest.er1
20631 grep -v '^ *+' conftest.er1
>conftest.err
20633 cat conftest.err
>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } &&
20636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; } &&
20642 { ac_try
='test -s conftest.$ac_objext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20648 ac_header_compiler
=yes
20650 echo "$as_me: failed program was:" >&5
20651 sed 's/^/| /' conftest.
$ac_ext >&5
20653 ac_header_compiler
=no
20655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20657 echo "${ECHO_T}$ac_header_compiler" >&6
20659 # Is the header present?
20660 echo "$as_me:$LINENO: checking regex.h presence" >&5
20661 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20662 cat >conftest.
$ac_ext <<_ACEOF
20665 cat confdefs.h
>>conftest.
$ac_ext
20666 cat >>conftest.
$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20673 grep -v '^ *+' conftest.er1
>conftest.err
20675 cat conftest.err
>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } >/dev
/null
; then
20678 if test -s conftest.err
; then
20679 ac_cpp_err
=$ac_c_preproc_warn_flag
20680 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20687 if test -z "$ac_cpp_err"; then
20688 ac_header_preproc
=yes
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.
$ac_ext >&5
20693 ac_header_preproc
=no
20695 rm -f conftest.err conftest.
$ac_ext
20696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20697 echo "${ECHO_T}$ac_header_preproc" >&6
20699 # So? What about this header?
20700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20702 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20703 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20704 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20705 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20706 ac_header_preproc
=yes
20709 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20710 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20711 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20712 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20713 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20714 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20715 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20716 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20717 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20718 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20719 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20720 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20723 ## ----------------------------------------- ##
20724 ## Report this to wx-dev@lists.wxwidgets.org ##
20725 ## ----------------------------------------- ##
20728 sed "s/^/$as_me: WARNING: /" >&2
20731 echo "$as_me:$LINENO: checking for regex.h" >&5
20732 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20733 if test "${ac_cv_header_regex_h+set}" = set; then
20734 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 ac_cv_header_regex_h
=$ac_header_preproc
20738 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20739 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20742 if test $ac_cv_header_regex_h = yes; then
20744 for ac_func
in regcomp
20746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20747 echo "$as_me:$LINENO: checking for $ac_func" >&5
20748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20749 if eval "test \"\${$as_ac_var+set}\" = set"; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 cat >conftest.
$ac_ext <<_ACEOF
20755 cat confdefs.h
>>conftest.
$ac_ext
20756 cat >>conftest.
$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20760 #define $ac_func innocuous_$ac_func
20762 /* System header to define __stub macros and hopefully few prototypes,
20763 which can conflict with char $ac_func (); below.
20764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20765 <limits.h> exists even on freestanding compilers. */
20768 # include <limits.h>
20770 # include <assert.h>
20775 /* Override any gcc2 internal prototype to avoid an error. */
20780 /* We use char because int might match the return type of a gcc2
20781 builtin and then its argument prototype would still apply. */
20783 /* The GNU C library defines this for functions which it implements
20784 to always fail with ENOSYS. Some functions are actually named
20785 something starting with __ and the normal name is an alias. */
20786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20789 char (*f) () = $ac_func;
20798 return f != $ac_func;
20803 rm -f conftest.
$ac_objext conftest
$ac_exeext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest$ac_exeext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 eval "$as_ac_var=yes"
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 eval "$as_ac_var=no"
20831 rm -f conftest.err conftest.
$ac_objext \
20832 conftest
$ac_exeext conftest.
$ac_ext
20834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20836 if test `eval echo '${'$as_ac_var'}'` = yes; then
20837 cat >>confdefs.h
<<_ACEOF
20838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20848 if test "x$ac_cv_func_regcomp" != "xyes"; then
20849 if test "$wxUSE_REGEX" = "sys" ; then
20850 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20851 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20852 { (exit 1); exit 1; }; }
20854 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20855 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20856 wxUSE_REGEX
=builtin
20860 cat >>confdefs.h
<<\_ACEOF
20861 #define WX_NO_REGEX_ADVANCED 1
20870 if test "$wxUSE_ZLIB" != "no" ; then
20871 cat >>confdefs.h
<<\_ACEOF
20872 #define wxUSE_ZLIB 1
20876 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20877 if test "$USE_DARWIN" = 1; then
20878 system_zlib_h_ok
="yes"
20880 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20881 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20882 if test "${ac_cv_header_zlib_h+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 if test "$cross_compiling" = yes; then
20886 unset ac_cv_header_zlib_h
20889 cat >conftest.
$ac_ext <<_ACEOF
20892 cat confdefs.h
>>conftest.
$ac_ext
20893 cat >>conftest.
$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20901 FILE *f=fopen("conftestval", "w");
20904 ZLIB_VERSION[0] == '1' &&
20905 (ZLIB_VERSION[2] > '1' ||
20906 (ZLIB_VERSION[2] == '1' &&
20907 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20912 rm -f conftest
$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; }; then
20923 ac_cv_header_zlib_h
=`cat conftestval`
20925 echo "$as_me: program exited with status $ac_status" >&5
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20929 ( exit $ac_status )
20930 ac_cv_header_zlib_h
=no
20932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20936 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20937 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20938 if test "${ac_cv_header_zlib_h+set}" = set; then
20939 echo "$as_me:$LINENO: checking for zlib.h" >&5
20940 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20941 if test "${ac_cv_header_zlib_h+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20945 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20947 # Is the header compilable?
20948 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20949 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 $ac_includes_default
20959 rm -f conftest.
$ac_objext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20961 (eval $ac_compile) 2>conftest.er1
20963 grep -v '^ *+' conftest.er1
>conftest.err
20965 cat conftest.err
>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } &&
20968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; } &&
20974 { ac_try
='test -s conftest.$ac_objext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_header_compiler
=yes
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.
$ac_ext >&5
20985 ac_header_compiler
=no
20987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20989 echo "${ECHO_T}$ac_header_compiler" >&6
20991 # Is the header present?
20992 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20993 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20994 cat >conftest.
$ac_ext <<_ACEOF
20997 cat confdefs.h
>>conftest.
$ac_ext
20998 cat >>conftest.
$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21005 grep -v '^ *+' conftest.er1
>conftest.err
21007 cat conftest.err
>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } >/dev
/null
; then
21010 if test -s conftest.err
; then
21011 ac_cpp_err
=$ac_c_preproc_warn_flag
21012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21019 if test -z "$ac_cpp_err"; then
21020 ac_header_preproc
=yes
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 ac_header_preproc
=no
21027 rm -f conftest.err conftest.
$ac_ext
21028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21029 echo "${ECHO_T}$ac_header_preproc" >&6
21031 # So? What about this header?
21032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21034 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21035 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21036 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21037 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21038 ac_header_preproc
=yes
21041 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21042 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21043 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21044 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21045 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21046 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21047 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21048 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21049 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21050 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21051 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21052 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21055 ## ----------------------------------------- ##
21056 ## Report this to wx-dev@lists.wxwidgets.org ##
21057 ## ----------------------------------------- ##
21060 sed "s/^/$as_me: WARNING: /" >&2
21063 echo "$as_me:$LINENO: checking for zlib.h" >&5
21064 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21065 if test "${ac_cv_header_zlib_h+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 ac_cv_header_zlib_h
=$ac_header_preproc
21070 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21071 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21077 system_zlib_h_ok
=$ac_cv_header_zlib_h
21080 if test "$system_zlib_h_ok" = "yes"; then
21081 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21082 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21083 if test "${ac_cv_lib_z_deflate+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_check_lib_save_LIBS
=$LIBS
21088 cat >conftest.
$ac_ext <<_ACEOF
21091 cat confdefs.h
>>conftest.
$ac_ext
21092 cat >>conftest.
$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21095 /* Override any gcc2 internal prototype to avoid an error. */
21099 /* We use char because int might match the return type of a gcc2
21100 builtin and then its argument prototype would still apply. */
21110 rm -f conftest.
$ac_objext conftest
$ac_exeext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21112 (eval $ac_link) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try
='test -s conftest$ac_exeext'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; }; then
21131 ac_cv_lib_z_deflate
=yes
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.
$ac_ext >&5
21136 ac_cv_lib_z_deflate
=no
21138 rm -f conftest.err conftest.
$ac_objext \
21139 conftest
$ac_exeext conftest.
$ac_ext
21140 LIBS
=$ac_check_lib_save_LIBS
21142 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21143 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21144 if test $ac_cv_lib_z_deflate = yes; then
21150 if test "x$ZLIB_LINK" = "x" ; then
21151 if test "$wxUSE_ZLIB" = "sys" ; then
21152 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21153 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21154 { (exit 1); exit 1; }; }
21156 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21157 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21168 if test "$wxUSE_LIBPNG" != "no" ; then
21169 cat >>confdefs.h
<<\_ACEOF
21170 #define wxUSE_LIBPNG 1
21174 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21175 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21176 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21180 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21181 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21182 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21183 wxUSE_LIBPNG
=builtin
21186 if test "$wxUSE_MGL" != 1 ; then
21187 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21188 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21189 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21190 if test "${ac_cv_header_png_h+set}" = set; then
21191 echo $ECHO_N "(cached) $ECHO_C" >&6
21193 if test "$cross_compiling" = yes; then
21194 unset ac_cv_header_png_h
21197 cat >conftest.
$ac_ext <<_ACEOF
21200 cat confdefs.h
>>conftest.
$ac_ext
21201 cat >>conftest.
$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21209 FILE *f=fopen("conftestval", "w");
21212 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21217 rm -f conftest
$ac_exeext
21218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21219 (eval $ac_link) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; }; then
21228 ac_cv_header_png_h
=`cat conftestval`
21230 echo "$as_me: program exited with status $ac_status" >&5
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.
$ac_ext >&5
21234 ( exit $ac_status )
21235 ac_cv_header_png_h
=no
21237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21241 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21242 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21243 if test "${ac_cv_header_png_h+set}" = set; then
21244 echo "$as_me:$LINENO: checking for png.h" >&5
21245 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21246 if test "${ac_cv_header_png_h+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21250 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21252 # Is the header compilable?
21253 echo "$as_me:$LINENO: checking png.h usability" >&5
21254 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21255 cat >conftest.
$ac_ext <<_ACEOF
21258 cat confdefs.h
>>conftest.
$ac_ext
21259 cat >>conftest.
$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21264 rm -f conftest.
$ac_objext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21266 (eval $ac_compile) 2>conftest.er1
21268 grep -v '^ *+' conftest.er1
>conftest.err
21270 cat conftest.err
>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try
='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 ac_header_compiler
=yes
21287 echo "$as_me: failed program was:" >&5
21288 sed 's/^/| /' conftest.
$ac_ext >&5
21290 ac_header_compiler
=no
21292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21294 echo "${ECHO_T}$ac_header_compiler" >&6
21296 # Is the header present?
21297 echo "$as_me:$LINENO: checking png.h presence" >&5
21298 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21310 grep -v '^ *+' conftest.er1
>conftest.err
21312 cat conftest.err
>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } >/dev
/null
; then
21315 if test -s conftest.err
; then
21316 ac_cpp_err
=$ac_c_preproc_warn_flag
21317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21324 if test -z "$ac_cpp_err"; then
21325 ac_header_preproc
=yes
21327 echo "$as_me: failed program was:" >&5
21328 sed 's/^/| /' conftest.
$ac_ext >&5
21330 ac_header_preproc
=no
21332 rm -f conftest.err conftest.
$ac_ext
21333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21334 echo "${ECHO_T}$ac_header_preproc" >&6
21336 # So? What about this header?
21337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21339 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21340 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21341 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21342 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21343 ac_header_preproc
=yes
21346 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21347 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21348 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21349 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21350 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21351 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21352 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21353 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21354 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21355 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21356 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21357 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21360 ## ----------------------------------------- ##
21361 ## Report this to wx-dev@lists.wxwidgets.org ##
21362 ## ----------------------------------------- ##
21365 sed "s/^/$as_me: WARNING: /" >&2
21368 echo "$as_me:$LINENO: checking for png.h" >&5
21369 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21370 if test "${ac_cv_header_png_h+set}" = set; then
21371 echo $ECHO_N "(cached) $ECHO_C" >&6
21373 ac_cv_header_png_h
=$ac_header_preproc
21375 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21376 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21382 if test "$ac_cv_header_png_h" = "yes"; then
21383 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21384 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21385 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 ac_check_lib_save_LIBS
=$LIBS
21389 LIBS
="-lpng -lz -lm $LIBS"
21390 cat >conftest.
$ac_ext <<_ACEOF
21393 cat confdefs.h
>>conftest.
$ac_ext
21394 cat >>conftest.
$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21397 /* Override any gcc2 internal prototype to avoid an error. */
21401 /* We use char because int might match the return type of a gcc2
21402 builtin and then its argument prototype would still apply. */
21403 char png_check_sig ();
21412 rm -f conftest.
$ac_objext conftest
$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414 (eval $ac_link) 2>conftest.er1
21416 grep -v '^ *+' conftest.er1
>conftest.err
21418 cat conftest.err
>&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try
='test -s conftest$ac_exeext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_cv_lib_png_png_check_sig
=yes
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ac_cv_lib_png_png_check_sig
=no
21440 rm -f conftest.err conftest.
$ac_objext \
21441 conftest
$ac_exeext conftest.
$ac_ext
21442 LIBS
=$ac_check_lib_save_LIBS
21444 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21445 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21446 if test $ac_cv_lib_png_png_check_sig = yes; then
21447 PNG_LINK
=" -lpng -lz"
21452 if test "x$PNG_LINK" = "x" ; then
21453 if test "$wxUSE_LIBPNG" = "sys" ; then
21454 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21455 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21456 { (exit 1); exit 1; }; }
21458 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21459 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21460 wxUSE_LIBPNG
=builtin
21468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21473 if test "$wxUSE_LIBJPEG" != "no" ; then
21474 cat >>confdefs.h
<<\_ACEOF
21475 #define wxUSE_LIBJPEG 1
21479 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21480 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21481 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21485 if test "$wxUSE_MGL" != 1 ; then
21486 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21487 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21488 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21489 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 cat >conftest.
$ac_ext <<_ACEOF
21495 cat confdefs.h
>>conftest.
$ac_ext
21496 cat >>conftest.
$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21499 #undef HAVE_STDLIB_H
21501 #include <jpeglib.h>
21512 rm -f conftest.
$ac_objext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21514 (eval $ac_compile) 2>conftest.er1
21516 grep -v '^ *+' conftest.er1
>conftest.err
21518 cat conftest.err
>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; } &&
21527 { ac_try
='test -s conftest.$ac_objext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_cv_header_jpeglib_h
=yes
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21538 ac_cv_header_jpeglib_h
=no
21541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21545 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21546 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21548 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21549 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21550 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21551 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 ac_check_lib_save_LIBS
=$LIBS
21555 LIBS
="-ljpeg $LIBS"
21556 cat >conftest.
$ac_ext <<_ACEOF
21559 cat confdefs.h
>>conftest.
$ac_ext
21560 cat >>conftest.
$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21563 /* Override any gcc2 internal prototype to avoid an error. */
21567 /* We use char because int might match the return type of a gcc2
21568 builtin and then its argument prototype would still apply. */
21569 char jpeg_read_header ();
21573 jpeg_read_header ();
21578 rm -f conftest.
$ac_objext conftest
$ac_exeext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21580 (eval $ac_link) 2>conftest.er1
21582 grep -v '^ *+' conftest.er1
>conftest.err
21584 cat conftest.err
>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try
='test -s conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_cv_lib_jpeg_jpeg_read_header
=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21604 ac_cv_lib_jpeg_jpeg_read_header
=no
21606 rm -f conftest.err conftest.
$ac_objext \
21607 conftest
$ac_exeext conftest.
$ac_ext
21608 LIBS
=$ac_check_lib_save_LIBS
21610 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21611 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21612 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21613 JPEG_LINK
=" -ljpeg"
21618 if test "x$JPEG_LINK" = "x" ; then
21619 if test "$wxUSE_LIBJPEG" = "sys" ; then
21620 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21621 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21622 { (exit 1); exit 1; }; }
21624 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21625 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21626 wxUSE_LIBJPEG
=builtin
21637 TIFF_PREREQ_LINKS
=-lm
21638 if test "$wxUSE_LIBTIFF" != "no" ; then
21639 cat >>confdefs.h
<<\_ACEOF
21640 #define wxUSE_LIBTIFF 1
21644 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21645 if test "$wxUSE_LIBJPEG" = "sys"; then
21646 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21648 if test "$wxUSE_ZLIB" = "sys"; then
21649 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21651 if test "${ac_cv_header_tiffio_h+set}" = set; then
21652 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21653 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21654 if test "${ac_cv_header_tiffio_h+set}" = set; then
21655 echo $ECHO_N "(cached) $ECHO_C" >&6
21657 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21658 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21660 # Is the header compilable?
21661 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21662 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21663 cat >conftest.
$ac_ext <<_ACEOF
21666 cat confdefs.h
>>conftest.
$ac_ext
21667 cat >>conftest.
$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 #include <tiffio.h>
21672 rm -f conftest.
$ac_objext
21673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21674 (eval $ac_compile) 2>conftest.er1
21676 grep -v '^ *+' conftest.er1
>conftest.err
21678 cat conftest.err
>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } &&
21681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; } &&
21687 { ac_try
='test -s conftest.$ac_objext'
21688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21689 (eval $ac_try) 2>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); }; }; then
21693 ac_header_compiler
=yes
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.
$ac_ext >&5
21698 ac_header_compiler
=no
21700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21702 echo "${ECHO_T}$ac_header_compiler" >&6
21704 # Is the header present?
21705 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21706 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21707 cat >conftest.
$ac_ext <<_ACEOF
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 #include <tiffio.h>
21715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21718 grep -v '^ *+' conftest.er1
>conftest.err
21720 cat conftest.err
>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } >/dev
/null
; then
21723 if test -s conftest.err
; then
21724 ac_cpp_err
=$ac_c_preproc_warn_flag
21725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21732 if test -z "$ac_cpp_err"; then
21733 ac_header_preproc
=yes
21735 echo "$as_me: failed program was:" >&5
21736 sed 's/^/| /' conftest.
$ac_ext >&5
21738 ac_header_preproc
=no
21740 rm -f conftest.err conftest.
$ac_ext
21741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21742 echo "${ECHO_T}$ac_header_preproc" >&6
21744 # So? What about this header?
21745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21747 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21748 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21749 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21750 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21751 ac_header_preproc
=yes
21754 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21755 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21756 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21757 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21758 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21759 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21760 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21761 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21762 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21763 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21764 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21765 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21768 ## ----------------------------------------- ##
21769 ## Report this to wx-dev@lists.wxwidgets.org ##
21770 ## ----------------------------------------- ##
21773 sed "s/^/$as_me: WARNING: /" >&2
21776 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21777 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21778 if test "${ac_cv_header_tiffio_h+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 ac_cv_header_tiffio_h
=$ac_header_preproc
21783 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21784 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21787 if test $ac_cv_header_tiffio_h = yes; then
21789 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21790 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21791 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 ac_check_lib_save_LIBS
=$LIBS
21795 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21796 cat >conftest.
$ac_ext <<_ACEOF
21799 cat confdefs.h
>>conftest.
$ac_ext
21800 cat >>conftest.
$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21803 /* Override any gcc2 internal prototype to avoid an error. */
21807 /* We use char because int might match the return type of a gcc2
21808 builtin and then its argument prototype would still apply. */
21818 rm -f conftest.
$ac_objext conftest
$ac_exeext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21820 (eval $ac_link) 2>conftest.er1
21822 grep -v '^ *+' conftest.er1
>conftest.err
21824 cat conftest.err
>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try
='test -s conftest$ac_exeext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_cv_lib_tiff_TIFFError
=yes
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.
$ac_ext >&5
21844 ac_cv_lib_tiff_TIFFError
=no
21846 rm -f conftest.err conftest.
$ac_objext \
21847 conftest
$ac_exeext conftest.
$ac_ext
21848 LIBS
=$ac_check_lib_save_LIBS
21850 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21851 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21852 if test $ac_cv_lib_tiff_TIFFError = yes; then
21853 TIFF_LINK
=" -ltiff"
21862 if test "x$TIFF_LINK" = "x" ; then
21863 if test "$wxUSE_LIBTIFF" = "sys" ; then
21864 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21865 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21866 { (exit 1); exit 1; }; }
21868 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21869 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21870 wxUSE_LIBTIFF
=builtin
21879 if test "$wxUSE_EXPAT" != "no"; then
21881 cat >>confdefs.h
<<\_ACEOF
21882 #define wxUSE_EXPAT 1
21885 cat >>confdefs.h
<<\_ACEOF
21886 #define wxUSE_XML 1
21890 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21891 if test "${ac_cv_header_expat_h+set}" = set; then
21892 echo "$as_me:$LINENO: checking for expat.h" >&5
21893 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21894 if test "${ac_cv_header_expat_h+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21897 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21898 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21900 # Is the header compilable?
21901 echo "$as_me:$LINENO: checking expat.h usability" >&5
21902 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21903 cat >conftest.
$ac_ext <<_ACEOF
21906 cat confdefs.h
>>conftest.
$ac_ext
21907 cat >>conftest.
$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 $ac_includes_default
21912 rm -f conftest.
$ac_objext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21914 (eval $ac_compile) 2>conftest.er1
21916 grep -v '^ *+' conftest.er1
>conftest.err
21918 cat conftest.err
>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } &&
21921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21923 (eval $ac_try) 2>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); }; } &&
21927 { ac_try
='test -s conftest.$ac_objext'
21928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21929 (eval $ac_try) 2>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); }; }; then
21933 ac_header_compiler
=yes
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.
$ac_ext >&5
21938 ac_header_compiler
=no
21940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21942 echo "${ECHO_T}$ac_header_compiler" >&6
21944 # Is the header present?
21945 echo "$as_me:$LINENO: checking expat.h presence" >&5
21946 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21947 cat >conftest.
$ac_ext <<_ACEOF
21950 cat confdefs.h
>>conftest.
$ac_ext
21951 cat >>conftest.
$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21958 grep -v '^ *+' conftest.er1
>conftest.err
21960 cat conftest.err
>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } >/dev
/null
; then
21963 if test -s conftest.err
; then
21964 ac_cpp_err
=$ac_c_preproc_warn_flag
21965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21972 if test -z "$ac_cpp_err"; then
21973 ac_header_preproc
=yes
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.
$ac_ext >&5
21978 ac_header_preproc
=no
21980 rm -f conftest.err conftest.
$ac_ext
21981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21982 echo "${ECHO_T}$ac_header_preproc" >&6
21984 # So? What about this header?
21985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21987 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21988 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21989 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21990 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21991 ac_header_preproc
=yes
21994 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21995 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21996 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21997 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21998 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21999 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22000 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22001 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22002 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22003 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22004 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22005 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22008 ## ----------------------------------------- ##
22009 ## Report this to wx-dev@lists.wxwidgets.org ##
22010 ## ----------------------------------------- ##
22013 sed "s/^/$as_me: WARNING: /" >&2
22016 echo "$as_me:$LINENO: checking for expat.h" >&5
22017 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22018 if test "${ac_cv_header_expat_h+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22021 ac_cv_header_expat_h
=$ac_header_preproc
22023 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22024 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22027 if test $ac_cv_header_expat_h = yes; then
22032 if test "x$found_expat_h" = "x1"; then
22033 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22034 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22035 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 ac_cpp
='$CXXCPP $CPPFLAGS'
22043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22047 cat >conftest.
$ac_ext <<_ACEOF
22050 cat confdefs.h
>>conftest.
$ac_ext
22051 cat >>conftest.
$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22062 rm -f conftest.
$ac_objext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22064 (eval $ac_compile) 2>conftest.er1
22066 grep -v '^ *+' conftest.er1
>conftest.err
22068 cat conftest.err
>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22073 (eval $ac_try) 2>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); }; } &&
22077 { ac_try
='test -s conftest.$ac_objext'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; }; then
22083 wx_cv_expat_is_not_broken
=yes
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.
$ac_ext >&5
22088 wx_cv_expat_is_not_broken
=no
22091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22093 ac_cpp
='$CPP $CPPFLAGS'
22094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22101 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22102 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22103 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22104 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22105 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22106 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 ac_check_lib_save_LIBS
=$LIBS
22110 LIBS
="-lexpat $LIBS"
22111 cat >conftest.
$ac_ext <<_ACEOF
22114 cat confdefs.h
>>conftest.
$ac_ext
22115 cat >>conftest.
$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22118 /* Override any gcc2 internal prototype to avoid an error. */
22122 /* We use char because int might match the return type of a gcc2
22123 builtin and then its argument prototype would still apply. */
22124 char XML_ParserCreate ();
22128 XML_ParserCreate ();
22133 rm -f conftest.
$ac_objext conftest
$ac_exeext
22134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22135 (eval $ac_link) 2>conftest.er1
22137 grep -v '^ *+' conftest.er1
>conftest.err
22139 cat conftest.err
>&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } &&
22142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; } &&
22148 { ac_try
='test -s conftest$ac_exeext'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 ac_cv_lib_expat_XML_ParserCreate
=yes
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.
$ac_ext >&5
22159 ac_cv_lib_expat_XML_ParserCreate
=no
22161 rm -f conftest.err conftest.
$ac_objext \
22162 conftest
$ac_exeext conftest.
$ac_ext
22163 LIBS
=$ac_check_lib_save_LIBS
22165 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22166 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22167 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22168 EXPAT_LINK
=" -lexpat"
22173 if test "x$EXPAT_LINK" = "x" ; then
22174 if test "$wxUSE_EXPAT" = "sys" ; then
22175 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22176 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22177 { (exit 1); exit 1; }; }
22179 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22180 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22181 wxUSE_EXPAT
=builtin
22187 if test "$wxUSE_EXPAT" = "builtin" ; then
22190 subdirs
="$subdirs src/expat"
22197 if test "$wxUSE_LIBMSPACK" != "no"; then
22198 if test "${ac_cv_header_mspack_h+set}" = set; then
22199 echo "$as_me:$LINENO: checking for mspack.h" >&5
22200 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22201 if test "${ac_cv_header_mspack_h+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22204 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22205 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22207 # Is the header compilable?
22208 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22209 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22210 cat >conftest.
$ac_ext <<_ACEOF
22213 cat confdefs.h
>>conftest.
$ac_ext
22214 cat >>conftest.
$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216 $ac_includes_default
22217 #include <mspack.h>
22219 rm -f conftest.
$ac_objext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22221 (eval $ac_compile) 2>conftest.er1
22223 grep -v '^ *+' conftest.er1
>conftest.err
22225 cat conftest.err
>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; } &&
22234 { ac_try
='test -s conftest.$ac_objext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_header_compiler
=yes
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.
$ac_ext >&5
22245 ac_header_compiler
=no
22247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22249 echo "${ECHO_T}$ac_header_compiler" >&6
22251 # Is the header present?
22252 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22253 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22254 cat >conftest.
$ac_ext <<_ACEOF
22257 cat confdefs.h
>>conftest.
$ac_ext
22258 cat >>conftest.
$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 #include <mspack.h>
22262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22265 grep -v '^ *+' conftest.er1
>conftest.err
22267 cat conftest.err
>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } >/dev
/null
; then
22270 if test -s conftest.err
; then
22271 ac_cpp_err
=$ac_c_preproc_warn_flag
22272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22279 if test -z "$ac_cpp_err"; then
22280 ac_header_preproc
=yes
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.
$ac_ext >&5
22285 ac_header_preproc
=no
22287 rm -f conftest.err conftest.
$ac_ext
22288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22289 echo "${ECHO_T}$ac_header_preproc" >&6
22291 # So? What about this header?
22292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22294 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22295 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22296 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22297 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22298 ac_header_preproc
=yes
22301 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22302 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22303 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22304 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22305 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22306 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22307 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22308 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22309 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22310 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22311 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22312 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22315 ## ----------------------------------------- ##
22316 ## Report this to wx-dev@lists.wxwidgets.org ##
22317 ## ----------------------------------------- ##
22320 sed "s/^/$as_me: WARNING: /" >&2
22323 echo "$as_me:$LINENO: checking for mspack.h" >&5
22324 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22325 if test "${ac_cv_header_mspack_h+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 ac_cv_header_mspack_h
=$ac_header_preproc
22330 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22331 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22334 if test $ac_cv_header_mspack_h = yes; then
22339 if test "x$found_mspack_h" = "x1"; then
22340 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22341 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22342 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22343 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 ac_check_lib_save_LIBS
=$LIBS
22346 LIBS
="-lmspack $LIBS"
22347 cat >conftest.
$ac_ext <<_ACEOF
22350 cat confdefs.h
>>conftest.
$ac_ext
22351 cat >>conftest.
$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22354 /* Override any gcc2 internal prototype to avoid an error. */
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22360 char mspack_create_chm_decompressor ();
22364 mspack_create_chm_decompressor ();
22369 rm -f conftest.
$ac_objext conftest
$ac_exeext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22371 (eval $ac_link) 2>conftest.er1
22373 grep -v '^ *+' conftest.er1
>conftest.err
22375 cat conftest.err
>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } &&
22378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try
='test -s conftest$ac_exeext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.
$ac_ext >&5
22395 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22397 rm -f conftest.err conftest.
$ac_objext \
22398 conftest
$ac_exeext conftest.
$ac_ext
22399 LIBS
=$ac_check_lib_save_LIBS
22401 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22402 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22403 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22404 MSPACK_LINK
=" -lmspack"
22408 if test "x$MSPACK_LINK" = "x" ; then
22413 if test "$wxUSE_LIBMSPACK" != "no"; then
22414 cat >>confdefs.h
<<\_ACEOF
22415 #define wxUSE_LIBMSPACK 1
22429 if test "$USE_WIN32" = 1 ; then
22431 for ac_header
in w32api.h
22433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22435 echo "$as_me:$LINENO: checking for $ac_header" >&5
22436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22438 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22443 # Is the header compilable?
22444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22446 cat >conftest.
$ac_ext <<_ACEOF
22449 cat confdefs.h
>>conftest.
$ac_ext
22450 cat >>conftest.
$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 $ac_includes_default
22453 #include <$ac_header>
22455 rm -f conftest.
$ac_objext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22457 (eval $ac_compile) 2>conftest.er1
22459 grep -v '^ *+' conftest.er1
>conftest.err
22461 cat conftest.err
>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22466 (eval $ac_try) 2>&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); }; } &&
22470 { ac_try
='test -s conftest.$ac_objext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476 ac_header_compiler
=yes
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.
$ac_ext >&5
22481 ac_header_compiler
=no
22483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22485 echo "${ECHO_T}$ac_header_compiler" >&6
22487 # Is the header present?
22488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22490 cat >conftest.
$ac_ext <<_ACEOF
22493 cat confdefs.h
>>conftest.
$ac_ext
22494 cat >>conftest.
$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 #include <$ac_header>
22498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22501 grep -v '^ *+' conftest.er1
>conftest.err
22503 cat conftest.err
>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } >/dev
/null
; then
22506 if test -s conftest.err
; then
22507 ac_cpp_err
=$ac_c_preproc_warn_flag
22508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22515 if test -z "$ac_cpp_err"; then
22516 ac_header_preproc
=yes
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.
$ac_ext >&5
22521 ac_header_preproc
=no
22523 rm -f conftest.err conftest.
$ac_ext
22524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22525 echo "${ECHO_T}$ac_header_preproc" >&6
22527 # So? What about this header?
22528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22534 ac_header_preproc
=yes
22537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22551 ## ----------------------------------------- ##
22552 ## Report this to wx-dev@lists.wxwidgets.org ##
22553 ## ----------------------------------------- ##
22556 sed "s/^/$as_me: WARNING: /" >&2
22559 echo "$as_me:$LINENO: checking for $ac_header" >&5
22560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 eval "$as_ac_Header=\$ac_header_preproc"
22566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22571 cat >>confdefs.h
<<_ACEOF
22572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22579 if test "${ac_cv_header_windows_h+set}" = set; then
22580 echo "$as_me:$LINENO: checking for windows.h" >&5
22581 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22582 if test "${ac_cv_header_windows_h+set}" = set; then
22583 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22586 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22588 # Is the header compilable?
22589 echo "$as_me:$LINENO: checking windows.h usability" >&5
22590 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22591 cat >conftest.
$ac_ext <<_ACEOF
22594 cat confdefs.h
>>conftest.
$ac_ext
22595 cat >>conftest.
$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 $ac_includes_default
22598 #include <windows.h>
22600 rm -f conftest.
$ac_objext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22602 (eval $ac_compile) 2>conftest.er1
22604 grep -v '^ *+' conftest.er1
>conftest.err
22606 cat conftest.err
>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611 (eval $ac_try) 2>&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); }; } &&
22615 { ac_try
='test -s conftest.$ac_objext'
22616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617 (eval $ac_try) 2>&5
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; }; then
22621 ac_header_compiler
=yes
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.
$ac_ext >&5
22626 ac_header_compiler
=no
22628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22630 echo "${ECHO_T}$ac_header_compiler" >&6
22632 # Is the header present?
22633 echo "$as_me:$LINENO: checking windows.h presence" >&5
22634 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22635 cat >conftest.
$ac_ext <<_ACEOF
22638 cat confdefs.h
>>conftest.
$ac_ext
22639 cat >>conftest.
$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #include <windows.h>
22643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22646 grep -v '^ *+' conftest.er1
>conftest.err
22648 cat conftest.err
>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } >/dev
/null
; then
22651 if test -s conftest.err
; then
22652 ac_cpp_err
=$ac_c_preproc_warn_flag
22653 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22660 if test -z "$ac_cpp_err"; then
22661 ac_header_preproc
=yes
22663 echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.
$ac_ext >&5
22666 ac_header_preproc
=no
22668 rm -f conftest.err conftest.
$ac_ext
22669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22670 echo "${ECHO_T}$ac_header_preproc" >&6
22672 # So? What about this header?
22673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22675 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22676 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22678 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22679 ac_header_preproc
=yes
22682 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22683 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22684 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22685 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22686 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22687 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22688 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22689 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22690 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22691 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22692 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22693 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22696 ## ----------------------------------------- ##
22697 ## Report this to wx-dev@lists.wxwidgets.org ##
22698 ## ----------------------------------------- ##
22701 sed "s/^/$as_me: WARNING: /" >&2
22704 echo "$as_me:$LINENO: checking for windows.h" >&5
22705 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22706 if test "${ac_cv_header_windows_h+set}" = set; then
22707 echo $ECHO_N "(cached) $ECHO_C" >&6
22709 ac_cv_header_windows_h
=$ac_header_preproc
22711 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22712 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22715 if test $ac_cv_header_windows_h = yes; then
22719 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22720 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22721 { (exit 1); exit 1; }; }
22727 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22729 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22730 LIBS
="$LIBS -loleacc"
22735 LIBS
="$LIBS -lkernel32 -luser32"
22736 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22739 if test "$wxUSE_ODBC" = "sys" ; then
22742 if test "$wxUSE_ODBC" = "yes" ; then
22743 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22744 cat >>confdefs.h
<<\_ACEOF
22745 #define wxUSE_ODBC 1
22750 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22751 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22753 WIN32INSTALL
=win32install
22756 if test "$wxUSE_GUI" = "yes"; then
22766 if test "$wxUSE_COCOA" = 1 ; then
22767 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22768 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22769 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22770 wxUSE_PRINTING_ARCHITECTURE
=no
22772 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22773 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22774 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22775 wxUSE_DRAG_AND_DROP
=no
22777 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22778 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22779 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22784 if test "$wxUSE_MSW" = 1 ; then
22790 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22794 if test "$wxUSE_GTK" = 1; then
22795 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22796 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22798 gtk_version_cached
=1
22799 if test "${wx_cv_lib_gtk+set}" = set; then
22800 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 gtk_version_cached
=0
22804 echo "$as_me:$LINENO: result: " >&5
22805 echo "${ECHO_T}" >&6
22808 if test "$wxUSE_THREADS" = "yes"; then
22809 GTK_MODULES
=gthread
22813 if test "x$wxUSE_GTK2" = "xyes"; then
22814 # Check whether --enable-gtktest or --disable-gtktest was given.
22815 if test "${enable_gtktest+set}" = set; then
22816 enableval
="$enable_gtktest"
22822 pkg_config_args
=gtk
+-2.0
22823 for module
in .
$GTK_MODULES
22827 pkg_config_args
="$pkg_config_args gthread-2.0"
22834 # Extract the first word of "pkg-config", so it can be a program name with args.
22835 set dummy pkg
-config; ac_word
=$2
22836 echo "$as_me:$LINENO: checking for $ac_word" >&5
22837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22839 echo $ECHO_N "(cached) $ECHO_C" >&6
22841 case $PKG_CONFIG in
22843 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22847 for as_dir
in $PATH
22850 test -z "$as_dir" && as_dir
=.
22851 for ac_exec_ext
in '' $ac_executable_extensions; do
22852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22853 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22860 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22864 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22866 if test -n "$PKG_CONFIG"; then
22867 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22868 echo "${ECHO_T}$PKG_CONFIG" >&6
22870 echo "$as_me:$LINENO: result: no" >&5
22871 echo "${ECHO_T}no" >&6
22875 if test x
$PKG_CONFIG != xno
; then
22876 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22879 echo "*** pkg-config too old; version 0.7 or better required."
22887 min_gtk_version
=2.0.0
22888 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22889 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22891 if test x
$PKG_CONFIG != xno
; then
22892 ## don't try to run the test against uninstalled libtool libs
22893 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22894 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22898 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22905 if test x
"$no_gtk" = x
; then
22906 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22907 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22908 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22910 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22912 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22914 if test "x$enable_gtktest" = "xyes" ; then
22915 ac_save_CFLAGS
="$CFLAGS"
22916 ac_save_LIBS
="$LIBS"
22917 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22918 LIBS
="$GTK_LIBS $LIBS"
22920 if test "$cross_compiling" = yes; then
22921 echo $ac_n "cross compiling; assumed OK... $ac_c"
22923 cat >conftest.
$ac_ext <<_ACEOF
22926 cat confdefs.h
>>conftest.
$ac_ext
22927 cat >>conftest.
$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22930 #include <gtk/gtk.h>
22932 #include <stdlib.h>
22937 int major, minor, micro;
22940 system ("touch conf.gtktest");
22942 /* HP/UX 9 (%@#!) writes to sscanf strings */
22943 tmp_version = g_strdup("$min_gtk_version");
22944 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22945 printf("%s, bad version string\n", "$min_gtk_version");
22949 if ((gtk_major_version != $gtk_config_major_version) ||
22950 (gtk_minor_version != $gtk_config_minor_version) ||
22951 (gtk_micro_version != $gtk_config_micro_version))
22953 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22954 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22955 gtk_major_version, gtk_minor_version, gtk_micro_version);
22956 printf ("*** was found! If pkg-config was correct, then it is best\n");
22957 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22958 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22959 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22960 printf("*** required on your system.\n");
22961 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22962 printf("*** to point to the correct configuration files\n");
22964 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22965 (gtk_minor_version != GTK_MINOR_VERSION) ||
22966 (gtk_micro_version != GTK_MICRO_VERSION))
22968 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22969 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22970 printf("*** library (version %d.%d.%d)\n",
22971 gtk_major_version, gtk_minor_version, gtk_micro_version);
22975 if ((gtk_major_version > major) ||
22976 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22977 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22983 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22984 gtk_major_version, gtk_minor_version, gtk_micro_version);
22985 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22986 major, minor, micro);
22987 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22989 printf("*** If you have already installed a sufficiently new version, this error\n");
22990 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22991 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22992 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22993 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22994 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22995 printf("*** so that the correct libraries are found at run-time))\n");
23002 rm -f conftest
$ac_exeext
23003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23004 (eval $ac_link) 2>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23009 (eval $ac_try) 2>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); }; }; then
23015 echo "$as_me: program exited with status $ac_status" >&5
23016 echo "$as_me: failed program was:" >&5
23017 sed 's/^/| /' conftest.
$ac_ext >&5
23019 ( exit $ac_status )
23022 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23024 CFLAGS
="$ac_save_CFLAGS"
23025 LIBS
="$ac_save_LIBS"
23028 if test "x$no_gtk" = x
; then
23029 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23030 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23033 echo "$as_me:$LINENO: result: no" >&5
23034 echo "${ECHO_T}no" >&6
23035 if test "$PKG_CONFIG" = "no" ; then
23036 echo "*** A new enough version of pkg-config was not found."
23037 echo "*** See http://pkgconfig.sourceforge.net"
23039 if test -f conf.gtktest
; then
23042 echo "*** Could not run GTK+ test program, checking why..."
23043 ac_save_CFLAGS
="$CFLAGS"
23044 ac_save_LIBS
="$LIBS"
23045 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23046 LIBS
="$LIBS $GTK_LIBS"
23047 cat >conftest.
$ac_ext <<_ACEOF
23050 cat confdefs.h
>>conftest.
$ac_ext
23051 cat >>conftest.
$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 #include <gtk/gtk.h>
23060 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23065 rm -f conftest.
$ac_objext conftest
$ac_exeext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23067 (eval $ac_link) 2>conftest.er1
23069 grep -v '^ *+' conftest.er1
>conftest.err
23071 cat conftest.err
>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try
='test -s conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 echo "*** The test program compiled, but did not run. This usually means"
23087 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23088 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23089 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23090 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23091 echo "*** is required on your system"
23093 echo "*** If you have an old version installed, it is best to remove it, although"
23094 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.
$ac_ext >&5
23099 echo "*** The test program failed to compile or link. See the file config.log for the"
23100 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23102 rm -f conftest.err conftest.
$ac_objext \
23103 conftest
$ac_exeext conftest.
$ac_ext
23104 CFLAGS
="$ac_save_CFLAGS"
23105 LIBS
="$ac_save_LIBS"
23118 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23119 if test "${with_gtk_prefix+set}" = set; then
23120 withval
="$with_gtk_prefix"
23121 gtk_config_prefix
="$withval"
23123 gtk_config_prefix
=""
23126 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23127 if test "${with_gtk_exec_prefix+set}" = set; then
23128 withval
="$with_gtk_exec_prefix"
23129 gtk_config_exec_prefix
="$withval"
23131 gtk_config_exec_prefix
=""
23133 # Check whether --enable-gtktest or --disable-gtktest was given.
23134 if test "${enable_gtktest+set}" = set; then
23135 enableval
="$enable_gtktest"
23141 for module
in .
$GTK_MODULES
23145 gtk_config_args
="$gtk_config_args gthread"
23150 if test x
$gtk_config_exec_prefix != x
; then
23151 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23152 if test x
${GTK_CONFIG+set} != xset
; then
23153 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23156 if test x
$gtk_config_prefix != x
; then
23157 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23158 if test x
${GTK_CONFIG+set} != xset
; then
23159 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23163 # Extract the first word of "gtk-config", so it can be a program name with args.
23164 set dummy gtk
-config; ac_word
=$2
23165 echo "$as_me:$LINENO: checking for $ac_word" >&5
23166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23167 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23168 echo $ECHO_N "(cached) $ECHO_C" >&6
23170 case $GTK_CONFIG in
23172 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23176 for as_dir
in $PATH
23179 test -z "$as_dir" && as_dir
=.
23180 for ac_exec_ext
in '' $ac_executable_extensions; do
23181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23182 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23189 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23193 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23195 if test -n "$GTK_CONFIG"; then
23196 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23197 echo "${ECHO_T}$GTK_CONFIG" >&6
23199 echo "$as_me:$LINENO: result: no" >&5
23200 echo "${ECHO_T}no" >&6
23203 min_gtk_version
=1.2.7
23204 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23205 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23207 if test "$GTK_CONFIG" = "no" ; then
23210 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23211 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23212 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23214 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23216 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23218 if test "x$enable_gtktest" = "xyes" ; then
23219 ac_save_CFLAGS
="$CFLAGS"
23220 ac_save_LIBS
="$LIBS"
23221 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23222 LIBS
="$GTK_LIBS $LIBS"
23224 if test "$cross_compiling" = yes; then
23225 echo $ac_n "cross compiling; assumed OK... $ac_c"
23227 cat >conftest.
$ac_ext <<_ACEOF
23230 cat confdefs.h
>>conftest.
$ac_ext
23231 cat >>conftest.
$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23234 #include <gtk/gtk.h>
23236 #include <stdlib.h>
23241 int major, minor, micro;
23244 system ("touch conf.gtktest");
23246 /* HP/UX 9 (%@#!) writes to sscanf strings */
23247 tmp_version = g_strdup("$min_gtk_version");
23248 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23249 printf("%s, bad version string\n", "$min_gtk_version");
23253 if ((gtk_major_version != $gtk_config_major_version) ||
23254 (gtk_minor_version != $gtk_config_minor_version) ||
23255 (gtk_micro_version != $gtk_config_micro_version))
23257 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23258 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23259 gtk_major_version, gtk_minor_version, gtk_micro_version);
23260 printf ("*** was found! If gtk-config was correct, then it is best\n");
23261 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23262 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23263 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23264 printf("*** required on your system.\n");
23265 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23266 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23267 printf("*** before re-running configure\n");
23269 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23270 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23271 (gtk_minor_version != GTK_MINOR_VERSION) ||
23272 (gtk_micro_version != GTK_MICRO_VERSION))
23274 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23275 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23276 printf("*** library (version %d.%d.%d)\n",
23277 gtk_major_version, gtk_minor_version, gtk_micro_version);
23279 #endif /* defined (GTK_MAJOR_VERSION) ... */
23282 if ((gtk_major_version > major) ||
23283 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23284 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23290 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23291 gtk_major_version, gtk_minor_version, gtk_micro_version);
23292 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23293 major, minor, micro);
23294 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23296 printf("*** If you have already installed a sufficiently new version, this error\n");
23297 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23298 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23299 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23300 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23301 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23302 printf("*** so that the correct libraries are found at run-time))\n");
23309 rm -f conftest
$ac_exeext
23310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23311 (eval $ac_link) 2>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23316 (eval $ac_try) 2>&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); }; }; then
23322 echo "$as_me: program exited with status $ac_status" >&5
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.
$ac_ext >&5
23326 ( exit $ac_status )
23329 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23331 CFLAGS
="$ac_save_CFLAGS"
23332 LIBS
="$ac_save_LIBS"
23335 if test "x$no_gtk" = x
; then
23336 echo "$as_me:$LINENO: result: yes" >&5
23337 echo "${ECHO_T}yes" >&6
23338 wx_cv_lib_gtk
=1.2.7
23340 echo "$as_me:$LINENO: result: no" >&5
23341 echo "${ECHO_T}no" >&6
23342 if test "$GTK_CONFIG" = "no" ; then
23343 echo "*** The gtk-config script installed by GTK could not be found"
23344 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23345 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23346 echo "*** full path to gtk-config."
23348 if test -f conf.gtktest
; then
23351 echo "*** Could not run GTK test program, checking why..."
23352 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23353 LIBS
="$LIBS $GTK_LIBS"
23354 cat >conftest.
$ac_ext <<_ACEOF
23357 cat confdefs.h
>>conftest.
$ac_ext
23358 cat >>conftest.
$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23361 #include <gtk/gtk.h>
23367 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23372 rm -f conftest.
$ac_objext conftest
$ac_exeext
23373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23374 (eval $ac_link) 2>conftest.er1
23376 grep -v '^ *+' conftest.er1
>conftest.err
23378 cat conftest.err
>&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); } &&
23381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try
='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 echo "*** The test program compiled, but did not run. This usually means"
23394 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23395 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23396 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23397 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23398 echo "*** is required on your system"
23400 echo "*** If you have an old version installed, it is best to remove it, although"
23401 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23403 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23404 echo "*** came with the system with the command"
23406 echo "*** rpm --erase --nodeps gtk gtk-devel"
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23411 echo "*** The test program failed to compile or link. See the file config.log for the"
23412 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23413 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23414 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23416 rm -f conftest.err conftest.
$ac_objext \
23417 conftest
$ac_exeext conftest.
$ac_ext
23418 CFLAGS
="$ac_save_CFLAGS"
23419 LIBS
="$ac_save_LIBS"
23431 if test -z "$wx_cv_lib_gtk"; then
23433 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23434 if test "${with_gtk_prefix+set}" = set; then
23435 withval
="$with_gtk_prefix"
23436 gtk_config_prefix
="$withval"
23438 gtk_config_prefix
=""
23441 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23442 if test "${with_gtk_exec_prefix+set}" = set; then
23443 withval
="$with_gtk_exec_prefix"
23444 gtk_config_exec_prefix
="$withval"
23446 gtk_config_exec_prefix
=""
23448 # Check whether --enable-gtktest or --disable-gtktest was given.
23449 if test "${enable_gtktest+set}" = set; then
23450 enableval
="$enable_gtktest"
23456 for module
in .
$GTK_MODULES
23460 gtk_config_args
="$gtk_config_args gthread"
23465 if test x
$gtk_config_exec_prefix != x
; then
23466 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23467 if test x
${GTK_CONFIG+set} != xset
; then
23468 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23471 if test x
$gtk_config_prefix != x
; then
23472 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23473 if test x
${GTK_CONFIG+set} != xset
; then
23474 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23478 # Extract the first word of "gtk-config", so it can be a program name with args.
23479 set dummy gtk
-config; ac_word
=$2
23480 echo "$as_me:$LINENO: checking for $ac_word" >&5
23481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23482 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 case $GTK_CONFIG in
23487 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23491 for as_dir
in $PATH
23494 test -z "$as_dir" && as_dir
=.
23495 for ac_exec_ext
in '' $ac_executable_extensions; do
23496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23497 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23504 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23508 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23510 if test -n "$GTK_CONFIG"; then
23511 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23512 echo "${ECHO_T}$GTK_CONFIG" >&6
23514 echo "$as_me:$LINENO: result: no" >&5
23515 echo "${ECHO_T}no" >&6
23518 min_gtk_version
=1.2.3
23519 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23520 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23522 if test "$GTK_CONFIG" = "no" ; then
23525 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23526 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23527 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23529 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23531 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23533 if test "x$enable_gtktest" = "xyes" ; then
23534 ac_save_CFLAGS
="$CFLAGS"
23535 ac_save_LIBS
="$LIBS"
23536 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23537 LIBS
="$GTK_LIBS $LIBS"
23539 if test "$cross_compiling" = yes; then
23540 echo $ac_n "cross compiling; assumed OK... $ac_c"
23542 cat >conftest.
$ac_ext <<_ACEOF
23545 cat confdefs.h
>>conftest.
$ac_ext
23546 cat >>conftest.
$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23549 #include <gtk/gtk.h>
23551 #include <stdlib.h>
23556 int major, minor, micro;
23559 system ("touch conf.gtktest");
23561 /* HP/UX 9 (%@#!) writes to sscanf strings */
23562 tmp_version = g_strdup("$min_gtk_version");
23563 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23564 printf("%s, bad version string\n", "$min_gtk_version");
23568 if ((gtk_major_version != $gtk_config_major_version) ||
23569 (gtk_minor_version != $gtk_config_minor_version) ||
23570 (gtk_micro_version != $gtk_config_micro_version))
23572 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23573 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23574 gtk_major_version, gtk_minor_version, gtk_micro_version);
23575 printf ("*** was found! If gtk-config was correct, then it is best\n");
23576 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23577 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23578 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23579 printf("*** required on your system.\n");
23580 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23581 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23582 printf("*** before re-running configure\n");
23584 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23585 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23586 (gtk_minor_version != GTK_MINOR_VERSION) ||
23587 (gtk_micro_version != GTK_MICRO_VERSION))
23589 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23590 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23591 printf("*** library (version %d.%d.%d)\n",
23592 gtk_major_version, gtk_minor_version, gtk_micro_version);
23594 #endif /* defined (GTK_MAJOR_VERSION) ... */
23597 if ((gtk_major_version > major) ||
23598 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23599 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23605 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23606 gtk_major_version, gtk_minor_version, gtk_micro_version);
23607 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23608 major, minor, micro);
23609 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23611 printf("*** If you have already installed a sufficiently new version, this error\n");
23612 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23613 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23614 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23615 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23616 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23617 printf("*** so that the correct libraries are found at run-time))\n");
23624 rm -f conftest
$ac_exeext
23625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23626 (eval $ac_link) 2>&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23637 echo "$as_me: program exited with status $ac_status" >&5
23638 echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.
$ac_ext >&5
23641 ( exit $ac_status )
23644 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23646 CFLAGS
="$ac_save_CFLAGS"
23647 LIBS
="$ac_save_LIBS"
23650 if test "x$no_gtk" = x
; then
23651 echo "$as_me:$LINENO: result: yes" >&5
23652 echo "${ECHO_T}yes" >&6
23653 wx_cv_lib_gtk
=1.2.3
23655 echo "$as_me:$LINENO: result: no" >&5
23656 echo "${ECHO_T}no" >&6
23657 if test "$GTK_CONFIG" = "no" ; then
23658 echo "*** The gtk-config script installed by GTK could not be found"
23659 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23660 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23661 echo "*** full path to gtk-config."
23663 if test -f conf.gtktest
; then
23666 echo "*** Could not run GTK test program, checking why..."
23667 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23668 LIBS
="$LIBS $GTK_LIBS"
23669 cat >conftest.
$ac_ext <<_ACEOF
23672 cat confdefs.h
>>conftest.
$ac_ext
23673 cat >>conftest.
$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23676 #include <gtk/gtk.h>
23682 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
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 echo "*** The test program compiled, but did not run. This usually means"
23709 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23710 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23711 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23712 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23713 echo "*** is required on your system"
23715 echo "*** If you have an old version installed, it is best to remove it, although"
23716 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23718 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23719 echo "*** came with the system with the command"
23721 echo "*** rpm --erase --nodeps gtk gtk-devel"
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.
$ac_ext >&5
23726 echo "*** The test program failed to compile or link. See the file config.log for the"
23727 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23728 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23729 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23731 rm -f conftest.err conftest.
$ac_objext \
23732 conftest
$ac_exeext conftest.
$ac_ext
23733 CFLAGS
="$ac_save_CFLAGS"
23734 LIBS
="$ac_save_LIBS"
23748 if test -z "$wx_cv_lib_gtk"; then
23751 wx_cv_cflags_gtk
=$GTK_CFLAGS
23752 wx_cv_libs_gtk
=$GTK_LIBS
23759 if test "$gtk_version_cached" = 1; then
23760 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23761 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23764 case "$wx_cv_lib_gtk" in
23773 *) { { echo "$as_me:$LINENO: error:
23774 Please check that gtk-config is in path, the directory
23775 where GTK+ libraries are installed (returned by
23776 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23777 equivalent variable and GTK+ is version 1.2.3 or above.
23779 echo "$as_me: error:
23780 Please check that gtk-config is in path, the directory
23781 where GTK+ libraries are installed (returned by
23782 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23783 equivalent variable and GTK+ is version 1.2.3 or above.
23785 { (exit 1); exit 1; }; }
23789 if test "$WXGTK20" = 1; then
23790 save_CFLAGS
="$CFLAGS"
23792 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23793 LIBS
="$LIBS $GTK_LIBS"
23796 for ac_func
in pango_font_family_is_monospace
23798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23799 echo "$as_me:$LINENO: checking for $ac_func" >&5
23800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23801 if eval "test \"\${$as_ac_var+set}\" = set"; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 cat >conftest.
$ac_ext <<_ACEOF
23807 cat confdefs.h
>>conftest.
$ac_ext
23808 cat >>conftest.
$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23812 #define $ac_func innocuous_$ac_func
23814 /* System header to define __stub macros and hopefully few prototypes,
23815 which can conflict with char $ac_func (); below.
23816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23817 <limits.h> exists even on freestanding compilers. */
23820 # include <limits.h>
23822 # include <assert.h>
23827 /* Override any gcc2 internal prototype to avoid an error. */
23832 /* We use char because int might match the return type of a gcc2
23833 builtin and then its argument prototype would still apply. */
23835 /* The GNU C library defines this for functions which it implements
23836 to always fail with ENOSYS. Some functions are actually named
23837 something starting with __ and the normal name is an alias. */
23838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23841 char (*f) () = $ac_func;
23850 return f != $ac_func;
23855 rm -f conftest.
$ac_objext conftest
$ac_exeext
23856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23857 (eval $ac_link) 2>conftest.er1
23859 grep -v '^ *+' conftest.er1
>conftest.err
23861 cat conftest.err
>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } &&
23864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; } &&
23870 { ac_try
='test -s conftest$ac_exeext'
23871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872 (eval $ac_try) 2>&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); }; }; then
23876 eval "$as_ac_var=yes"
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.
$ac_ext >&5
23881 eval "$as_ac_var=no"
23883 rm -f conftest.err conftest.
$ac_objext \
23884 conftest
$ac_exeext conftest.
$ac_ext
23886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23888 if test `eval echo '${'$as_ac_var'}'` = yes; then
23889 cat >>confdefs.h
<<_ACEOF
23890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23897 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
23898 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
23899 cat >conftest.
$ac_ext <<_ACEOF
23902 cat confdefs.h
>>conftest.
$ac_ext
23903 cat >>conftest.
$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23906 #include <gtk/gtk.h>
23912 #if !GTK_CHECK_VERSION(2,4,0)
23913 #error "Not GTK+ 2.4"
23920 rm -f conftest.
$ac_objext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23922 (eval $ac_compile) 2>conftest.er1
23924 grep -v '^ *+' conftest.er1
>conftest.err
23926 cat conftest.err
>&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } &&
23929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; } &&
23935 { ac_try
='test -s conftest.$ac_objext'
23936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23937 (eval $ac_try) 2>&5
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); }; }; then
23942 cat >>confdefs.h
<<\_ACEOF
23943 #define __WXGTK24__ 1
23946 echo "$as_me:$LINENO: result: yes" >&5
23947 echo "${ECHO_T}yes" >&6
23950 echo "$as_me: failed program was:" >&5
23951 sed 's/^/| /' conftest.
$ac_ext >&5
23954 echo "$as_me:$LINENO: result: no" >&5
23955 echo "${ECHO_T}no" >&6
23958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23960 CFLAGS
="$save_CFLAGS"
23963 if test "$wxUSE_UNICODE" = "yes"; then
23964 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23965 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23970 if test "$USE_DARWIN" != 1; then
23972 for ac_func
in poll
23974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23975 echo "$as_me:$LINENO: checking for $ac_func" >&5
23976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23977 if eval "test \"\${$as_ac_var+set}\" = set"; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 cat >conftest.
$ac_ext <<_ACEOF
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23988 #define $ac_func innocuous_$ac_func
23990 /* System header to define __stub macros and hopefully few prototypes,
23991 which can conflict with char $ac_func (); below.
23992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23993 <limits.h> exists even on freestanding compilers. */
23996 # include <limits.h>
23998 # include <assert.h>
24003 /* Override any gcc2 internal prototype to avoid an error. */
24008 /* We use char because int might match the return type of a gcc2
24009 builtin and then its argument prototype would still apply. */
24011 /* The GNU C library defines this for functions which it implements
24012 to always fail with ENOSYS. Some functions are actually named
24013 something starting with __ and the normal name is an alias. */
24014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24017 char (*f) () = $ac_func;
24026 return f != $ac_func;
24031 rm -f conftest.
$ac_objext conftest
$ac_exeext
24032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24033 (eval $ac_link) 2>conftest.er1
24035 grep -v '^ *+' conftest.er1
>conftest.err
24037 cat conftest.err
>&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } &&
24040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; } &&
24046 { ac_try
='test -s conftest$ac_exeext'
24047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048 (eval $ac_try) 2>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; }; then
24052 eval "$as_ac_var=yes"
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.
$ac_ext >&5
24057 eval "$as_ac_var=no"
24059 rm -f conftest.err conftest.
$ac_objext \
24060 conftest
$ac_exeext conftest.
$ac_ext
24062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24064 if test `eval echo '${'$as_ac_var'}'` = yes; then
24065 cat >>confdefs.h
<<_ACEOF
24066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24074 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24075 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24077 AFMINSTALL
=afminstall
24081 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24082 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24083 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24084 echo $ECHO_N "(cached) $ECHO_C" >&6
24086 ac_check_lib_save_LIBS
=$LIBS
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24095 /* Override any gcc2 internal prototype to avoid an error. */
24099 /* We use char because int might match the return type of a gcc2
24100 builtin and then its argument prototype would still apply. */
24101 char gdk_im_open ();
24110 rm -f conftest.
$ac_objext conftest
$ac_exeext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24112 (eval $ac_link) 2>conftest.er1
24114 grep -v '^ *+' conftest.er1
>conftest.err
24116 cat conftest.err
>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try
='test -s conftest$ac_exeext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24131 ac_cv_lib_gdk_gdk_im_open
=yes
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.
$ac_ext >&5
24136 ac_cv_lib_gdk_gdk_im_open
=no
24138 rm -f conftest.err conftest.
$ac_objext \
24139 conftest
$ac_exeext conftest.
$ac_ext
24140 LIBS
=$ac_check_lib_save_LIBS
24142 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24143 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24144 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24145 cat >>confdefs.h
<<\_ACEOF
24153 if test "$wxUSE_GPE" = "yes"; then
24154 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24155 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24158 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24160 for ac_extension
in a so sl dylib
; do
24161 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24162 ac_find_libraries
=$ac_dir
24168 if test "$ac_find_libraries" != "" ; then
24170 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24172 if test $result = 0; then
24175 ac_path_to_link
=" -L$ac_find_libraries"
24178 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24180 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24181 echo "${ECHO_T}found at $ac_find_libraries" >&6
24183 echo "$as_me:$LINENO: result: not found" >&5
24184 echo "${ECHO_T}not found" >&6
24190 if test "$wxUSE_MGL" = 1; then
24191 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24192 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24193 if test "x$MGL_ROOT" = x
; then
24194 echo "$as_me:$LINENO: result: not found" >&5
24195 echo "${ECHO_T}not found" >&6
24196 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24197 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24198 { (exit 1); exit 1; }; }
24200 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24201 echo "${ECHO_T}$MGL_ROOT" >&6
24204 echo "$as_me:$LINENO: checking for libmgl location" >&5
24205 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24208 if test "x$wxUSE_SHARED" = xyes
; then
24209 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24211 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24215 mgl_os_candidates
="dos32/dj2"
24218 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24219 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24220 { (exit 1); exit 1; }; }
24226 for mgl_os_i
in $mgl_os_candidates ; do
24227 if test "x$mgl_os" = x
; then
24228 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24229 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24230 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24235 if test "x$mgl_lib_type" = x
; then
24236 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24237 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24238 mgl_lib_type
=release
24245 if test "x$mgl_os" = x
; then
24246 echo "$as_me:$LINENO: result: not found" >&5
24247 echo "${ECHO_T}not found" >&6
24248 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24249 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24250 { (exit 1); exit 1; }; }
24252 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24253 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24255 wxUSE_UNIVERSAL
="yes"
24257 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24258 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24260 AFMINSTALL
=afminstall
24265 if test "$wxUSE_MICROWIN" = 1; then
24266 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24267 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24268 if test "x$MICROWINDOWS" = x
; then
24269 echo "$as_me:$LINENO: result: not found" >&5
24270 echo "${ECHO_T}not found" >&6
24271 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24272 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24273 { (exit 1); exit 1; }; }
24275 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24276 echo "${ECHO_T}$MICROWINDOWS" >&6
24279 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24280 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24281 echo "${ECHO_T}MicroWindows' libraries found." >&6
24283 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24284 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24285 { (exit 1); exit 1; }; }
24288 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24289 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24291 wxUSE_UNIVERSAL
="yes"
24293 AFMINSTALL
=afminstall
24295 GUIDIST
=MICROWIN_DIST
24297 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24300 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24302 if test "x$ac_path_x_has_been_run" != xyes
; then
24303 echo "$as_me:$LINENO: checking for X" >&5
24304 echo $ECHO_N "checking for X... $ECHO_C" >&6
24306 ac_path_x_has_been_run
=yes
24308 # Check whether --with-x or --without-x was given.
24309 if test "${with_x+set}" = set; then
24313 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24314 if test "x$with_x" = xno
; then
24315 # The user explicitly disabled X.
24318 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24319 # Both variables are already set.
24322 if test "${ac_cv_have_x+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24325 # One or both of the vars are not set, and there is no cached value.
24326 ac_x_includes
=no ac_x_libraries
=no
24327 rm -fr conftest.dir
24328 if mkdir conftest.dir
; then
24330 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24331 cat >Imakefile
<<'_ACEOF'
24333 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24335 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24336 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24337 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24338 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24339 for ac_extension
in a so sl
; do
24340 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24341 test -f $ac_im_libdir/libX11.
$ac_extension; then
24342 ac_im_usrlibdir
=$ac_im_libdir; break
24345 # Screen out bogus values from the imake configuration. They are
24346 # bogus both because they are the default anyway, and because
24347 # using them would break gcc on systems where it needs fixed includes.
24348 case $ac_im_incroot in
24350 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24352 case $ac_im_usrlibdir in
24353 /usr
/lib
| /lib
) ;;
24354 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24358 rm -fr conftest.dir
24361 # Standard set of common directories for X headers.
24362 # Check X11 before X11Rn because it is often a symlink to the current release.
24374 /usr/local/X11/include
24375 /usr/local/X11R6/include
24376 /usr/local/X11R5/include
24377 /usr/local/X11R4/include
24379 /usr/local/include/X11
24380 /usr/local/include/X11R6
24381 /usr/local/include/X11R5
24382 /usr/local/include/X11R4
24386 /usr/XFree86/include/X11
24390 /usr/unsupported/include
24391 /usr/athena/include
24392 /usr/local/x11r5/include
24393 /usr/lpp/Xamples/include
24395 /usr/openwin/include
24396 /usr/openwin/share/include'
24398 if test "$ac_x_includes" = no
; then
24399 # Guess where to find include files, by looking for a specified header file.
24400 # First, try using that file with no special directory specified.
24401 cat >conftest.
$ac_ext <<_ACEOF
24404 cat confdefs.h
>>conftest.
$ac_ext
24405 cat >>conftest.
$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 #include <X11/Intrinsic.h>
24409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24412 grep -v '^ *+' conftest.er1
>conftest.err
24414 cat conftest.err
>&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } >/dev
/null
; then
24417 if test -s conftest.err
; then
24418 ac_cpp_err
=$ac_c_preproc_warn_flag
24419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24426 if test -z "$ac_cpp_err"; then
24427 # We can compile using X headers with no special include directory.
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.
$ac_ext >&5
24433 for ac_dir
in $ac_x_header_dirs; do
24434 if test -r "$ac_dir/X11/Intrinsic.h"; then
24435 ac_x_includes
=$ac_dir
24440 rm -f conftest.err conftest.
$ac_ext
24441 fi # $ac_x_includes = no
24443 if test "$ac_x_libraries" = no
; then
24444 # Check for the libraries.
24445 # See if we find them without any special options.
24446 # Don't add to $LIBS permanently.
24449 cat >conftest.
$ac_ext <<_ACEOF
24452 cat confdefs.h
>>conftest.
$ac_ext
24453 cat >>conftest.
$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24455 #include <X11/Intrinsic.h>
24464 rm -f conftest.
$ac_objext conftest
$ac_exeext
24465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24466 (eval $ac_link) 2>conftest.er1
24468 grep -v '^ *+' conftest.er1
>conftest.err
24470 cat conftest.err
>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } &&
24473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try
='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24486 # We can link X programs with no special library path.
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.
$ac_ext >&5
24493 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24495 # Don't even attempt the hair of trying to link an X program!
24496 for ac_extension
in a so sl
; do
24497 if test -r $ac_dir/libXt.
$ac_extension; then
24498 ac_x_libraries
=$ac_dir
24504 rm -f conftest.err conftest.
$ac_objext \
24505 conftest
$ac_exeext conftest.
$ac_ext
24506 fi # $ac_x_libraries = no
24508 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24509 # Didn't find X anywhere. Cache the known absence of X.
24510 ac_cv_have_x
="have_x=no"
24512 # Record where we found X for the cache.
24513 ac_cv_have_x
="have_x=yes \
24514 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24519 eval "$ac_cv_have_x"
24522 if test "$have_x" != yes; then
24523 echo "$as_me:$LINENO: result: $have_x" >&5
24524 echo "${ECHO_T}$have_x" >&6
24527 # If each of the values was on the command line, it overrides each guess.
24528 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24529 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24530 # Update the cache value to reflect the command line values.
24531 ac_cv_have_x
="have_x=yes \
24532 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24533 # It might be that x_includes is empty (headers are found in the
24534 # standard search path. Then output the corresponding message
24535 ac_out_x_includes
=$x_includes
24536 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24537 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24538 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24542 if test "$no_x" = yes; then
24543 # Not all programs may use this symbol, but it does not hurt to define it.
24545 cat >>confdefs.h
<<\_ACEOF
24546 #define X_DISPLAY_MISSING 1
24549 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24551 if test -n "$x_includes"; then
24552 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24555 # It would also be nice to do this for all -L options, not just this one.
24556 if test -n "$x_libraries"; then
24557 X_LIBS
="$X_LIBS -L$x_libraries"
24558 # For Solaris; some versions of Sun CC require a space after -R and
24559 # others require no space. Words are not sufficient . . . .
24560 case `(uname -sr) 2>/dev/null` in
24562 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24563 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24564 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24565 cat >conftest.
$ac_ext <<_ACEOF
24568 cat confdefs.h
>>conftest.
$ac_ext
24569 cat >>conftest.
$ac_ext <<_ACEOF
24570 /* end confdefs.h. */
24580 rm -f conftest.
$ac_objext conftest
$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>conftest.er1
24584 grep -v '^ *+' conftest.er1
>conftest.err
24586 cat conftest.err
>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; } &&
24595 { ac_try
='test -s conftest$ac_exeext'
24596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597 (eval $ac_try) 2>&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); }; }; then
24603 echo "$as_me: failed program was:" >&5
24604 sed 's/^/| /' conftest.
$ac_ext >&5
24608 rm -f conftest.err conftest.
$ac_objext \
24609 conftest
$ac_exeext conftest.
$ac_ext
24610 if test $ac_R_nospace = yes; then
24611 echo "$as_me:$LINENO: result: no" >&5
24612 echo "${ECHO_T}no" >&6
24613 X_LIBS
="$X_LIBS -R$x_libraries"
24615 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24616 cat >conftest.
$ac_ext <<_ACEOF
24619 cat confdefs.h
>>conftest.
$ac_ext
24620 cat >>conftest.
$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24631 rm -f conftest.
$ac_objext conftest
$ac_exeext
24632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24633 (eval $ac_link) 2>conftest.er1
24635 grep -v '^ *+' conftest.er1
>conftest.err
24637 cat conftest.err
>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); } &&
24640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; } &&
24646 { ac_try
='test -s conftest$ac_exeext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.
$ac_ext >&5
24659 rm -f conftest.err conftest.
$ac_objext \
24660 conftest
$ac_exeext conftest.
$ac_ext
24661 if test $ac_R_space = yes; then
24662 echo "$as_me:$LINENO: result: yes" >&5
24663 echo "${ECHO_T}yes" >&6
24664 X_LIBS
="$X_LIBS -R $x_libraries"
24666 echo "$as_me:$LINENO: result: neither works" >&5
24667 echo "${ECHO_T}neither works" >&6
24670 LIBS
=$ac_xsave_LIBS
24674 # Check for system-dependent libraries X programs must link with.
24675 # Do this before checking for the system-independent R6 libraries
24676 # (-lICE), since we may need -lsocket or whatever for X linking.
24678 if test "$ISC" = yes; then
24679 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24681 # Martyn Johnson says this is needed for Ultrix, if the X
24682 # libraries were built with DECnet support. And Karl Berry says
24683 # the Alpha needs dnet_stub (dnet does not exist).
24684 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24685 cat >conftest.
$ac_ext <<_ACEOF
24688 cat confdefs.h
>>conftest.
$ac_ext
24689 cat >>conftest.
$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24692 /* Override any gcc2 internal prototype to avoid an error. */
24696 /* We use char because int might match the return type of a gcc2
24697 builtin and then its argument prototype would still apply. */
24698 char XOpenDisplay ();
24707 rm -f conftest.
$ac_objext conftest
$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709 (eval $ac_link) 2>conftest.er1
24711 grep -v '^ *+' conftest.er1
>conftest.err
24713 cat conftest.err
>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24718 (eval $ac_try) 2>&5
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); }; } &&
24722 { ac_try
='test -s conftest$ac_exeext'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; }; then
24730 echo "$as_me: failed program was:" >&5
24731 sed 's/^/| /' conftest.
$ac_ext >&5
24733 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24734 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24735 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24738 ac_check_lib_save_LIBS
=$LIBS
24739 LIBS
="-ldnet $LIBS"
24740 cat >conftest.
$ac_ext <<_ACEOF
24743 cat confdefs.h
>>conftest.
$ac_ext
24744 cat >>conftest.
$ac_ext <<_ACEOF
24745 /* end confdefs.h. */
24747 /* Override any gcc2 internal prototype to avoid an error. */
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24762 rm -f conftest.
$ac_objext conftest
$ac_exeext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24764 (eval $ac_link) 2>conftest.er1
24766 grep -v '^ *+' conftest.er1
>conftest.err
24768 cat conftest.err
>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; } &&
24777 { ac_try
='test -s conftest$ac_exeext'
24778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24779 (eval $ac_try) 2>&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; }; then
24783 ac_cv_lib_dnet_dnet_ntoa
=yes
24785 echo "$as_me: failed program was:" >&5
24786 sed 's/^/| /' conftest.
$ac_ext >&5
24788 ac_cv_lib_dnet_dnet_ntoa
=no
24790 rm -f conftest.err conftest.
$ac_objext \
24791 conftest
$ac_exeext conftest.
$ac_ext
24792 LIBS
=$ac_check_lib_save_LIBS
24794 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24795 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24796 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24797 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24800 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24801 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24802 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24803 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24806 ac_check_lib_save_LIBS
=$LIBS
24807 LIBS
="-ldnet_stub $LIBS"
24808 cat >conftest.
$ac_ext <<_ACEOF
24811 cat confdefs.h
>>conftest.
$ac_ext
24812 cat >>conftest.
$ac_ext <<_ACEOF
24813 /* end confdefs.h. */
24815 /* Override any gcc2 internal prototype to avoid an error. */
24819 /* We use char because int might match the return type of a gcc2
24820 builtin and then its argument prototype would still apply. */
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_lib_dnet_stub_dnet_ntoa
=yes
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.
$ac_ext >&5
24856 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24858 rm -f conftest.err conftest.
$ac_objext \
24859 conftest
$ac_exeext conftest.
$ac_ext
24860 LIBS
=$ac_check_lib_save_LIBS
24862 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24863 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24864 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24865 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24870 rm -f conftest.err conftest.
$ac_objext \
24871 conftest
$ac_exeext conftest.
$ac_ext
24872 LIBS
="$ac_xsave_LIBS"
24874 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24875 # to get the SysV transport functions.
24876 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24878 # The nsl library prevents programs from opening the X display
24879 # on Irix 5.2, according to T.E. Dickey.
24880 # The functions gethostbyname, getservbyname, and inet_addr are
24881 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24882 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24883 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24884 if test "${ac_cv_func_gethostbyname+set}" = set; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 cat >conftest.
$ac_ext <<_ACEOF
24890 cat confdefs.h
>>conftest.
$ac_ext
24891 cat >>conftest.
$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24895 #define gethostbyname innocuous_gethostbyname
24897 /* System header to define __stub macros and hopefully few prototypes,
24898 which can conflict with char gethostbyname (); below.
24899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24900 <limits.h> exists even on freestanding compilers. */
24903 # include <limits.h>
24905 # include <assert.h>
24908 #undef gethostbyname
24910 /* Override any gcc2 internal prototype to avoid an error. */
24915 /* We use char because int might match the return type of a gcc2
24916 builtin and then its argument prototype would still apply. */
24917 char gethostbyname ();
24918 /* The GNU C library defines this for functions which it implements
24919 to always fail with ENOSYS. Some functions are actually named
24920 something starting with __ and the normal name is an alias. */
24921 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24924 char (*f) () = gethostbyname;
24933 return f != gethostbyname;
24938 rm -f conftest.
$ac_objext conftest
$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24942 grep -v '^ *+' conftest.er1
>conftest.err
24944 cat conftest.err
>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; } &&
24953 { ac_try
='test -s conftest$ac_exeext'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; }; then
24959 ac_cv_func_gethostbyname
=yes
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.
$ac_ext >&5
24964 ac_cv_func_gethostbyname
=no
24966 rm -f conftest.err conftest.
$ac_objext \
24967 conftest
$ac_exeext conftest.
$ac_ext
24969 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24970 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24972 if test $ac_cv_func_gethostbyname = no
; then
24973 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24974 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24975 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 ac_check_lib_save_LIBS
=$LIBS
24980 cat >conftest.
$ac_ext <<_ACEOF
24983 cat confdefs.h
>>conftest.
$ac_ext
24984 cat >>conftest.
$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24987 /* Override any gcc2 internal prototype to avoid an error. */
24991 /* We use char because int might match the return type of a gcc2
24992 builtin and then its argument prototype would still apply. */
24993 char gethostbyname ();
25002 rm -f conftest.
$ac_objext conftest
$ac_exeext
25003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25004 (eval $ac_link) 2>conftest.er1
25006 grep -v '^ *+' conftest.er1
>conftest.err
25008 cat conftest.err
>&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } &&
25011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; } &&
25017 { ac_try
='test -s conftest$ac_exeext'
25018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019 (eval $ac_try) 2>&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); }; }; then
25023 ac_cv_lib_nsl_gethostbyname
=yes
25025 echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.
$ac_ext >&5
25028 ac_cv_lib_nsl_gethostbyname
=no
25030 rm -f conftest.err conftest.
$ac_objext \
25031 conftest
$ac_exeext conftest.
$ac_ext
25032 LIBS
=$ac_check_lib_save_LIBS
25034 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25035 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25036 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25040 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25041 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25042 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25043 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25044 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 ac_check_lib_save_LIBS
=$LIBS
25048 cat >conftest.
$ac_ext <<_ACEOF
25051 cat confdefs.h
>>conftest.
$ac_ext
25052 cat >>conftest.
$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25055 /* Override any gcc2 internal prototype to avoid an error. */
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25061 char gethostbyname ();
25070 rm -f conftest.
$ac_objext conftest
$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>conftest.er1
25074 grep -v '^ *+' conftest.er1
>conftest.err
25076 cat conftest.err
>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } &&
25079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try
='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 ac_cv_lib_bsd_gethostbyname
=yes
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25096 ac_cv_lib_bsd_gethostbyname
=no
25098 rm -f conftest.err conftest.
$ac_objext \
25099 conftest
$ac_exeext conftest.
$ac_ext
25100 LIBS
=$ac_check_lib_save_LIBS
25102 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25103 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25104 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25111 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25112 # socket/setsockopt and other routines are undefined under SCO ODT
25113 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25114 # on later versions), says Simon Leinen: it contains gethostby*
25115 # variants that don't use the name server (or something). -lsocket
25116 # must be given before -lnsl if both are needed. We assume that
25117 # if connect needs -lnsl, so does gethostbyname.
25118 echo "$as_me:$LINENO: checking for connect" >&5
25119 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25120 if test "${ac_cv_func_connect+set}" = set; then
25121 echo $ECHO_N "(cached) $ECHO_C" >&6
25123 cat >conftest.
$ac_ext <<_ACEOF
25126 cat confdefs.h
>>conftest.
$ac_ext
25127 cat >>conftest.
$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25131 #define connect innocuous_connect
25133 /* System header to define __stub macros and hopefully few prototypes,
25134 which can conflict with char connect (); below.
25135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25136 <limits.h> exists even on freestanding compilers. */
25139 # include <limits.h>
25141 # include <assert.h>
25146 /* Override any gcc2 internal prototype to avoid an error. */
25151 /* We use char because int might match the return type of a gcc2
25152 builtin and then its argument prototype would still apply. */
25154 /* The GNU C library defines this for functions which it implements
25155 to always fail with ENOSYS. Some functions are actually named
25156 something starting with __ and the normal name is an alias. */
25157 #if defined (__stub_connect) || defined (__stub___connect)
25160 char (*f) () = connect;
25169 return f != connect;
25174 rm -f conftest.
$ac_objext conftest
$ac_exeext
25175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25176 (eval $ac_link) 2>conftest.er1
25178 grep -v '^ *+' conftest.er1
>conftest.err
25180 cat conftest.err
>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } &&
25183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; } &&
25189 { ac_try
='test -s conftest$ac_exeext'
25190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25191 (eval $ac_try) 2>&5
25193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25194 (exit $ac_status); }; }; then
25195 ac_cv_func_connect
=yes
25197 echo "$as_me: failed program was:" >&5
25198 sed 's/^/| /' conftest.
$ac_ext >&5
25200 ac_cv_func_connect
=no
25202 rm -f conftest.err conftest.
$ac_objext \
25203 conftest
$ac_exeext conftest.
$ac_ext
25205 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25206 echo "${ECHO_T}$ac_cv_func_connect" >&6
25208 if test $ac_cv_func_connect = no
; then
25209 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25210 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25211 if test "${ac_cv_lib_socket_connect+set}" = set; then
25212 echo $ECHO_N "(cached) $ECHO_C" >&6
25214 ac_check_lib_save_LIBS
=$LIBS
25215 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25216 cat >conftest.
$ac_ext <<_ACEOF
25219 cat confdefs.h
>>conftest.
$ac_ext
25220 cat >>conftest.
$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25223 /* Override any gcc2 internal prototype to avoid an error. */
25227 /* We use char because int might match the return type of a gcc2
25228 builtin and then its argument prototype would still apply. */
25238 rm -f conftest.
$ac_objext conftest
$ac_exeext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25240 (eval $ac_link) 2>conftest.er1
25242 grep -v '^ *+' conftest.er1
>conftest.err
25244 cat conftest.err
>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } &&
25247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try
='test -s conftest$ac_exeext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 ac_cv_lib_socket_connect
=yes
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.
$ac_ext >&5
25264 ac_cv_lib_socket_connect
=no
25266 rm -f conftest.err conftest.
$ac_objext \
25267 conftest
$ac_exeext conftest.
$ac_ext
25268 LIBS
=$ac_check_lib_save_LIBS
25270 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25271 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25272 if test $ac_cv_lib_socket_connect = yes; then
25273 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25278 # Guillermo Gomez says -lposix is necessary on A/UX.
25279 echo "$as_me:$LINENO: checking for remove" >&5
25280 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25281 if test "${ac_cv_func_remove+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25284 cat >conftest.
$ac_ext <<_ACEOF
25287 cat confdefs.h
>>conftest.
$ac_ext
25288 cat >>conftest.
$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define remove innocuous_remove
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char remove (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25300 # include <limits.h>
25302 # include <assert.h>
25307 /* Override any gcc2 internal prototype to avoid an error. */
25312 /* We use char because int might match the return type of a gcc2
25313 builtin and then its argument prototype would still apply. */
25315 /* The GNU C library defines this for functions which it implements
25316 to always fail with ENOSYS. Some functions are actually named
25317 something starting with __ and the normal name is an alias. */
25318 #if defined (__stub_remove) || defined (__stub___remove)
25321 char (*f) () = remove;
25330 return f != remove;
25335 rm -f conftest.
$ac_objext conftest
$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337 (eval $ac_link) 2>conftest.er1
25339 grep -v '^ *+' conftest.er1
>conftest.err
25341 cat conftest.err
>&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25346 (eval $ac_try) 2>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); }; } &&
25350 { ac_try
='test -s conftest$ac_exeext'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; }; then
25356 ac_cv_func_remove
=yes
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.
$ac_ext >&5
25361 ac_cv_func_remove
=no
25363 rm -f conftest.err conftest.
$ac_objext \
25364 conftest
$ac_exeext conftest.
$ac_ext
25366 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25367 echo "${ECHO_T}$ac_cv_func_remove" >&6
25369 if test $ac_cv_func_remove = no
; then
25370 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25371 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25372 if test "${ac_cv_lib_posix_remove+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 ac_check_lib_save_LIBS
=$LIBS
25376 LIBS
="-lposix $LIBS"
25377 cat >conftest.
$ac_ext <<_ACEOF
25380 cat confdefs.h
>>conftest.
$ac_ext
25381 cat >>conftest.
$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25384 /* Override any gcc2 internal prototype to avoid an error. */
25388 /* We use char because int might match the return type of a gcc2
25389 builtin and then its argument prototype would still apply. */
25399 rm -f conftest.
$ac_objext conftest
$ac_exeext
25400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25401 (eval $ac_link) 2>conftest.er1
25403 grep -v '^ *+' conftest.er1
>conftest.err
25405 cat conftest.err
>&5
25406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407 (exit $ac_status); } &&
25408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25410 (eval $ac_try) 2>&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); }; } &&
25414 { ac_try
='test -s conftest$ac_exeext'
25415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416 (eval $ac_try) 2>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); }; }; then
25420 ac_cv_lib_posix_remove
=yes
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.
$ac_ext >&5
25425 ac_cv_lib_posix_remove
=no
25427 rm -f conftest.err conftest.
$ac_objext \
25428 conftest
$ac_exeext conftest.
$ac_ext
25429 LIBS
=$ac_check_lib_save_LIBS
25431 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25432 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25433 if test $ac_cv_lib_posix_remove = yes; then
25434 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25439 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25440 echo "$as_me:$LINENO: checking for shmat" >&5
25441 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25442 if test "${ac_cv_func_shmat+set}" = set; then
25443 echo $ECHO_N "(cached) $ECHO_C" >&6
25445 cat >conftest.
$ac_ext <<_ACEOF
25448 cat confdefs.h
>>conftest.
$ac_ext
25449 cat >>conftest.
$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25451 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25453 #define shmat innocuous_shmat
25455 /* System header to define __stub macros and hopefully few prototypes,
25456 which can conflict with char shmat (); below.
25457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25458 <limits.h> exists even on freestanding compilers. */
25461 # include <limits.h>
25463 # include <assert.h>
25468 /* Override any gcc2 internal prototype to avoid an error. */
25473 /* We use char because int might match the return type of a gcc2
25474 builtin and then its argument prototype would still apply. */
25476 /* The GNU C library defines this for functions which it implements
25477 to always fail with ENOSYS. Some functions are actually named
25478 something starting with __ and the normal name is an alias. */
25479 #if defined (__stub_shmat) || defined (__stub___shmat)
25482 char (*f) () = shmat;
25496 rm -f conftest.
$ac_objext conftest
$ac_exeext
25497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25498 (eval $ac_link) 2>conftest.er1
25500 grep -v '^ *+' conftest.er1
>conftest.err
25502 cat conftest.err
>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); } &&
25505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; } &&
25511 { ac_try
='test -s conftest$ac_exeext'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; }; then
25517 ac_cv_func_shmat
=yes
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.
$ac_ext >&5
25522 ac_cv_func_shmat
=no
25524 rm -f conftest.err conftest.
$ac_objext \
25525 conftest
$ac_exeext conftest.
$ac_ext
25527 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25528 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25530 if test $ac_cv_func_shmat = no
; then
25531 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25532 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25533 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25534 echo $ECHO_N "(cached) $ECHO_C" >&6
25536 ac_check_lib_save_LIBS
=$LIBS
25538 cat >conftest.
$ac_ext <<_ACEOF
25541 cat confdefs.h
>>conftest.
$ac_ext
25542 cat >>conftest.
$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25545 /* Override any gcc2 internal prototype to avoid an error. */
25549 /* We use char because int might match the return type of a gcc2
25550 builtin and then its argument prototype would still apply. */
25560 rm -f conftest.
$ac_objext conftest
$ac_exeext
25561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25562 (eval $ac_link) 2>conftest.er1
25564 grep -v '^ *+' conftest.er1
>conftest.err
25566 cat conftest.err
>&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } &&
25569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; } &&
25575 { ac_try
='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581 ac_cv_lib_ipc_shmat
=yes
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.
$ac_ext >&5
25586 ac_cv_lib_ipc_shmat
=no
25588 rm -f conftest.err conftest.
$ac_objext \
25589 conftest
$ac_exeext conftest.
$ac_ext
25590 LIBS
=$ac_check_lib_save_LIBS
25592 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25593 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25594 if test $ac_cv_lib_ipc_shmat = yes; then
25595 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25601 # Check for libraries that X11R6 Xt/Xaw programs need.
25602 ac_save_LDFLAGS
=$LDFLAGS
25603 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25604 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25605 # check for ICE first), but we must link in the order -lSM -lICE or
25606 # we get undefined symbols. So assume we have SM if we have ICE.
25607 # These have to be linked with before -lX11, unlike the other
25608 # libraries we check for below, so use a different variable.
25609 # John Interrante, Karl Berry
25610 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25611 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25612 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 ac_check_lib_save_LIBS
=$LIBS
25616 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25617 cat >conftest.
$ac_ext <<_ACEOF
25620 cat confdefs.h
>>conftest.
$ac_ext
25621 cat >>conftest.
$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25624 /* Override any gcc2 internal prototype to avoid an error. */
25628 /* We use char because int might match the return type of a gcc2
25629 builtin and then its argument prototype would still apply. */
25630 char IceConnectionNumber ();
25634 IceConnectionNumber ();
25639 rm -f conftest.
$ac_objext conftest
$ac_exeext
25640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25641 (eval $ac_link) 2>conftest.er1
25643 grep -v '^ *+' conftest.er1
>conftest.err
25645 cat conftest.err
>&5
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); } &&
25648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; } &&
25654 { ac_try
='test -s conftest$ac_exeext'
25655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25656 (eval $ac_try) 2>&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); }; }; then
25660 ac_cv_lib_ICE_IceConnectionNumber
=yes
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.
$ac_ext >&5
25665 ac_cv_lib_ICE_IceConnectionNumber
=no
25667 rm -f conftest.err conftest.
$ac_objext \
25668 conftest
$ac_exeext conftest.
$ac_ext
25669 LIBS
=$ac_check_lib_save_LIBS
25671 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25672 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25673 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25674 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25677 LDFLAGS
=$ac_save_LDFLAGS
25682 if test "$no_x" = "yes"; then
25683 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25684 echo "$as_me: error: X11 not found" >&2;}
25685 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25688 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25689 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25690 AFMINSTALL
=afminstall
25691 COMPILED_X_PROGRAM
=0
25695 if test "$wxUSE_X11" = 1; then
25696 if test "$wxUSE_NANOX" = "yes"; then
25697 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25698 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25699 if test "x$MICROWIN" = x
; then
25700 echo "$as_me:$LINENO: result: not found" >&5
25701 echo "${ECHO_T}not found" >&6
25702 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25703 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25704 { (exit 1); exit 1; }; }
25706 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25707 echo "${ECHO_T}$MICROWIN" >&6
25708 cat >>confdefs.h
<<\_ACEOF
25709 #define wxUSE_NANOX 1
25715 if test "$wxUSE_UNICODE" = "yes"; then
25719 if test -z "$PKG_CONFIG"; then
25720 # Extract the first word of "pkg-config", so it can be a program name with args.
25721 set dummy pkg
-config; ac_word
=$2
25722 echo "$as_me:$LINENO: checking for $ac_word" >&5
25723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25724 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 case $PKG_CONFIG in
25729 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25733 for as_dir
in $PATH
25736 test -z "$as_dir" && as_dir
=.
25737 for ac_exec_ext
in '' $ac_executable_extensions; do
25738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25739 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25746 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25750 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25752 if test -n "$PKG_CONFIG"; then
25753 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25754 echo "${ECHO_T}$PKG_CONFIG" >&6
25756 echo "$as_me:$LINENO: result: no" >&5
25757 echo "${ECHO_T}no" >&6
25762 if test "$PKG_CONFIG" = "no" ; then
25763 echo "*** The pkg-config script could not be found. Make sure it is"
25764 echo "*** in your path, or set the PKG_CONFIG environment variable"
25765 echo "*** to the full path to pkg-config."
25766 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25768 PKG_CONFIG_MIN_VERSION
=0.9.0
25769 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25770 echo "$as_me:$LINENO: checking for pangox" >&5
25771 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25773 if $PKG_CONFIG --exists "pangox" ; then
25774 echo "$as_me:$LINENO: result: yes" >&5
25775 echo "${ECHO_T}yes" >&6
25778 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25779 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25780 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25781 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25782 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25784 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25785 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25786 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25787 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25788 echo "${ECHO_T}$PANGOX_LIBS" >&6
25792 ## If we have a custom action on failure, don't print errors, but
25793 ## do set a variable so people can do so.
25794 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25801 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25802 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25806 if test $succeeded = yes; then
25808 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25809 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25813 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25814 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25815 { (exit 1); exit 1; }; }
25823 if test -z "$PKG_CONFIG"; then
25824 # Extract the first word of "pkg-config", so it can be a program name with args.
25825 set dummy pkg
-config; ac_word
=$2
25826 echo "$as_me:$LINENO: checking for $ac_word" >&5
25827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25829 echo $ECHO_N "(cached) $ECHO_C" >&6
25831 case $PKG_CONFIG in
25833 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25837 for as_dir
in $PATH
25840 test -z "$as_dir" && as_dir
=.
25841 for ac_exec_ext
in '' $ac_executable_extensions; do
25842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25843 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25850 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25854 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25856 if test -n "$PKG_CONFIG"; then
25857 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25858 echo "${ECHO_T}$PKG_CONFIG" >&6
25860 echo "$as_me:$LINENO: result: no" >&5
25861 echo "${ECHO_T}no" >&6
25866 if test "$PKG_CONFIG" = "no" ; then
25867 echo "*** The pkg-config script could not be found. Make sure it is"
25868 echo "*** in your path, or set the PKG_CONFIG environment variable"
25869 echo "*** to the full path to pkg-config."
25870 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25872 PKG_CONFIG_MIN_VERSION
=0.9.0
25873 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25874 echo "$as_me:$LINENO: checking for pangoft2" >&5
25875 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25877 if $PKG_CONFIG --exists "pangoft2" ; then
25878 echo "$as_me:$LINENO: result: yes" >&5
25879 echo "${ECHO_T}yes" >&6
25882 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25883 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25884 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25885 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25886 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25888 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25889 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25890 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25891 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25892 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25896 ## If we have a custom action on failure, don't print errors, but
25897 ## do set a variable so people can do so.
25898 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25905 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25906 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25910 if test $succeeded = yes; then
25912 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25913 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25917 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25918 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25919 wxUSE_PRINTING_ARCHITECTURE
="no"
25927 if test -z "$PKG_CONFIG"; then
25928 # Extract the first word of "pkg-config", so it can be a program name with args.
25929 set dummy pkg
-config; ac_word
=$2
25930 echo "$as_me:$LINENO: checking for $ac_word" >&5
25931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 case $PKG_CONFIG in
25937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25941 for as_dir
in $PATH
25944 test -z "$as_dir" && as_dir
=.
25945 for ac_exec_ext
in '' $ac_executable_extensions; do
25946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25954 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25958 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25960 if test -n "$PKG_CONFIG"; then
25961 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25962 echo "${ECHO_T}$PKG_CONFIG" >&6
25964 echo "$as_me:$LINENO: result: no" >&5
25965 echo "${ECHO_T}no" >&6
25970 if test "$PKG_CONFIG" = "no" ; then
25971 echo "*** The pkg-config script could not be found. Make sure it is"
25972 echo "*** in your path, or set the PKG_CONFIG environment variable"
25973 echo "*** to the full path to pkg-config."
25974 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25976 PKG_CONFIG_MIN_VERSION
=0.9.0
25977 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25978 echo "$as_me:$LINENO: checking for pangoxft" >&5
25979 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25981 if $PKG_CONFIG --exists "pangoxft" ; then
25982 echo "$as_me:$LINENO: result: yes" >&5
25983 echo "${ECHO_T}yes" >&6
25986 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25987 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25988 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25989 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25990 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25992 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25993 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25994 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25995 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25996 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26000 ## If we have a custom action on failure, don't print errors, but
26001 ## do set a variable so people can do so.
26002 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26009 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26010 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26014 if test $succeeded = yes; then
26016 cat >>confdefs.h
<<\_ACEOF
26017 #define HAVE_PANGO_XFT 1
26020 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26021 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26025 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26026 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26031 save_CFLAGS
="$CFLAGS"
26033 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26034 LIBS
="$LIBS $PANGOX_LIBS"
26036 for ac_func
in pango_font_family_is_monospace
26038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26039 echo "$as_me:$LINENO: checking for $ac_func" >&5
26040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26041 if eval "test \"\${$as_ac_var+set}\" = set"; then
26042 echo $ECHO_N "(cached) $ECHO_C" >&6
26044 cat >conftest.
$ac_ext <<_ACEOF
26047 cat confdefs.h
>>conftest.
$ac_ext
26048 cat >>conftest.
$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26052 #define $ac_func innocuous_$ac_func
26054 /* System header to define __stub macros and hopefully few prototypes,
26055 which can conflict with char $ac_func (); below.
26056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26057 <limits.h> exists even on freestanding compilers. */
26060 # include <limits.h>
26062 # include <assert.h>
26067 /* Override any gcc2 internal prototype to avoid an error. */
26072 /* We use char because int might match the return type of a gcc2
26073 builtin and then its argument prototype would still apply. */
26075 /* The GNU C library defines this for functions which it implements
26076 to always fail with ENOSYS. Some functions are actually named
26077 something starting with __ and the normal name is an alias. */
26078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26081 char (*f) () = $ac_func;
26090 return f != $ac_func;
26095 rm -f conftest.
$ac_objext conftest
$ac_exeext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26097 (eval $ac_link) 2>conftest.er1
26099 grep -v '^ *+' conftest.er1
>conftest.err
26101 cat conftest.err
>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try
='test -s conftest$ac_exeext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116 eval "$as_ac_var=yes"
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.
$ac_ext >&5
26121 eval "$as_ac_var=no"
26123 rm -f conftest.err conftest.
$ac_objext \
26124 conftest
$ac_exeext conftest.
$ac_ext
26126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26128 if test `eval echo '${'$as_ac_var'}'` = yes; then
26129 cat >>confdefs.h
<<_ACEOF
26130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26136 CFLAGS
="$save_CFLAGS"
26140 wxUSE_UNIVERSAL
="yes"
26142 if test "$wxUSE_NANOX" = "yes"; then
26143 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26144 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"
26145 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26147 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26154 if test "$wxUSE_MOTIF" = 1; then
26155 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26156 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26159 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26161 if test -f "$ac_dir/Xm/Xm.h"; then
26162 ac_find_includes
=$ac_dir
26167 if test "$ac_find_includes" != "" ; then
26168 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26169 echo "${ECHO_T}found in $ac_find_includes" >&6
26171 if test "x$ac_find_includes" = "x/usr/include"; then
26172 ac_path_to_include
=""
26174 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26176 if test $result = 0; then
26177 ac_path_to_include
=""
26179 ac_path_to_include
=" -I$ac_find_includes"
26183 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26185 cat >conftest.
$ac_ext <<_ACEOF
26188 cat confdefs.h
>>conftest.
$ac_ext
26189 cat >>conftest.
$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26199 version = xmUseVersion;
26205 rm -f conftest.
$ac_objext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26207 (eval $ac_compile) 2>conftest.er1
26209 grep -v '^ *+' conftest.er1
>conftest.err
26211 cat conftest.err
>&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } &&
26214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26216 (eval $ac_try) 2>&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); }; } &&
26220 { ac_try
='test -s conftest.$ac_objext'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; }; then
26227 echo "$as_me:$LINENO: result: found in default search path" >&5
26228 echo "${ECHO_T}found in default search path" >&6
26229 COMPILED_X_PROGRAM
=1
26232 echo "$as_me: failed program was:" >&5
26233 sed 's/^/| /' conftest.
$ac_ext >&5
26236 echo "$as_me:$LINENO: result: no" >&5
26237 echo "${ECHO_T}no" >&6
26238 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26239 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26240 { (exit 1); exit 1; }; }
26244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26247 if test "$COMPILED_X_PROGRAM" = 0; then
26248 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26249 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26252 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26254 for ac_extension
in a so sl dylib
; do
26255 if test -f "$ac_dir/libXm.$ac_extension"; then
26256 ac_find_libraries
=$ac_dir
26262 if test "$ac_find_libraries" != "" ; then
26263 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26264 echo "${ECHO_T}found at $ac_find_libraries" >&6
26267 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26269 if test $result = 0; then
26272 ac_path_to_link
=" -L$ac_find_libraries"
26275 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26277 save_CFLAGS
=$CFLAGS
26278 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26280 cat >conftest.
$ac_ext <<_ACEOF
26283 cat confdefs.h
>>conftest.
$ac_ext
26284 cat >>conftest.
$ac_ext <<_ACEOF
26285 /* end confdefs.h. */
26294 version = xmUseVersion;
26300 rm -f conftest.
$ac_objext
26301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26302 (eval $ac_compile) 2>conftest.er1
26304 grep -v '^ *+' conftest.er1
>conftest.err
26306 cat conftest.err
>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); } &&
26309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; } &&
26315 { ac_try
='test -s conftest.$ac_objext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26322 echo "$as_me:$LINENO: result: found in default search path" >&5
26323 echo "${ECHO_T}found in default search path" >&6
26324 COMPILED_X_PROGRAM
=1
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.
$ac_ext >&5
26331 echo "$as_me:$LINENO: result: no" >&5
26332 echo "${ECHO_T}no" >&6
26333 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26334 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26335 { (exit 1); exit 1; }; }
26339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26341 CFLAGS
=$save_CFLAGS
26345 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26346 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26350 for libp
in "" " -lXp"; do
26351 if test "$libs_found" = "0"; then
26352 for libsm_ice
in "" " -lSM -lICE"; do
26353 if test "$libs_found" = "0"; then
26355 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26356 save_CFLAGS
=$CFLAGS
26357 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26359 cat >conftest.
$ac_ext <<_ACEOF
26362 cat confdefs.h
>>conftest.
$ac_ext
26363 cat >>conftest.
$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26367 #include <Xm/List.h>
26373 XmString string = NULL;
26376 XmListAddItem(w, string, position);
26382 rm -f conftest.
$ac_objext conftest
$ac_exeext
26383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26384 (eval $ac_link) 2>conftest.er1
26386 grep -v '^ *+' conftest.er1
>conftest.err
26388 cat conftest.err
>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } &&
26391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; } &&
26397 { ac_try
='test -s conftest$ac_exeext'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26405 libsm_ice_link
="$libsm_ice"
26406 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26407 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26411 echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.
$ac_ext >&5
26417 rm -f conftest.err conftest.
$ac_objext \
26418 conftest
$ac_exeext conftest.
$ac_ext
26421 CFLAGS
=$save_CFLAGS
26427 if test "$libs_found" = "0"; then
26428 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26429 echo "${ECHO_T}can't find the right libraries" >&6
26430 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26431 echo "$as_me: error: can't link a simple motif program" >&2;}
26432 { (exit 1); exit 1; }; }
26435 save_CFLAGS
=$CFLAGS
26436 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26437 echo "$as_me:$LINENO: checking for Motif 2" >&5
26438 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26439 cat >conftest.
$ac_ext <<_ACEOF
26442 cat confdefs.h
>>conftest.
$ac_ext
26443 cat >>conftest.
$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26452 #if XmVersion < 2000
26453 #error "Not Motif 2"
26460 rm -f conftest.
$ac_objext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26462 (eval $ac_compile) 2>conftest.er1
26464 grep -v '^ *+' conftest.er1
>conftest.err
26466 cat conftest.err
>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } &&
26469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; } &&
26475 { ac_try
='test -s conftest.$ac_objext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26482 cat >>confdefs.h
<<\_ACEOF
26483 #define __WXMOTIF20__ 1
26486 echo "$as_me:$LINENO: result: found" >&5
26487 echo "${ECHO_T}found" >&6
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.
$ac_ext >&5
26494 cat >>confdefs.h
<<\_ACEOF
26495 #define __WXMOTIF20__ 0
26498 echo "$as_me:$LINENO: result: not found" >&5
26499 echo "${ECHO_T}not found" >&6
26502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26503 CFLAGS
=$save_CFLAGS
26505 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26510 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26511 if test "$wxUSE_LIBXPM" = "sys"; then
26512 echo "$as_me:$LINENO: checking for Xpm library" >&5
26513 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26516 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26518 for ac_extension
in a so sl dylib
; do
26519 if test -f "$ac_dir/libXpm.$ac_extension"; then
26520 ac_find_libraries
=$ac_dir
26526 if test "$ac_find_libraries" != "" ; then
26528 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26530 if test $result = 0; then
26533 ac_path_to_link
=" -L$ac_find_libraries"
26536 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26537 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26538 echo "${ECHO_T}found at $ac_find_libraries" >&6
26540 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26541 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26542 if test "${wx_cv_x11_xpm_h+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 save_CFLAGS
=$CFLAGS
26547 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26549 cat >conftest.
$ac_ext <<_ACEOF
26552 cat confdefs.h
>>conftest.
$ac_ext
26553 cat >>conftest.
$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26556 #include <X11/xpm.h>
26563 version = XpmLibraryVersion();
26569 rm -f conftest.
$ac_objext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26571 (eval $ac_compile) 2>conftest.er1
26573 grep -v '^ *+' conftest.er1
>conftest.err
26575 cat conftest.err
>&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); }; } &&
26584 { ac_try
='test -s conftest.$ac_objext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26590 wx_cv_x11_xpm_h
=yes
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.
$ac_ext >&5
26598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26600 CFLAGS
=$save_CFLAGS
26604 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26605 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26607 if test $wx_cv_x11_xpm_h = "yes"; then
26608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26609 cat >>confdefs.h
<<\_ACEOF
26610 #define wxHAVE_LIB_XPM 1
26614 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26615 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26621 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26622 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26623 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 ac_check_lib_save_LIBS
=$LIBS
26627 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26628 cat >conftest.
$ac_ext <<_ACEOF
26631 cat confdefs.h
>>conftest.
$ac_ext
26632 cat >>conftest.
$ac_ext <<_ACEOF
26633 /* end confdefs.h. */
26635 /* Override any gcc2 internal prototype to avoid an error. */
26639 /* We use char because int might match the return type of a gcc2
26640 builtin and then its argument prototype would still apply. */
26641 char XShapeQueryExtension ();
26645 XShapeQueryExtension ();
26650 rm -f conftest.
$ac_objext conftest
$ac_exeext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26652 (eval $ac_link) 2>conftest.er1
26654 grep -v '^ *+' conftest.er1
>conftest.err
26656 cat conftest.err
>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26661 (eval $ac_try) 2>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); }; } &&
26665 { ac_try
='test -s conftest$ac_exeext'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; }; then
26671 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26673 echo "$as_me: failed program was:" >&5
26674 sed 's/^/| /' conftest.
$ac_ext >&5
26676 ac_cv_lib_Xext_XShapeQueryExtension
=no
26678 rm -f conftest.err conftest.
$ac_objext \
26679 conftest
$ac_exeext conftest.
$ac_ext
26680 LIBS
=$ac_check_lib_save_LIBS
26682 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26683 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26684 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26686 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26692 if test "$wxHAVE_XEXT_LIB" = 1; then
26693 save_CFLAGS
="$CFLAGS"
26694 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26696 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26697 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26698 cat >conftest.
$ac_ext <<_ACEOF
26701 cat confdefs.h
>>conftest.
$ac_ext
26702 cat >>conftest.
$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26705 #include <X11/Xlib.h>
26706 #include <X11/extensions/shape.h>
26712 int dummy1, dummy2;
26713 XShapeQueryExtension((Display*)NULL,
26714 (int*)NULL, (int*)NULL);
26720 rm -f conftest.
$ac_objext
26721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26722 (eval $ac_compile) 2>conftest.er1
26724 grep -v '^ *+' conftest.er1
>conftest.err
26726 cat conftest.err
>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try
='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26742 cat >>confdefs.h
<<\_ACEOF
26743 #define HAVE_XSHAPE 1
26746 echo "$as_me:$LINENO: result: found" >&5
26747 echo "${ECHO_T}found" >&6
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26754 echo "$as_me:$LINENO: result: not found" >&5
26755 echo "${ECHO_T}not found" >&6
26758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26759 CFLAGS
="$save_CFLAGS"
26764 if test "$wxUSE_MAC" = 1; then
26765 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26766 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26767 if test "$GCC" = yes; then
26768 echo "$as_me:$LINENO: result: gcc" >&5
26769 echo "${ECHO_T}gcc" >&6
26770 CPPFLAGS_PASCAL
="-fpascal-strings"
26771 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26772 echo "$as_me:$LINENO: result: xlc" >&5
26773 echo "${ECHO_T}xlc" >&6
26774 CPPFLAGS_PASCAL
="-qmacpstr"
26776 echo "$as_me:$LINENO: result: none" >&5
26777 echo "${ECHO_T}none" >&6
26780 if test "x$wxUSE_UNIX" = "xyes"; then
26781 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26783 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26788 WXBASEPORT
="_carbon"
26791 if test "$wxUSE_COCOA" = 1; then
26796 if test "$wxUSE_PM" = 1; then
26799 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26800 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26801 if test "${wx_cv_spbcdata+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 cat >conftest.
$ac_ext <<_ACEOF
26808 cat confdefs.h
>>conftest.
$ac_ext
26809 cat >>conftest.
$ac_ext <<_ACEOF
26810 /* end confdefs.h. */
26825 rm -f conftest.
$ac_objext
26826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26827 (eval $ac_compile) 2>conftest.er1
26829 grep -v '^ *+' conftest.er1
>conftest.err
26831 cat conftest.err
>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } &&
26834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836 (eval $ac_try) 2>&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); }; } &&
26840 { ac_try
='test -s conftest.$ac_objext'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; }; then
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.
$ac_ext >&5
26854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26858 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26859 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26861 if test $wx_cv_spbcdata = "yes"; then
26862 cat >>confdefs.h
<<\_ACEOF
26863 #define HAVE_SPBCDATA 1
26869 if test "$TOOLKIT" = "PM" ; then
26872 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26875 if test "$wxUSE_UNIVERSAL" = "yes"; then
26876 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26880 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26881 DISTDIR
="wx\$(TOOLKIT)"
26887 if test "$USE_WIN32" = 1 ; then
26891 GUIDIST
="BASE_DIST"
26901 if test "$TOOLKIT" != "MSW" ; then
26903 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26905 if test "${ac_cv_header_sql_h+set}" = set; then
26906 echo "$as_me:$LINENO: checking for sql.h" >&5
26907 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26908 if test "${ac_cv_header_sql_h+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26911 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26912 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26914 # Is the header compilable?
26915 echo "$as_me:$LINENO: checking sql.h usability" >&5
26916 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26917 cat >conftest.
$ac_ext <<_ACEOF
26920 cat confdefs.h
>>conftest.
$ac_ext
26921 cat >>conftest.
$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 $ac_includes_default
26926 rm -f conftest.
$ac_objext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26928 (eval $ac_compile) 2>conftest.er1
26930 grep -v '^ *+' conftest.er1
>conftest.err
26932 cat conftest.err
>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; } &&
26941 { ac_try
='test -s conftest.$ac_objext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26947 ac_header_compiler
=yes
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.
$ac_ext >&5
26952 ac_header_compiler
=no
26954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26956 echo "${ECHO_T}$ac_header_compiler" >&6
26958 # Is the header present?
26959 echo "$as_me:$LINENO: checking sql.h presence" >&5
26960 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26961 cat >conftest.
$ac_ext <<_ACEOF
26964 cat confdefs.h
>>conftest.
$ac_ext
26965 cat >>conftest.
$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26972 grep -v '^ *+' conftest.er1
>conftest.err
26974 cat conftest.err
>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } >/dev
/null
; then
26977 if test -s conftest.err
; then
26978 ac_cpp_err
=$ac_c_preproc_warn_flag
26979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26986 if test -z "$ac_cpp_err"; then
26987 ac_header_preproc
=yes
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 ac_header_preproc
=no
26994 rm -f conftest.err conftest.
$ac_ext
26995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26996 echo "${ECHO_T}$ac_header_preproc" >&6
26998 # So? What about this header?
26999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27001 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27002 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27004 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27005 ac_header_preproc
=yes
27008 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27009 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27011 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27012 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27013 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27014 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27015 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27016 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27017 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27018 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27019 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27022 ## ----------------------------------------- ##
27023 ## Report this to wx-dev@lists.wxwidgets.org ##
27024 ## ----------------------------------------- ##
27027 sed "s/^/$as_me: WARNING: /" >&2
27030 echo "$as_me:$LINENO: checking for sql.h" >&5
27031 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27032 if test "${ac_cv_header_sql_h+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 ac_cv_header_sql_h
=$ac_header_preproc
27037 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27038 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27041 if test $ac_cv_header_sql_h = yes; then
27046 if test "x$found_sql_h" = "x1" ; then
27047 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27048 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27049 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 ac_check_lib_save_LIBS
=$LIBS
27053 LIBS
="-liodbc $LIBS"
27054 cat >conftest.
$ac_ext <<_ACEOF
27057 cat confdefs.h
>>conftest.
$ac_ext
27058 cat >>conftest.
$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27061 /* Override any gcc2 internal prototype to avoid an error. */
27065 /* We use char because int might match the return type of a gcc2
27066 builtin and then its argument prototype would still apply. */
27067 char SQLAllocEnv ();
27076 rm -f conftest.
$ac_objext conftest
$ac_exeext
27077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27078 (eval $ac_link) 2>conftest.er1
27080 grep -v '^ *+' conftest.er1
>conftest.err
27082 cat conftest.err
>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; } &&
27091 { ac_try
='test -s conftest$ac_exeext'
27092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27093 (eval $ac_try) 2>&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); }; }; then
27097 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27099 echo "$as_me: failed program was:" >&5
27100 sed 's/^/| /' conftest.
$ac_ext >&5
27102 ac_cv_lib_iodbc_SQLAllocEnv
=no
27104 rm -f conftest.err conftest.
$ac_objext \
27105 conftest
$ac_exeext conftest.
$ac_ext
27106 LIBS
=$ac_check_lib_save_LIBS
27108 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27109 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27110 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27111 ODBC_LINK
=" -liodbc"
27114 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27115 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27116 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27117 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 ac_check_lib_save_LIBS
=$LIBS
27120 LIBS
="-lunixodbc $LIBS"
27121 cat >conftest.
$ac_ext <<_ACEOF
27124 cat confdefs.h
>>conftest.
$ac_ext
27125 cat >>conftest.
$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27128 /* Override any gcc2 internal prototype to avoid an error. */
27132 /* We use char because int might match the return type of a gcc2
27133 builtin and then its argument prototype would still apply. */
27134 char SQLAllocEnv ();
27143 rm -f conftest.
$ac_objext conftest
$ac_exeext
27144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27145 (eval $ac_link) 2>conftest.er1
27147 grep -v '^ *+' conftest.er1
>conftest.err
27149 cat conftest.err
>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } &&
27152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try
='test -s conftest$ac_exeext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.
$ac_ext >&5
27169 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27171 rm -f conftest.err conftest.
$ac_objext \
27172 conftest
$ac_exeext conftest.
$ac_ext
27173 LIBS
=$ac_check_lib_save_LIBS
27175 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27176 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27177 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27178 ODBC_LINK
=" -lunixodbc"
27181 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27182 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27183 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 ac_check_lib_save_LIBS
=$LIBS
27187 LIBS
="-lodbc $LIBS"
27188 cat >conftest.
$ac_ext <<_ACEOF
27191 cat confdefs.h
>>conftest.
$ac_ext
27192 cat >>conftest.
$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27195 /* Override any gcc2 internal prototype to avoid an error. */
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27201 char SQLAllocEnv ();
27210 rm -f conftest.
$ac_objext conftest
$ac_exeext
27211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27212 (eval $ac_link) 2>conftest.er1
27214 grep -v '^ *+' conftest.er1
>conftest.err
27216 cat conftest.err
>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } &&
27219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; } &&
27225 { ac_try
='test -s conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 ac_cv_lib_odbc_SQLAllocEnv
=yes
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 ac_cv_lib_odbc_SQLAllocEnv
=no
27238 rm -f conftest.err conftest.
$ac_objext \
27239 conftest
$ac_exeext conftest.
$ac_ext
27240 LIBS
=$ac_check_lib_save_LIBS
27242 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27243 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27244 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27245 ODBC_LINK
=" -lodbc"
27255 if test "x$ODBC_LINK" = "x" ; then
27256 if test "$wxUSE_ODBC" = "sys" ; then
27257 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27258 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27259 { (exit 1); exit 1; }; }
27261 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27262 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27269 if test "$wxUSE_ODBC" != "no" ; then
27270 cat >>confdefs.h
<<\_ACEOF
27271 #define wxUSE_ODBC 1
27274 if test "$wxUSE_ODBC" = "builtin" ; then
27275 cat >>confdefs.h
<<\_ACEOF
27276 #define wxUSE_BUILTIN_IODBC 1
27280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27282 WXODBCFLAG
="-D_IODBC_"
27288 if test "$wxUSE_DISPLAY" = "yes"; then
27289 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27290 echo "$as_me:$LINENO: checking for Xinerama" >&5
27291 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27294 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27296 for ac_extension
in a so sl dylib
; do
27297 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27298 ac_find_libraries
=$ac_dir
27304 if test "$ac_find_libraries" != "" ; then
27306 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27308 if test $result = 0; then
27311 ac_path_to_link
=" -L$ac_find_libraries"
27314 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27315 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27317 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27318 echo "$as_me:$LINENO: result: yes" >&5
27319 echo "${ECHO_T}yes" >&6
27321 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27322 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27325 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27327 for ac_extension
in a so sl dylib
; do
27328 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27329 ac_find_libraries
=$ac_dir
27335 if test "$ac_find_libraries" != "" ; then
27336 echo "$as_me:$LINENO: result: yes" >&5
27337 echo "${ECHO_T}yes" >&6
27339 for ac_header
in X
11/extensions
/xf86vmode.h
27341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_header" >&5
27343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 cat >conftest.
$ac_ext <<_ACEOF
27350 cat confdefs.h
>>conftest.
$ac_ext
27351 cat >>conftest.
$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27354 #if HAVE_X11_XLIB_H
27355 #include <X11/Xlib.h>
27359 #include <$ac_header>
27361 rm -f conftest.
$ac_objext
27362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27363 (eval $ac_compile) 2>conftest.er1
27365 grep -v '^ *+' conftest.er1
>conftest.err
27367 cat conftest.err
>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } &&
27370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372 (eval $ac_try) 2>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); }; } &&
27376 { ac_try
='test -s conftest.$ac_objext'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; }; then
27382 eval "$as_ac_Header=yes"
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.
$ac_ext >&5
27387 eval "$as_ac_Header=no"
27389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27394 cat >>confdefs.h
<<_ACEOF
27395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27398 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27405 echo "$as_me:$LINENO: result: no" >&5
27406 echo "${ECHO_T}no" >&6
27410 echo "$as_me:$LINENO: result: no" >&5
27411 echo "${ECHO_T}no" >&6
27412 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27413 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27416 elif test "$wxUSE_MSW" = 1; then
27419 for ac_header
in multimon.h ddraw.h
27421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27422 echo "$as_me:$LINENO: checking for $ac_header" >&5
27423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27425 echo $ECHO_N "(cached) $ECHO_C" >&6
27427 cat >conftest.
$ac_ext <<_ACEOF
27430 cat confdefs.h
>>conftest.
$ac_ext
27431 cat >>conftest.
$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 #include <windows.h>
27435 #include <$ac_header>
27437 rm -f conftest.
$ac_objext
27438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27439 (eval $ac_compile) 2>conftest.er1
27441 grep -v '^ *+' conftest.er1
>conftest.err
27443 cat conftest.err
>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448 (eval $ac_try) 2>&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); }; } &&
27452 { ac_try
='test -s conftest.$ac_objext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 eval "$as_ac_Header=yes"
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.
$ac_ext >&5
27463 eval "$as_ac_Header=no"
27465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27470 cat >>confdefs.h
<<_ACEOF
27471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27477 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27478 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27488 if test "$wxUSE_MEDIACTRL" = "yes"; then
27489 if test "$wxUSE_MSW" = 1; then
27490 wxUSE_DIRECTSHOW
="yes"
27492 for ac_header
in dshow.h
27494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27495 echo "$as_me:$LINENO: checking for $ac_header" >&5
27496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 cat >conftest.
$ac_ext <<_ACEOF
27503 cat confdefs.h
>>conftest.
$ac_ext
27504 cat >>conftest.
$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 #include <windows.h>
27508 #include <$ac_header>
27510 rm -f conftest.
$ac_objext
27511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27512 (eval $ac_compile) 2>conftest.er1
27514 grep -v '^ *+' conftest.er1
>conftest.err
27516 cat conftest.err
>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; } &&
27525 { ac_try
='test -s conftest.$ac_objext'
27526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27527 (eval $ac_try) 2>&5
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); }; }; then
27531 eval "$as_ac_Header=yes"
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.
$ac_ext >&5
27536 eval "$as_ac_Header=no"
27538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27543 cat >>confdefs.h
<<_ACEOF
27544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27549 wxUSE_DIRECTSHOW
="no"
27550 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27551 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27558 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27559 cat >>confdefs.h
<<\_ACEOF
27560 #define wxUSE_DIRECTSHOW 1
27563 LIBS
="$LIBS -lstrmiids"
27567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27568 cat >>confdefs.h
<<\_ACEOF
27569 #define wxUSE_MEDIACTRL 1
27576 if test "$wxUSE_OPENGL" = "yes"; then
27577 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27578 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27579 elif test "$wxUSE_MSW" = 1; then
27580 OPENGL_LIBS
="-lopengl32 -lglu32"
27585 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27587 if test -f "$ac_dir/GL/gl.h"; then
27588 ac_find_includes
=$ac_dir
27593 if test "$ac_find_includes" != "" ; then
27594 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27595 echo "${ECHO_T}found in $ac_find_includes" >&6
27597 if test "x$ac_find_includes" = "x/usr/include"; then
27598 ac_path_to_include
=""
27600 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27602 if test $result = 0; then
27603 ac_path_to_include
=""
27605 ac_path_to_include
=" -I$ac_find_includes"
27609 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27612 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27613 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27614 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27615 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27616 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27621 # Is the header compilable?
27622 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27623 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27624 cat >conftest.
$ac_ext <<_ACEOF
27627 cat confdefs.h
>>conftest.
$ac_ext
27628 cat >>conftest.
$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 $ac_includes_default
27633 rm -f conftest.
$ac_objext
27634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27635 (eval $ac_compile) 2>conftest.er1
27637 grep -v '^ *+' conftest.er1
>conftest.err
27639 cat conftest.err
>&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } &&
27642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; } &&
27648 { ac_try
='test -s conftest.$ac_objext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 ac_header_compiler
=yes
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.
$ac_ext >&5
27659 ac_header_compiler
=no
27661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27663 echo "${ECHO_T}$ac_header_compiler" >&6
27665 # Is the header present?
27666 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27667 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27668 cat >conftest.
$ac_ext <<_ACEOF
27671 cat confdefs.h
>>conftest.
$ac_ext
27672 cat >>conftest.
$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27679 grep -v '^ *+' conftest.er1
>conftest.err
27681 cat conftest.err
>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); } >/dev
/null
; then
27684 if test -s conftest.err
; then
27685 ac_cpp_err
=$ac_c_preproc_warn_flag
27686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27693 if test -z "$ac_cpp_err"; then
27694 ac_header_preproc
=yes
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.
$ac_ext >&5
27699 ac_header_preproc
=no
27701 rm -f conftest.err conftest.
$ac_ext
27702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27703 echo "${ECHO_T}$ac_header_preproc" >&6
27705 # So? What about this header?
27706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27708 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27709 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27710 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27711 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27712 ac_header_preproc
=yes
27715 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27716 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27717 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27718 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27719 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27720 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27721 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27722 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27723 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27724 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27725 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27726 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27729 ## ----------------------------------------- ##
27730 ## Report this to wx-dev@lists.wxwidgets.org ##
27731 ## ----------------------------------------- ##
27734 sed "s/^/$as_me: WARNING: /" >&2
27737 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27738 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27739 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 ac_cv_header_GL_gl_h
=$ac_header_preproc
27744 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27745 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27748 if test $ac_cv_header_GL_gl_h = yes; then
27752 echo "$as_me:$LINENO: checking for -lGL" >&5
27753 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27756 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27758 for ac_extension
in a so sl dylib
; do
27759 if test -f "$ac_dir/libGL.$ac_extension"; then
27760 ac_find_libraries
=$ac_dir
27766 if test "$ac_find_libraries" != "" ; then
27768 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27770 if test $result = 0; then
27773 ac_path_to_link
=" -L$ac_find_libraries"
27776 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27777 LDFLAGS_GL
="$ac_path_to_link"
27782 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27784 for ac_extension
in a so sl dylib
; do
27785 if test -f "$ac_dir/libGLU.$ac_extension"; then
27786 ac_find_libraries
=$ac_dir
27792 if test "$ac_find_libraries" != "" ; then
27794 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27796 if test $result = 0; then
27799 ac_path_to_link
=" -L$ac_find_libraries"
27802 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27803 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27804 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27808 OPENGL_LIBS
="-lGL -lGLU"
27809 echo "$as_me:$LINENO: result: yes" >&5
27810 echo "${ECHO_T}yes" >&6
27814 if test "$found_gl" != 1; then
27815 echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6
27817 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27818 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27821 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27823 for ac_extension
in a so sl dylib
; do
27824 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27825 ac_find_libraries
=$ac_dir
27831 if test "$ac_find_libraries" != "" ; then
27833 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27835 if test $result = 0; then
27838 ac_path_to_link
=" -L$ac_find_libraries"
27841 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27842 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27843 echo "$as_me:$LINENO: result: yes" >&5
27844 echo "${ECHO_T}yes" >&6
27846 echo "$as_me:$LINENO: result: no" >&5
27847 echo "${ECHO_T}no" >&6
27855 if test "x$OPENGL_LIBS" = "x"; then
27856 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27857 echo "$as_me: error: OpenGL libraries not available" >&2;}
27858 { (exit 1); exit 1; }; }
27862 if test "$wxUSE_OPENGL" = "yes"; then
27864 cat >>confdefs.h
<<\_ACEOF
27865 #define wxUSE_OPENGL 1
27868 cat >>confdefs.h
<<\_ACEOF
27869 #define wxUSE_GLCANVAS 1
27872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27877 if test -n "$TOOLKIT" ; then
27878 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27883 if test "$wxUSE_SHARED" = "yes"; then
27887 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27888 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27893 if test "$wxUSE_SHARED" = "yes"; then
27896 found_versioning
=no
27899 if test $found_versioning = no
; then
27900 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27901 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27902 if test "${wx_cv_version_script+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 echo "VER_1 { *; };" >conftest.sym
27907 echo "int main() { return 0; }" >conftest.cpp
27910 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27911 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; } ; then
27917 if test -s conftest.stderr
; then
27918 wx_cv_version_script
=no
27920 wx_cv_version_script
=yes
27923 wx_cv_version_script
=no
27925 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27928 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27929 echo "${ECHO_T}$wx_cv_version_script" >&6
27930 if test $wx_cv_version_script = yes ; then
27931 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27937 *-*-linux* | *-*-gnu* )
27938 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27939 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27943 if test "$GCC" = yes ; then
27944 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27946 saveLdflags
="$LDFLAGS"
27947 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27948 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27949 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27950 cat >conftest.
$ac_ext <<_ACEOF
27953 cat confdefs.h
>>conftest.
$ac_ext
27954 cat >>conftest.
$ac_ext <<_ACEOF
27955 /* end confdefs.h. */
27965 rm -f conftest.
$ac_objext conftest
$ac_exeext
27966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27967 (eval $ac_link) 2>conftest.er1
27969 grep -v '^ *+' conftest.er1
>conftest.err
27971 cat conftest.err
>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; } &&
27980 { ac_try
='test -s conftest$ac_exeext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27987 echo "$as_me:$LINENO: result: yes" >&5
27988 echo "${ECHO_T}yes" >&6
27989 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27990 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27993 echo "$as_me: failed program was:" >&5
27994 sed 's/^/| /' conftest.
$ac_ext >&5
27997 echo "$as_me:$LINENO: result: no" >&5
27998 echo "${ECHO_T}no" >&6
27999 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28000 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28001 LDFLAGS
="$saveLdflags -Wl,-R,/"
28002 cat >conftest.
$ac_ext <<_ACEOF
28005 cat confdefs.h
>>conftest.
$ac_ext
28006 cat >>conftest.
$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28017 rm -f conftest.
$ac_objext conftest
$ac_exeext
28018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28019 (eval $ac_link) 2>conftest.er1
28021 grep -v '^ *+' conftest.er1
>conftest.err
28023 cat conftest.err
>&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 (eval $ac_try) 2>&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; } &&
28032 { ac_try
='test -s conftest$ac_exeext'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; }; then
28039 echo "$as_me:$LINENO: result: yes" >&5
28040 echo "${ECHO_T}yes" >&6
28041 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28042 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.
$ac_ext >&5
28049 echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6
28053 rm -f conftest.err conftest.
$ac_objext \
28054 conftest
$ac_exeext conftest.
$ac_ext
28057 rm -f conftest.err conftest.
$ac_objext \
28058 conftest
$ac_exeext conftest.
$ac_ext
28059 LDFLAGS
="$saveLdflags"
28061 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28062 WXCONFIG_RPATH
="-R\$libdir"
28066 powerpc
-*-darwin* )
28067 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28068 cat <<EOF >change-install-names
28070 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28071 inst_cmd="install_name_tool "
28072 for i in \${libnames} ; do
28073 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28077 chmod +x change
-install-names
28080 *-*-cygwin* | *-*-mingw32* )
28081 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28086 if test $wxUSE_RPATH = "no"; then
28087 SAMPLES_RPATH_FLAG
=''
28088 SAMPLES_RPATH_POSTLINK
=''
28096 config_linkage_component
="-static"
28103 lib_unicode_suffix
=
28105 if test "$wxUSE_UNICODE" = "yes"; then
28106 lib_unicode_suffix
=u
28107 WX_CHARTYPE
="unicode"
28112 WX_DEBUGTYPE
="release"
28114 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28116 WX_DEBUGTYPE
="debug"
28120 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28121 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28124 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28128 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28130 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28132 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28134 if test "$cross_compiling" = "yes"; then
28135 HOST_SUFFIX
="-$host_alias"
28136 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28137 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28140 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28141 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28145 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28146 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28147 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28149 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28151 # Extract the first word of "Rez", so it can be a program name with args.
28152 set dummy Rez
; ac_word
=$2
28153 echo "$as_me:$LINENO: checking for $ac_word" >&5
28154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28155 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 if test -n "$RESCOMP"; then
28159 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28162 for as_dir
in $PATH
28165 test -z "$as_dir" && as_dir
=.
28166 for ac_exec_ext
in '' $ac_executable_extensions; do
28167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28168 ac_cv_prog_RESCOMP
="Rez"
28169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28175 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28178 RESCOMP
=$ac_cv_prog_RESCOMP
28179 if test -n "$RESCOMP"; then
28180 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28181 echo "${ECHO_T}$RESCOMP" >&6
28183 echo "$as_me:$LINENO: result: no" >&5
28184 echo "${ECHO_T}no" >&6
28187 # Extract the first word of "DeRez", so it can be a program name with args.
28188 set dummy DeRez
; ac_word
=$2
28189 echo "$as_me:$LINENO: checking for $ac_word" >&5
28190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28191 if test "${ac_cv_prog_DEREZ+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28194 if test -n "$DEREZ"; then
28195 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28198 for as_dir
in $PATH
28201 test -z "$as_dir" && as_dir
=.
28202 for ac_exec_ext
in '' $ac_executable_extensions; do
28203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28204 ac_cv_prog_DEREZ
="DeRez"
28205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28211 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28214 DEREZ
=$ac_cv_prog_DEREZ
28215 if test -n "$DEREZ"; then
28216 echo "$as_me:$LINENO: result: $DEREZ" >&5
28217 echo "${ECHO_T}$DEREZ" >&6
28219 echo "$as_me:$LINENO: result: no" >&5
28220 echo "${ECHO_T}no" >&6
28223 # Extract the first word of "SetFile", so it can be a program name with args.
28224 set dummy SetFile
; ac_word
=$2
28225 echo "$as_me:$LINENO: checking for $ac_word" >&5
28226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28227 if test "${ac_cv_prog_SETFILE+set}" = set; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 if test -n "$SETFILE"; then
28231 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28234 for as_dir
in $PATH
28237 test -z "$as_dir" && as_dir
=.
28238 for ac_exec_ext
in '' $ac_executable_extensions; do
28239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28240 ac_cv_prog_SETFILE
="SetFile"
28241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28247 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28250 SETFILE
=$ac_cv_prog_SETFILE
28251 if test -n "$SETFILE"; then
28252 echo "$as_me:$LINENO: result: $SETFILE" >&5
28253 echo "${ECHO_T}$SETFILE" >&6
28255 echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6
28260 MACSETFILE
="\$(SETFILE)"
28262 if test "$wxUSE_MAC" = 1; then
28263 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28265 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28267 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28268 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28272 MACRESWXCONFIG
="@true"
28274 if test "$wxUSE_PM" = 1; then
28275 MACRESCOMP
="emxbind -ep"
28283 echo "$as_me:$LINENO: checking for mode_t" >&5
28284 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28285 if test "${ac_cv_type_mode_t+set}" = set; then
28286 echo $ECHO_N "(cached) $ECHO_C" >&6
28288 cat >conftest.
$ac_ext <<_ACEOF
28291 cat confdefs.h
>>conftest.
$ac_ext
28292 cat >>conftest.
$ac_ext <<_ACEOF
28293 /* end confdefs.h. */
28294 $ac_includes_default
28300 if (sizeof (mode_t))
28306 rm -f conftest.
$ac_objext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28308 (eval $ac_compile) 2>conftest.er1
28310 grep -v '^ *+' conftest.er1
>conftest.err
28312 cat conftest.err
>&5
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); } &&
28315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; } &&
28321 { ac_try
='test -s conftest.$ac_objext'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; }; then
28327 ac_cv_type_mode_t
=yes
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.
$ac_ext >&5
28332 ac_cv_type_mode_t
=no
28334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28336 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28337 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28338 if test $ac_cv_type_mode_t = yes; then
28342 cat >>confdefs.h
<<_ACEOF
28348 echo "$as_me:$LINENO: checking for off_t" >&5
28349 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28350 if test "${ac_cv_type_off_t+set}" = set; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359 $ac_includes_default
28365 if (sizeof (off_t))
28371 rm -f conftest.
$ac_objext
28372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28373 (eval $ac_compile) 2>conftest.er1
28375 grep -v '^ *+' conftest.er1
>conftest.err
28377 cat conftest.err
>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); } &&
28380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; } &&
28386 { ac_try
='test -s conftest.$ac_objext'
28387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28388 (eval $ac_try) 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); }; }; then
28392 ac_cv_type_off_t
=yes
28394 echo "$as_me: failed program was:" >&5
28395 sed 's/^/| /' conftest.
$ac_ext >&5
28397 ac_cv_type_off_t
=no
28399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28401 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28402 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28403 if test $ac_cv_type_off_t = yes; then
28407 cat >>confdefs.h
<<_ACEOF
28413 echo "$as_me:$LINENO: checking for pid_t" >&5
28414 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28415 if test "${ac_cv_type_pid_t+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 cat >conftest.
$ac_ext <<_ACEOF
28421 cat confdefs.h
>>conftest.
$ac_ext
28422 cat >>conftest.
$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424 $ac_includes_default
28430 if (sizeof (pid_t))
28436 rm -f conftest.
$ac_objext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28438 (eval $ac_compile) 2>conftest.er1
28440 grep -v '^ *+' conftest.er1
>conftest.err
28442 cat conftest.err
>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); } &&
28445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try
='test -s conftest.$ac_objext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_type_pid_t
=yes
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.
$ac_ext >&5
28462 ac_cv_type_pid_t
=no
28464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28466 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28467 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28468 if test $ac_cv_type_pid_t = yes; then
28472 cat >>confdefs.h
<<_ACEOF
28478 echo "$as_me:$LINENO: checking for size_t" >&5
28479 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28480 if test "${ac_cv_type_size_t+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 cat >conftest.
$ac_ext <<_ACEOF
28486 cat confdefs.h
>>conftest.
$ac_ext
28487 cat >>conftest.
$ac_ext <<_ACEOF
28488 /* end confdefs.h. */
28489 $ac_includes_default
28495 if (sizeof (size_t))
28501 rm -f conftest.
$ac_objext
28502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28503 (eval $ac_compile) 2>conftest.er1
28505 grep -v '^ *+' conftest.er1
>conftest.err
28507 cat conftest.err
>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); } &&
28510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); }; } &&
28516 { ac_try
='test -s conftest.$ac_objext'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; }; then
28522 ac_cv_type_size_t
=yes
28524 echo "$as_me: failed program was:" >&5
28525 sed 's/^/| /' conftest.
$ac_ext >&5
28527 ac_cv_type_size_t
=no
28529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28531 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28532 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28533 if test $ac_cv_type_size_t = yes; then
28537 cat >>confdefs.h
<<_ACEOF
28538 #define size_t unsigned
28543 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28544 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28545 if test "${ac_cv_type_uid_t+set}" = set; then
28546 echo $ECHO_N "(cached) $ECHO_C" >&6
28548 cat >conftest.
$ac_ext <<_ACEOF
28551 cat confdefs.h
>>conftest.
$ac_ext
28552 cat >>conftest.
$ac_ext <<_ACEOF
28553 /* end confdefs.h. */
28554 #include <sys/types.h>
28557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28558 $EGREP "uid_t" >/dev
/null
2>&1; then
28559 ac_cv_type_uid_t
=yes
28561 ac_cv_type_uid_t
=no
28566 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28567 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28568 if test $ac_cv_type_uid_t = no
; then
28570 cat >>confdefs.h
<<\_ACEOF
28575 cat >>confdefs.h
<<\_ACEOF
28582 echo "$as_me:$LINENO: checking for ssize_t" >&5
28583 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28584 if test "${ac_cv_type_ssize_t+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 cat >conftest.
$ac_ext <<_ACEOF
28590 cat confdefs.h
>>conftest.
$ac_ext
28591 cat >>conftest.
$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28593 $ac_includes_default
28599 if (sizeof (ssize_t))
28605 rm -f conftest.
$ac_objext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28607 (eval $ac_compile) 2>conftest.er1
28609 grep -v '^ *+' conftest.er1
>conftest.err
28611 cat conftest.err
>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } &&
28614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; } &&
28620 { ac_try
='test -s conftest.$ac_objext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 ac_cv_type_ssize_t
=yes
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.
$ac_ext >&5
28631 ac_cv_type_ssize_t
=no
28633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28635 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28636 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28637 if test $ac_cv_type_ssize_t = yes; then
28639 cat >>confdefs.h
<<_ACEOF
28640 #define HAVE_SSIZE_T 1
28650 ac_cpp
='$CXXCPP $CPPFLAGS'
28651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28655 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28656 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28657 if test "${wx_cv_size_t_is_uint+set}" = set; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 cat >conftest.
$ac_ext <<_ACEOF
28664 cat confdefs.h
>>conftest.
$ac_ext
28665 cat >>conftest.
$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28667 #include <stddef.h>
28674 struct Foo { void foo(size_t); void foo(unsigned int); };
28682 rm -f conftest.
$ac_objext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28684 (eval $ac_compile) 2>conftest.er1
28686 grep -v '^ *+' conftest.er1
>conftest.err
28688 cat conftest.err
>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; } &&
28697 { ac_try
='test -s conftest.$ac_objext'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; }; then
28703 wx_cv_size_t_is_uint
=no
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.
$ac_ext >&5
28708 wx_cv_size_t_is_uint
=yes
28711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28715 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28716 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28718 if test "$wx_cv_size_t_is_uint" = "yes"; then
28719 cat >>confdefs.h
<<\_ACEOF
28720 #define wxSIZE_T_IS_UINT 1
28724 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28725 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28726 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 cat >conftest.
$ac_ext <<_ACEOF
28732 cat confdefs.h
>>conftest.
$ac_ext
28733 cat >>conftest.
$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735 #include <stddef.h>
28742 struct Foo { void foo(size_t); void foo(unsigned long); };
28750 rm -f conftest.
$ac_objext
28751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28752 (eval $ac_compile) 2>conftest.er1
28754 grep -v '^ *+' conftest.er1
>conftest.err
28756 cat conftest.err
>&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } &&
28759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; } &&
28765 { ac_try
='test -s conftest.$ac_objext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 wx_cv_size_t_is_ulong
=no
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.
$ac_ext >&5
28776 wx_cv_size_t_is_ulong
=yes
28779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28782 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28783 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28785 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28786 cat >>confdefs.h
<<\_ACEOF
28787 #define wxSIZE_T_IS_ULONG 1
28794 ac_cpp
='$CPP $CPPFLAGS'
28795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28801 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28802 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28803 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 cat >conftest.
$ac_ext <<_ACEOF
28810 cat confdefs.h
>>conftest.
$ac_ext
28811 cat >>conftest.
$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28826 rm -f conftest.
$ac_objext
28827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28828 (eval $ac_compile) 2>conftest.er1
28830 grep -v '^ *+' conftest.er1
>conftest.err
28832 cat conftest.err
>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } &&
28835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try
='test -s conftest.$ac_objext'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28848 wx_cv_struct_pw_gecos
=yes
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.
$ac_ext >&5
28855 wx_cv_struct_pw_gecos
=no
28859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28863 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28864 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28866 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28867 cat >>confdefs.h
<<\_ACEOF
28868 #define HAVE_PW_GECOS 1
28874 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28875 cat >>confdefs.h
<<\_ACEOF
28876 #define wxUSE_WCHAR_T 1
28883 for ac_func
in wcslen
28885 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28886 echo "$as_me:$LINENO: checking for $ac_func" >&5
28887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28888 if eval "test \"\${$as_ac_var+set}\" = set"; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 cat >conftest.
$ac_ext <<_ACEOF
28894 cat confdefs.h
>>conftest.
$ac_ext
28895 cat >>conftest.
$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28899 #define $ac_func innocuous_$ac_func
28901 /* System header to define __stub macros and hopefully few prototypes,
28902 which can conflict with char $ac_func (); below.
28903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28904 <limits.h> exists even on freestanding compilers. */
28907 # include <limits.h>
28909 # include <assert.h>
28914 /* Override any gcc2 internal prototype to avoid an error. */
28919 /* We use char because int might match the return type of a gcc2
28920 builtin and then its argument prototype would still apply. */
28922 /* The GNU C library defines this for functions which it implements
28923 to always fail with ENOSYS. Some functions are actually named
28924 something starting with __ and the normal name is an alias. */
28925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28928 char (*f) () = $ac_func;
28937 return f != $ac_func;
28942 rm -f conftest.
$ac_objext conftest
$ac_exeext
28943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28944 (eval $ac_link) 2>conftest.er1
28946 grep -v '^ *+' conftest.er1
>conftest.err
28948 cat conftest.err
>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); } &&
28951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; } &&
28957 { ac_try
='test -s conftest$ac_exeext'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; }; then
28963 eval "$as_ac_var=yes"
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.
$ac_ext >&5
28968 eval "$as_ac_var=no"
28970 rm -f conftest.err conftest.
$ac_objext \
28971 conftest
$ac_exeext conftest.
$ac_ext
28973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28975 if test `eval echo '${'$as_ac_var'}'` = yes; then
28976 cat >>confdefs.h
<<_ACEOF
28977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28984 if test "$WCSLEN_FOUND" = 0; then
28985 if test "$TOOLKIT" = "MSW"; then
28986 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28987 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28988 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28991 ac_check_lib_save_LIBS
=$LIBS
28992 LIBS
="-lmsvcrt $LIBS"
28993 cat >conftest.
$ac_ext <<_ACEOF
28996 cat confdefs.h
>>conftest.
$ac_ext
28997 cat >>conftest.
$ac_ext <<_ACEOF
28998 /* end confdefs.h. */
29000 /* Override any gcc2 internal prototype to avoid an error. */
29004 /* We use char because int might match the return type of a gcc2
29005 builtin and then its argument prototype would still apply. */
29015 rm -f conftest.
$ac_objext conftest
$ac_exeext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29017 (eval $ac_link) 2>conftest.er1
29019 grep -v '^ *+' conftest.er1
>conftest.err
29021 cat conftest.err
>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; } &&
29030 { ac_try
='test -s conftest$ac_exeext'
29031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29032 (eval $ac_try) 2>&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 ac_cv_lib_msvcrt_wcslen
=yes
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.
$ac_ext >&5
29041 ac_cv_lib_msvcrt_wcslen
=no
29043 rm -f conftest.err conftest.
$ac_objext \
29044 conftest
$ac_exeext conftest.
$ac_ext
29045 LIBS
=$ac_check_lib_save_LIBS
29047 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29048 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29049 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29054 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29055 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29056 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29057 echo $ECHO_N "(cached) $ECHO_C" >&6
29059 ac_check_lib_save_LIBS
=$LIBS
29061 cat >conftest.
$ac_ext <<_ACEOF
29064 cat confdefs.h
>>conftest.
$ac_ext
29065 cat >>conftest.
$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29068 /* Override any gcc2 internal prototype to avoid an error. */
29072 /* We use char because int might match the return type of a gcc2
29073 builtin and then its argument prototype would still apply. */
29083 rm -f conftest.
$ac_objext conftest
$ac_exeext
29084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29085 (eval $ac_link) 2>conftest.er1
29087 grep -v '^ *+' conftest.er1
>conftest.err
29089 cat conftest.err
>&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); } &&
29092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094 (eval $ac_try) 2>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; } &&
29098 { ac_try
='test -s conftest$ac_exeext'
29099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100 (eval $ac_try) 2>&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; }; then
29104 ac_cv_lib_w_wcslen
=yes
29106 echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.
$ac_ext >&5
29109 ac_cv_lib_w_wcslen
=no
29111 rm -f conftest.err conftest.
$ac_objext \
29112 conftest
$ac_exeext conftest.
$ac_ext
29113 LIBS
=$ac_check_lib_save_LIBS
29115 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29116 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29117 if test $ac_cv_lib_w_wcslen = yes; then
29127 if test "$WCSLEN_FOUND" = 1; then
29128 cat >>confdefs.h
<<\_ACEOF
29129 #define HAVE_WCSLEN 1
29134 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29135 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29139 for ac_func
in wcsrtombs
29141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29142 echo "$as_me:$LINENO: checking for $ac_func" >&5
29143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29144 if eval "test \"\${$as_ac_var+set}\" = set"; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 cat >conftest.
$ac_ext <<_ACEOF
29150 cat confdefs.h
>>conftest.
$ac_ext
29151 cat >>conftest.
$ac_ext <<_ACEOF
29152 /* end confdefs.h. */
29153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29155 #define $ac_func innocuous_$ac_func
29157 /* System header to define __stub macros and hopefully few prototypes,
29158 which can conflict with char $ac_func (); below.
29159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29160 <limits.h> exists even on freestanding compilers. */
29163 # include <limits.h>
29165 # include <assert.h>
29170 /* Override any gcc2 internal prototype to avoid an error. */
29175 /* We use char because int might match the return type of a gcc2
29176 builtin and then its argument prototype would still apply. */
29178 /* The GNU C library defines this for functions which it implements
29179 to always fail with ENOSYS. Some functions are actually named
29180 something starting with __ and the normal name is an alias. */
29181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29184 char (*f) () = $ac_func;
29193 return f != $ac_func;
29198 rm -f conftest.
$ac_objext conftest
$ac_exeext
29199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>conftest.er1
29202 grep -v '^ *+' conftest.er1
>conftest.err
29204 cat conftest.err
>&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); } &&
29207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; } &&
29213 { ac_try
='test -s conftest$ac_exeext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 eval "$as_ac_var=yes"
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.
$ac_ext >&5
29224 eval "$as_ac_var=no"
29226 rm -f conftest.err conftest.
$ac_objext \
29227 conftest
$ac_exeext conftest.
$ac_ext
29229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29231 if test `eval echo '${'$as_ac_var'}'` = yes; then
29232 cat >>confdefs.h
<<_ACEOF
29233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29240 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29241 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29247 ac_cpp
='$CXXCPP $CPPFLAGS'
29248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29254 for ac_func
in vsnprintf
29256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29257 echo "$as_me:$LINENO: checking for $ac_func" >&5
29258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29259 if eval "test \"\${$as_ac_var+set}\" = set"; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 cat >conftest.
$ac_ext <<_ACEOF
29265 cat confdefs.h
>>conftest.
$ac_ext
29266 cat >>conftest.
$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29270 #define $ac_func innocuous_$ac_func
29272 /* System header to define __stub macros and hopefully few prototypes,
29273 which can conflict with char $ac_func (); below.
29274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29275 <limits.h> exists even on freestanding compilers. */
29278 # include <limits.h>
29280 # include <assert.h>
29285 /* Override any gcc2 internal prototype to avoid an error. */
29290 /* We use char because int might match the return type of a gcc2
29291 builtin and then its argument prototype would still apply. */
29293 /* The GNU C library defines this for functions which it implements
29294 to always fail with ENOSYS. Some functions are actually named
29295 something starting with __ and the normal name is an alias. */
29296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29299 char (*f) () = $ac_func;
29308 return f != $ac_func;
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315 (eval $ac_link) 2>conftest.er1
29317 grep -v '^ *+' conftest.er1
>conftest.err
29319 cat conftest.err
>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } &&
29322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try
='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 eval "$as_ac_var=yes"
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.
$ac_ext >&5
29339 eval "$as_ac_var=no"
29341 rm -f conftest.err conftest.
$ac_objext \
29342 conftest
$ac_exeext conftest.
$ac_ext
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29346 if test `eval echo '${'$as_ac_var'}'` = yes; then
29347 cat >>confdefs.h
<<_ACEOF
29348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29355 if test "$ac_cv_func_vsnprintf" = "yes"; then
29356 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29357 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29358 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29359 echo $ECHO_N "(cached) $ECHO_C" >&6
29362 cat >conftest.
$ac_ext <<_ACEOF
29365 cat confdefs.h
>>conftest.
$ac_ext
29366 cat >>conftest.
$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29370 #include <stdarg.h>
29378 vsnprintf(buf, 10u, "%s", ap);
29384 rm -f conftest.
$ac_objext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29386 (eval $ac_compile) 2>conftest.er1
29388 grep -v '^ *+' conftest.er1
>conftest.err
29390 cat conftest.err
>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); } &&
29393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395 (eval $ac_try) 2>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); }; } &&
29399 { ac_try
='test -s conftest.$ac_objext'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; }; then
29405 wx_cv_func_vsnprintf_decl
=yes
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.
$ac_ext >&5
29411 cat >conftest.
$ac_ext <<_ACEOF
29414 cat confdefs.h
>>conftest.
$ac_ext
29415 cat >>conftest.
$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29419 #include <stdarg.h>
29420 using namespace std;
29428 vsnprintf(buf, 10u, "%s", ap);
29434 rm -f conftest.
$ac_objext
29435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29436 (eval $ac_compile) 2>conftest.er1
29438 grep -v '^ *+' conftest.er1
>conftest.err
29440 cat conftest.err
>&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } &&
29443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; } &&
29449 { ac_try
='test -s conftest.$ac_objext'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; }; then
29455 wx_cv_func_vsnprintf_decl
=yes
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.
$ac_ext >&5
29460 wx_cv_func_vsnprintf_decl
=no
29463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29471 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29472 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29474 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29475 cat >>confdefs.h
<<\_ACEOF
29476 #define HAVE_VSNPRINTF_DECL 1
29482 if test "$wxUSE_UNICODE" = yes; then
29489 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29492 echo "$as_me:$LINENO: checking for $ac_func" >&5
29493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29494 if eval "test \"\${$as_ac_var+set}\" = set"; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 cat >conftest.
$ac_ext <<_ACEOF
29500 cat confdefs.h
>>conftest.
$ac_ext
29501 cat >>conftest.
$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29505 #define $ac_func innocuous_$ac_func
29507 /* System header to define __stub macros and hopefully few prototypes,
29508 which can conflict with char $ac_func (); below.
29509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29510 <limits.h> exists even on freestanding compilers. */
29513 # include <limits.h>
29515 # include <assert.h>
29520 /* Override any gcc2 internal prototype to avoid an error. */
29525 /* We use char because int might match the return type of a gcc2
29526 builtin and then its argument prototype would still apply. */
29528 /* The GNU C library defines this for functions which it implements
29529 to always fail with ENOSYS. Some functions are actually named
29530 something starting with __ and the normal name is an alias. */
29531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29534 char (*f) () = $ac_func;
29543 return f != $ac_func;
29548 rm -f conftest.
$ac_objext conftest
$ac_exeext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29550 (eval $ac_link) 2>conftest.er1
29552 grep -v '^ *+' conftest.er1
>conftest.err
29554 cat conftest.err
>&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } &&
29557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 eval "$as_ac_var=yes"
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.
$ac_ext >&5
29574 eval "$as_ac_var=no"
29576 rm -f conftest.err conftest.
$ac_objext \
29577 conftest
$ac_exeext conftest.
$ac_ext
29579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29581 if test `eval echo '${'$as_ac_var'}'` = yes; then
29582 cat >>confdefs.h
<<_ACEOF
29583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29590 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29591 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29592 cat >conftest.
$ac_ext <<_ACEOF
29595 cat confdefs.h
>>conftest.
$ac_ext
29596 cat >>conftest.
$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29607 rm -f conftest.
$ac_objext
29608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29609 (eval $ac_compile) 2>conftest.er1
29611 grep -v '^ *+' conftest.er1
>conftest.err
29613 cat conftest.err
>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } &&
29616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29618 (eval $ac_try) 2>&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); }; } &&
29622 { ac_try
='test -s conftest.$ac_objext'
29623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624 (eval $ac_try) 2>&5
29626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 (exit $ac_status); }; }; then
29628 echo "$as_me:$LINENO: result: yes" >&5
29629 echo "${ECHO_T}yes" >&6
29630 cat >>confdefs.h
<<\_ACEOF
29631 #define HAVE__VSNWPRINTF 1
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.
$ac_ext >&5
29638 echo "$as_me:$LINENO: result: no" >&5
29639 echo "${ECHO_T}no" >&6
29641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29645 ac_cpp
='$CPP $CPPFLAGS'
29646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29653 if test "$TOOLKIT" != "MSW"; then
29659 ac_cpp
='$CXXCPP $CPPFLAGS'
29660 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29661 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29662 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29667 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29668 if test "${with_libiconv_prefix+set}" = set; then
29669 withval
="$with_libiconv_prefix"
29671 for dir
in `echo "$withval" | tr : ' '`; do
29672 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29673 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29678 echo "$as_me:$LINENO: checking for iconv" >&5
29679 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29680 if test "${am_cv_func_iconv+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 am_cv_func_iconv
="no, consider installing GNU libiconv"
29686 cat >conftest.
$ac_ext <<_ACEOF
29689 cat confdefs.h
>>conftest.
$ac_ext
29690 cat >>conftest.
$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692 #include <stdlib.h>
29697 iconv_t cd = iconv_open("","");
29698 iconv(cd,NULL,NULL,NULL,NULL);
29704 rm -f conftest.
$ac_objext conftest
$ac_exeext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29706 (eval $ac_link) 2>conftest.er1
29708 grep -v '^ *+' conftest.er1
>conftest.err
29710 cat conftest.err
>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } &&
29713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; } &&
29719 { ac_try
='test -s conftest$ac_exeext'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; }; then
29725 am_cv_func_iconv
=yes
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.
$ac_ext >&5
29731 rm -f conftest.err conftest.
$ac_objext \
29732 conftest
$ac_exeext conftest.
$ac_ext
29733 if test "$am_cv_func_iconv" != yes; then
29734 am_save_LIBS
="$LIBS"
29735 LIBS
="$LIBS -liconv"
29736 cat >conftest.
$ac_ext <<_ACEOF
29739 cat confdefs.h
>>conftest.
$ac_ext
29740 cat >>conftest.
$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742 #include <stdlib.h>
29747 iconv_t cd = iconv_open("","");
29748 iconv(cd,NULL,NULL,NULL,NULL);
29754 rm -f conftest.
$ac_objext conftest
$ac_exeext
29755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29756 (eval $ac_link) 2>conftest.er1
29758 grep -v '^ *+' conftest.er1
>conftest.err
29760 cat conftest.err
>&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } &&
29763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try
='test -s conftest$ac_exeext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29775 am_cv_lib_iconv
=yes
29776 am_cv_func_iconv
=yes
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.
$ac_ext >&5
29782 rm -f conftest.err conftest.
$ac_objext \
29783 conftest
$ac_exeext conftest.
$ac_ext
29784 LIBS
="$am_save_LIBS"
29788 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29789 echo "${ECHO_T}$am_cv_func_iconv" >&6
29790 if test "$am_cv_func_iconv" = yes; then
29792 cat >>confdefs.h
<<\_ACEOF
29793 #define HAVE_ICONV 1
29796 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29797 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29798 if test "${wx_cv_func_iconv_const+set}" = set; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 cat >conftest.
$ac_ext <<_ACEOF
29804 cat confdefs.h
>>conftest.
$ac_ext
29805 cat >>conftest.
$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29808 #include <stdlib.h>
29814 #if defined(__STDC__) || defined(__cplusplus)
29815 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29828 rm -f conftest.
$ac_objext
29829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29830 (eval $ac_compile) 2>conftest.er1
29832 grep -v '^ *+' conftest.er1
>conftest.err
29834 cat conftest.err
>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } &&
29837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; } &&
29843 { ac_try
='test -s conftest.$ac_objext'
29844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29845 (eval $ac_try) 2>&5
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); }; }; then
29849 wx_cv_func_iconv_const
="no"
29851 echo "$as_me: failed program was:" >&5
29852 sed 's/^/| /' conftest.
$ac_ext >&5
29854 wx_cv_func_iconv_const
="yes"
29857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29860 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29861 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29864 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29865 iconv_const
="const"
29869 cat >>confdefs.h
<<_ACEOF
29870 #define ICONV_CONST $iconv_const
29875 if test "$am_cv_lib_iconv" = yes; then
29880 LIBS
="$LIBICONV $LIBS"
29882 ac_cpp
='$CPP $CPPFLAGS'
29883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29888 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29890 for ac_func
in sigaction
29892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29893 echo "$as_me:$LINENO: checking for $ac_func" >&5
29894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29895 if eval "test \"\${$as_ac_var+set}\" = set"; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 cat >conftest.
$ac_ext <<_ACEOF
29901 cat confdefs.h
>>conftest.
$ac_ext
29902 cat >>conftest.
$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29906 #define $ac_func innocuous_$ac_func
29908 /* System header to define __stub macros and hopefully few prototypes,
29909 which can conflict with char $ac_func (); below.
29910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29911 <limits.h> exists even on freestanding compilers. */
29914 # include <limits.h>
29916 # include <assert.h>
29921 /* Override any gcc2 internal prototype to avoid an error. */
29926 /* We use char because int might match the return type of a gcc2
29927 builtin and then its argument prototype would still apply. */
29929 /* The GNU C library defines this for functions which it implements
29930 to always fail with ENOSYS. Some functions are actually named
29931 something starting with __ and the normal name is an alias. */
29932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29935 char (*f) () = $ac_func;
29944 return f != $ac_func;
29949 rm -f conftest.
$ac_objext conftest
$ac_exeext
29950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29951 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.
$ac_ext >&5
29975 eval "$as_ac_var=no"
29977 rm -f conftest.err conftest.
$ac_objext \
29978 conftest
$ac_exeext conftest.
$ac_ext
29980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29982 if test `eval echo '${'$as_ac_var'}'` = yes; then
29983 cat >>confdefs.h
<<_ACEOF
29984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29991 if test "$ac_cv_func_sigaction" = "no"; then
29992 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29993 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29994 wxUSE_ON_FATAL_EXCEPTION
=no
29997 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30001 ac_cpp
='$CXXCPP $CPPFLAGS'
30002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30007 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30008 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30009 if test "${wx_cv_type_sa_handler+set}" = set; then
30010 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 cat >conftest.
$ac_ext <<_ACEOF
30016 cat confdefs.h
>>conftest.
$ac_ext
30017 cat >>conftest.
$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019 #include <signal.h>
30024 extern void testSigHandler(int);
30026 struct sigaction sa;
30027 sa.sa_handler = testSigHandler;
30033 rm -f conftest.
$ac_objext
30034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30035 (eval $ac_compile) 2>conftest.er1
30037 grep -v '^ *+' conftest.er1
>conftest.err
30039 cat conftest.err
>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } &&
30042 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; } &&
30048 { ac_try
='test -s conftest.$ac_objext'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; }; then
30055 wx_cv_type_sa_handler
=int
30058 echo "$as_me: failed program was:" >&5
30059 sed 's/^/| /' conftest.
$ac_ext >&5
30062 wx_cv_type_sa_handler
=void
30065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30068 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30069 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30072 ac_cpp
='$CPP $CPPFLAGS'
30073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30078 cat >>confdefs.h
<<_ACEOF
30079 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30085 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30089 ac_cpp
='$CXXCPP $CPPFLAGS'
30090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30095 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30096 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30097 if test "${wx_cv_func_backtrace+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30101 cat >conftest.
$ac_ext <<_ACEOF
30104 cat confdefs.h
>>conftest.
$ac_ext
30105 cat >>conftest.
$ac_ext <<_ACEOF
30106 /* end confdefs.h. */
30107 #include <execinfo.h>
30115 backtrace(trace, 1);
30116 messages = backtrace_symbols(trace, 1);
30122 rm -f conftest.
$ac_objext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30124 (eval $ac_compile) 2>conftest.er1
30126 grep -v '^ *+' conftest.er1
>conftest.err
30128 cat conftest.err
>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; } &&
30137 { ac_try
='test -s conftest.$ac_objext'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30143 wx_cv_func_backtrace
=yes
30145 echo "$as_me: failed program was:" >&5
30146 sed 's/^/| /' conftest.
$ac_ext >&5
30148 wx_cv_func_backtrace
=no
30151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30155 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30156 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30159 if test "$wx_cv_func_backtrace" = "no"; then
30160 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30161 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30162 wxUSE_STACKWALKER
=no
30164 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30165 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30166 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 cat >conftest.
$ac_ext <<_ACEOF
30173 cat confdefs.h
>>conftest.
$ac_ext
30174 cat >>conftest.
$ac_ext <<_ACEOF
30175 /* end confdefs.h. */
30176 #include <cxxabi.h>
30182 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30188 rm -f conftest.
$ac_objext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30190 (eval $ac_compile) 2>conftest.er1
30192 grep -v '^ *+' conftest.er1
>conftest.err
30194 cat conftest.err
>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199 (eval $ac_try) 2>&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); }; } &&
30203 { ac_try
='test -s conftest.$ac_objext'
30204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30205 (eval $ac_try) 2>&5
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); }; }; then
30209 wx_cv_func_cxa_demangle
=yes
30211 echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.
$ac_ext >&5
30214 wx_cv_func_cxa_demangle
=no
30217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30221 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30222 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30224 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30225 cat >>confdefs.h
<<\_ACEOF
30226 #define HAVE_CXA_DEMANGLE 1
30233 ac_cpp
='$CPP $CPPFLAGS'
30234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30242 for ac_func
in mkstemp mktemp
30244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30266 # include <limits.h>
30268 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 eval "$as_ac_var=no"
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h
<<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30343 echo "$as_me:$LINENO: checking for statfs" >&5
30344 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30345 if test "${wx_cv_func_statfs+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30348 cat >conftest.
$ac_ext <<_ACEOF
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30355 #if defined(__BSD__)
30356 #include <sys/param.h>
30357 #include <sys/mount.h>
30359 #include <sys/vfs.h>
30377 rm -f conftest.
$ac_objext
30378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30379 (eval $ac_compile) 2>conftest.er1
30381 grep -v '^ *+' conftest.er1
>conftest.err
30383 cat conftest.err
>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); } &&
30386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try
='test -s conftest.$ac_objext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30399 wx_cv_func_statfs
=yes
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.
$ac_ext >&5
30406 wx_cv_func_statfs
=no
30410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30413 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30414 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30416 if test "$wx_cv_func_statfs" = "yes"; then
30417 wx_cv_type_statvfs_t
="struct statfs"
30418 cat >>confdefs.h
<<\_ACEOF
30419 #define HAVE_STATFS 1
30423 echo "$as_me:$LINENO: checking for statvfs" >&5
30424 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30425 if test "${wx_cv_func_statvfs+set}" = set; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30428 cat >conftest.
$ac_ext <<_ACEOF
30431 cat confdefs.h
>>conftest.
$ac_ext
30432 cat >>conftest.
$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30435 #include <stddef.h>
30436 #include <sys/statvfs.h>
30442 statvfs("/", NULL);
30448 rm -f conftest.
$ac_objext
30449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30450 (eval $ac_compile) 2>conftest.er1
30452 grep -v '^ *+' conftest.er1
>conftest.err
30454 cat conftest.err
>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } &&
30457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; } &&
30463 { ac_try
='test -s conftest.$ac_objext'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30469 wx_cv_func_statvfs
=yes
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.
$ac_ext >&5
30474 wx_cv_func_statvfs
=no
30477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30480 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30481 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30483 if test "$wx_cv_func_statvfs" = "yes"; then
30487 ac_cpp
='$CXXCPP $CPPFLAGS'
30488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30493 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30494 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30495 if test "${wx_cv_type_statvfs_t+set}" = set; then
30496 echo $ECHO_N "(cached) $ECHO_C" >&6
30498 cat >conftest.
$ac_ext <<_ACEOF
30501 cat confdefs.h
>>conftest.
$ac_ext
30502 cat >>conftest.
$ac_ext <<_ACEOF
30503 /* end confdefs.h. */
30505 #include <sys/statvfs.h>
30522 rm -f conftest.
$ac_objext
30523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30524 (eval $ac_compile) 2>conftest.er1
30526 grep -v '^ *+' conftest.er1
>conftest.err
30528 cat conftest.err
>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } &&
30531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30533 (eval $ac_try) 2>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); }; } &&
30537 { ac_try
='test -s conftest.$ac_objext'
30538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30539 (eval $ac_try) 2>&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); }; }; then
30543 wx_cv_type_statvfs_t
=statvfs_t
30545 echo "$as_me: failed program was:" >&5
30546 sed 's/^/| /' conftest.
$ac_ext >&5
30549 cat >conftest.
$ac_ext <<_ACEOF
30552 cat confdefs.h
>>conftest.
$ac_ext
30553 cat >>conftest.
$ac_ext <<_ACEOF
30554 /* end confdefs.h. */
30556 #include <sys/statvfs.h>
30573 rm -f conftest.
$ac_objext
30574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30575 (eval $ac_compile) 2>conftest.er1
30577 grep -v '^ *+' conftest.er1
>conftest.err
30579 cat conftest.err
>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); } &&
30582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try
='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 wx_cv_type_statvfs_t
="struct statvfs"
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.
$ac_ext >&5
30599 wx_cv_type_statvfs_t
="unknown"
30602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30609 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30610 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30613 ac_cpp
='$CPP $CPPFLAGS'
30614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30619 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30620 cat >>confdefs.h
<<\_ACEOF
30621 #define HAVE_STATVFS 1
30626 wx_cv_type_statvfs_t
="unknown"
30630 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30631 cat >>confdefs.h
<<_ACEOF
30632 #define WX_STATFS_T $wx_cv_type_statvfs_t
30636 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30637 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30640 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30643 for ac_func
in fcntl flock
30645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30646 echo "$as_me:$LINENO: checking for $ac_func" >&5
30647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30648 if eval "test \"\${$as_ac_var+set}\" = set"; then
30649 echo $ECHO_N "(cached) $ECHO_C" >&6
30651 cat >conftest.
$ac_ext <<_ACEOF
30654 cat confdefs.h
>>conftest.
$ac_ext
30655 cat >>conftest.
$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30659 #define $ac_func innocuous_$ac_func
30661 /* System header to define __stub macros and hopefully few prototypes,
30662 which can conflict with char $ac_func (); below.
30663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30664 <limits.h> exists even on freestanding compilers. */
30667 # include <limits.h>
30669 # include <assert.h>
30674 /* Override any gcc2 internal prototype to avoid an error. */
30679 /* We use char because int might match the return type of a gcc2
30680 builtin and then its argument prototype would still apply. */
30682 /* The GNU C library defines this for functions which it implements
30683 to always fail with ENOSYS. Some functions are actually named
30684 something starting with __ and the normal name is an alias. */
30685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30688 char (*f) () = $ac_func;
30697 return f != $ac_func;
30702 rm -f conftest.
$ac_objext conftest
$ac_exeext
30703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30704 (eval $ac_link) 2>conftest.er1
30706 grep -v '^ *+' conftest.er1
>conftest.err
30708 cat conftest.err
>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; } &&
30717 { ac_try
='test -s conftest$ac_exeext'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; }; then
30723 eval "$as_ac_var=yes"
30725 echo "$as_me: failed program was:" >&5
30726 sed 's/^/| /' conftest.
$ac_ext >&5
30728 eval "$as_ac_var=no"
30730 rm -f conftest.err conftest.
$ac_objext \
30731 conftest
$ac_exeext conftest.
$ac_ext
30733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30735 if test `eval echo '${'$as_ac_var'}'` = yes; then
30736 cat >>confdefs.h
<<_ACEOF
30737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30744 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30745 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30746 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30747 wxUSE_SNGLINST_CHECKER
=no
30752 for ac_func
in timegm
30754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30755 echo "$as_me:$LINENO: checking for $ac_func" >&5
30756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30757 if eval "test \"\${$as_ac_var+set}\" = set"; then
30758 echo $ECHO_N "(cached) $ECHO_C" >&6
30760 cat >conftest.
$ac_ext <<_ACEOF
30763 cat confdefs.h
>>conftest.
$ac_ext
30764 cat >>conftest.
$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30768 #define $ac_func innocuous_$ac_func
30770 /* System header to define __stub macros and hopefully few prototypes,
30771 which can conflict with char $ac_func (); below.
30772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30773 <limits.h> exists even on freestanding compilers. */
30776 # include <limits.h>
30778 # include <assert.h>
30783 /* Override any gcc2 internal prototype to avoid an error. */
30788 /* We use char because int might match the return type of a gcc2
30789 builtin and then its argument prototype would still apply. */
30791 /* The GNU C library defines this for functions which it implements
30792 to always fail with ENOSYS. Some functions are actually named
30793 something starting with __ and the normal name is an alias. */
30794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30797 char (*f) () = $ac_func;
30806 return f != $ac_func;
30811 rm -f conftest.
$ac_objext conftest
$ac_exeext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30813 (eval $ac_link) 2>conftest.er1
30815 grep -v '^ *+' conftest.er1
>conftest.err
30817 cat conftest.err
>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } &&
30820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; } &&
30826 { ac_try
='test -s conftest$ac_exeext'
30827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828 (eval $ac_try) 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; }; then
30832 eval "$as_ac_var=yes"
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.
$ac_ext >&5
30837 eval "$as_ac_var=no"
30839 rm -f conftest.err conftest.
$ac_objext \
30840 conftest
$ac_exeext conftest.
$ac_ext
30842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30844 if test `eval echo '${'$as_ac_var'}'` = yes; then
30845 cat >>confdefs.h
<<_ACEOF
30846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30855 for ac_func
in putenv setenv
30857 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30858 echo "$as_me:$LINENO: checking for $ac_func" >&5
30859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30860 if eval "test \"\${$as_ac_var+set}\" = set"; then
30861 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 cat >conftest.
$ac_ext <<_ACEOF
30866 cat confdefs.h
>>conftest.
$ac_ext
30867 cat >>conftest.
$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30871 #define $ac_func innocuous_$ac_func
30873 /* System header to define __stub macros and hopefully few prototypes,
30874 which can conflict with char $ac_func (); below.
30875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30876 <limits.h> exists even on freestanding compilers. */
30879 # include <limits.h>
30881 # include <assert.h>
30886 /* Override any gcc2 internal prototype to avoid an error. */
30891 /* We use char because int might match the return type of a gcc2
30892 builtin and then its argument prototype would still apply. */
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30900 char (*f) () = $ac_func;
30909 return f != $ac_func;
30914 rm -f conftest.
$ac_objext conftest
$ac_exeext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30916 (eval $ac_link) 2>conftest.er1
30918 grep -v '^ *+' conftest.er1
>conftest.err
30920 cat conftest.err
>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; } &&
30929 { ac_try
='test -s conftest$ac_exeext'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; }; then
30935 eval "$as_ac_var=yes"
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.
$ac_ext >&5
30940 eval "$as_ac_var=no"
30942 rm -f conftest.err conftest.
$ac_objext \
30943 conftest
$ac_exeext conftest.
$ac_ext
30945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30947 if test `eval echo '${'$as_ac_var'}'` = yes; then
30948 cat >>confdefs.h
<<_ACEOF
30949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30956 HAVE_SOME_SLEEP_FUNC
=0
30957 if test "$USE_BEOS" = 1; then
30958 cat >>confdefs.h
<<\_ACEOF
30959 #define HAVE_SLEEP 1
30962 HAVE_SOME_SLEEP_FUNC
=1
30965 if test "$USE_DARWIN" = 1; then
30966 cat >>confdefs.h
<<\_ACEOF
30967 #define HAVE_USLEEP 1
30970 HAVE_SOME_SLEEP_FUNC
=1
30973 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30976 for ac_func
in nanosleep
30978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30979 echo "$as_me:$LINENO: checking for $ac_func" >&5
30980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30981 if eval "test \"\${$as_ac_var+set}\" = set"; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 cat >conftest.
$ac_ext <<_ACEOF
30987 cat confdefs.h
>>conftest.
$ac_ext
30988 cat >>conftest.
$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30992 #define $ac_func innocuous_$ac_func
30994 /* System header to define __stub macros and hopefully few prototypes,
30995 which can conflict with char $ac_func (); below.
30996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30997 <limits.h> exists even on freestanding compilers. */
31000 # include <limits.h>
31002 # include <assert.h>
31007 /* Override any gcc2 internal prototype to avoid an error. */
31012 /* We use char because int might match the return type of a gcc2
31013 builtin and then its argument prototype would still apply. */
31015 /* The GNU C library defines this for functions which it implements
31016 to always fail with ENOSYS. Some functions are actually named
31017 something starting with __ and the normal name is an alias. */
31018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31021 char (*f) () = $ac_func;
31030 return f != $ac_func;
31035 rm -f conftest.
$ac_objext conftest
$ac_exeext
31036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31037 (eval $ac_link) 2>conftest.er1
31039 grep -v '^ *+' conftest.er1
>conftest.err
31041 cat conftest.err
>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); } &&
31044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046 (eval $ac_try) 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; } &&
31050 { ac_try
='test -s conftest$ac_exeext'
31051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31052 (eval $ac_try) 2>&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; }; then
31056 eval "$as_ac_var=yes"
31058 echo "$as_me: failed program was:" >&5
31059 sed 's/^/| /' conftest.
$ac_ext >&5
31061 eval "$as_ac_var=no"
31063 rm -f conftest.err conftest.
$ac_objext \
31064 conftest
$ac_exeext conftest.
$ac_ext
31066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31068 if test `eval echo '${'$as_ac_var'}'` = yes; then
31069 cat >>confdefs.h
<<_ACEOF
31070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31072 cat >>confdefs.h
<<\_ACEOF
31073 #define HAVE_NANOSLEEP 1
31078 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31079 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31080 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 ac_check_lib_save_LIBS
=$LIBS
31084 LIBS
="-lposix4 $LIBS"
31085 cat >conftest.
$ac_ext <<_ACEOF
31088 cat confdefs.h
>>conftest.
$ac_ext
31089 cat >>conftest.
$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31092 /* Override any gcc2 internal prototype to avoid an error. */
31096 /* We use char because int might match the return type of a gcc2
31097 builtin and then its argument prototype would still apply. */
31107 rm -f conftest.
$ac_objext conftest
$ac_exeext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31109 (eval $ac_link) 2>conftest.er1
31111 grep -v '^ *+' conftest.er1
>conftest.err
31113 cat conftest.err
>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; } &&
31122 { ac_try
='test -s conftest$ac_exeext'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; }; then
31128 ac_cv_lib_posix4_nanosleep
=yes
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.
$ac_ext >&5
31133 ac_cv_lib_posix4_nanosleep
=no
31135 rm -f conftest.err conftest.
$ac_objext \
31136 conftest
$ac_exeext conftest.
$ac_ext
31137 LIBS
=$ac_check_lib_save_LIBS
31139 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31140 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31141 if test $ac_cv_lib_posix4_nanosleep = yes; then
31143 cat >>confdefs.h
<<\_ACEOF
31144 #define HAVE_NANOSLEEP 1
31147 POSIX4_LINK
=" -lposix4"
31152 for ac_func
in usleep
31154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31155 echo "$as_me:$LINENO: checking for $ac_func" >&5
31156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31157 if eval "test \"\${$as_ac_var+set}\" = set"; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31160 cat >conftest.
$ac_ext <<_ACEOF
31163 cat confdefs.h
>>conftest.
$ac_ext
31164 cat >>conftest.
$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31168 #define $ac_func innocuous_$ac_func
31170 /* System header to define __stub macros and hopefully few prototypes,
31171 which can conflict with char $ac_func (); below.
31172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31173 <limits.h> exists even on freestanding compilers. */
31176 # include <limits.h>
31178 # include <assert.h>
31183 /* Override any gcc2 internal prototype to avoid an error. */
31188 /* We use char because int might match the return type of a gcc2
31189 builtin and then its argument prototype would still apply. */
31191 /* The GNU C library defines this for functions which it implements
31192 to always fail with ENOSYS. Some functions are actually named
31193 something starting with __ and the normal name is an alias. */
31194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31197 char (*f) () = $ac_func;
31206 return f != $ac_func;
31211 rm -f conftest.
$ac_objext conftest
$ac_exeext
31212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31213 (eval $ac_link) 2>conftest.er1
31215 grep -v '^ *+' conftest.er1
>conftest.err
31217 cat conftest.err
>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } &&
31220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try
='test -s conftest$ac_exeext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 eval "$as_ac_var=yes"
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.
$ac_ext >&5
31237 eval "$as_ac_var=no"
31239 rm -f conftest.err conftest.
$ac_objext \
31240 conftest
$ac_exeext conftest.
$ac_ext
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31244 if test `eval echo '${'$as_ac_var'}'` = yes; then
31245 cat >>confdefs.h
<<_ACEOF
31246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31248 cat >>confdefs.h
<<\_ACEOF
31249 #define HAVE_USLEEP 1
31253 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31254 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31272 for ac_func
in uname gethostname
31274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31275 echo "$as_me:$LINENO: checking for $ac_func" >&5
31276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31277 if eval "test \"\${$as_ac_var+set}\" = set"; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31280 cat >conftest.
$ac_ext <<_ACEOF
31283 cat confdefs.h
>>conftest.
$ac_ext
31284 cat >>conftest.
$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31288 #define $ac_func innocuous_$ac_func
31290 /* System header to define __stub macros and hopefully few prototypes,
31291 which can conflict with char $ac_func (); below.
31292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31293 <limits.h> exists even on freestanding compilers. */
31296 # include <limits.h>
31298 # include <assert.h>
31303 /* Override any gcc2 internal prototype to avoid an error. */
31308 /* We use char because int might match the return type of a gcc2
31309 builtin and then its argument prototype would still apply. */
31311 /* The GNU C library defines this for functions which it implements
31312 to always fail with ENOSYS. Some functions are actually named
31313 something starting with __ and the normal name is an alias. */
31314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31317 char (*f) () = $ac_func;
31326 return f != $ac_func;
31331 rm -f conftest.
$ac_objext conftest
$ac_exeext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31333 (eval $ac_link) 2>conftest.er1
31335 grep -v '^ *+' conftest.er1
>conftest.err
31337 cat conftest.err
>&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } &&
31340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; } &&
31346 { ac_try
='test -s conftest$ac_exeext'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; }; then
31352 eval "$as_ac_var=yes"
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.
$ac_ext >&5
31357 eval "$as_ac_var=no"
31359 rm -f conftest.err conftest.
$ac_objext \
31360 conftest
$ac_exeext conftest.
$ac_ext
31362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31364 if test `eval echo '${'$as_ac_var'}'` = yes; then
31365 cat >>confdefs.h
<<_ACEOF
31366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31376 ac_cpp
='$CXXCPP $CPPFLAGS'
31377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31383 for ac_func
in strtok_r
31385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31386 echo "$as_me:$LINENO: checking for $ac_func" >&5
31387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31388 if eval "test \"\${$as_ac_var+set}\" = set"; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 cat >conftest.
$ac_ext <<_ACEOF
31394 cat confdefs.h
>>conftest.
$ac_ext
31395 cat >>conftest.
$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31399 #define $ac_func innocuous_$ac_func
31401 /* System header to define __stub macros and hopefully few prototypes,
31402 which can conflict with char $ac_func (); below.
31403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31404 <limits.h> exists even on freestanding compilers. */
31407 # include <limits.h>
31409 # include <assert.h>
31414 /* Override any gcc2 internal prototype to avoid an error. */
31419 /* We use char because int might match the return type of a gcc2
31420 builtin and then its argument prototype would still apply. */
31422 /* The GNU C library defines this for functions which it implements
31423 to always fail with ENOSYS. Some functions are actually named
31424 something starting with __ and the normal name is an alias. */
31425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31428 char (*f) () = $ac_func;
31437 return f != $ac_func;
31442 rm -f conftest.
$ac_objext conftest
$ac_exeext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31444 (eval $ac_link) 2>conftest.er1
31446 grep -v '^ *+' conftest.er1
>conftest.err
31448 cat conftest.err
>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try
='test -s conftest$ac_exeext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 eval "$as_ac_var=yes"
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.
$ac_ext >&5
31468 eval "$as_ac_var=no"
31470 rm -f conftest.err conftest.
$ac_objext \
31471 conftest
$ac_exeext conftest.
$ac_ext
31473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31475 if test `eval echo '${'$as_ac_var'}'` = yes; then
31476 cat >>confdefs.h
<<_ACEOF
31477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31485 ac_cpp
='$CPP $CPPFLAGS'
31486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31493 for ac_func
in inet_addr
31495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31496 echo "$as_me:$LINENO: checking for $ac_func" >&5
31497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31498 if eval "test \"\${$as_ac_var+set}\" = set"; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 cat >conftest.
$ac_ext <<_ACEOF
31504 cat confdefs.h
>>conftest.
$ac_ext
31505 cat >>conftest.
$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31509 #define $ac_func innocuous_$ac_func
31511 /* System header to define __stub macros and hopefully few prototypes,
31512 which can conflict with char $ac_func (); below.
31513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31514 <limits.h> exists even on freestanding compilers. */
31517 # include <limits.h>
31519 # include <assert.h>
31524 /* Override any gcc2 internal prototype to avoid an error. */
31529 /* We use char because int might match the return type of a gcc2
31530 builtin and then its argument prototype would still apply. */
31532 /* The GNU C library defines this for functions which it implements
31533 to always fail with ENOSYS. Some functions are actually named
31534 something starting with __ and the normal name is an alias. */
31535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31538 char (*f) () = $ac_func;
31547 return f != $ac_func;
31552 rm -f conftest.
$ac_objext conftest
$ac_exeext
31553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31554 (eval $ac_link) 2>conftest.er1
31556 grep -v '^ *+' conftest.er1
>conftest.err
31558 cat conftest.err
>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); } &&
31561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; } &&
31567 { ac_try
='test -s conftest$ac_exeext'
31568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31569 (eval $ac_try) 2>&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; }; then
31573 eval "$as_ac_var=yes"
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.
$ac_ext >&5
31578 eval "$as_ac_var=no"
31580 rm -f conftest.err conftest.
$ac_objext \
31581 conftest
$ac_exeext conftest.
$ac_ext
31583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31585 if test `eval echo '${'$as_ac_var'}'` = yes; then
31586 cat >>confdefs.h
<<_ACEOF
31587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31589 cat >>confdefs.h
<<\_ACEOF
31590 #define HAVE_INET_ADDR 1
31595 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31596 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31597 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31598 echo $ECHO_N "(cached) $ECHO_C" >&6
31600 ac_check_lib_save_LIBS
=$LIBS
31602 cat >conftest.
$ac_ext <<_ACEOF
31605 cat confdefs.h
>>conftest.
$ac_ext
31606 cat >>conftest.
$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31609 /* Override any gcc2 internal prototype to avoid an error. */
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31624 rm -f conftest.
$ac_objext conftest
$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>conftest.er1
31628 grep -v '^ *+' conftest.er1
>conftest.err
31630 cat conftest.err
>&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } &&
31633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; } &&
31639 { ac_try
='test -s conftest$ac_exeext'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 ac_cv_lib_nsl_inet_addr
=yes
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.
$ac_ext >&5
31650 ac_cv_lib_nsl_inet_addr
=no
31652 rm -f conftest.err conftest.
$ac_objext \
31653 conftest
$ac_exeext conftest.
$ac_ext
31654 LIBS
=$ac_check_lib_save_LIBS
31656 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31657 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31658 if test $ac_cv_lib_nsl_inet_addr = yes; then
31662 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31663 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31664 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31665 echo $ECHO_N "(cached) $ECHO_C" >&6
31667 ac_check_lib_save_LIBS
=$LIBS
31668 LIBS
="-lresolv $LIBS"
31669 cat >conftest.
$ac_ext <<_ACEOF
31672 cat confdefs.h
>>conftest.
$ac_ext
31673 cat >>conftest.
$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31676 /* Override any gcc2 internal prototype to avoid an error. */
31680 /* We use char because int might match the return type of a gcc2
31681 builtin and then its argument prototype would still apply. */
31691 rm -f conftest.
$ac_objext conftest
$ac_exeext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31693 (eval $ac_link) 2>conftest.er1
31695 grep -v '^ *+' conftest.er1
>conftest.err
31697 cat conftest.err
>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try
='test -s conftest$ac_exeext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 ac_cv_lib_resolv_inet_addr
=yes
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.
$ac_ext >&5
31717 ac_cv_lib_resolv_inet_addr
=no
31719 rm -f conftest.err conftest.
$ac_objext \
31720 conftest
$ac_exeext conftest.
$ac_ext
31721 LIBS
=$ac_check_lib_save_LIBS
31723 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31724 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31725 if test $ac_cv_lib_resolv_inet_addr = yes; then
31729 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31730 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31731 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 ac_check_lib_save_LIBS
=$LIBS
31735 LIBS
="-lsocket $LIBS"
31736 cat >conftest.
$ac_ext <<_ACEOF
31739 cat confdefs.h
>>conftest.
$ac_ext
31740 cat >>conftest.
$ac_ext <<_ACEOF
31741 /* end confdefs.h. */
31743 /* Override any gcc2 internal prototype to avoid an error. */
31747 /* We use char because int might match the return type of a gcc2
31748 builtin and then its argument prototype would still apply. */
31758 rm -f conftest.
$ac_objext conftest
$ac_exeext
31759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31760 (eval $ac_link) 2>conftest.er1
31762 grep -v '^ *+' conftest.er1
>conftest.err
31764 cat conftest.err
>&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } &&
31767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31769 (eval $ac_try) 2>&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); }; } &&
31773 { ac_try
='test -s conftest$ac_exeext'
31774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31775 (eval $ac_try) 2>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); }; }; then
31779 ac_cv_lib_socket_inet_addr
=yes
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.
$ac_ext >&5
31784 ac_cv_lib_socket_inet_addr
=no
31786 rm -f conftest.err conftest.
$ac_objext \
31787 conftest
$ac_exeext conftest.
$ac_ext
31788 LIBS
=$ac_check_lib_save_LIBS
31790 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31791 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31792 if test $ac_cv_lib_socket_inet_addr = yes; then
31812 for ac_func
in inet_aton
31814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31815 echo "$as_me:$LINENO: checking for $ac_func" >&5
31816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31817 if eval "test \"\${$as_ac_var+set}\" = set"; then
31818 echo $ECHO_N "(cached) $ECHO_C" >&6
31820 cat >conftest.
$ac_ext <<_ACEOF
31823 cat confdefs.h
>>conftest.
$ac_ext
31824 cat >>conftest.
$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31828 #define $ac_func innocuous_$ac_func
31830 /* System header to define __stub macros and hopefully few prototypes,
31831 which can conflict with char $ac_func (); below.
31832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31833 <limits.h> exists even on freestanding compilers. */
31836 # include <limits.h>
31838 # include <assert.h>
31843 /* Override any gcc2 internal prototype to avoid an error. */
31848 /* We use char because int might match the return type of a gcc2
31849 builtin and then its argument prototype would still apply. */
31851 /* The GNU C library defines this for functions which it implements
31852 to always fail with ENOSYS. Some functions are actually named
31853 something starting with __ and the normal name is an alias. */
31854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31857 char (*f) () = $ac_func;
31866 return f != $ac_func;
31871 rm -f conftest.
$ac_objext conftest
$ac_exeext
31872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31873 (eval $ac_link) 2>conftest.er1
31875 grep -v '^ *+' conftest.er1
>conftest.err
31877 cat conftest.err
>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } &&
31880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; } &&
31886 { ac_try
='test -s conftest$ac_exeext'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; }; then
31892 eval "$as_ac_var=yes"
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.
$ac_ext >&5
31897 eval "$as_ac_var=no"
31899 rm -f conftest.err conftest.
$ac_objext \
31900 conftest
$ac_exeext conftest.
$ac_ext
31902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31904 if test `eval echo '${'$as_ac_var'}'` = yes; then
31905 cat >>confdefs.h
<<_ACEOF
31906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31908 cat >>confdefs.h
<<\_ACEOF
31909 #define HAVE_INET_ATON 1
31914 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31915 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31916 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31917 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31918 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 ac_check_lib_save_LIBS
=$LIBS
31921 LIBS
="-l$INET_LINK $LIBS"
31922 cat >conftest.
$ac_ext <<_ACEOF
31925 cat confdefs.h
>>conftest.
$ac_ext
31926 cat >>conftest.
$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31929 /* Override any gcc2 internal prototype to avoid an error. */
31933 /* We use char because int might match the return type of a gcc2
31934 builtin and then its argument prototype would still apply. */
31944 rm -f conftest.
$ac_objext conftest
$ac_exeext
31945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31946 (eval $ac_link) 2>conftest.er1
31948 grep -v '^ *+' conftest.er1
>conftest.err
31950 cat conftest.err
>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } &&
31953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; } &&
31959 { ac_try
='test -s conftest$ac_exeext'
31960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31961 (eval $ac_try) 2>&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); }; }; then
31965 eval "$as_ac_Lib=yes"
31967 echo "$as_me: failed program was:" >&5
31968 sed 's/^/| /' conftest.
$ac_ext >&5
31970 eval "$as_ac_Lib=no"
31972 rm -f conftest.err conftest.
$ac_objext \
31973 conftest
$ac_exeext conftest.
$ac_ext
31974 LIBS
=$ac_check_lib_save_LIBS
31976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31977 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31978 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define HAVE_INET_ATON 1
31990 if test "x$INET_LINK" != "x"; then
31991 cat >>confdefs.h
<<\_ACEOF
31992 #define HAVE_INET_ADDR 1
31995 INET_LINK
=" -l$INET_LINK"
32003 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32004 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32005 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32006 echo $ECHO_N "(cached) $ECHO_C" >&6
32008 ac_check_lib_save_LIBS
=$LIBS
32010 cat >conftest.
$ac_ext <<_ACEOF
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32017 /* Override any gcc2 internal prototype to avoid an error. */
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32032 rm -f conftest.
$ac_objext conftest
$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>conftest.er1
32036 grep -v '^ *+' conftest.er1
>conftest.err
32038 cat conftest.err
>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; } &&
32047 { ac_try
='test -s conftest$ac_exeext'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; }; then
32053 ac_cv_lib_esd_esd_close
=yes
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.
$ac_ext >&5
32058 ac_cv_lib_esd_esd_close
=no
32060 rm -f conftest.err conftest.
$ac_objext \
32061 conftest
$ac_exeext conftest.
$ac_ext
32062 LIBS
=$ac_check_lib_save_LIBS
32064 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32065 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32066 if test $ac_cv_lib_esd_esd_close = yes; then
32069 for ac_header
in esd.h
32071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32073 echo "$as_me:$LINENO: checking for $ac_header" >&5
32074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32081 # Is the header compilable?
32082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32084 cat >conftest.
$ac_ext <<_ACEOF
32087 cat confdefs.h
>>conftest.
$ac_ext
32088 cat >>conftest.
$ac_ext <<_ACEOF
32089 /* end confdefs.h. */
32090 $ac_includes_default
32091 #include <$ac_header>
32093 rm -f conftest.
$ac_objext
32094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32095 (eval $ac_compile) 2>conftest.er1
32097 grep -v '^ *+' conftest.er1
>conftest.err
32099 cat conftest.err
>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } &&
32102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; } &&
32108 { ac_try
='test -s conftest.$ac_objext'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; }; then
32114 ac_header_compiler
=yes
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.
$ac_ext >&5
32119 ac_header_compiler
=no
32121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32123 echo "${ECHO_T}$ac_header_compiler" >&6
32125 # Is the header present?
32126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32128 cat >conftest.
$ac_ext <<_ACEOF
32131 cat confdefs.h
>>conftest.
$ac_ext
32132 cat >>conftest.
$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32134 #include <$ac_header>
32136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32139 grep -v '^ *+' conftest.er1
>conftest.err
32141 cat conftest.err
>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); } >/dev
/null
; then
32144 if test -s conftest.err
; then
32145 ac_cpp_err
=$ac_c_preproc_warn_flag
32146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32153 if test -z "$ac_cpp_err"; then
32154 ac_header_preproc
=yes
32156 echo "$as_me: failed program was:" >&5
32157 sed 's/^/| /' conftest.
$ac_ext >&5
32159 ac_header_preproc
=no
32161 rm -f conftest.err conftest.
$ac_ext
32162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32163 echo "${ECHO_T}$ac_header_preproc" >&6
32165 # So? What about this header?
32166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32172 ac_header_preproc
=yes
32175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32189 ## ----------------------------------------- ##
32190 ## Report this to wx-dev@lists.wxwidgets.org ##
32191 ## ----------------------------------------- ##
32194 sed "s/^/$as_me: WARNING: /" >&2
32197 echo "$as_me:$LINENO: checking for $ac_header" >&5
32198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 eval "$as_ac_Header=\$ac_header_preproc"
32204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32209 cat >>confdefs.h
<<_ACEOF
32210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32213 EXTRALIBS_ESD
="-lesd"
32224 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32225 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32226 cat >conftest.
$ac_ext <<_ACEOF
32229 cat confdefs.h
>>conftest.
$ac_ext
32230 cat >>conftest.
$ac_ext <<_ACEOF
32231 /* end confdefs.h. */
32233 #include <linux/cdrom.h>
32236 #include <sys/cdio.h>
32242 struct cdrom_tocentry entry, old_entry;
32247 rm -f conftest.
$ac_objext
32248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32249 (eval $ac_compile) 2>conftest.er1
32251 grep -v '^ *+' conftest.er1
>conftest.err
32253 cat conftest.err
>&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); } &&
32256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32258 (eval $ac_try) 2>&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); }; } &&
32262 { ac_try
='test -s conftest.$ac_objext'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; }; then
32268 echo "$as_me:$LINENO: result: yes" >&5
32269 echo "${ECHO_T}yes" >&6
32270 cat >>confdefs.h
<<\_ACEOF
32271 #define HAVE_KNOWN_CDROM_INTERFACE 1
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.
$ac_ext >&5
32278 echo "$as_me:$LINENO: result: no" >&5
32279 echo "${ECHO_T}no" >&6
32281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32284 cat >confcache
<<\_ACEOF
32285 # This file is a shell script that caches the results of configure
32286 # tests run on this system so they can be shared between configure
32287 # scripts and configure runs, see configure's option --config-cache.
32288 # It is not useful on other systems. If it contains results you don't
32289 # want to keep, you may remove or edit it.
32291 # config.status only pays attention to the cache file if you give it
32292 # the --recheck option to rerun configure.
32294 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32295 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32296 # following values.
32300 # The following way of writing the cache mishandles newlines in values,
32301 # but we know of no workaround that is simple, portable, and efficient.
32302 # So, don't put newlines in cache variables' values.
32303 # Ultrix sh set writes to stderr and can't be redirected directly,
32304 # and sets the high bit in the cache file unless we assign to the vars.
32307 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32309 # `set' does not quote correctly, so add quotes (double-quote
32310 # substitution turns \\\\ into \\, and sed turns \\ into \).
32313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32316 # `set' quotes correctly as required by POSIX, so do not add quotes.
32318 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32325 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32327 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32329 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32330 if test -w $cache_file; then
32331 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32332 cat confcache
>$cache_file
32334 echo "not updating unwritable cache $cache_file"
32341 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32347 if test "$wxUSE_THREADS" = "yes" ; then
32348 if test "$USE_BEOS" = 1; then
32349 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32350 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32355 if test "$wxUSE_THREADS" = "yes" ; then
32358 THREAD_OPTS
="-pthread"
32360 *-*-solaris2* | *-*-sunos4* )
32361 if test "x$GCC" = "xyes"; then
32362 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32364 THREAD_OPTS
="-mt $THREAD_OPTS"
32368 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32370 *-*-darwin* | *-*-cygwin* )
32374 THREAD_OPTS
="pthreads"
32377 if test "x$GCC" != "xyes"; then
32383 if test "x$GCC" = "xyes"; then
32389 if test "x$GCC" != "xyes"; then
32390 THREAD_OPTS
="-Ethread"
32395 THREAD_OPTS
="$THREAD_OPTS pthread none"
32398 for flag
in $THREAD_OPTS; do
32401 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32402 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32406 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32407 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32408 THREADS_CFLAGS
="$flag"
32412 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32413 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32414 THREADS_LINK
="-l$flag"
32419 save_CFLAGS
="$CFLAGS"
32420 LIBS
="$THREADS_LINK $LIBS"
32421 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32423 cat >conftest.
$ac_ext <<_ACEOF
32426 cat confdefs.h
>>conftest.
$ac_ext
32427 cat >>conftest.
$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429 #include <pthread.h>
32433 pthread_create(0,0,0,0);
32438 rm -f conftest.
$ac_objext conftest
$ac_exeext
32439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32440 (eval $ac_link) 2>conftest.er1
32442 grep -v '^ *+' conftest.er1
>conftest.err
32444 cat conftest.err
>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); } &&
32447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32449 (eval $ac_try) 2>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); }; } &&
32453 { ac_try
='test -s conftest$ac_exeext'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; }; then
32461 echo "$as_me: failed program was:" >&5
32462 sed 's/^/| /' conftest.
$ac_ext >&5
32465 rm -f conftest.err conftest.
$ac_objext \
32466 conftest
$ac_exeext conftest.
$ac_ext
32469 CFLAGS
="$save_CFLAGS"
32471 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32472 echo "${ECHO_T}$THREADS_OK" >&6
32473 if test "x$THREADS_OK" = "xyes"; then
32481 if test "x$THREADS_OK" != "xyes"; then
32483 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32484 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32486 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32487 LIBS
="$THREADS_LINK $LIBS"
32489 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32490 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32494 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32495 flag
="-D_THREAD_SAFE"
32498 flag
="-D_THREAD_SAFE"
32501 flag
="-D_REENTRANT"
32502 if test "x$GCC" != "xyes"; then
32503 flag
="$flag -D_RWSTD_MULTI_THREAD"
32506 *solaris
* | alpha
*-osf*)
32507 flag
="-D_REENTRANT"
32510 echo "$as_me:$LINENO: result: ${flag}" >&5
32511 echo "${ECHO_T}${flag}" >&6
32512 if test "x$flag" != xno
; then
32513 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32516 if test "x$THREADS_CFLAGS" != "x"; then
32517 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32518 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32523 if test "$wxUSE_THREADS" = "yes" ; then
32525 for ac_func
in thr_setconcurrency
32527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32528 echo "$as_me:$LINENO: checking for $ac_func" >&5
32529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32530 if eval "test \"\${$as_ac_var+set}\" = set"; then
32531 echo $ECHO_N "(cached) $ECHO_C" >&6
32533 cat >conftest.
$ac_ext <<_ACEOF
32536 cat confdefs.h
>>conftest.
$ac_ext
32537 cat >>conftest.
$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32541 #define $ac_func innocuous_$ac_func
32543 /* System header to define __stub macros and hopefully few prototypes,
32544 which can conflict with char $ac_func (); below.
32545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32546 <limits.h> exists even on freestanding compilers. */
32549 # include <limits.h>
32551 # include <assert.h>
32556 /* Override any gcc2 internal prototype to avoid an error. */
32561 /* We use char because int might match the return type of a gcc2
32562 builtin and then its argument prototype would still apply. */
32564 /* The GNU C library defines this for functions which it implements
32565 to always fail with ENOSYS. Some functions are actually named
32566 something starting with __ and the normal name is an alias. */
32567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32570 char (*f) () = $ac_func;
32579 return f != $ac_func;
32584 rm -f conftest.
$ac_objext conftest
$ac_exeext
32585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32586 (eval $ac_link) 2>conftest.er1
32588 grep -v '^ *+' conftest.er1
>conftest.err
32590 cat conftest.err
>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } &&
32593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; } &&
32599 { ac_try
='test -s conftest$ac_exeext'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; }; then
32605 eval "$as_ac_var=yes"
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.
$ac_ext >&5
32610 eval "$as_ac_var=no"
32612 rm -f conftest.err conftest.
$ac_objext \
32613 conftest
$ac_exeext conftest.
$ac_ext
32615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32617 if test `eval echo '${'$as_ac_var'}'` = yes; then
32618 cat >>confdefs.h
<<_ACEOF
32619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32627 for ac_header
in sched.h
32629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32631 echo "$as_me:$LINENO: checking for $ac_header" >&5
32632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32639 # Is the header compilable?
32640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32642 cat >conftest.
$ac_ext <<_ACEOF
32645 cat confdefs.h
>>conftest.
$ac_ext
32646 cat >>conftest.
$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 $ac_includes_default
32649 #include <$ac_header>
32651 rm -f conftest.
$ac_objext
32652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32653 (eval $ac_compile) 2>conftest.er1
32655 grep -v '^ *+' conftest.er1
>conftest.err
32657 cat conftest.err
>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } &&
32660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; } &&
32666 { ac_try
='test -s conftest.$ac_objext'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; }; then
32672 ac_header_compiler
=yes
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.
$ac_ext >&5
32677 ac_header_compiler
=no
32679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32681 echo "${ECHO_T}$ac_header_compiler" >&6
32683 # Is the header present?
32684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32686 cat >conftest.
$ac_ext <<_ACEOF
32689 cat confdefs.h
>>conftest.
$ac_ext
32690 cat >>conftest.
$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692 #include <$ac_header>
32694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32697 grep -v '^ *+' conftest.er1
>conftest.err
32699 cat conftest.err
>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); } >/dev
/null
; then
32702 if test -s conftest.err
; then
32703 ac_cpp_err
=$ac_c_preproc_warn_flag
32704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32711 if test -z "$ac_cpp_err"; then
32712 ac_header_preproc
=yes
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.
$ac_ext >&5
32717 ac_header_preproc
=no
32719 rm -f conftest.err conftest.
$ac_ext
32720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32721 echo "${ECHO_T}$ac_header_preproc" >&6
32723 # So? What about this header?
32724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32730 ac_header_preproc
=yes
32733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32747 ## ----------------------------------------- ##
32748 ## Report this to wx-dev@lists.wxwidgets.org ##
32749 ## ----------------------------------------- ##
32752 sed "s/^/$as_me: WARNING: /" >&2
32755 echo "$as_me:$LINENO: checking for $ac_header" >&5
32756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 eval "$as_ac_Header=\$ac_header_preproc"
32762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32767 cat >>confdefs.h
<<_ACEOF
32768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32775 if test "$ac_cv_header_sched_h" = "yes"; then
32776 echo "$as_me:$LINENO: checking for sched_yield" >&5
32777 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32778 if test "${ac_cv_func_sched_yield+set}" = set; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32781 cat >conftest.
$ac_ext <<_ACEOF
32784 cat confdefs.h
>>conftest.
$ac_ext
32785 cat >>conftest.
$ac_ext <<_ACEOF
32786 /* end confdefs.h. */
32787 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32789 #define sched_yield innocuous_sched_yield
32791 /* System header to define __stub macros and hopefully few prototypes,
32792 which can conflict with char sched_yield (); below.
32793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32794 <limits.h> exists even on freestanding compilers. */
32797 # include <limits.h>
32799 # include <assert.h>
32804 /* Override any gcc2 internal prototype to avoid an error. */
32809 /* We use char because int might match the return type of a gcc2
32810 builtin and then its argument prototype would still apply. */
32811 char sched_yield ();
32812 /* The GNU C library defines this for functions which it implements
32813 to always fail with ENOSYS. Some functions are actually named
32814 something starting with __ and the normal name is an alias. */
32815 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32818 char (*f) () = sched_yield;
32827 return f != sched_yield;
32832 rm -f conftest.
$ac_objext conftest
$ac_exeext
32833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32834 (eval $ac_link) 2>conftest.er1
32836 grep -v '^ *+' conftest.er1
>conftest.err
32838 cat conftest.err
>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } &&
32841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; } &&
32847 { ac_try
='test -s conftest$ac_exeext'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; }; then
32853 ac_cv_func_sched_yield
=yes
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.
$ac_ext >&5
32858 ac_cv_func_sched_yield
=no
32860 rm -f conftest.err conftest.
$ac_objext \
32861 conftest
$ac_exeext conftest.
$ac_ext
32863 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32864 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32865 if test $ac_cv_func_sched_yield = yes; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define HAVE_SCHED_YIELD 1
32872 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32873 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32874 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32875 echo $ECHO_N "(cached) $ECHO_C" >&6
32877 ac_check_lib_save_LIBS
=$LIBS
32878 LIBS
="-lposix4 $LIBS"
32879 cat >conftest.
$ac_ext <<_ACEOF
32882 cat confdefs.h
>>conftest.
$ac_ext
32883 cat >>conftest.
$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32886 /* Override any gcc2 internal prototype to avoid an error. */
32890 /* We use char because int might match the return type of a gcc2
32891 builtin and then its argument prototype would still apply. */
32892 char sched_yield ();
32901 rm -f conftest.
$ac_objext conftest
$ac_exeext
32902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32903 (eval $ac_link) 2>conftest.er1
32905 grep -v '^ *+' conftest.er1
>conftest.err
32907 cat conftest.err
>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } &&
32910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; } &&
32916 { ac_try
='test -s conftest$ac_exeext'
32917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 (eval $ac_try) 2>&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); }; }; then
32922 ac_cv_lib_posix4_sched_yield
=yes
32924 echo "$as_me: failed program was:" >&5
32925 sed 's/^/| /' conftest.
$ac_ext >&5
32927 ac_cv_lib_posix4_sched_yield
=no
32929 rm -f conftest.err conftest.
$ac_objext \
32930 conftest
$ac_exeext conftest.
$ac_ext
32931 LIBS
=$ac_check_lib_save_LIBS
32933 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32934 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32935 if test $ac_cv_lib_posix4_sched_yield = yes; then
32936 cat >>confdefs.h
<<\_ACEOF
32937 #define HAVE_SCHED_YIELD 1
32939 POSIX4_LINK
=" -lposix4"
32941 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32942 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32953 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32954 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32955 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 cat >conftest.
$ac_ext <<_ACEOF
32961 cat confdefs.h
>>conftest.
$ac_ext
32962 cat >>conftest.
$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32966 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32968 /* System header to define __stub macros and hopefully few prototypes,
32969 which can conflict with char pthread_attr_getschedpolicy (); below.
32970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32971 <limits.h> exists even on freestanding compilers. */
32974 # include <limits.h>
32976 # include <assert.h>
32979 #undef pthread_attr_getschedpolicy
32981 /* Override any gcc2 internal prototype to avoid an error. */
32986 /* We use char because int might match the return type of a gcc2
32987 builtin and then its argument prototype would still apply. */
32988 char pthread_attr_getschedpolicy ();
32989 /* The GNU C library defines this for functions which it implements
32990 to always fail with ENOSYS. Some functions are actually named
32991 something starting with __ and the normal name is an alias. */
32992 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32995 char (*f) () = pthread_attr_getschedpolicy;
33004 return f != pthread_attr_getschedpolicy;
33009 rm -f conftest.
$ac_objext conftest
$ac_exeext
33010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33011 (eval $ac_link) 2>conftest.er1
33013 grep -v '^ *+' conftest.er1
>conftest.err
33015 cat conftest.err
>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } &&
33018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33020 (eval $ac_try) 2>&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); }; } &&
33024 { ac_try
='test -s conftest$ac_exeext'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; }; then
33030 ac_cv_func_pthread_attr_getschedpolicy
=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.
$ac_ext >&5
33035 ac_cv_func_pthread_attr_getschedpolicy
=no
33037 rm -f conftest.err conftest.
$ac_objext \
33038 conftest
$ac_exeext conftest.
$ac_ext
33040 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33041 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33042 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33043 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33044 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33045 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33048 cat >conftest.
$ac_ext <<_ACEOF
33051 cat confdefs.h
>>conftest.
$ac_ext
33052 cat >>conftest.
$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33056 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33058 /* System header to define __stub macros and hopefully few prototypes,
33059 which can conflict with char pthread_attr_setschedparam (); below.
33060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33061 <limits.h> exists even on freestanding compilers. */
33064 # include <limits.h>
33066 # include <assert.h>
33069 #undef pthread_attr_setschedparam
33071 /* Override any gcc2 internal prototype to avoid an error. */
33076 /* We use char because int might match the return type of a gcc2
33077 builtin and then its argument prototype would still apply. */
33078 char pthread_attr_setschedparam ();
33079 /* The GNU C library defines this for functions which it implements
33080 to always fail with ENOSYS. Some functions are actually named
33081 something starting with __ and the normal name is an alias. */
33082 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33085 char (*f) () = pthread_attr_setschedparam;
33094 return f != pthread_attr_setschedparam;
33099 rm -f conftest.
$ac_objext conftest
$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>conftest.er1
33103 grep -v '^ *+' conftest.er1
>conftest.err
33105 cat conftest.err
>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } &&
33108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try
='test -s conftest$ac_exeext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 ac_cv_func_pthread_attr_setschedparam
=yes
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.
$ac_ext >&5
33125 ac_cv_func_pthread_attr_setschedparam
=no
33127 rm -f conftest.err conftest.
$ac_objext \
33128 conftest
$ac_exeext conftest.
$ac_ext
33130 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33131 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33132 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33133 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33134 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33135 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33138 cat >conftest.
$ac_ext <<_ACEOF
33141 cat confdefs.h
>>conftest.
$ac_ext
33142 cat >>conftest.
$ac_ext <<_ACEOF
33143 /* end confdefs.h. */
33144 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33146 #define sched_get_priority_max innocuous_sched_get_priority_max
33148 /* System header to define __stub macros and hopefully few prototypes,
33149 which can conflict with char sched_get_priority_max (); below.
33150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33151 <limits.h> exists even on freestanding compilers. */
33154 # include <limits.h>
33156 # include <assert.h>
33159 #undef sched_get_priority_max
33161 /* Override any gcc2 internal prototype to avoid an error. */
33166 /* We use char because int might match the return type of a gcc2
33167 builtin and then its argument prototype would still apply. */
33168 char sched_get_priority_max ();
33169 /* The GNU C library defines this for functions which it implements
33170 to always fail with ENOSYS. Some functions are actually named
33171 something starting with __ and the normal name is an alias. */
33172 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33175 char (*f) () = sched_get_priority_max;
33184 return f != sched_get_priority_max;
33189 rm -f conftest.
$ac_objext conftest
$ac_exeext
33190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33191 (eval $ac_link) 2>conftest.er1
33193 grep -v '^ *+' conftest.er1
>conftest.err
33195 cat conftest.err
>&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } &&
33198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; } &&
33204 { ac_try
='test -s conftest$ac_exeext'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; }; then
33210 ac_cv_func_sched_get_priority_max
=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.
$ac_ext >&5
33215 ac_cv_func_sched_get_priority_max
=no
33217 rm -f conftest.err conftest.
$ac_objext \
33218 conftest
$ac_exeext conftest.
$ac_ext
33220 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33221 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33222 if test $ac_cv_func_sched_get_priority_max = yes; then
33225 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33226 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33227 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33228 echo $ECHO_N "(cached) $ECHO_C" >&6
33230 ac_check_lib_save_LIBS
=$LIBS
33231 LIBS
="-lposix4 $LIBS"
33232 cat >conftest.
$ac_ext <<_ACEOF
33235 cat confdefs.h
>>conftest.
$ac_ext
33236 cat >>conftest.
$ac_ext <<_ACEOF
33237 /* end confdefs.h. */
33239 /* Override any gcc2 internal prototype to avoid an error. */
33243 /* We use char because int might match the return type of a gcc2
33244 builtin and then its argument prototype would still apply. */
33245 char sched_get_priority_max ();
33249 sched_get_priority_max ();
33254 rm -f conftest.
$ac_objext conftest
$ac_exeext
33255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33256 (eval $ac_link) 2>conftest.er1
33258 grep -v '^ *+' conftest.er1
>conftest.err
33260 cat conftest.err
>&5
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); } &&
33263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33265 (eval $ac_try) 2>&5
33267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33268 (exit $ac_status); }; } &&
33269 { ac_try
='test -s conftest$ac_exeext'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; }; then
33275 ac_cv_lib_posix4_sched_get_priority_max
=yes
33277 echo "$as_me: failed program was:" >&5
33278 sed 's/^/| /' conftest.
$ac_ext >&5
33280 ac_cv_lib_posix4_sched_get_priority_max
=no
33282 rm -f conftest.err conftest.
$ac_objext \
33283 conftest
$ac_exeext conftest.
$ac_ext
33284 LIBS
=$ac_check_lib_save_LIBS
33286 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33287 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33288 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33291 POSIX4_LINK
=" -lposix4"
33305 if test "$HAVE_PRIOR_FUNCS" = 1; then
33306 cat >>confdefs.h
<<\_ACEOF
33307 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33311 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33312 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33315 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33316 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33317 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 cat >conftest.
$ac_ext <<_ACEOF
33323 cat confdefs.h
>>conftest.
$ac_ext
33324 cat >>conftest.
$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33326 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33328 #define pthread_cancel innocuous_pthread_cancel
33330 /* System header to define __stub macros and hopefully few prototypes,
33331 which can conflict with char pthread_cancel (); below.
33332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33333 <limits.h> exists even on freestanding compilers. */
33336 # include <limits.h>
33338 # include <assert.h>
33341 #undef pthread_cancel
33343 /* Override any gcc2 internal prototype to avoid an error. */
33348 /* We use char because int might match the return type of a gcc2
33349 builtin and then its argument prototype would still apply. */
33350 char pthread_cancel ();
33351 /* The GNU C library defines this for functions which it implements
33352 to always fail with ENOSYS. Some functions are actually named
33353 something starting with __ and the normal name is an alias. */
33354 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33357 char (*f) () = pthread_cancel;
33366 return f != pthread_cancel;
33371 rm -f conftest.
$ac_objext conftest
$ac_exeext
33372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33373 (eval $ac_link) 2>conftest.er1
33375 grep -v '^ *+' conftest.er1
>conftest.err
33377 cat conftest.err
>&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); } &&
33380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33382 (eval $ac_try) 2>&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); }; } &&
33386 { ac_try
='test -s conftest$ac_exeext'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; }; then
33392 ac_cv_func_pthread_cancel
=yes
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.
$ac_ext >&5
33397 ac_cv_func_pthread_cancel
=no
33399 rm -f conftest.err conftest.
$ac_objext \
33400 conftest
$ac_exeext conftest.
$ac_ext
33402 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33403 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33404 if test $ac_cv_func_pthread_cancel = yes; then
33405 cat >>confdefs.h
<<\_ACEOF
33406 #define HAVE_PTHREAD_CANCEL 1
33410 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33411 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33417 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33418 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33419 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 cat >conftest.
$ac_ext <<_ACEOF
33426 cat confdefs.h
>>conftest.
$ac_ext
33427 cat >>conftest.
$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429 #include <pthread.h>
33434 pthread_mutexattr_t attr;
33435 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33441 rm -f conftest.
$ac_objext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33443 (eval $ac_compile) 2>conftest.er1
33445 grep -v '^ *+' conftest.er1
>conftest.err
33447 cat conftest.err
>&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; } &&
33456 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33463 wx_cv_type_pthread_mutexattr_t
=yes
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.
$ac_ext >&5
33470 wx_cv_type_pthread_mutexattr_t
=no
33474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33477 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33478 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33480 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33481 cat >>confdefs.h
<<\_ACEOF
33482 #define HAVE_PTHREAD_MUTEXATTR_T 1
33486 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33487 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33488 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33489 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 cat >conftest.
$ac_ext <<_ACEOF
33495 cat confdefs.h
>>conftest.
$ac_ext
33496 cat >>conftest.
$ac_ext <<_ACEOF
33497 /* end confdefs.h. */
33498 #include <pthread.h>
33503 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33509 rm -f conftest.
$ac_objext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33511 (eval $ac_compile) 2>conftest.er1
33513 grep -v '^ *+' conftest.er1
>conftest.err
33515 cat conftest.err
>&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } &&
33518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33520 (eval $ac_try) 2>&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); }; } &&
33524 { ac_try
='test -s conftest.$ac_objext'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; }; then
33531 wx_cv_type_pthread_rec_mutex_init
=yes
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.
$ac_ext >&5
33538 wx_cv_type_pthread_rec_mutex_init
=no
33542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33545 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33546 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33547 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33548 cat >>confdefs.h
<<\_ACEOF
33549 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33553 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33554 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33560 if test "$wxUSE_THREADS" = "yes" ; then
33563 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33564 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33565 if test "${wx_cv_cflags_mthread+set}" = set; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 CFLAGS_OLD
="$CFLAGS"
33570 CFLAGS
="$CFLAGS -mthreads"
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33586 rm -f conftest.
$ac_objext
33587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33588 (eval $ac_compile) 2>conftest.er1
33590 grep -v '^ *+' conftest.er1
>conftest.err
33592 cat conftest.err
>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); } &&
33595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33597 (eval $ac_try) 2>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; } &&
33601 { ac_try
='test -s conftest.$ac_objext'
33602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33603 (eval $ac_try) 2>&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); }; }; then
33607 wx_cv_cflags_mthread
=yes
33609 echo "$as_me: failed program was:" >&5
33610 sed 's/^/| /' conftest.
$ac_ext >&5
33612 wx_cv_cflags_mthread
=no
33615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33619 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33620 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33622 if test "$wx_cv_cflags_mthread" = "yes"; then
33623 CXXFLAGS
="$CXXFLAGS -mthreads"
33624 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33625 LDFLAGS
="$LDFLAGS -mthreads"
33627 CFLAGS
="$CFLAGS_OLD"
33631 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33632 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33633 LDFLAGS
="$LDFLAGS -Zmt"
33639 if test "$wxUSE_THREADS" = "yes"; then
33640 cat >>confdefs.h
<<\_ACEOF
33641 #define wxUSE_THREADS 1
33645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33647 if test "$ac_cv_func_strtok_r" = "yes"; then
33648 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33649 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33650 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33651 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33652 echo "$as_me:$LINENO: result: yes" >&5
33653 echo "${ECHO_T}yes" >&6
33655 echo "$as_me:$LINENO: result: no" >&5
33656 echo "${ECHO_T}no" >&6
33661 if test "$WXGTK20" = 1 ; then
33662 cat >>confdefs.h
<<_ACEOF
33663 #define __WXGTK20__ $WXGTK20
33669 if test "$WXGTK12" = 1 ; then
33670 cat >>confdefs.h
<<_ACEOF
33671 #define __WXGTK12__ $WXGTK12
33676 if test "$WXGTK127" = 1 ; then
33677 cat >>confdefs.h
<<_ACEOF
33678 #define __WXGTK127__ $WXGTK127
33683 if test "$WXGPE" = 1 ; then
33684 cat >>confdefs.h
<<_ACEOF
33685 #define __WXGPE__ $WXGPE
33692 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33697 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33698 wxUSE_DEBUG_INFO
=yes
33702 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33703 cat >>confdefs.h
<<\_ACEOF
33707 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33709 if test "$wxUSE_GTK" = 1 ; then
33710 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33714 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33715 cat >>confdefs.h
<<\_ACEOF
33716 #define wxUSE_MEMORY_TRACING 1
33719 cat >>confdefs.h
<<\_ACEOF
33720 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33723 cat >>confdefs.h
<<\_ACEOF
33724 #define wxUSE_DEBUG_NEW_ALWAYS 1
33727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33730 if test "$wxUSE_DMALLOC" = "yes" ; then
33731 DMALLOC_LIBS
="-ldmalloc"
33735 if test "$wxUSE_PROFILE" = "yes" ; then
33740 CODE_GEN_FLAGS_CXX
=
33741 if test "$GCC" = "yes" ; then
33742 if test "$wxUSE_NO_RTTI" = "yes" ; then
33743 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33745 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33746 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33748 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33749 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33754 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33757 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33763 if test "$wxUSE_OPTIMISE" = "no" ; then
33764 if test "$GCC" = yes ; then
33768 if test "$GCC" = yes ; then
33772 i586
-*-*|i686
-*-* )
33773 OPTIMISE
="${OPTIMISE} "
33782 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33783 cat >>confdefs.h
<<\_ACEOF
33784 #define WXWIN_COMPATIBILITY_2_2 1
33788 WXWIN_COMPATIBILITY_2_4
="yes"
33791 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33792 cat >>confdefs.h
<<\_ACEOF
33793 #define WXWIN_COMPATIBILITY_2_4 1
33799 if test "$wxUSE_GUI" = "yes"; then
33800 cat >>confdefs.h
<<\_ACEOF
33801 #define wxUSE_GUI 1
33808 if test "$wxUSE_UNIX" = "yes"; then
33809 cat >>confdefs.h
<<\_ACEOF
33810 #define wxUSE_UNIX 1
33816 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33820 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33821 if test "$USE_DARWIN" = 1; then
33825 for ac_func
in dlopen
33827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33828 echo "$as_me:$LINENO: checking for $ac_func" >&5
33829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33830 if eval "test \"\${$as_ac_var+set}\" = set"; then
33831 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 cat >conftest.
$ac_ext <<_ACEOF
33836 cat confdefs.h
>>conftest.
$ac_ext
33837 cat >>conftest.
$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33841 #define $ac_func innocuous_$ac_func
33843 /* System header to define __stub macros and hopefully few prototypes,
33844 which can conflict with char $ac_func (); below.
33845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33846 <limits.h> exists even on freestanding compilers. */
33849 # include <limits.h>
33851 # include <assert.h>
33856 /* Override any gcc2 internal prototype to avoid an error. */
33861 /* We use char because int might match the return type of a gcc2
33862 builtin and then its argument prototype would still apply. */
33864 /* The GNU C library defines this for functions which it implements
33865 to always fail with ENOSYS. Some functions are actually named
33866 something starting with __ and the normal name is an alias. */
33867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33870 char (*f) () = $ac_func;
33879 return f != $ac_func;
33884 rm -f conftest.
$ac_objext conftest
$ac_exeext
33885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33886 (eval $ac_link) 2>conftest.er1
33888 grep -v '^ *+' conftest.er1
>conftest.err
33890 cat conftest.err
>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } &&
33893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; } &&
33899 { ac_try
='test -s conftest$ac_exeext'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; }; then
33905 eval "$as_ac_var=yes"
33907 echo "$as_me: failed program was:" >&5
33908 sed 's/^/| /' conftest.
$ac_ext >&5
33910 eval "$as_ac_var=no"
33912 rm -f conftest.err conftest.
$ac_objext \
33913 conftest
$ac_exeext conftest.
$ac_ext
33915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33917 if test `eval echo '${'$as_ac_var'}'` = yes; then
33918 cat >>confdefs.h
<<_ACEOF
33919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33922 cat >>confdefs.h
<<\_ACEOF
33923 #define HAVE_DLOPEN 1
33930 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33931 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33932 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 ac_check_lib_save_LIBS
=$LIBS
33937 cat >conftest.
$ac_ext <<_ACEOF
33940 cat confdefs.h
>>conftest.
$ac_ext
33941 cat >>conftest.
$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33944 /* Override any gcc2 internal prototype to avoid an error. */
33948 /* We use char because int might match the return type of a gcc2
33949 builtin and then its argument prototype would still apply. */
33959 rm -f conftest.
$ac_objext conftest
$ac_exeext
33960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33961 (eval $ac_link) 2>conftest.er1
33963 grep -v '^ *+' conftest.er1
>conftest.err
33965 cat conftest.err
>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } &&
33968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; } &&
33974 { ac_try
='test -s conftest$ac_exeext'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; }; then
33980 ac_cv_lib_dl_dlopen
=yes
33982 echo "$as_me: failed program was:" >&5
33983 sed 's/^/| /' conftest.
$ac_ext >&5
33985 ac_cv_lib_dl_dlopen
=no
33987 rm -f conftest.err conftest.
$ac_objext \
33988 conftest
$ac_exeext conftest.
$ac_ext
33989 LIBS
=$ac_check_lib_save_LIBS
33991 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33992 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33993 if test $ac_cv_lib_dl_dlopen = yes; then
33995 cat >>confdefs.h
<<\_ACEOF
33996 #define HAVE_DLOPEN 1
34000 DL_LINK
=" -ldl$DL_LINK"
34005 for ac_func
in shl_load
34007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34008 echo "$as_me:$LINENO: checking for $ac_func" >&5
34009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34010 if eval "test \"\${$as_ac_var+set}\" = set"; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34013 cat >conftest.
$ac_ext <<_ACEOF
34016 cat confdefs.h
>>conftest.
$ac_ext
34017 cat >>conftest.
$ac_ext <<_ACEOF
34018 /* end confdefs.h. */
34019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34021 #define $ac_func innocuous_$ac_func
34023 /* System header to define __stub macros and hopefully few prototypes,
34024 which can conflict with char $ac_func (); below.
34025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34026 <limits.h> exists even on freestanding compilers. */
34029 # include <limits.h>
34031 # include <assert.h>
34036 /* Override any gcc2 internal prototype to avoid an error. */
34041 /* We use char because int might match the return type of a gcc2
34042 builtin and then its argument prototype would still apply. */
34044 /* The GNU C library defines this for functions which it implements
34045 to always fail with ENOSYS. Some functions are actually named
34046 something starting with __ and the normal name is an alias. */
34047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34050 char (*f) () = $ac_func;
34059 return f != $ac_func;
34064 rm -f conftest.
$ac_objext conftest
$ac_exeext
34065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34066 (eval $ac_link) 2>conftest.er1
34068 grep -v '^ *+' conftest.er1
>conftest.err
34070 cat conftest.err
>&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } &&
34073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; } &&
34079 { ac_try
='test -s conftest$ac_exeext'
34080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34081 (eval $ac_try) 2>&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); }; }; then
34085 eval "$as_ac_var=yes"
34087 echo "$as_me: failed program was:" >&5
34088 sed 's/^/| /' conftest.
$ac_ext >&5
34090 eval "$as_ac_var=no"
34092 rm -f conftest.err conftest.
$ac_objext \
34093 conftest
$ac_exeext conftest.
$ac_ext
34095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34097 if test `eval echo '${'$as_ac_var'}'` = yes; then
34098 cat >>confdefs.h
<<_ACEOF
34099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34102 cat >>confdefs.h
<<\_ACEOF
34103 #define HAVE_SHL_LOAD 1
34110 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34111 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34112 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34115 ac_check_lib_save_LIBS
=$LIBS
34116 LIBS
="-lshl_load $LIBS"
34117 cat >conftest.
$ac_ext <<_ACEOF
34120 cat confdefs.h
>>conftest.
$ac_ext
34121 cat >>conftest.
$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34124 /* Override any gcc2 internal prototype to avoid an error. */
34128 /* We use char because int might match the return type of a gcc2
34129 builtin and then its argument prototype would still apply. */
34139 rm -f conftest.
$ac_objext conftest
$ac_exeext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34141 (eval $ac_link) 2>conftest.er1
34143 grep -v '^ *+' conftest.er1
>conftest.err
34145 cat conftest.err
>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; } &&
34154 { ac_try
='test -s conftest$ac_exeext'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; }; then
34160 ac_cv_lib_shl_load_dld
=yes
34162 echo "$as_me: failed program was:" >&5
34163 sed 's/^/| /' conftest.
$ac_ext >&5
34165 ac_cv_lib_shl_load_dld
=no
34167 rm -f conftest.err conftest.
$ac_objext \
34168 conftest
$ac_exeext conftest.
$ac_ext
34169 LIBS
=$ac_check_lib_save_LIBS
34171 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34172 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34173 if test $ac_cv_lib_shl_load_dld = yes; then
34176 DL_LINK
=" -ldld$DL_LINK"
34192 if test "$HAVE_DL_FUNCS" = 1; then
34194 for ac_func
in dlerror
34196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34197 echo "$as_me:$LINENO: checking for $ac_func" >&5
34198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34199 if eval "test \"\${$as_ac_var+set}\" = set"; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 cat >conftest.
$ac_ext <<_ACEOF
34205 cat confdefs.h
>>conftest.
$ac_ext
34206 cat >>conftest.
$ac_ext <<_ACEOF
34207 /* end confdefs.h. */
34208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34210 #define $ac_func innocuous_$ac_func
34212 /* System header to define __stub macros and hopefully few prototypes,
34213 which can conflict with char $ac_func (); below.
34214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34215 <limits.h> exists even on freestanding compilers. */
34218 # include <limits.h>
34220 # include <assert.h>
34225 /* Override any gcc2 internal prototype to avoid an error. */
34230 /* We use char because int might match the return type of a gcc2
34231 builtin and then its argument prototype would still apply. */
34233 /* The GNU C library defines this for functions which it implements
34234 to always fail with ENOSYS. Some functions are actually named
34235 something starting with __ and the normal name is an alias. */
34236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34239 char (*f) () = $ac_func;
34248 return f != $ac_func;
34253 rm -f conftest.
$ac_objext conftest
$ac_exeext
34254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34255 (eval $ac_link) 2>conftest.er1
34257 grep -v '^ *+' conftest.er1
>conftest.err
34259 cat conftest.err
>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } &&
34262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; } &&
34268 { ac_try
='test -s conftest$ac_exeext'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; }; then
34274 eval "$as_ac_var=yes"
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.
$ac_ext >&5
34279 eval "$as_ac_var=no"
34281 rm -f conftest.err conftest.
$ac_objext \
34282 conftest
$ac_exeext conftest.
$ac_ext
34284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34286 if test `eval echo '${'$as_ac_var'}'` = yes; then
34287 cat >>confdefs.h
<<_ACEOF
34288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34290 cat >>confdefs.h
<<\_ACEOF
34291 #define HAVE_DLERROR 1
34296 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34297 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34298 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34301 ac_check_lib_save_LIBS
=$LIBS
34303 cat >conftest.
$ac_ext <<_ACEOF
34306 cat confdefs.h
>>conftest.
$ac_ext
34307 cat >>conftest.
$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34310 /* Override any gcc2 internal prototype to avoid an error. */
34314 /* We use char because int might match the return type of a gcc2
34315 builtin and then its argument prototype would still apply. */
34325 rm -f conftest.
$ac_objext conftest
$ac_exeext
34326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34327 (eval $ac_link) 2>conftest.er1
34329 grep -v '^ *+' conftest.er1
>conftest.err
34331 cat conftest.err
>&5
34332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34333 (exit $ac_status); } &&
34334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34336 (eval $ac_try) 2>&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); }; } &&
34340 { ac_try
='test -s conftest$ac_exeext'
34341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34342 (eval $ac_try) 2>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); }; }; then
34346 ac_cv_lib_dl_dlerror
=yes
34348 echo "$as_me: failed program was:" >&5
34349 sed 's/^/| /' conftest.
$ac_ext >&5
34351 ac_cv_lib_dl_dlerror
=no
34353 rm -f conftest.err conftest.
$ac_objext \
34354 conftest
$ac_exeext conftest.
$ac_ext
34355 LIBS
=$ac_check_lib_save_LIBS
34357 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34358 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34359 if test $ac_cv_lib_dl_dlerror = yes; then
34360 cat >>confdefs.h
<<\_ACEOF
34361 #define HAVE_DLERROR 1
34374 if test "$HAVE_DL_FUNCS" = 0; then
34375 if test "$HAVE_SHL_FUNCS" = 0; then
34376 if test "$USE_UNIX" = 1; then
34377 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34378 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34379 wxUSE_DYNAMIC_LOADER
=no
34380 wxUSE_DYNLIB_CLASS
=no
34382 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34383 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34390 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34391 cat >>confdefs.h
<<\_ACEOF
34392 #define wxUSE_DYNAMIC_LOADER 1
34396 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34397 cat >>confdefs.h
<<\_ACEOF
34398 #define wxUSE_DYNLIB_CLASS 1
34405 if test "$wxUSE_PLUGINS" = "yes" ; then
34406 if test "$wxUSE_SHARED" = "no" ; then
34407 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34408 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34411 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34412 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34413 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34416 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34417 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34418 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34421 if test "$wxUSE_PLUGINS" = "yes" ; then
34422 cat >>confdefs.h
<<\_ACEOF
34423 #define wxUSE_PLUGINS 1
34430 if test "$wxUSE_STL" = "yes"; then
34431 cat >>confdefs.h
<<\_ACEOF
34432 #define wxUSE_STL 1
34437 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34438 cat >>confdefs.h
<<\_ACEOF
34439 #define wxUSE_APPLE_IEEE 1
34444 if test "$wxUSE_TIMER" = "yes"; then
34445 cat >>confdefs.h
<<\_ACEOF
34446 #define wxUSE_TIMER 1
34452 if test "$wxUSE_SOUND" = "yes"; then
34453 if test "$USE_UNIX" = "1" ; then
34455 for ac_header
in sys
/soundcard.h
34457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34459 echo "$as_me:$LINENO: checking for $ac_header" >&5
34460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34467 # Is the header compilable?
34468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34470 cat >conftest.
$ac_ext <<_ACEOF
34473 cat confdefs.h
>>conftest.
$ac_ext
34474 cat >>conftest.
$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34476 $ac_includes_default
34477 #include <$ac_header>
34479 rm -f conftest.
$ac_objext
34480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34481 (eval $ac_compile) 2>conftest.er1
34483 grep -v '^ *+' conftest.er1
>conftest.err
34485 cat conftest.err
>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; } &&
34494 { ac_try
='test -s conftest.$ac_objext'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; }; then
34500 ac_header_compiler
=yes
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.
$ac_ext >&5
34505 ac_header_compiler
=no
34507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34509 echo "${ECHO_T}$ac_header_compiler" >&6
34511 # Is the header present?
34512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34514 cat >conftest.
$ac_ext <<_ACEOF
34517 cat confdefs.h
>>conftest.
$ac_ext
34518 cat >>conftest.
$ac_ext <<_ACEOF
34519 /* end confdefs.h. */
34520 #include <$ac_header>
34522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34525 grep -v '^ *+' conftest.er1
>conftest.err
34527 cat conftest.err
>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } >/dev
/null
; then
34530 if test -s conftest.err
; then
34531 ac_cpp_err
=$ac_c_preproc_warn_flag
34532 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34539 if test -z "$ac_cpp_err"; then
34540 ac_header_preproc
=yes
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.
$ac_ext >&5
34545 ac_header_preproc
=no
34547 rm -f conftest.err conftest.
$ac_ext
34548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34549 echo "${ECHO_T}$ac_header_preproc" >&6
34551 # So? What about this header?
34552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34558 ac_header_preproc
=yes
34561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34565 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34567 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34568 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34571 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34575 ## ----------------------------------------- ##
34576 ## Report this to wx-dev@lists.wxwidgets.org ##
34577 ## ----------------------------------------- ##
34580 sed "s/^/$as_me: WARNING: /" >&2
34583 echo "$as_me:$LINENO: checking for $ac_header" >&5
34584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 eval "$as_ac_Header=\$ac_header_preproc"
34590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34595 cat >>confdefs.h
<<_ACEOF
34596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34604 if test "$wxUSE_LIBSDL" != "no"; then
34606 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34607 if test "${with_sdl_prefix+set}" = set; then
34608 withval
="$with_sdl_prefix"
34609 sdl_prefix
="$withval"
34614 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34615 if test "${with_sdl_exec_prefix+set}" = set; then
34616 withval
="$with_sdl_exec_prefix"
34617 sdl_exec_prefix
="$withval"
34621 # Check whether --enable-sdltest or --disable-sdltest was given.
34622 if test "${enable_sdltest+set}" = set; then
34623 enableval
="$enable_sdltest"
34629 if test x
$sdl_exec_prefix != x
; then
34630 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34631 if test x
${SDL_CONFIG+set} != xset
; then
34632 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34635 if test x
$sdl_prefix != x
; then
34636 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34637 if test x
${SDL_CONFIG+set} != xset
; then
34638 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34643 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34644 # Extract the first word of "sdl-config", so it can be a program name with args.
34645 set dummy sdl
-config; ac_word
=$2
34646 echo "$as_me:$LINENO: checking for $ac_word" >&5
34647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34648 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34649 echo $ECHO_N "(cached) $ECHO_C" >&6
34651 case $SDL_CONFIG in
34653 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34657 for as_dir
in $PATH
34660 test -z "$as_dir" && as_dir
=.
34661 for ac_exec_ext
in '' $ac_executable_extensions; do
34662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34663 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34670 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34674 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34676 if test -n "$SDL_CONFIG"; then
34677 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34678 echo "${ECHO_T}$SDL_CONFIG" >&6
34680 echo "$as_me:$LINENO: result: no" >&5
34681 echo "${ECHO_T}no" >&6
34684 min_sdl_version
=1.2.0
34685 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34686 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34688 if test "$SDL_CONFIG" = "no" ; then
34691 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34692 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34694 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34695 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34696 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34697 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34698 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34699 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34700 if test "x$enable_sdltest" = "xyes" ; then
34701 ac_save_CFLAGS
="$CFLAGS"
34702 ac_save_LIBS
="$LIBS"
34703 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34704 LIBS
="$LIBS $SDL_LIBS"
34706 if test "$cross_compiling" = yes; then
34707 echo $ac_n "cross compiling; assumed OK... $ac_c"
34709 cat >conftest.
$ac_ext <<_ACEOF
34712 cat confdefs.h
>>conftest.
$ac_ext
34713 cat >>conftest.
$ac_ext <<_ACEOF
34714 /* end confdefs.h. */
34717 #include <stdlib.h>
34718 #include <string.h>
34722 my_strdup (char *str)
34728 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34729 strcpy (new_str, str);
34737 int main (int argc, char *argv[])
34739 int major, minor, micro;
34742 /* This hangs on some systems (?)
34743 system ("touch conf.sdltest");
34745 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34747 /* HP/UX 9 (%@#!) writes to sscanf strings */
34748 tmp_version = my_strdup("$min_sdl_version");
34749 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34750 printf("%s, bad version string\n", "$min_sdl_version");
34754 if (($sdl_major_version > major) ||
34755 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34756 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34762 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34763 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34764 printf("*** best to upgrade to the required version.\n");
34765 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34766 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34767 printf("*** config.cache before re-running configure\n");
34774 rm -f conftest
$ac_exeext
34775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34776 (eval $ac_link) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; }; then
34787 echo "$as_me: program exited with status $ac_status" >&5
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 ( exit $ac_status )
34794 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34796 CFLAGS
="$ac_save_CFLAGS"
34797 LIBS
="$ac_save_LIBS"
34800 if test "x$no_sdl" = x
; then
34801 echo "$as_me:$LINENO: result: yes" >&5
34802 echo "${ECHO_T}yes" >&6
34804 EXTRALIBS_SDL
="$SDL_LIBS"
34805 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34806 cat >>confdefs.h
<<\_ACEOF
34807 #define wxUSE_LIBSDL 1
34812 echo "$as_me:$LINENO: result: no" >&5
34813 echo "${ECHO_T}no" >&6
34814 if test "$SDL_CONFIG" = "no" ; then
34815 echo "*** The sdl-config script installed by SDL could not be found"
34816 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34817 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34818 echo "*** full path to sdl-config."
34820 if test -f conf.sdltest
; then
34823 echo "*** Could not run SDL test program, checking why..."
34824 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34825 LIBS
="$LIBS $SDL_LIBS"
34826 cat >conftest.
$ac_ext <<_ACEOF
34829 cat confdefs.h
>>conftest.
$ac_ext
34830 cat >>conftest.
$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34836 int main(int argc, char *argv[])
34839 #define main K_and_R_C_main
34849 rm -f conftest.
$ac_objext conftest
$ac_exeext
34850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34851 (eval $ac_link) 2>conftest.er1
34853 grep -v '^ *+' conftest.er1
>conftest.err
34855 cat conftest.err
>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } &&
34858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; } &&
34864 { ac_try
='test -s conftest$ac_exeext'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; }; then
34870 echo "*** The test program compiled, but did not run. This usually means"
34871 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34872 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34873 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34874 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34875 echo "*** is required on your system"
34877 echo "*** If you have an old version installed, it is best to remove it, although"
34878 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34880 echo "$as_me: failed program was:" >&5
34881 sed 's/^/| /' conftest.
$ac_ext >&5
34883 echo "*** The test program failed to compile or link. See the file config.log for the"
34884 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34885 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34886 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34888 rm -f conftest.err conftest.
$ac_objext \
34889 conftest
$ac_exeext conftest.
$ac_ext
34890 CFLAGS
="$ac_save_CFLAGS"
34891 LIBS
="$ac_save_LIBS"
34902 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34908 cat >>confdefs.h
<<\_ACEOF
34909 #define wxUSE_SOUND 1
34912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34915 if test "$WXGTK20" = 1; then
34916 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34917 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34922 if test -z "$PKG_CONFIG"; then
34923 # Extract the first word of "pkg-config", so it can be a program name with args.
34924 set dummy pkg
-config; ac_word
=$2
34925 echo "$as_me:$LINENO: checking for $ac_word" >&5
34926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34928 echo $ECHO_N "(cached) $ECHO_C" >&6
34930 case $PKG_CONFIG in
34932 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34936 for as_dir
in $PATH
34939 test -z "$as_dir" && as_dir
=.
34940 for ac_exec_ext
in '' $ac_executable_extensions; do
34941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34942 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34953 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34955 if test -n "$PKG_CONFIG"; then
34956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34957 echo "${ECHO_T}$PKG_CONFIG" >&6
34959 echo "$as_me:$LINENO: result: no" >&5
34960 echo "${ECHO_T}no" >&6
34965 if test "$PKG_CONFIG" = "no" ; then
34966 echo "*** The pkg-config script could not be found. Make sure it is"
34967 echo "*** in your path, or set the PKG_CONFIG environment variable"
34968 echo "*** to the full path to pkg-config."
34969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34971 PKG_CONFIG_MIN_VERSION
=0.9.0
34972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34973 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
34974 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
34976 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
34977 echo "$as_me:$LINENO: result: yes" >&5
34978 echo "${ECHO_T}yes" >&6
34981 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34982 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34983 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
34984 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34985 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34987 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34988 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34989 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
34990 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34991 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34993 LIBGNOMEPRINTUI_CFLAGS
=""
34994 LIBGNOMEPRINTUI_LIBS
=""
34995 ## If we have a custom action on failure, don't print errors, but
34996 ## do set a variable so people can do so.
34997 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35009 if test $succeeded = yes; then
35011 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35012 cat >>confdefs.h
<<\_ACEOF
35013 #define wxUSE_LIBGNOMEPRINT 1
35019 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35020 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35021 wxUSE_LIBGNOMEPRINT
="no"
35031 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35032 cat >>confdefs.h
<<\_ACEOF
35033 #define wxUSE_CMDLINE_PARSER 1
35038 if test "$wxUSE_STOPWATCH" = "yes"; then
35039 cat >>confdefs.h
<<\_ACEOF
35040 #define wxUSE_STOPWATCH 1
35045 if test "$wxUSE_DATETIME" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define wxUSE_DATETIME 1
35052 if test "$wxUSE_FILE" = "yes"; then
35053 cat >>confdefs.h
<<\_ACEOF
35054 #define wxUSE_FILE 1
35059 if test "$wxUSE_FFILE" = "yes"; then
35060 cat >>confdefs.h
<<\_ACEOF
35061 #define wxUSE_FFILE 1
35066 if test "$wxUSE_FILESYSTEM" = "yes"; then
35067 cat >>confdefs.h
<<\_ACEOF
35068 #define wxUSE_FILESYSTEM 1
35073 if test "$wxUSE_FS_ZIP" = "yes"; then
35074 cat >>confdefs.h
<<\_ACEOF
35075 #define wxUSE_FS_ZIP 1
35080 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35081 cat >>confdefs.h
<<\_ACEOF
35082 #define wxUSE_ZIPSTREAM 1
35087 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35088 cat >>confdefs.h
<<\_ACEOF
35089 #define wxUSE_ON_FATAL_EXCEPTION 1
35094 if test "$wxUSE_STACKWALKER" = "yes"; then
35095 cat >>confdefs.h
<<\_ACEOF
35096 #define wxUSE_STACKWALKER 1
35101 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35102 cat >>confdefs.h
<<\_ACEOF
35103 #define wxUSE_SNGLINST_CHECKER 1
35108 if test "$wxUSE_BUSYINFO" = "yes"; then
35109 cat >>confdefs.h
<<\_ACEOF
35110 #define wxUSE_BUSYINFO 1
35115 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35116 cat >>confdefs.h
<<\_ACEOF
35117 #define wxUSE_STD_IOSTREAM 1
35122 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35123 cat >>confdefs.h
<<\_ACEOF
35124 #define wxUSE_TEXTBUFFER 1
35129 if test "$wxUSE_TEXTFILE" = "yes"; then
35130 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35131 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35132 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35134 cat >>confdefs.h
<<\_ACEOF
35135 #define wxUSE_TEXTFILE 1
35141 if test "$wxUSE_CONFIG" = "yes" ; then
35142 if test "$wxUSE_TEXTFILE" != "yes"; then
35143 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35144 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35146 cat >>confdefs.h
<<\_ACEOF
35147 #define wxUSE_CONFIG 1
35150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35154 if test "$wxUSE_INTL" = "yes" ; then
35155 if test "$wxUSE_FILE" != "yes"; then
35156 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35157 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35159 cat >>confdefs.h
<<\_ACEOF
35160 #define wxUSE_INTL 1
35163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35164 GUIDIST
="$GUIDIST INTL_DIST"
35168 if test "$wxUSE_LOG" = "yes"; then
35169 cat >>confdefs.h
<<\_ACEOF
35170 #define wxUSE_LOG 1
35174 if test "$wxUSE_LOGGUI" = "yes"; then
35175 cat >>confdefs.h
<<\_ACEOF
35176 #define wxUSE_LOGGUI 1
35181 if test "$wxUSE_LOGWINDOW" = "yes"; then
35182 cat >>confdefs.h
<<\_ACEOF
35183 #define wxUSE_LOGWINDOW 1
35188 if test "$wxUSE_LOGDIALOG" = "yes"; then
35189 cat >>confdefs.h
<<\_ACEOF
35190 #define wxUSE_LOG_DIALOG 1
35196 if test "$wxUSE_LONGLONG" = "yes"; then
35197 cat >>confdefs.h
<<\_ACEOF
35198 #define wxUSE_LONGLONG 1
35203 if test "$wxUSE_GEOMETRY" = "yes"; then
35204 cat >>confdefs.h
<<\_ACEOF
35205 #define wxUSE_GEOMETRY 1
35210 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35211 cat >>confdefs.h
<<\_ACEOF
35212 #define wxUSE_DIALUP_MANAGER 1
35215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35218 if test "$wxUSE_STREAMS" = "yes" ; then
35219 cat >>confdefs.h
<<\_ACEOF
35220 #define wxUSE_STREAMS 1
35226 if test "$wxUSE_DATETIME" = "yes"; then
35228 for ac_func
in strptime
35230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35231 echo "$as_me:$LINENO: checking for $ac_func" >&5
35232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35233 if eval "test \"\${$as_ac_var+set}\" = set"; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 cat >conftest.
$ac_ext <<_ACEOF
35239 cat confdefs.h
>>conftest.
$ac_ext
35240 cat >>conftest.
$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35244 #define $ac_func innocuous_$ac_func
35246 /* System header to define __stub macros and hopefully few prototypes,
35247 which can conflict with char $ac_func (); below.
35248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35249 <limits.h> exists even on freestanding compilers. */
35252 # include <limits.h>
35254 # include <assert.h>
35259 /* Override any gcc2 internal prototype to avoid an error. */
35264 /* We use char because int might match the return type of a gcc2
35265 builtin and then its argument prototype would still apply. */
35267 /* The GNU C library defines this for functions which it implements
35268 to always fail with ENOSYS. Some functions are actually named
35269 something starting with __ and the normal name is an alias. */
35270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35273 char (*f) () = $ac_func;
35282 return f != $ac_func;
35287 rm -f conftest.
$ac_objext conftest
$ac_exeext
35288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35289 (eval $ac_link) 2>conftest.er1
35291 grep -v '^ *+' conftest.er1
>conftest.err
35293 cat conftest.err
>&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } &&
35296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35298 (eval $ac_try) 2>&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); }; } &&
35302 { ac_try
='test -s conftest$ac_exeext'
35303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304 (eval $ac_try) 2>&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; }; then
35308 eval "$as_ac_var=yes"
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.
$ac_ext >&5
35313 eval "$as_ac_var=no"
35315 rm -f conftest.err conftest.
$ac_objext \
35316 conftest
$ac_exeext conftest.
$ac_ext
35318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35320 if test `eval echo '${'$as_ac_var'}'` = yes; then
35321 cat >>confdefs.h
<<_ACEOF
35322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35329 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35330 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35331 if test "${wx_cv_var_timezone+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35355 rm -f conftest.
$ac_objext
35356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35357 (eval $ac_compile) 2>conftest.er1
35359 grep -v '^ *+' conftest.er1
>conftest.err
35361 cat conftest.err
>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } &&
35364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; } &&
35370 { ac_try
='test -s conftest.$ac_objext'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; }; then
35377 wx_cv_var_timezone
=timezone
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35384 cat >conftest.
$ac_ext <<_ACEOF
35387 cat confdefs.h
>>conftest.
$ac_ext
35388 cat >>conftest.
$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35404 rm -f conftest.
$ac_objext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35406 (eval $ac_compile) 2>conftest.er1
35408 grep -v '^ *+' conftest.er1
>conftest.err
35410 cat conftest.err
>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } &&
35413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; } &&
35419 { ac_try
='test -s conftest.$ac_objext'
35420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35421 (eval $ac_try) 2>&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); }; }; then
35426 wx_cv_var_timezone
=_timezone
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.
$ac_ext >&5
35433 cat >conftest.
$ac_ext <<_ACEOF
35436 cat confdefs.h
>>conftest.
$ac_ext
35437 cat >>conftest.
$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35453 rm -f conftest.
$ac_objext
35454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35455 (eval $ac_compile) 2>conftest.er1
35457 grep -v '^ *+' conftest.er1
>conftest.err
35459 cat conftest.err
>&5
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); } &&
35462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35464 (eval $ac_try) 2>&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); }; } &&
35468 { ac_try
='test -s conftest.$ac_objext'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; }; then
35475 wx_cv_var_timezone
=__timezone
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35482 if test "$USE_DOS" = 0 ; then
35483 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35484 echo "$as_me: WARNING: no timezone variable" >&2;}
35489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35501 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35502 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35504 if test "x$wx_cv_var_timezone" != x
; then
35505 cat >>confdefs.h
<<_ACEOF
35506 #define WX_TIMEZONE $wx_cv_var_timezone
35512 for ac_func
in localtime
35514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35515 echo "$as_me:$LINENO: checking for $ac_func" >&5
35516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35517 if eval "test \"\${$as_ac_var+set}\" = set"; then
35518 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 cat >conftest.
$ac_ext <<_ACEOF
35523 cat confdefs.h
>>conftest.
$ac_ext
35524 cat >>conftest.
$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35528 #define $ac_func innocuous_$ac_func
35530 /* System header to define __stub macros and hopefully few prototypes,
35531 which can conflict with char $ac_func (); below.
35532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35533 <limits.h> exists even on freestanding compilers. */
35536 # include <limits.h>
35538 # include <assert.h>
35543 /* Override any gcc2 internal prototype to avoid an error. */
35548 /* We use char because int might match the return type of a gcc2
35549 builtin and then its argument prototype would still apply. */
35551 /* The GNU C library defines this for functions which it implements
35552 to always fail with ENOSYS. Some functions are actually named
35553 something starting with __ and the normal name is an alias. */
35554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35557 char (*f) () = $ac_func;
35566 return f != $ac_func;
35571 rm -f conftest.
$ac_objext conftest
$ac_exeext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35573 (eval $ac_link) 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } &&
35580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; } &&
35586 { ac_try
='test -s conftest$ac_exeext'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; }; then
35592 eval "$as_ac_var=yes"
35594 echo "$as_me: failed program was:" >&5
35595 sed 's/^/| /' conftest.
$ac_ext >&5
35597 eval "$as_ac_var=no"
35599 rm -f conftest.err conftest.
$ac_objext \
35600 conftest
$ac_exeext conftest.
$ac_ext
35602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35604 if test `eval echo '${'$as_ac_var'}'` = yes; then
35605 cat >>confdefs.h
<<_ACEOF
35606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35613 if test "$ac_cv_func_localtime" = "yes"; then
35614 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35615 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35616 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35617 echo $ECHO_N "(cached) $ECHO_C" >&6
35620 cat >conftest.
$ac_ext <<_ACEOF
35623 cat confdefs.h
>>conftest.
$ac_ext
35624 cat >>conftest.
$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35640 rm -f conftest.
$ac_objext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35642 (eval $ac_compile) 2>conftest.er1
35644 grep -v '^ *+' conftest.er1
>conftest.err
35646 cat conftest.err
>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; } &&
35655 { ac_try
='test -s conftest.$ac_objext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35662 wx_cv_struct_tm_has_gmtoff
=yes
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.
$ac_ext >&5
35668 wx_cv_struct_tm_has_gmtoff
=no
35671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35674 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35675 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35678 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35679 cat >>confdefs.h
<<\_ACEOF
35680 #define WX_GMTOFF_IN_TM 1
35687 for ac_func
in gettimeofday ftime
35689 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35690 echo "$as_me:$LINENO: checking for $ac_func" >&5
35691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35692 if eval "test \"\${$as_ac_var+set}\" = set"; then
35693 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 cat >conftest.
$ac_ext <<_ACEOF
35698 cat confdefs.h
>>conftest.
$ac_ext
35699 cat >>conftest.
$ac_ext <<_ACEOF
35700 /* end confdefs.h. */
35701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35703 #define $ac_func innocuous_$ac_func
35705 /* System header to define __stub macros and hopefully few prototypes,
35706 which can conflict with char $ac_func (); below.
35707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35708 <limits.h> exists even on freestanding compilers. */
35711 # include <limits.h>
35713 # include <assert.h>
35718 /* Override any gcc2 internal prototype to avoid an error. */
35723 /* We use char because int might match the return type of a gcc2
35724 builtin and then its argument prototype would still apply. */
35726 /* The GNU C library defines this for functions which it implements
35727 to always fail with ENOSYS. Some functions are actually named
35728 something starting with __ and the normal name is an alias. */
35729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35732 char (*f) () = $ac_func;
35741 return f != $ac_func;
35746 rm -f conftest.
$ac_objext conftest
$ac_exeext
35747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35748 (eval $ac_link) 2>conftest.er1
35750 grep -v '^ *+' conftest.er1
>conftest.err
35752 cat conftest.err
>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } &&
35755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; } &&
35761 { ac_try
='test -s conftest$ac_exeext'
35762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35763 (eval $ac_try) 2>&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); }; }; then
35767 eval "$as_ac_var=yes"
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.
$ac_ext >&5
35772 eval "$as_ac_var=no"
35774 rm -f conftest.err conftest.
$ac_objext \
35775 conftest
$ac_exeext conftest.
$ac_ext
35777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35779 if test `eval echo '${'$as_ac_var'}'` = yes; then
35780 cat >>confdefs.h
<<_ACEOF
35781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35788 if test "$ac_cv_func_gettimeofday" = "yes"; then
35789 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35790 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35791 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 ac_cpp
='$CXXCPP $CPPFLAGS'
35799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35804 cat >conftest.
$ac_ext <<_ACEOF
35807 cat confdefs.h
>>conftest.
$ac_ext
35808 cat >>conftest.
$ac_ext <<_ACEOF
35809 /* end confdefs.h. */
35811 #include <sys/time.h>
35812 #include <unistd.h>
35819 gettimeofday(&tv, NULL);
35825 rm -f conftest.
$ac_objext
35826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35827 (eval $ac_compile) 2>conftest.er1
35829 grep -v '^ *+' conftest.er1
>conftest.err
35831 cat conftest.err
>&5
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); } &&
35834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35836 (eval $ac_try) 2>&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); }; } &&
35840 { ac_try
='test -s conftest.$ac_objext'
35841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35842 (eval $ac_try) 2>&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); }; }; then
35846 wx_cv_func_gettimeofday_has_2_args
=yes
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.
$ac_ext >&5
35851 cat >conftest.
$ac_ext <<_ACEOF
35854 cat confdefs.h
>>conftest.
$ac_ext
35855 cat >>conftest.
$ac_ext <<_ACEOF
35856 /* end confdefs.h. */
35858 #include <sys/time.h>
35859 #include <unistd.h>
35872 rm -f conftest.
$ac_objext
35873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35874 (eval $ac_compile) 2>conftest.er1
35876 grep -v '^ *+' conftest.er1
>conftest.err
35878 cat conftest.err
>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } &&
35881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; } &&
35887 { ac_try
='test -s conftest.$ac_objext'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; }; then
35893 wx_cv_func_gettimeofday_has_2_args
=no
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.
$ac_ext >&5
35899 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35900 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35901 wx_cv_func_gettimeofday_has_2_args
=unknown
35905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35910 ac_cpp
='$CPP $CPPFLAGS'
35911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35917 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35918 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35920 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35921 cat >>confdefs.h
<<\_ACEOF
35922 #define WX_GETTIMEOFDAY_NO_TZ 1
35928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35932 if test "$wxUSE_SOCKETS" = "yes"; then
35933 if test "$wxUSE_MGL" = "1"; then
35934 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35935 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35940 if test "$wxUSE_SOCKETS" = "yes"; then
35941 if test "$TOOLKIT" != "MSW"; then
35942 echo "$as_me:$LINENO: checking for socket" >&5
35943 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35944 if test "${ac_cv_func_socket+set}" = set; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 cat >conftest.
$ac_ext <<_ACEOF
35950 cat confdefs.h
>>conftest.
$ac_ext
35951 cat >>conftest.
$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35955 #define socket innocuous_socket
35957 /* System header to define __stub macros and hopefully few prototypes,
35958 which can conflict with char socket (); below.
35959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35960 <limits.h> exists even on freestanding compilers. */
35963 # include <limits.h>
35965 # include <assert.h>
35970 /* Override any gcc2 internal prototype to avoid an error. */
35975 /* We use char because int might match the return type of a gcc2
35976 builtin and then its argument prototype would still apply. */
35978 /* The GNU C library defines this for functions which it implements
35979 to always fail with ENOSYS. Some functions are actually named
35980 something starting with __ and the normal name is an alias. */
35981 #if defined (__stub_socket) || defined (__stub___socket)
35984 char (*f) () = socket;
35993 return f != socket;
35998 rm -f conftest.
$ac_objext conftest
$ac_exeext
35999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36000 (eval $ac_link) 2>conftest.er1
36002 grep -v '^ *+' conftest.er1
>conftest.err
36004 cat conftest.err
>&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } &&
36007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try
='test -s conftest$ac_exeext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 ac_cv_func_socket
=yes
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36024 ac_cv_func_socket
=no
36026 rm -f conftest.err conftest.
$ac_objext \
36027 conftest
$ac_exeext conftest.
$ac_ext
36029 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36030 echo "${ECHO_T}$ac_cv_func_socket" >&6
36031 if test $ac_cv_func_socket = yes; then
36035 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36036 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36037 if test "${ac_cv_lib_socket_socket+set}" = set; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 ac_check_lib_save_LIBS
=$LIBS
36041 LIBS
="-lsocket $LIBS"
36042 cat >conftest.
$ac_ext <<_ACEOF
36045 cat confdefs.h
>>conftest.
$ac_ext
36046 cat >>conftest.
$ac_ext <<_ACEOF
36047 /* end confdefs.h. */
36049 /* Override any gcc2 internal prototype to avoid an error. */
36053 /* We use char because int might match the return type of a gcc2
36054 builtin and then its argument prototype would still apply. */
36064 rm -f conftest.
$ac_objext conftest
$ac_exeext
36065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36066 (eval $ac_link) 2>conftest.er1
36068 grep -v '^ *+' conftest.er1
>conftest.err
36070 cat conftest.err
>&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); } &&
36073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36075 (eval $ac_try) 2>&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); }; } &&
36079 { ac_try
='test -s conftest$ac_exeext'
36080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081 (eval $ac_try) 2>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; }; then
36085 ac_cv_lib_socket_socket
=yes
36087 echo "$as_me: failed program was:" >&5
36088 sed 's/^/| /' conftest.
$ac_ext >&5
36090 ac_cv_lib_socket_socket
=no
36092 rm -f conftest.err conftest.
$ac_objext \
36093 conftest
$ac_exeext conftest.
$ac_ext
36094 LIBS
=$ac_check_lib_save_LIBS
36096 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36097 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36098 if test $ac_cv_lib_socket_socket = yes; then
36099 if test "$INET_LINK" != " -lsocket"; then
36100 INET_LINK
="$INET_LINK -lsocket"
36104 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36105 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36118 if test "$wxUSE_SOCKETS" = "yes" ; then
36119 if test "$TOOLKIT" != "MSW"; then
36121 ac_cpp
='$CXXCPP $CPPFLAGS'
36122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36126 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36127 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36128 if test "${wx_cv_type_getsockname3+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 cat >conftest.
$ac_ext <<_ACEOF
36135 cat confdefs.h
>>conftest.
$ac_ext
36136 cat >>conftest.
$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36139 #include <sys/types.h>
36140 #include <sys/socket.h>
36147 getsockname(0, 0, &len);
36153 rm -f conftest.
$ac_objext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36155 (eval $ac_compile) 2>conftest.er1
36157 grep -v '^ *+' conftest.er1
>conftest.err
36159 cat conftest.err
>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36164 (eval $ac_try) 2>&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); }; } &&
36168 { ac_try
='test -s conftest.$ac_objext'
36169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36170 (eval $ac_try) 2>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); }; }; then
36174 wx_cv_type_getsockname3
=socklen_t
36176 echo "$as_me: failed program was:" >&5
36177 sed 's/^/| /' conftest.
$ac_ext >&5
36180 CFLAGS_OLD
="$CFLAGS"
36181 if test "$GCC" = yes ; then
36182 CFLAGS
="$CFLAGS -Werror"
36185 cat >conftest.
$ac_ext <<_ACEOF
36188 cat confdefs.h
>>conftest.
$ac_ext
36189 cat >>conftest.
$ac_ext <<_ACEOF
36190 /* end confdefs.h. */
36192 #include <sys/types.h>
36193 #include <sys/socket.h>
36200 getsockname(0, 0, &len);
36206 rm -f conftest.
$ac_objext
36207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36208 (eval $ac_compile) 2>conftest.er1
36210 grep -v '^ *+' conftest.er1
>conftest.err
36212 cat conftest.err
>&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } &&
36215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36217 (eval $ac_try) 2>&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); }; } &&
36221 { ac_try
='test -s conftest.$ac_objext'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; }; then
36227 wx_cv_type_getsockname3
=size_t
36229 echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.
$ac_ext >&5
36232 cat >conftest.
$ac_ext <<_ACEOF
36235 cat confdefs.h
>>conftest.
$ac_ext
36236 cat >>conftest.
$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36239 #include <sys/types.h>
36240 #include <sys/socket.h>
36247 getsockname(0, 0, &len);
36253 rm -f conftest.
$ac_objext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36255 (eval $ac_compile) 2>conftest.er1
36257 grep -v '^ *+' conftest.er1
>conftest.err
36259 cat conftest.err
>&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } &&
36262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36264 (eval $ac_try) 2>&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); }; } &&
36268 { ac_try
='test -s conftest.$ac_objext'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; }; then
36274 wx_cv_type_getsockname3
=int
36276 echo "$as_me: failed program was:" >&5
36277 sed 's/^/| /' conftest.
$ac_ext >&5
36279 wx_cv_type_getsockname3
=unknown
36282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36287 CFLAGS
="$CFLAGS_OLD"
36291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36294 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36295 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36297 if test "$wx_cv_type_getsockname3" = "unknown"; then
36299 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36300 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36302 cat >>confdefs.h
<<_ACEOF
36303 #define SOCKLEN_T $wx_cv_type_getsockname3
36307 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36308 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36309 if test "${wx_cv_type_getsockopt5+set}" = set; then
36310 echo $ECHO_N "(cached) $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. */
36320 #include <sys/types.h>
36321 #include <sys/socket.h>
36328 getsockopt(0, 0, 0, 0, &len);
36334 rm -f conftest.
$ac_objext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36336 (eval $ac_compile) 2>conftest.er1
36338 grep -v '^ *+' conftest.er1
>conftest.err
36340 cat conftest.err
>&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } &&
36343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; } &&
36349 { ac_try
='test -s conftest.$ac_objext'
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 wx_cv_type_getsockopt5
=socklen_t
36357 echo "$as_me: failed program was:" >&5
36358 sed 's/^/| /' conftest.
$ac_ext >&5
36361 CFLAGS_OLD
="$CFLAGS"
36362 if test "$GCC" = yes ; then
36363 CFLAGS
="$CFLAGS -Werror"
36366 cat >conftest.
$ac_ext <<_ACEOF
36369 cat confdefs.h
>>conftest.
$ac_ext
36370 cat >>conftest.
$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36373 #include <sys/types.h>
36374 #include <sys/socket.h>
36381 getsockopt(0, 0, 0, 0, &len);
36387 rm -f conftest.
$ac_objext
36388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36389 (eval $ac_compile) 2>conftest.er1
36391 grep -v '^ *+' conftest.er1
>conftest.err
36393 cat conftest.err
>&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } &&
36396 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398 (eval $ac_try) 2>&5
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); }; } &&
36402 { ac_try
='test -s conftest.$ac_objext'
36403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404 (eval $ac_try) 2>&5
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); }; }; then
36408 wx_cv_type_getsockopt5
=size_t
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.
$ac_ext >&5
36413 cat >conftest.
$ac_ext <<_ACEOF
36416 cat confdefs.h
>>conftest.
$ac_ext
36417 cat >>conftest.
$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36420 #include <sys/types.h>
36421 #include <sys/socket.h>
36428 getsockopt(0, 0, 0, 0, &len);
36434 rm -f conftest.
$ac_objext
36435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36436 (eval $ac_compile) 2>conftest.er1
36438 grep -v '^ *+' conftest.er1
>conftest.err
36440 cat conftest.err
>&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); } &&
36443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36445 (eval $ac_try) 2>&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); }; } &&
36449 { ac_try
='test -s conftest.$ac_objext'
36450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36451 (eval $ac_try) 2>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); }; }; then
36455 wx_cv_type_getsockopt5
=int
36457 echo "$as_me: failed program was:" >&5
36458 sed 's/^/| /' conftest.
$ac_ext >&5
36460 wx_cv_type_getsockopt5
=unknown
36463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36468 CFLAGS
="$CFLAGS_OLD"
36472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36475 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36476 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36478 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36480 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36481 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36483 cat >>confdefs.h
<<_ACEOF
36484 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36489 ac_cpp
='$CPP $CPPFLAGS'
36490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36497 if test "$wxUSE_SOCKETS" = "yes" ; then
36498 cat >>confdefs.h
<<\_ACEOF
36499 #define wxUSE_SOCKETS 1
36502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36505 if test "$wxUSE_PROTOCOL" = "yes"; then
36506 if test "$wxUSE_SOCKETS" != "yes"; then
36507 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36508 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36513 if test "$wxUSE_PROTOCOL" = "yes"; then
36514 cat >>confdefs.h
<<\_ACEOF
36515 #define wxUSE_PROTOCOL 1
36519 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36520 cat >>confdefs.h
<<\_ACEOF
36521 #define wxUSE_PROTOCOL_HTTP 1
36525 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36526 cat >>confdefs.h
<<\_ACEOF
36527 #define wxUSE_PROTOCOL_FTP 1
36531 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36532 cat >>confdefs.h
<<\_ACEOF
36533 #define wxUSE_PROTOCOL_FILE 1
36538 if test "$wxUSE_FS_INET" = "yes"; then
36539 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36540 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36545 if test "$wxUSE_URL" = "yes"; then
36546 if test "$wxUSE_PROTOCOL" != "yes"; then
36547 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36548 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36551 if test "$wxUSE_URL" = "yes"; then
36552 cat >>confdefs.h
<<\_ACEOF
36553 #define wxUSE_URL 1
36559 if test "$wxUSE_FS_INET" = "yes"; then
36560 cat >>confdefs.h
<<\_ACEOF
36561 #define wxUSE_FS_INET 1
36567 if test "$wxUSE_GUI" = "yes"; then
36569 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36570 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36571 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36575 if test "$TOOLKIT" != "MSW"; then
36576 if test "$wxUSE_JOYSTICK" = "yes"; then
36578 for ac_header
in linux
/joystick.h
36580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36582 echo "$as_me:$LINENO: checking for $ac_header" >&5
36583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36585 echo $ECHO_N "(cached) $ECHO_C" >&6
36587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36590 # Is the header compilable?
36591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36593 cat >conftest.
$ac_ext <<_ACEOF
36596 cat confdefs.h
>>conftest.
$ac_ext
36597 cat >>conftest.
$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 $ac_includes_default
36600 #include <$ac_header>
36602 rm -f conftest.
$ac_objext
36603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36604 (eval $ac_compile) 2>conftest.er1
36606 grep -v '^ *+' conftest.er1
>conftest.err
36608 cat conftest.err
>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } &&
36611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36613 (eval $ac_try) 2>&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); }; } &&
36617 { ac_try
='test -s conftest.$ac_objext'
36618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36619 (eval $ac_try) 2>&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); }; }; then
36623 ac_header_compiler
=yes
36625 echo "$as_me: failed program was:" >&5
36626 sed 's/^/| /' conftest.
$ac_ext >&5
36628 ac_header_compiler
=no
36630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36632 echo "${ECHO_T}$ac_header_compiler" >&6
36634 # Is the header present?
36635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36637 cat >conftest.
$ac_ext <<_ACEOF
36640 cat confdefs.h
>>conftest.
$ac_ext
36641 cat >>conftest.
$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 #include <$ac_header>
36645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36646 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36648 grep -v '^ *+' conftest.er1
>conftest.err
36650 cat conftest.err
>&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); } >/dev
/null
; then
36653 if test -s conftest.err
; then
36654 ac_cpp_err
=$ac_c_preproc_warn_flag
36655 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36662 if test -z "$ac_cpp_err"; then
36663 ac_header_preproc
=yes
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.
$ac_ext >&5
36668 ac_header_preproc
=no
36670 rm -f conftest.err conftest.
$ac_ext
36671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36672 echo "${ECHO_T}$ac_header_preproc" >&6
36674 # So? What about this header?
36675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36681 ac_header_preproc
=yes
36684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36698 ## ----------------------------------------- ##
36699 ## Report this to wx-dev@lists.wxwidgets.org ##
36700 ## ----------------------------------------- ##
36703 sed "s/^/$as_me: WARNING: /" >&2
36706 echo "$as_me:$LINENO: checking for $ac_header" >&5
36707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36711 eval "$as_ac_Header=\$ac_header_preproc"
36713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36718 cat >>confdefs.h
<<_ACEOF
36719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36726 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36728 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36729 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36734 if test "$wxUSE_JOYSTICK" = "yes"; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define wxUSE_JOYSTICK 1
36739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36745 if test "$wxUSE_FONTMAP" = "yes" ; then
36746 cat >>confdefs.h
<<\_ACEOF
36747 #define wxUSE_FONTMAP 1
36752 if test "$wxUSE_UNICODE" = "yes" ; then
36753 cat >>confdefs.h
<<\_ACEOF
36754 #define wxUSE_UNICODE 1
36758 if test "$USE_WIN32" != 1; then
36759 wxUSE_UNICODE_MSLU
=no
36762 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36763 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36764 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36765 if test "${ac_cv_lib_unicows_main+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 ac_check_lib_save_LIBS
=$LIBS
36769 LIBS
="-lunicows $LIBS"
36770 cat >conftest.
$ac_ext <<_ACEOF
36773 cat confdefs.h
>>conftest.
$ac_ext
36774 cat >>conftest.
$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36786 rm -f conftest.
$ac_objext conftest
$ac_exeext
36787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36788 (eval $ac_link) 2>conftest.er1
36790 grep -v '^ *+' conftest.er1
>conftest.err
36792 cat conftest.err
>&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } &&
36795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36797 (eval $ac_try) 2>&5
36799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36800 (exit $ac_status); }; } &&
36801 { ac_try
='test -s conftest$ac_exeext'
36802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36803 (eval $ac_try) 2>&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); }; }; then
36807 ac_cv_lib_unicows_main
=yes
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.
$ac_ext >&5
36812 ac_cv_lib_unicows_main
=no
36814 rm -f conftest.err conftest.
$ac_objext \
36815 conftest
$ac_exeext conftest.
$ac_ext
36816 LIBS
=$ac_check_lib_save_LIBS
36818 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36819 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36820 if test $ac_cv_lib_unicows_main = yes; then
36822 cat >>confdefs.h
<<\_ACEOF
36823 #define wxUSE_UNICODE_MSLU 1
36829 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36830 Applications will only run on Windows NT/2000/XP!" >&5
36831 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36832 Applications will only run on Windows NT/2000/XP!" >&2;}
36833 wxUSE_UNICODE_MSLU
=no
36840 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define wxUSE_EXPERIMENTAL_PRINTF 1
36848 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36849 cat >>confdefs.h
<<\_ACEOF
36850 #define wxUSE_POSTSCRIPT 1
36855 cat >>confdefs.h
<<\_ACEOF
36856 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36860 cat >>confdefs.h
<<\_ACEOF
36861 #define wxUSE_NORMALIZED_PS_FONTS 1
36866 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_CONSTRAINTS 1
36871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36874 if test "$wxUSE_MDI" = "yes"; then
36875 cat >>confdefs.h
<<\_ACEOF
36876 #define wxUSE_MDI 1
36880 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36881 cat >>confdefs.h
<<\_ACEOF
36882 #define wxUSE_MDI_ARCHITECTURE 1
36885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36889 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36895 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36900 if test "$wxUSE_HELP" = "yes"; then
36901 cat >>confdefs.h
<<\_ACEOF
36902 #define wxUSE_HELP 1
36905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36907 if test "$wxUSE_MSW" = 1; then
36908 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36909 cat >>confdefs.h
<<\_ACEOF
36910 #define wxUSE_MS_HTML_HELP 1
36916 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36917 if test "$wxUSE_HTML" = "yes"; then
36918 cat >>confdefs.h
<<\_ACEOF
36919 #define wxUSE_WXHTML_HELP 1
36923 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36924 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36925 wxUSE_WXHTML_HELP
=no
36930 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36931 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36932 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36933 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define wxUSE_PRINTING_ARCHITECTURE 1
36940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36943 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36944 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36945 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36946 { (exit 1); exit 1; }; }
36950 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36951 -o "$wxUSE_CLIPBOARD" = "yes" \
36952 -o "$wxUSE_OLE" = "yes" \
36953 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36955 for ac_header
in ole2.h
36957 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36959 echo "$as_me:$LINENO: checking for $ac_header" >&5
36960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36962 echo $ECHO_N "(cached) $ECHO_C" >&6
36964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36967 # Is the header compilable?
36968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36970 cat >conftest.
$ac_ext <<_ACEOF
36973 cat confdefs.h
>>conftest.
$ac_ext
36974 cat >>conftest.
$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36976 $ac_includes_default
36977 #include <$ac_header>
36979 rm -f conftest.
$ac_objext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36981 (eval $ac_compile) 2>conftest.er1
36983 grep -v '^ *+' conftest.er1
>conftest.err
36985 cat conftest.err
>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try
='test -s conftest.$ac_objext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 ac_header_compiler
=yes
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.
$ac_ext >&5
37005 ac_header_compiler
=no
37007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37009 echo "${ECHO_T}$ac_header_compiler" >&6
37011 # Is the header present?
37012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37014 cat >conftest.
$ac_ext <<_ACEOF
37017 cat confdefs.h
>>conftest.
$ac_ext
37018 cat >>conftest.
$ac_ext <<_ACEOF
37019 /* end confdefs.h. */
37020 #include <$ac_header>
37022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37025 grep -v '^ *+' conftest.er1
>conftest.err
37027 cat conftest.err
>&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); } >/dev
/null
; then
37030 if test -s conftest.err
; then
37031 ac_cpp_err
=$ac_c_preproc_warn_flag
37032 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37039 if test -z "$ac_cpp_err"; then
37040 ac_header_preproc
=yes
37042 echo "$as_me: failed program was:" >&5
37043 sed 's/^/| /' conftest.
$ac_ext >&5
37045 ac_header_preproc
=no
37047 rm -f conftest.err conftest.
$ac_ext
37048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37049 echo "${ECHO_T}$ac_header_preproc" >&6
37051 # So? What about this header?
37052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37058 ac_header_preproc
=yes
37061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37075 ## ----------------------------------------- ##
37076 ## Report this to wx-dev@lists.wxwidgets.org ##
37077 ## ----------------------------------------- ##
37080 sed "s/^/$as_me: WARNING: /" >&2
37083 echo "$as_me:$LINENO: checking for $ac_header" >&5
37084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37086 echo $ECHO_N "(cached) $ECHO_C" >&6
37088 eval "$as_ac_Header=\$ac_header_preproc"
37090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37095 cat >>confdefs.h
<<_ACEOF
37096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37104 if test "$ac_cv_header_ole2_h" = "yes" ; then
37105 if test "$GCC" = yes ; then
37109 ac_cpp
='$CXXCPP $CPPFLAGS'
37110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37115 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37116 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37117 cat >conftest.
$ac_ext <<_ACEOF
37120 cat confdefs.h
>>conftest.
$ac_ext
37121 cat >>conftest.
$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 #include <windows.h>
37133 rm -f conftest.
$ac_objext
37134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37135 (eval $ac_compile) 2>conftest.er1
37137 grep -v '^ *+' conftest.er1
>conftest.err
37139 cat conftest.err
>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } &&
37142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37144 (eval $ac_try) 2>&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); }; } &&
37148 { ac_try
='test -s conftest.$ac_objext'
37149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37150 (eval $ac_try) 2>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); }; }; then
37154 echo "$as_me:$LINENO: result: no" >&5
37155 echo "${ECHO_T}no" >&6
37157 echo "$as_me: failed program was:" >&5
37158 sed 's/^/| /' conftest.
$ac_ext >&5
37160 echo "$as_me:$LINENO: result: yes" >&5
37161 echo "${ECHO_T}yes" >&6
37162 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37166 ac_cpp
='$CPP $CPPFLAGS'
37167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37171 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37172 if test "$wxUSE_OLE" = "yes" ; then
37173 cat >>confdefs.h
<<\_ACEOF
37174 #define wxUSE_OLE 1
37180 if test "$wxUSE_DATAOBJ" = "yes" ; then
37181 cat >>confdefs.h
<<\_ACEOF
37182 #define wxUSE_DATAOBJ 1
37187 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37188 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37191 wxUSE_DRAG_AND_DROP
=no
37196 if test "$wxUSE_METAFILE" = "yes"; then
37197 cat >>confdefs.h
<<\_ACEOF
37198 #define wxUSE_METAFILE 1
37202 cat >>confdefs.h
<<\_ACEOF
37203 #define wxUSE_ENH_METAFILE 1
37209 if test "$wxUSE_IPC" = "yes"; then
37210 if test "$wxUSE_SOCKETS" != "yes"; then
37211 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37212 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37215 cat >>confdefs.h
<<\_ACEOF
37216 #define wxUSE_IPC 1
37221 if test "$wxUSE_CLIPBOARD" = "yes"; then
37222 if test "$wxUSE_MGL" = 1; then
37223 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37224 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37228 if test "$wxUSE_CLIPBOARD" = "yes"; then
37229 cat >>confdefs.h
<<\_ACEOF
37230 #define wxUSE_CLIPBOARD 1
37234 cat >>confdefs.h
<<\_ACEOF
37235 #define wxUSE_DATAOBJ 1
37241 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37242 if test "$wxUSE_GTK" = 1; then
37243 if test "$WXGTK12" != 1; then
37244 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37245 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37246 wxUSE_DRAG_AND_DROP
=no
37250 if test "$wxUSE_MOTIF" = 1; then
37251 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37252 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37253 wxUSE_DRAG_AND_DROP
=no
37256 if test "$wxUSE_X11" = 1; then
37257 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37258 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37259 wxUSE_DRAG_AND_DROP
=no
37262 if test "$wxUSE_MGL" = 1; then
37263 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37264 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37265 wxUSE_DRAG_AND_DROP
=no
37268 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37269 cat >>confdefs.h
<<\_ACEOF
37270 #define wxUSE_DRAG_AND_DROP 1
37277 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37281 if test "$wxUSE_SPLINES" = "yes" ; then
37282 cat >>confdefs.h
<<\_ACEOF
37283 #define wxUSE_SPLINES 1
37290 if test "$wxUSE_CONTROLS" = "yes"; then
37294 if test "$wxUSE_ACCEL" = "yes"; then
37295 cat >>confdefs.h
<<\_ACEOF
37296 #define wxUSE_ACCEL 1
37302 if test "$wxUSE_BUTTON" = "yes"; then
37303 cat >>confdefs.h
<<\_ACEOF
37304 #define wxUSE_BUTTON 1
37310 if test "$wxUSE_BMPBUTTON" = "yes"; then
37311 cat >>confdefs.h
<<\_ACEOF
37312 #define wxUSE_BMPBUTTON 1
37318 if test "$wxUSE_CALCTRL" = "yes"; then
37319 cat >>confdefs.h
<<\_ACEOF
37320 #define wxUSE_CALENDARCTRL 1
37324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37327 if test "$wxUSE_CARET" = "yes"; then
37328 cat >>confdefs.h
<<\_ACEOF
37329 #define wxUSE_CARET 1
37333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37336 if test "$wxUSE_COMBOBOX" = "yes"; then
37337 cat >>confdefs.h
<<\_ACEOF
37338 #define wxUSE_COMBOBOX 1
37344 if test "$wxUSE_CHOICE" = "yes"; then
37345 cat >>confdefs.h
<<\_ACEOF
37346 #define wxUSE_CHOICE 1
37352 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37353 cat >>confdefs.h
<<\_ACEOF
37354 #define wxUSE_CHOICEBOOK 1
37360 if test "$wxUSE_CHECKBOX" = "yes"; then
37361 cat >>confdefs.h
<<\_ACEOF
37362 #define wxUSE_CHECKBOX 1
37368 if test "$wxUSE_CHECKLST" = "yes"; then
37369 cat >>confdefs.h
<<\_ACEOF
37370 #define wxUSE_CHECKLISTBOX 1
37374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37377 if test "$wxUSE_DISPLAY" = "yes"; then
37378 cat >>confdefs.h
<<\_ACEOF
37379 #define wxUSE_DISPLAY 1
37382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37385 if test "$wxUSE_GAUGE" = "yes"; then
37386 cat >>confdefs.h
<<\_ACEOF
37387 #define wxUSE_GAUGE 1
37393 if test "$wxUSE_GRID" = "yes"; then
37394 cat >>confdefs.h
<<\_ACEOF
37395 #define wxUSE_GRID 1
37399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37402 if test "$wxUSE_IMAGLIST" = "yes"; then
37403 cat >>confdefs.h
<<\_ACEOF
37404 #define wxUSE_IMAGLIST 1
37409 if test "$wxUSE_LISTBOOK" = "yes"; then
37410 cat >>confdefs.h
<<\_ACEOF
37411 #define wxUSE_LISTBOOK 1
37417 if test "$wxUSE_LISTBOX" = "yes"; then
37418 cat >>confdefs.h
<<\_ACEOF
37419 #define wxUSE_LISTBOX 1
37425 if test "$wxUSE_LISTCTRL" = "yes"; then
37426 if test "$wxUSE_IMAGLIST" = "yes"; then
37427 cat >>confdefs.h
<<\_ACEOF
37428 #define wxUSE_LISTCTRL 1
37432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37434 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37435 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37439 if test "$wxUSE_NOTEBOOK" = "yes"; then
37440 cat >>confdefs.h
<<\_ACEOF
37441 #define wxUSE_NOTEBOOK 1
37445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37449 if test "$wxUSE_RADIOBOX" = "yes"; then
37450 cat >>confdefs.h
<<\_ACEOF
37451 #define wxUSE_RADIOBOX 1
37457 if test "$wxUSE_RADIOBTN" = "yes"; then
37458 cat >>confdefs.h
<<\_ACEOF
37459 #define wxUSE_RADIOBTN 1
37465 if test "$wxUSE_SASH" = "yes"; then
37466 cat >>confdefs.h
<<\_ACEOF
37467 #define wxUSE_SASH 1
37470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37473 if test "$wxUSE_SCROLLBAR" = "yes"; then
37474 cat >>confdefs.h
<<\_ACEOF
37475 #define wxUSE_SCROLLBAR 1
37479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37482 if test "$wxUSE_SLIDER" = "yes"; then
37483 cat >>confdefs.h
<<\_ACEOF
37484 #define wxUSE_SLIDER 1
37490 if test "$wxUSE_SPINBTN" = "yes"; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define wxUSE_SPINBTN 1
37498 if test "$wxUSE_SPINCTRL" = "yes"; then
37499 cat >>confdefs.h
<<\_ACEOF
37500 #define wxUSE_SPINCTRL 1
37506 if test "$wxUSE_SPLITTER" = "yes"; then
37507 cat >>confdefs.h
<<\_ACEOF
37508 #define wxUSE_SPLITTER 1
37511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37514 if test "$wxUSE_STATBMP" = "yes"; then
37515 cat >>confdefs.h
<<\_ACEOF
37516 #define wxUSE_STATBMP 1
37522 if test "$wxUSE_STATBOX" = "yes"; then
37523 cat >>confdefs.h
<<\_ACEOF
37524 #define wxUSE_STATBOX 1
37530 if test "$wxUSE_STATTEXT" = "yes"; then
37531 cat >>confdefs.h
<<\_ACEOF
37532 #define wxUSE_STATTEXT 1
37538 if test "$wxUSE_STATLINE" = "yes"; then
37539 cat >>confdefs.h
<<\_ACEOF
37540 #define wxUSE_STATLINE 1
37546 if test "$wxUSE_STATUSBAR" = "yes"; then
37547 cat >>confdefs.h
<<\_ACEOF
37548 #define wxUSE_NATIVE_STATUSBAR 1
37551 cat >>confdefs.h
<<\_ACEOF
37552 #define wxUSE_STATUSBAR 1
37557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37560 if test "$wxUSE_TABDIALOG" = "yes"; then
37561 cat >>confdefs.h
<<\_ACEOF
37562 #define wxUSE_TAB_DIALOG 1
37565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37568 if test "$wxUSE_TEXTCTRL" = "yes"; then
37569 cat >>confdefs.h
<<\_ACEOF
37570 #define wxUSE_TEXTCTRL 1
37574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37577 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37578 if test "$wxUSE_COCOA" = 1 ; then
37579 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37580 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37583 if test "$wxUSE_PM" = 1; then
37584 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37585 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37589 if test "$wxUSE_UNIVERSAL" = "yes"; then
37590 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37591 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37595 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37596 cat >>confdefs.h
<<\_ACEOF
37597 #define wxUSE_TOGGLEBTN 1
37604 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37605 cat >>confdefs.h
<<\_ACEOF
37606 #define wxUSE_TOOLBAR_SIMPLE 1
37609 wxUSE_TOOLBAR
="yes"
37613 if test "$wxUSE_TOOLBAR" = "yes"; then
37614 cat >>confdefs.h
<<\_ACEOF
37615 #define wxUSE_TOOLBAR 1
37620 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37621 wxUSE_TOOLBAR_NATIVE
="yes"
37624 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37625 cat >>confdefs.h
<<\_ACEOF
37626 #define wxUSE_TOOLBAR_NATIVE 1
37632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37635 if test "$wxUSE_TOOLTIPS" = "yes"; then
37636 if test "$wxUSE_MOTIF" = 1; then
37637 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37638 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37640 if test "$wxUSE_UNIVERSAL" = "yes"; then
37641 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37642 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37644 cat >>confdefs.h
<<\_ACEOF
37645 #define wxUSE_TOOLTIPS 1
37652 if test "$wxUSE_TREECTRL" = "yes"; then
37653 if test "$wxUSE_IMAGLIST" = "yes"; then
37654 cat >>confdefs.h
<<\_ACEOF
37655 #define wxUSE_TREECTRL 1
37659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37661 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37662 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37666 if test "$wxUSE_POPUPWIN" = "yes"; then
37667 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37668 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37669 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37671 if test "$wxUSE_PM" = 1; then
37672 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37673 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37675 cat >>confdefs.h
<<\_ACEOF
37676 #define wxUSE_POPUPWIN 1
37685 if test "$wxUSE_TIPWINDOW" = "yes"; then
37686 if test "$wxUSE_PM" = 1; then
37687 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37688 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37690 cat >>confdefs.h
<<\_ACEOF
37691 #define wxUSE_TIPWINDOW 1
37697 if test "$USES_CONTROLS" = 1; then
37698 cat >>confdefs.h
<<\_ACEOF
37699 #define wxUSE_CONTROLS 1
37705 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37706 cat >>confdefs.h
<<\_ACEOF
37707 #define wxUSE_ACCESSIBILITY 1
37710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37713 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37714 cat >>confdefs.h
<<\_ACEOF
37715 #define wxUSE_DRAGIMAGE 1
37718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37721 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37722 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37723 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37724 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37726 cat >>confdefs.h
<<\_ACEOF
37727 #define wxUSE_EXCEPTIONS 1
37730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37735 if test "$wxUSE_HTML" = "yes"; then
37736 cat >>confdefs.h
<<\_ACEOF
37737 #define wxUSE_HTML 1
37741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37742 if test "$wxUSE_MAC" = 1; then
37743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37746 if test "$wxUSE_WEBKIT" = "yes"; then
37747 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37748 old_CPPFLAGS
="$CPPFLAGS"
37749 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37750 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37751 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37752 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37753 echo $ECHO_N "(cached) $ECHO_C" >&6
37755 cat >conftest.
$ac_ext <<_ACEOF
37758 cat confdefs.h
>>conftest.
$ac_ext
37759 cat >>conftest.
$ac_ext <<_ACEOF
37760 /* end confdefs.h. */
37761 #include <Carbon/Carbon.h>
37763 #include <WebKit/HIWebView.h>
37765 rm -f conftest.
$ac_objext
37766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37767 (eval $ac_compile) 2>conftest.er1
37769 grep -v '^ *+' conftest.er1
>conftest.err
37771 cat conftest.err
>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; } &&
37780 { ac_try
='test -s conftest.$ac_objext'
37781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37782 (eval $ac_try) 2>&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; }; then
37786 ac_cv_header_WebKit_HIWebView_h
=yes
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.
$ac_ext >&5
37791 ac_cv_header_WebKit_HIWebView_h
=no
37793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37795 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37796 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37797 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37799 cat >>confdefs.h
<<\_ACEOF
37800 #define wxUSE_WEBKIT 1
37803 WEBKIT_LINK
="-framework WebKit"
37807 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37808 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37814 CPPFLAGS
="$old_CPPFLAGS"
37815 elif test "$wxUSE_COCOA" = 1; then
37816 cat >>confdefs.h
<<\_ACEOF
37817 #define wxUSE_WEBKIT 1
37826 if test "$wxUSE_XRC" = "yes"; then
37827 if test "$wxUSE_XML" != "yes"; then
37828 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37829 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37832 cat >>confdefs.h
<<\_ACEOF
37833 #define wxUSE_XRC 1
37837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37841 if test "$wxUSE_MENUS" = "yes"; then
37842 cat >>confdefs.h
<<\_ACEOF
37843 #define wxUSE_MENUS 1
37846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37849 if test "$wxUSE_METAFILE" = "yes"; then
37850 cat >>confdefs.h
<<\_ACEOF
37851 #define wxUSE_METAFILE 1
37856 if test "$wxUSE_MIMETYPE" = "yes"; then
37857 cat >>confdefs.h
<<\_ACEOF
37858 #define wxUSE_MIMETYPE 1
37863 if test "$wxUSE_MINIFRAME" = "yes"; then
37864 cat >>confdefs.h
<<\_ACEOF
37865 #define wxUSE_MINIFRAME 1
37868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37871 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37872 cat >>confdefs.h
<<\_ACEOF
37873 #define wxUSE_SYSTEM_OPTIONS 1
37876 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37877 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37883 if test "$wxUSE_VALIDATORS" = "yes"; then
37884 cat >>confdefs.h
<<\_ACEOF
37885 #define wxUSE_VALIDATORS 1
37888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37891 if test "$wxUSE_PALETTE" = "yes" ; then
37892 cat >>confdefs.h
<<\_ACEOF
37893 #define wxUSE_PALETTE 1
37898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37899 LIBS
=" -lunicows $LIBS"
37903 if test "$wxUSE_IMAGE" = "yes" ; then
37904 cat >>confdefs.h
<<\_ACEOF
37905 #define wxUSE_IMAGE 1
37909 if test "$wxUSE_GIF" = "yes" ; then
37910 cat >>confdefs.h
<<\_ACEOF
37911 #define wxUSE_GIF 1
37916 if test "$wxUSE_PCX" = "yes" ; then
37917 cat >>confdefs.h
<<\_ACEOF
37918 #define wxUSE_PCX 1
37923 if test "$wxUSE_IFF" = "yes" ; then
37924 cat >>confdefs.h
<<\_ACEOF
37925 #define wxUSE_IFF 1
37930 if test "$wxUSE_PNM" = "yes" ; then
37931 cat >>confdefs.h
<<\_ACEOF
37932 #define wxUSE_PNM 1
37937 if test "$wxUSE_XPM" = "yes" ; then
37938 cat >>confdefs.h
<<\_ACEOF
37939 #define wxUSE_XPM 1
37944 if test "$wxUSE_ICO_CUR" = "yes" ; then
37945 cat >>confdefs.h
<<\_ACEOF
37946 #define wxUSE_ICO_CUR 1
37953 if test "$wxUSE_CHOICEDLG" = "yes"; then
37954 cat >>confdefs.h
<<\_ACEOF
37955 #define wxUSE_CHOICEDLG 1
37960 if test "$wxUSE_COLOURDLG" = "yes"; then
37961 cat >>confdefs.h
<<\_ACEOF
37962 #define wxUSE_COLOURDLG 1
37967 if test "$wxUSE_FILEDLG" = "yes"; then
37968 cat >>confdefs.h
<<\_ACEOF
37969 #define wxUSE_FILEDLG 1
37974 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37975 cat >>confdefs.h
<<\_ACEOF
37976 #define wxUSE_FINDREPLDLG 1
37981 if test "$wxUSE_FONTDLG" = "yes"; then
37982 cat >>confdefs.h
<<\_ACEOF
37983 #define wxUSE_FONTDLG 1
37988 if test "$wxUSE_DIRDLG" = "yes"; then
37989 if test "$wxUSE_TREECTRL" != "yes"; then
37990 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37991 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37993 cat >>confdefs.h
<<\_ACEOF
37994 #define wxUSE_DIRDLG 1
38000 if test "$wxUSE_MSGDLG" = "yes"; then
38001 cat >>confdefs.h
<<\_ACEOF
38002 #define wxUSE_MSGDLG 1
38007 if test "$wxUSE_NUMBERDLG" = "yes"; then
38008 cat >>confdefs.h
<<\_ACEOF
38009 #define wxUSE_NUMBERDLG 1
38014 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38015 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38016 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38017 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38019 cat >>confdefs.h
<<\_ACEOF
38020 #define wxUSE_PROGRESSDLG 1
38026 if test "$wxUSE_SPLASH" = "yes"; then
38027 cat >>confdefs.h
<<\_ACEOF
38028 #define wxUSE_SPLASH 1
38031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38034 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38035 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38036 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38037 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38039 cat >>confdefs.h
<<\_ACEOF
38040 #define wxUSE_STARTUP_TIPS 1
38046 if test "$wxUSE_TEXTDLG" = "yes"; then
38047 cat >>confdefs.h
<<\_ACEOF
38048 #define wxUSE_TEXTDLG 1
38053 if test "$wxUSE_WIZARDDLG" = "yes"; then
38054 cat >>confdefs.h
<<\_ACEOF
38055 #define wxUSE_WIZARDDLG 1
38058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38062 if test "$cross_compiling" = "yes"; then
38065 OSINFO
=`uname -s -r -m`
38066 OSINFO
="\"$OSINFO\""
38069 cat >>confdefs.h
<<_ACEOF
38070 #define WXWIN_OS_DESCRIPTION $OSINFO
38075 if test "x$prefix" != "xNONE"; then
38078 wxPREFIX
=$ac_default_prefix
38081 cat >>confdefs.h
<<_ACEOF
38082 #define wxINSTALL_PREFIX "$wxPREFIX"
38088 CORE_BASE_LIBS
="net base"
38089 CORE_GUI_LIBS
="adv core"
38091 if test "$wxUSE_XML" = "yes" ; then
38092 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38094 if test "$wxUSE_ODBC" != "no" ; then
38095 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38096 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38098 if test "$wxUSE_HTML" = "yes" ; then
38099 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38101 if test "$wxUSE_XRC" = "yes" ; then
38102 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38105 if test "$wxUSE_GUI" != "yes"; then
38116 if test "$wxUSE_MAC" = 1 ; then
38117 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38118 if test "$USE_DARWIN" = 1; then
38119 LDFLAGS
="$LDFLAGS -framework QuickTime"
38121 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38124 if test "$USE_DARWIN" = 1; then
38125 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38127 LDFLAGS
="$LDFLAGS -lCarbonLib"
38130 if test "$wxUSE_COCOA" = 1 ; then
38131 LDFLAGS
="$LDFLAGS -framework Cocoa"
38135 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38143 echo "$as_me:$LINENO: checking for $ac_func" >&5
38144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38145 if eval "test \"\${$as_ac_var+set}\" = set"; then
38146 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 cat >conftest.
$ac_ext <<_ACEOF
38151 cat confdefs.h
>>conftest.
$ac_ext
38152 cat >>conftest.
$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38156 #define $ac_func innocuous_$ac_func
38158 /* System header to define __stub macros and hopefully few prototypes,
38159 which can conflict with char $ac_func (); below.
38160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38161 <limits.h> exists even on freestanding compilers. */
38164 # include <limits.h>
38166 # include <assert.h>
38171 /* Override any gcc2 internal prototype to avoid an error. */
38176 /* We use char because int might match the return type of a gcc2
38177 builtin and then its argument prototype would still apply. */
38179 /* The GNU C library defines this for functions which it implements
38180 to always fail with ENOSYS. Some functions are actually named
38181 something starting with __ and the normal name is an alias. */
38182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38185 char (*f) () = $ac_func;
38194 return f != $ac_func;
38199 rm -f conftest.
$ac_objext conftest
$ac_exeext
38200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38201 (eval $ac_link) 2>conftest.er1
38203 grep -v '^ *+' conftest.er1
>conftest.err
38205 cat conftest.err
>&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } &&
38208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; } &&
38214 { ac_try
='test -s conftest$ac_exeext'
38215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38216 (eval $ac_try) 2>&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); }; }; then
38220 eval "$as_ac_var=yes"
38222 echo "$as_me: failed program was:" >&5
38223 sed 's/^/| /' conftest.
$ac_ext >&5
38225 eval "$as_ac_var=no"
38227 rm -f conftest.err conftest.
$ac_objext \
38228 conftest
$ac_exeext conftest.
$ac_ext
38230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38232 if test `eval echo '${'$as_ac_var'}'` = yes; then
38233 cat >>confdefs.h
<<_ACEOF
38234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38241 for ac_func
in floor
38243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38244 echo "$as_me:$LINENO: checking for $ac_func" >&5
38245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38246 if eval "test \"\${$as_ac_var+set}\" = set"; then
38247 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 cat >conftest.
$ac_ext <<_ACEOF
38252 cat confdefs.h
>>conftest.
$ac_ext
38253 cat >>conftest.
$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38257 #define $ac_func innocuous_$ac_func
38259 /* System header to define __stub macros and hopefully few prototypes,
38260 which can conflict with char $ac_func (); below.
38261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38262 <limits.h> exists even on freestanding compilers. */
38265 # include <limits.h>
38267 # include <assert.h>
38272 /* Override any gcc2 internal prototype to avoid an error. */
38277 /* We use char because int might match the return type of a gcc2
38278 builtin and then its argument prototype would still apply. */
38280 /* The GNU C library defines this for functions which it implements
38281 to always fail with ENOSYS. Some functions are actually named
38282 something starting with __ and the normal name is an alias. */
38283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38286 char (*f) () = $ac_func;
38295 return f != $ac_func;
38300 rm -f conftest.
$ac_objext conftest
$ac_exeext
38301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38302 (eval $ac_link) 2>conftest.er1
38304 grep -v '^ *+' conftest.er1
>conftest.err
38306 cat conftest.err
>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); } &&
38309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; } &&
38315 { ac_try
='test -s conftest$ac_exeext'
38316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38317 (eval $ac_try) 2>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); }; }; then
38321 eval "$as_ac_var=yes"
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.
$ac_ext >&5
38326 eval "$as_ac_var=no"
38328 rm -f conftest.err conftest.
$ac_objext \
38329 conftest
$ac_exeext conftest.
$ac_ext
38331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38333 if test `eval echo '${'$as_ac_var'}'` = yes; then
38334 cat >>confdefs.h
<<_ACEOF
38335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38342 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38343 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38344 echo "$as_me:$LINENO: result: yes" >&5
38345 echo "${ECHO_T}yes" >&6
38347 echo "$as_me:$LINENO: result: no" >&5
38348 echo "${ECHO_T}no" >&6
38350 # use different functions to avoid configure caching
38356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38357 echo "$as_me:$LINENO: checking for $ac_func" >&5
38358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38359 if eval "test \"\${$as_ac_var+set}\" = set"; then
38360 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 cat >conftest.
$ac_ext <<_ACEOF
38365 cat confdefs.h
>>conftest.
$ac_ext
38366 cat >>conftest.
$ac_ext <<_ACEOF
38367 /* end confdefs.h. */
38368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38370 #define $ac_func innocuous_$ac_func
38372 /* System header to define __stub macros and hopefully few prototypes,
38373 which can conflict with char $ac_func (); below.
38374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38375 <limits.h> exists even on freestanding compilers. */
38378 # include <limits.h>
38380 # include <assert.h>
38385 /* Override any gcc2 internal prototype to avoid an error. */
38390 /* We use char because int might match the return type of a gcc2
38391 builtin and then its argument prototype would still apply. */
38393 /* The GNU C library defines this for functions which it implements
38394 to always fail with ENOSYS. Some functions are actually named
38395 something starting with __ and the normal name is an alias. */
38396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38399 char (*f) () = $ac_func;
38408 return f != $ac_func;
38413 rm -f conftest.
$ac_objext conftest
$ac_exeext
38414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38415 (eval $ac_link) 2>conftest.er1
38417 grep -v '^ *+' conftest.er1
>conftest.err
38419 cat conftest.err
>&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } &&
38422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38424 (eval $ac_try) 2>&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); }; } &&
38428 { ac_try
='test -s conftest$ac_exeext'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; }; then
38434 eval "$as_ac_var=yes"
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.
$ac_ext >&5
38439 eval "$as_ac_var=no"
38441 rm -f conftest.err conftest.
$ac_objext \
38442 conftest
$ac_exeext conftest.
$ac_ext
38444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38446 if test `eval echo '${'$as_ac_var'}'` = yes; then
38447 cat >>confdefs.h
<<_ACEOF
38448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38455 for ac_func
in ceil
38457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38458 echo "$as_me:$LINENO: checking for $ac_func" >&5
38459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38460 if eval "test \"\${$as_ac_var+set}\" = set"; then
38461 echo $ECHO_N "(cached) $ECHO_C" >&6
38463 cat >conftest.
$ac_ext <<_ACEOF
38466 cat confdefs.h
>>conftest.
$ac_ext
38467 cat >>conftest.
$ac_ext <<_ACEOF
38468 /* end confdefs.h. */
38469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38471 #define $ac_func innocuous_$ac_func
38473 /* System header to define __stub macros and hopefully few prototypes,
38474 which can conflict with char $ac_func (); below.
38475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38476 <limits.h> exists even on freestanding compilers. */
38479 # include <limits.h>
38481 # include <assert.h>
38486 /* Override any gcc2 internal prototype to avoid an error. */
38491 /* We use char because int might match the return type of a gcc2
38492 builtin and then its argument prototype would still apply. */
38494 /* The GNU C library defines this for functions which it implements
38495 to always fail with ENOSYS. Some functions are actually named
38496 something starting with __ and the normal name is an alias. */
38497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38500 char (*f) () = $ac_func;
38509 return f != $ac_func;
38514 rm -f conftest.
$ac_objext conftest
$ac_exeext
38515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38516 (eval $ac_link) 2>conftest.er1
38518 grep -v '^ *+' conftest.er1
>conftest.err
38520 cat conftest.err
>&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); } &&
38523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; } &&
38529 { ac_try
='test -s conftest$ac_exeext'
38530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38531 (eval $ac_try) 2>&5
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); }; }; then
38535 eval "$as_ac_var=yes"
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.
$ac_ext >&5
38540 eval "$as_ac_var=no"
38542 rm -f conftest.err conftest.
$ac_objext \
38543 conftest
$ac_exeext conftest.
$ac_ext
38545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38547 if test `eval echo '${'$as_ac_var'}'` = yes; then
38548 cat >>confdefs.h
<<_ACEOF
38549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38555 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38556 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38557 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38558 echo "$as_me:$LINENO: result: yes" >&5
38559 echo "${ECHO_T}yes" >&6
38561 echo "$as_me:$LINENO: result: no" >&5
38562 echo "${ECHO_T}no" >&6
38563 # not sure we should warn the user, crash, etc.
38567 if test "$wxUSE_GUI" = "yes"; then
38570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38571 drawing dynamic erase event exec font image \
38572 minimal propsize rotate shaped widgets render"
38574 if test "$wxUSE_MONOLITHIC" != "yes"; then
38575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38578 SAMPLES_SUBDIRS
="console"
38582 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38583 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38585 if test "$GXX" = yes ; then
38587 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
38590 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38592 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38593 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38594 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38598 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38599 EXTRALIBS_XML
="$EXPAT_LINK"
38600 EXTRALIBS_HTML
="$MSPACK_LINK"
38601 EXTRALIBS_ODBC
="$ODBC_LINK"
38602 if test "$wxUSE_GUI" = "yes"; then
38603 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38605 if test "$wxUSE_OPENGL" = "yes"; then
38606 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38609 LDFLAGS
="$LDFLAGS $PROFILE"
38611 if test "$wxUSE_GTK" = 1; then
38614 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38617 WXCONFIG_EXTRALIBS
="$LIBS"
38619 if test "$wxUSE_REGEX" = "builtin" ; then
38620 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38622 if test "$wxUSE_EXPAT" = "builtin" ; then
38623 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38625 if test "$wxUSE_ODBC" = "builtin" ; then
38626 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38628 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38629 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38631 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38632 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38634 if test "$wxUSE_LIBPNG" = "builtin" ; then
38635 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38637 if test "$wxUSE_ZLIB" = "builtin" ; then
38638 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38640 if test "$wxUSE_ODBC" = "builtin" ; then
38641 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38644 for i
in $wxconfig_3rdparty ; do
38645 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38649 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38663 if test $wxUSE_MONOLITHIC = "yes" ; then
38669 if test $wxUSE_PLUGINS = "yes" ; then
38675 if test $wxUSE_ODBC != "no" ; then
38681 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38709 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38720 TOOLKIT_USER
="GTK+"
38721 if test "$WXGTK20" = 1; then
38722 TOOLKIT_USER
="$TOOLKIT_USER 2"
38727 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38734 if test "x$BAKEFILE_HOST" = "x"; then
38735 BAKEFILE_HOST
="${host}"
38738 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38740 if test -n "$ac_tool_prefix"; then
38741 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38742 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38743 echo "$as_me:$LINENO: checking for $ac_word" >&5
38744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38745 if test "${ac_cv_prog_RANLIB+set}" = set; then
38746 echo $ECHO_N "(cached) $ECHO_C" >&6
38748 if test -n "$RANLIB"; then
38749 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38752 for as_dir
in $PATH
38755 test -z "$as_dir" && as_dir
=.
38756 for ac_exec_ext
in '' $ac_executable_extensions; do
38757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38758 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38767 RANLIB
=$ac_cv_prog_RANLIB
38768 if test -n "$RANLIB"; then
38769 echo "$as_me:$LINENO: result: $RANLIB" >&5
38770 echo "${ECHO_T}$RANLIB" >&6
38772 echo "$as_me:$LINENO: result: no" >&5
38773 echo "${ECHO_T}no" >&6
38777 if test -z "$ac_cv_prog_RANLIB"; then
38778 ac_ct_RANLIB
=$RANLIB
38779 # Extract the first word of "ranlib", so it can be a program name with args.
38780 set dummy ranlib
; ac_word
=$2
38781 echo "$as_me:$LINENO: checking for $ac_word" >&5
38782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38786 if test -n "$ac_ct_RANLIB"; then
38787 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38790 for as_dir
in $PATH
38793 test -z "$as_dir" && as_dir
=.
38794 for ac_exec_ext
in '' $ac_executable_extensions; do
38795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38796 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38803 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38806 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38807 if test -n "$ac_ct_RANLIB"; then
38808 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38809 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38811 echo "$as_me:$LINENO: result: no" >&5
38812 echo "${ECHO_T}no" >&6
38815 RANLIB
=$ac_ct_RANLIB
38817 RANLIB
="$ac_cv_prog_RANLIB"
38820 # Find a good install program. We prefer a C program (faster),
38821 # so one script is as good as another. But avoid the broken or
38822 # incompatible versions:
38823 # SysV /etc/install, /usr/sbin/install
38824 # SunOS /usr/etc/install
38825 # IRIX /sbin/install
38827 # AmigaOS /C/install, which installs bootblocks on floppy discs
38828 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38829 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38830 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38831 # OS/2's system install, which has a completely different semantic
38832 # ./install, which can be erroneously created by make from ./install.sh.
38833 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38834 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38835 if test -z "$INSTALL"; then
38836 if test "${ac_cv_path_install+set}" = set; then
38837 echo $ECHO_N "(cached) $ECHO_C" >&6
38839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38840 for as_dir
in $PATH
38843 test -z "$as_dir" && as_dir
=.
38844 # Account for people who put trailing slashes in PATH elements.
38846 .
/ | .
// | /cC
/* | \
38847 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38848 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38851 # OSF1 and SCO ODT 3.0 have their own names for install.
38852 # Don't use installbsd from OSF since it installs stuff as root
38854 for ac_prog
in ginstall scoinst
install; do
38855 for ac_exec_ext
in '' $ac_executable_extensions; do
38856 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38857 if test $ac_prog = install &&
38858 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38859 # AIX install. It has an incompatible calling convention.
38861 elif test $ac_prog = install &&
38862 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38863 # program-specific install script used by HP pwplus--don't use.
38866 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38878 if test "${ac_cv_path_install+set}" = set; then
38879 INSTALL
=$ac_cv_path_install
38881 # As a last resort, use the slow shell script. We don't cache a
38882 # path for INSTALL within a source directory, because that will
38883 # break other packages using the cache if that directory is
38884 # removed, or if the path is relative.
38885 INSTALL
=$ac_install_sh
38888 echo "$as_me:$LINENO: result: $INSTALL" >&5
38889 echo "${ECHO_T}$INSTALL" >&6
38891 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38892 # It thinks the first close brace ends the variable substitution.
38893 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38895 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38897 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38899 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38900 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38902 if test "$LN_S" = "ln -s"; then
38903 echo "$as_me:$LINENO: result: yes" >&5
38904 echo "${ECHO_T}yes" >&6
38906 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38907 echo "${ECHO_T}no, using $LN_S" >&6
38911 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38912 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38913 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38914 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38915 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 cat >conftest.
make <<\_ACEOF
38919 @
echo 'ac_maketemp="$(MAKE)"'
38921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38922 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38923 if test -n "$ac_maketemp"; then
38924 eval ac_cv_prog_make_
${ac_make}_set
=yes
38926 eval ac_cv_prog_make_
${ac_make}_set
=no
38928 rm -f conftest.
make
38930 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38931 echo "$as_me:$LINENO: result: yes" >&5
38932 echo "${ECHO_T}yes" >&6
38935 echo "$as_me:$LINENO: result: no" >&5
38936 echo "${ECHO_T}no" >&6
38937 SET_MAKE
="MAKE=${MAKE-make}"
38942 if test -n "$ac_tool_prefix"; then
38943 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38944 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38945 echo "$as_me:$LINENO: checking for $ac_word" >&5
38946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38947 if test "${ac_cv_prog_AR+set}" = set; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 if test -n "$AR"; then
38951 ac_cv_prog_AR
="$AR" # Let the user override the test.
38953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38954 for as_dir
in $PATH
38957 test -z "$as_dir" && as_dir
=.
38958 for ac_exec_ext
in '' $ac_executable_extensions; do
38959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38960 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38970 if test -n "$AR"; then
38971 echo "$as_me:$LINENO: result: $AR" >&5
38972 echo "${ECHO_T}$AR" >&6
38974 echo "$as_me:$LINENO: result: no" >&5
38975 echo "${ECHO_T}no" >&6
38979 if test -z "$ac_cv_prog_AR"; then
38981 # Extract the first word of "ar", so it can be a program name with args.
38982 set dummy
ar; ac_word
=$2
38983 echo "$as_me:$LINENO: checking for $ac_word" >&5
38984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38985 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 if test -n "$ac_ct_AR"; then
38989 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38992 for as_dir
in $PATH
38995 test -z "$as_dir" && as_dir
=.
38996 for ac_exec_ext
in '' $ac_executable_extensions; do
38997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38998 ac_cv_prog_ac_ct_AR
="ar"
38999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39005 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39008 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39009 if test -n "$ac_ct_AR"; then
39010 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39011 echo "${ECHO_T}$ac_ct_AR" >&6
39013 echo "$as_me:$LINENO: result: no" >&5
39014 echo "${ECHO_T}no" >&6
39019 AR
="$ac_cv_prog_AR"
39022 if test -n "$ac_tool_prefix"; then
39023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39024 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39025 echo "$as_me:$LINENO: checking for $ac_word" >&5
39026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39027 if test "${ac_cv_prog_STRIP+set}" = set; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 if test -n "$STRIP"; then
39031 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39034 for as_dir
in $PATH
39037 test -z "$as_dir" && as_dir
=.
39038 for ac_exec_ext
in '' $ac_executable_extensions; do
39039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39040 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39049 STRIP
=$ac_cv_prog_STRIP
39050 if test -n "$STRIP"; then
39051 echo "$as_me:$LINENO: result: $STRIP" >&5
39052 echo "${ECHO_T}$STRIP" >&6
39054 echo "$as_me:$LINENO: result: no" >&5
39055 echo "${ECHO_T}no" >&6
39059 if test -z "$ac_cv_prog_STRIP"; then
39061 # Extract the first word of "strip", so it can be a program name with args.
39062 set dummy strip
; ac_word
=$2
39063 echo "$as_me:$LINENO: checking for $ac_word" >&5
39064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39065 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 if test -n "$ac_ct_STRIP"; then
39069 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39072 for as_dir
in $PATH
39075 test -z "$as_dir" && as_dir
=.
39076 for ac_exec_ext
in '' $ac_executable_extensions; do
39077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39078 ac_cv_prog_ac_ct_STRIP
="strip"
39079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39085 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39088 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39089 if test -n "$ac_ct_STRIP"; then
39090 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39091 echo "${ECHO_T}$ac_ct_STRIP" >&6
39093 echo "$as_me:$LINENO: result: no" >&5
39094 echo "${ECHO_T}no" >&6
39099 STRIP
="$ac_cv_prog_STRIP"
39102 if test -n "$ac_tool_prefix"; then
39103 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39104 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39105 echo "$as_me:$LINENO: checking for $ac_word" >&5
39106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39107 if test "${ac_cv_prog_NM+set}" = set; then
39108 echo $ECHO_N "(cached) $ECHO_C" >&6
39110 if test -n "$NM"; then
39111 ac_cv_prog_NM
="$NM" # Let the user override the test.
39113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39114 for as_dir
in $PATH
39117 test -z "$as_dir" && as_dir
=.
39118 for ac_exec_ext
in '' $ac_executable_extensions; do
39119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39120 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39130 if test -n "$NM"; then
39131 echo "$as_me:$LINENO: result: $NM" >&5
39132 echo "${ECHO_T}$NM" >&6
39134 echo "$as_me:$LINENO: result: no" >&5
39135 echo "${ECHO_T}no" >&6
39139 if test -z "$ac_cv_prog_NM"; then
39141 # Extract the first word of "nm", so it can be a program name with args.
39142 set dummy nm
; ac_word
=$2
39143 echo "$as_me:$LINENO: checking for $ac_word" >&5
39144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39145 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39148 if test -n "$ac_ct_NM"; then
39149 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39152 for as_dir
in $PATH
39155 test -z "$as_dir" && as_dir
=.
39156 for ac_exec_ext
in '' $ac_executable_extensions; do
39157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39158 ac_cv_prog_ac_ct_NM
="nm"
39159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39165 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39168 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39169 if test -n "$ac_ct_NM"; then
39170 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39171 echo "${ECHO_T}$ac_ct_NM" >&6
39173 echo "$as_me:$LINENO: result: no" >&5
39174 echo "${ECHO_T}no" >&6
39179 NM
="$ac_cv_prog_NM"
39183 case ${BAKEFILE_HOST} in
39185 INSTALL_DIR
="mkdir -p"
39187 *) INSTALL_DIR
="$INSTALL -d"
39193 case ${BAKEFILE_HOST} in
39194 *-*-cygwin* | *-*-mingw32* )
39195 LDFLAGS_GUI
="-mwindows"
39201 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39202 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39203 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39208 egrep -s GNU
> /dev
/null
); then
39209 bakefile_cv_prog_makeisgnu
="yes"
39211 bakefile_cv_prog_makeisgnu
="no"
39215 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39216 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39218 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39235 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39236 case "${BAKEFILE_HOST}" in
39237 *-*-cygwin* | *-*-mingw32* )
39243 *-pc-os2_emx | *-pc-os2-emx )
39246 powerpc
-*-darwin* )
39253 powerpc
-apple-macos* )
39262 case "$BAKEFILE_FORCE_PLATFORM" in
39283 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39284 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39285 { (exit 1); exit 1; }; }
39300 # Check whether --enable-omf or --disable-omf was given.
39301 if test "${enable_omf+set}" = set; then
39302 enableval
="$enable_omf"
39303 bk_os2_use_omf
="$enableval"
39306 case "${BAKEFILE_HOST}" in
39308 CFLAGS
="$CFLAGS -fno-common"
39309 CXXFLAGS
="$CXXFLAGS -fno-common"
39312 *-pc-os2_emx | *-pc-os2-emx )
39313 if test "x$bk_os2_use_omf" = "xyes" ; then
39316 LDFLAGS
="-Zomf $LDFLAGS"
39317 CFLAGS
="-Zomf $CFLAGS"
39318 CXXFLAGS
="-Zomf $CXXFLAGS"
39326 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39332 SO_SUFFIX_MODULE
="so"
39337 DLLPREFIX_MODULE
=""
39340 case "${BAKEFILE_HOST}" in
39343 SO_SUFFIX_MODULE
="sl"
39347 SO_SUFFIX_MODULE
="a"
39349 *-*-cygwin* | *-*-mingw32* )
39351 SO_SUFFIX_MODULE
="dll"
39352 DLLIMP_SUFFIX
="dll.a"
39360 *-pc-os2_emx | *-pc-os2-emx )
39362 SO_SUFFIX_MODULE
="dll"
39363 DLLIMP_SUFFIX
=$OS2_LIBEXT
39367 LIBEXT
=".$OS2_LIBEXT"
39369 powerpc
-*-darwin* )
39371 SO_SUFFIX_MODULE
="bundle"
39375 if test "x$DLLIMP_SUFFIX" = "x" ; then
39376 DLLIMP_SUFFIX
="$SO_SUFFIX"
39390 if test "x$GCC" = "xyes"; then
39394 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39395 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39397 case "${BAKEFILE_HOST}" in
39399 if test "x$GCC" != "xyes"; then
39400 LDFLAGS
="$LDFLAGS -L/usr/lib"
39402 SHARED_LD_CC
="${CC} -b -o"
39403 SHARED_LD_CXX
="${CXX} -b -o"
39409 if test "x$GCC" != "xyes"; then
39410 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39411 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39412 if test "${bakefile_cv_prog_icc+set}" = set; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39416 cat >conftest.
$ac_ext <<_ACEOF
39419 cat confdefs.h
>>conftest.
$ac_ext
39420 cat >>conftest.
$ac_ext <<_ACEOF
39421 /* end confdefs.h. */
39427 #ifndef __INTEL_COMPILER
39435 rm -f conftest.
$ac_objext
39436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39437 (eval $ac_compile) 2>conftest.er1
39439 grep -v '^ *+' conftest.er1
>conftest.err
39441 cat conftest.err
>&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } &&
39444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; } &&
39450 { ac_try
='test -s conftest.$ac_objext'
39451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39452 (eval $ac_try) 2>&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); }; }; then
39456 bakefile_cv_prog_icc
=yes
39458 echo "$as_me: failed program was:" >&5
39459 sed 's/^/| /' conftest.
$ac_ext >&5
39461 bakefile_cv_prog_icc
=no
39464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39467 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39468 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39469 if test "$bakefile_cv_prog_icc" = "yes"; then
39476 if test "x$GCC" != xyes
; then
39477 SHARED_LD_CC
="${CC} -G -o"
39478 SHARED_LD_CXX
="${CXX} -G -o"
39485 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39486 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39487 if test "${wx_cv_gcc31+set}" = set; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39491 cat >conftest.
$ac_ext <<_ACEOF
39494 cat confdefs.h
>>conftest.
$ac_ext
39495 cat >>conftest.
$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39502 #if (__GNUC__ < 3) || \
39503 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39511 rm -f conftest.
$ac_objext
39512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39513 (eval $ac_compile) 2>conftest.er1
39515 grep -v '^ *+' conftest.er1
>conftest.err
39517 cat conftest.err
>&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } &&
39520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; } &&
39526 { ac_try
='test -s conftest.$ac_objext'
39527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39528 (eval $ac_try) 2>&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); }; }; then
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.
$ac_ext >&5
39544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39547 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39548 echo "${ECHO_T}$wx_cv_gcc31" >&6
39549 if test "$wx_cv_gcc31" = "no"; then
39552 cat <<EOF >shared-ld-sh
39554 #-----------------------------------------------------------------------------
39555 #-- Name: distrib/mac/shared-ld-sh
39556 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39557 #-- Author: Gilles Depeyrot
39558 #-- Copyright: (c) 2002 Gilles Depeyrot
39559 #-- Licence: any use permitted
39560 #-----------------------------------------------------------------------------
39565 linking_flag="-dynamiclib"
39567 while test ${D}# -gt 0; do
39574 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39575 # collect these options and values
39576 args="${D}{args} ${D}1 ${D}2"
39580 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39581 # collect these options
39582 args="${D}{args} ${D}1"
39585 -dynamiclib|-bundle)
39586 linking_flag="${D}1"
39590 echo "shared-ld: unhandled option '${D}1'"
39594 *.o | *.a | *.dylib)
39595 # collect object files
39596 objects="${D}{objects} ${D}1"
39600 echo "shared-ld: unhandled argument '${D}1'"
39609 # Link one module containing all the others
39611 if test ${D}{verbose} = 1; then
39612 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39614 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39616 if test ${D}{status} != 0; then
39621 # Link the shared library from the single module created
39623 if test ${D}{verbose} = 1; then
39624 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39626 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39628 if test ${D}{status} != 0; then
39633 # Remove intermediate module
39635 rm -f master.${D}${D}.o
39640 chmod +x shared
-ld-sh
39642 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39643 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39644 SHARED_LD_CXX
="$SHARED_LD_CC"
39645 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39647 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39648 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39649 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39650 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39653 PIC_FLAG
="-dynamic -fPIC"
39657 if test "x$GCC" != "xyes"; then
39658 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39659 set dummy makeC
++SharedLib
; ac_word
=$2
39660 echo "$as_me:$LINENO: checking for $ac_word" >&5
39661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39662 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 if test -n "$AIX_CXX_LD"; then
39666 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39669 for as_dir
in $PATH
39672 test -z "$as_dir" && as_dir
=.
39673 for ac_exec_ext
in '' $ac_executable_extensions; do
39674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39675 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39682 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39685 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39686 if test -n "$AIX_CXX_LD"; then
39687 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39688 echo "${ECHO_T}$AIX_CXX_LD" >&6
39690 echo "$as_me:$LINENO: result: no" >&5
39691 echo "${ECHO_T}no" >&6
39694 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39695 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39700 SHARED_LD_CC
="${LD} -nostart -o"
39701 SHARED_LD_CXX
="${LD} -nostart -o"
39705 if test "x$GCC" != "xyes"; then
39710 *-*-cygwin* | *-*-mingw32* )
39712 SHARED_LD_CC
="\$(CC) -shared -o"
39713 SHARED_LD_CXX
="\$(CXX) -shared -o"
39716 *-pc-os2_emx | *-pc-os2-emx )
39717 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39718 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39722 cat <<EOF >dllar.sh
39725 # dllar - a tool to build both a .dll and an .a file
39726 # from a set of object (.o) files for EMX/OS2.
39728 # Written by Andrew Zabolotny, bit@freya.etu.ru
39729 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39731 # This script will accept a set of files on the command line.
39732 # All the public symbols from the .o files will be exported into
39733 # a .DEF file, then linker will be run (through gcc) against them to
39734 # build a shared library consisting of all given .o files. All libraries
39735 # (.a) will be first decompressed into component .o files then act as
39736 # described above. You can optionally give a description (-d "description")
39737 # which will be put into .DLL. To see the list of accepted options (as well
39738 # as command-line format) simply run this program without options. The .DLL
39739 # is built to be imported by name (there is no guarantee that new versions
39740 # of the library you build will have same ordinals for same symbols).
39742 # dllar is free software; you can redistribute it and/or modify
39743 # it under the terms of the GNU General Public License as published by
39744 # the Free Software Foundation; either version 2, or (at your option)
39745 # any later version.
39747 # dllar is distributed in the hope that it will be useful,
39748 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39749 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39750 # GNU General Public License for more details.
39752 # You should have received a copy of the GNU General Public License
39753 # along with dllar; see the file COPYING. If not, write to the Free
39754 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39757 # To successfuly run this program you will need:
39758 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39759 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39761 # (used to build the .dll)
39763 # (used to create .def file from .o files)
39765 # (used to create .a file from .def file)
39766 # - GNU text utilites (cat, sort, uniq)
39767 # used to process emxexp output
39768 # - GNU file utilities (mv, rm)
39770 # - lxlite (optional, see flag below)
39771 # (used for general .dll cleanup)
39778 # basnam, variant of basename, which does _not_ remove the path, _iff_
39779 # second argument (suffix to remove) is given
39783 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39786 echo ${D}1 | sed 's/'${D}2'${D}//'
39789 echo "error in basnam ${D}*"
39795 # Cleanup temporary files and output
39798 for i in ${D}inputFiles ; do
39801 rm -rf \`basnam ${D}i !\`
39808 # Kill result in case of failure as there is just to many stupid make/nmake
39809 # things out there which doesn't do this.
39810 if [ ${D}# -eq 0 ]; then
39811 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39815 # Print usage and exit script with rc=1.
39817 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39818 echo ' [-name-mangler-script script.sh]'
39819 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39820 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39821 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39822 echo ' [*.o] [*.a]'
39823 echo '*> "output_file" should have no extension.'
39824 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39825 echo ' The import library name is derived from this and is set to "name".a,'
39826 echo ' unless overridden by -import'
39827 echo '*> "importlib_name" should have no extension.'
39828 echo ' If it has the .o, or .a extension, it is automatically removed.'
39829 echo ' This name is used as the import library name and may be longer and'
39830 echo ' more descriptive than the DLL name which has to follow the old '
39831 echo ' 8.3 convention of FAT.'
39832 echo '*> "script.sh may be given to override the output_file name by a'
39833 echo ' different name. It is mainly useful if the regular make process'
39834 echo ' of some package does not take into account OS/2 restriction of'
39835 echo ' DLL name lengths. It takes the importlib name as input and is'
39836 echo ' supposed to procude a shorter name as output. The script should'
39837 echo ' expect to get importlib_name without extension and should produce'
39838 echo ' a (max.) 8 letter name without extension.'
39839 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39840 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39841 echo ' These flags will be put at the start of GCC command line.'
39842 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39843 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39844 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39845 echo ' If the last character of a symbol is "*", all symbols beginning'
39846 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39847 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39848 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39849 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39850 echo ' C runtime DLLs.'
39851 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39852 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39853 echo ' unchanged to GCC at the end of command line.'
39854 echo '*> If you create a DLL from a library and you do not specify -o,'
39855 echo ' the basename for DLL and import library will be set to library name,'
39856 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39857 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39858 echo ' library will be renamed into gcc_s.a.'
39861 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39862 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39867 # Execute a command.
39868 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39869 # @Uses Whatever CleanUp() uses.
39875 if [ ${D}rcCmd -ne 0 ]; then
39876 echo "command failed, exit code="${D}rcCmd
39891 CFLAGS="-s -Zcrtdll"
39893 EXPORT_BY_ORDINALS=0
39898 case ${D}curDirS in
39902 curDirS=${D}{curDirS}"/"
39905 # Parse commandline
39908 while [ ${D}1 ]; do
39911 EXPORT_BY_ORDINALS=1;
39921 -name-mangler-script)
39942 exclude_symbols=${D}{exclude_symbols}${D}1" "
39946 library_flags=${D}{library_flags}${D}1" "
39965 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39968 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39969 if [ ${D}omfLinking -eq 1 ]; then
39970 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39972 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39977 if [ ${D}libsToLink -ne 0 ]; then
39978 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39980 for file in ${D}1 ; do
39981 if [ -f ${D}file ]; then
39982 inputFiles="${D}{inputFiles} ${D}file"
39986 if [ ${D}found -eq 0 ]; then
39987 echo "ERROR: No file(s) found: "${D}1
39994 done # iterate cmdline words
39997 if [ -z "${D}inputFiles" ]; then
39998 echo "dllar: no input files"
40002 # Now extract all .o files from .a files
40004 for file in ${D}inputFiles ; do
40015 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40020 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40022 if [ ${D}? -ne 0 ]; then
40023 echo "Failed to create subdirectory ./${D}dirname"
40027 # Append '!' to indicate archive
40028 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40029 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40032 for subfile in ${D}dirname/*.o* ; do
40033 if [ -f ${D}subfile ]; then
40035 if [ -s ${D}subfile ]; then
40036 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40037 newInputFiles="${D}newInputFiles ${D}subfile"
40041 if [ ${D}found -eq 0 ]; then
40042 echo "WARNING: there are no files in archive \\'${D}file\\'"
40046 newInputFiles="${D}{newInputFiles} ${D}file"
40050 inputFiles="${D}newInputFiles"
40052 # Output filename(s).
40054 if [ -z ${D}outFile ]; then
40056 set outFile ${D}inputFiles; outFile=${D}2
40059 # If it is an archive, remove the '!' and the '_%' suffixes
40060 case ${D}outFile in
40062 outFile=\`basnam ${D}outFile _%!\`
40067 case ${D}outFile in
40069 outFile=\`basnam ${D}outFile .dll\`
40072 outFile=\`basnam ${D}outFile .DLL\`
40075 outFile=\`basnam ${D}outFile .o\`
40078 outFile=\`basnam ${D}outFile .obj\`
40081 outFile=\`basnam ${D}outFile .a\`
40084 outFile=\`basnam ${D}outFile .lib\`
40089 case ${D}outimpFile in
40091 outimpFile=\`basnam ${D}outimpFile .a\`
40094 outimpFile=\`basnam ${D}outimpFile .lib\`
40099 if [ -z ${D}outimpFile ]; then
40100 outimpFile=${D}outFile
40102 defFile="${D}{outFile}.def"
40103 arcFile="${D}{outimpFile}.a"
40104 arcFile2="${D}{outimpFile}.lib"
40106 #create ${D}dllFile as something matching 8.3 restrictions,
40107 if [ -z ${D}renameScript ] ; then
40108 dllFile="${D}outFile"
40110 dllFile=\`${D}renameScript ${D}outimpFile\`
40113 if [ ${D}do_backup -ne 0 ] ; then
40114 if [ -f ${D}arcFile ] ; then
40115 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40117 if [ -f ${D}arcFile2 ] ; then
40118 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40122 # Extract public symbols from all the object files.
40123 tmpdefFile=${D}{defFile}_%
40124 rm -f ${D}tmpdefFile
40125 for file in ${D}inputFiles ; do
40130 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40135 # Create the def file.
40137 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40138 dllFile="${D}{dllFile}.dll"
40139 if [ ! -z ${D}description ]; then
40140 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40142 echo "EXPORTS" >> ${D}defFile
40144 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40145 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40147 # Checks if the export is ok or not.
40148 for word in ${D}exclude_symbols; do
40149 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40150 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40154 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40155 sed "=" < ${D}tmpdefFile | \\
40159 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40161 ' > ${D}{tmpdefFile}%
40162 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40164 rm -f ${D}{tmpdefFile}%
40166 cat ${D}tmpdefFile >> ${D}defFile
40167 rm -f ${D}tmpdefFile
40169 # Do linking, create implib, and apply lxlite.
40171 for file in ${D}inputFiles ; do
40176 gccCmdl="${D}gccCmdl ${D}file"
40180 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40181 touch "${D}{outFile}.dll"
40183 doCommand "emximp -o ${D}arcFile ${D}defFile"
40184 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40186 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40189 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40191 doCommand "emxomf -s -l ${D}arcFile"
40201 powerpc
-apple-macos* | \
40202 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40210 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40211 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40212 { (exit 1); exit 1; }; }
40215 if test "x$PIC_FLAG" != "x" ; then
40216 PIC_FLAG
="$PIC_FLAG -DPIC"
40219 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40220 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40222 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40223 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40240 case "${BAKEFILE_HOST}" in
40241 *-*-linux* | *-*-freebsd* )
40242 SONAME_FLAG
="-Wl,-soname,"
40270 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40271 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40274 if test "x$GCC" = "xyes"; then
40277 case "${BAKEFILE_HOST}" in
40278 powerpc
-*-darwin* )
40279 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40282 DEPSFLAG_GCC
="-MMD"
40285 echo "$as_me:$LINENO: result: gcc" >&5
40286 echo "${ECHO_T}gcc" >&6
40287 elif test "x$MWCC" = "xyes"; then
40290 DEPSFLAG_GCC
="-MMD"
40291 echo "$as_me:$LINENO: result: mwcc" >&5
40292 echo "${ECHO_T}mwcc" >&6
40294 echo "$as_me:$LINENO: result: none" >&5
40295 echo "${ECHO_T}none" >&6
40298 if test $DEPS_TRACKING = 1 ; then
40304 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40305 # script. It is used to track C/C++ files dependencies in portable way.
40307 # Permission is given to use this file in any way.
40309 DEPSMODE=${DEPSMODE}
40311 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40313 mkdir -p ${D}DEPSDIR
40315 if test ${D}DEPSMODE = gcc ; then
40316 ${D}* ${D}{DEPSFLAG_GCC}
40318 if test ${D}{status} != 0 ; then
40321 # move created file to the location we want it in:
40322 while test ${D}# -gt 0; do
40336 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40337 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40338 if test -f ${D}depfile ; then
40339 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40342 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40343 if test -f ${D}depfile ; then
40344 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40364 case ${BAKEFILE_HOST} in
40365 *-*-cygwin* | *-*-mingw32* )
40366 if test "$build" != "$host" ; then
40367 RESCOMP
=$host_alias-windres
40369 # Extract the first word of "windres", so it can be a program name with args.
40370 set dummy windres
; ac_word
=$2
40371 echo "$as_me:$LINENO: checking for $ac_word" >&5
40372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40373 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40374 echo $ECHO_N "(cached) $ECHO_C" >&6
40376 if test -n "$RESCOMP"; then
40377 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40380 for as_dir
in $PATH
40383 test -z "$as_dir" && as_dir
=.
40384 for ac_exec_ext
in '' $ac_executable_extensions; do
40385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40386 ac_cv_prog_RESCOMP
="windres"
40387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40393 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40396 RESCOMP
=$ac_cv_prog_RESCOMP
40397 if test -n "$RESCOMP"; then
40398 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40399 echo "${ECHO_T}$RESCOMP" >&6
40401 echo "$as_me:$LINENO: result: no" >&5
40402 echo "${ECHO_T}no" >&6
40408 *-*-darwin* | powerpc
-apple-macos* )
40409 # Extract the first word of "Rez", so it can be a program name with args.
40410 set dummy Rez
; ac_word
=$2
40411 echo "$as_me:$LINENO: checking for $ac_word" >&5
40412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40413 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40414 echo $ECHO_N "(cached) $ECHO_C" >&6
40416 if test -n "$RESCOMP"; then
40417 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40420 for as_dir
in $PATH
40423 test -z "$as_dir" && as_dir
=.
40424 for ac_exec_ext
in '' $ac_executable_extensions; do
40425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40426 ac_cv_prog_RESCOMP
="Rez"
40427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40433 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40436 RESCOMP
=$ac_cv_prog_RESCOMP
40437 if test -n "$RESCOMP"; then
40438 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40439 echo "${ECHO_T}$RESCOMP" >&6
40441 echo "$as_me:$LINENO: result: no" >&5
40442 echo "${ECHO_T}no" >&6
40445 # Extract the first word of "SetFile", so it can be a program name with args.
40446 set dummy SetFile
; ac_word
=$2
40447 echo "$as_me:$LINENO: checking for $ac_word" >&5
40448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40449 if test "${ac_cv_prog_SETFILE+set}" = set; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 if test -n "$SETFILE"; then
40453 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40456 for as_dir
in $PATH
40459 test -z "$as_dir" && as_dir
=.
40460 for ac_exec_ext
in '' $ac_executable_extensions; do
40461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40462 ac_cv_prog_SETFILE
="SetFile"
40463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40469 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40472 SETFILE
=$ac_cv_prog_SETFILE
40473 if test -n "$SETFILE"; then
40474 echo "$as_me:$LINENO: result: $SETFILE" >&5
40475 echo "${ECHO_T}$SETFILE" >&6
40477 echo "$as_me:$LINENO: result: no" >&5
40478 echo "${ECHO_T}no" >&6
40488 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.5"
40491 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.5"
40495 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40496 if test "${enable_precomp_headers+set}" = set; then
40497 enableval
="$enable_precomp_headers"
40498 bk_use_pch
="$enableval"
40503 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40504 if test "x$GCC" = "xyes"; then
40505 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40506 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40507 cat >conftest.
$ac_ext <<_ACEOF
40510 cat confdefs.h
>>conftest.
$ac_ext
40511 cat >>conftest.
$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40518 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40519 #error "no pch support"
40522 #error "no pch support"
40524 #if (__GNUC__ == 3) && \
40525 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40526 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40527 #error "no pch support"
40534 rm -f conftest.
$ac_objext
40535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40536 (eval $ac_compile) 2>conftest.er1
40538 grep -v '^ *+' conftest.er1
>conftest.err
40540 cat conftest.err
>&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } &&
40543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40545 (eval $ac_try) 2>&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); }; } &&
40549 { ac_try
='test -s conftest.$ac_objext'
40550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40551 (eval $ac_try) 2>&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); }; }; then
40556 echo "$as_me:$LINENO: result: yes" >&5
40557 echo "${ECHO_T}yes" >&6
40561 echo "$as_me: failed program was:" >&5
40562 sed 's/^/| /' conftest.
$ac_ext >&5
40565 echo "$as_me:$LINENO: result: no" >&5
40566 echo "${ECHO_T}no" >&6
40569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40570 if test $GCC_PCH = 1 ; then
40573 cat <<EOF >bk-make-pch
40576 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40577 # script. It is used to generated precompiled headers.
40579 # Permission is given to use this file in any way.
40588 while test ${D}{#} -gt 0; do
40591 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40592 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40593 headerfile="${D}{incdir}/${D}{header}"
40597 compiler="${D}{compiler} ${D}{1}"
40601 if test "x${D}{headerfile}" = "x" ; then
40602 echo "error: can't find header ${D}{header} in include paths" >2
40604 if test -f ${D}{outfile} ; then
40605 rm -f ${D}{outfile}
40607 mkdir -p \`dirname ${D}{outfile}\`
40609 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40611 # can do this because gcc is >= 3.4:
40612 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40617 chmod +x bk
-make-pch
40624 COND_BUILD_DEBUG
="#"
40625 if test "x$BUILD" = "xdebug" ; then
40626 COND_BUILD_DEBUG
=""
40629 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40630 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40631 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40634 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40635 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40636 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40639 COND_BUILD_DEBUG_UNICODE_0
="#"
40640 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40641 COND_BUILD_DEBUG_UNICODE_0
=""
40644 COND_BUILD_DEBUG_UNICODE_1
="#"
40645 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40646 COND_BUILD_DEBUG_UNICODE_1
=""
40649 COND_BUILD_RELEASE
="#"
40650 if test "x$BUILD" = "xrelease" ; then
40651 COND_BUILD_RELEASE
=""
40654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40655 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40656 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40659 COND_BUILD_RELEASE_UNICODE_0
="#"
40660 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40661 COND_BUILD_RELEASE_UNICODE_0
=""
40664 COND_BUILD_RELEASE_UNICODE_1
="#"
40665 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40666 COND_BUILD_RELEASE_UNICODE_1
=""
40669 COND_DEBUG_FLAG_1
="#"
40670 if test "x$DEBUG_FLAG" = "x1" ; then
40671 COND_DEBUG_FLAG_1
=""
40674 COND_DEBUG_INFO_0
="#"
40675 if test "x$DEBUG_INFO" = "x0" ; then
40676 COND_DEBUG_INFO_0
=""
40679 COND_DEBUG_INFO_1
="#"
40680 if test "x$DEBUG_INFO" = "x1" ; then
40681 COND_DEBUG_INFO_1
=""
40684 COND_DEPS_TRACKING_0
="#"
40685 if test "x$DEPS_TRACKING" = "x0" ; then
40686 COND_DEPS_TRACKING_0
=""
40689 COND_DEPS_TRACKING_1
="#"
40690 if test "x$DEPS_TRACKING" = "x1" ; then
40691 COND_DEPS_TRACKING_1
=""
40695 if test "x$GCC_PCH" = "x1" ; then
40699 COND_MONOLITHIC_0
="#"
40700 if test "x$MONOLITHIC" = "x0" ; then
40701 COND_MONOLITHIC_0
=""
40704 COND_MONOLITHIC_0_SHARED_0
="#"
40705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40706 COND_MONOLITHIC_0_SHARED_0
=""
40709 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40714 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40724 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40726 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40729 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40731 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40734 COND_MONOLITHIC_0_SHARED_1
="#"
40735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40736 COND_MONOLITHIC_0_SHARED_1
=""
40739 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40741 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40744 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40754 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40756 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40759 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40761 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40764 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40765 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40766 COND_MONOLITHIC_0_USE_ODBC_1
=""
40769 COND_MONOLITHIC_1
="#"
40770 if test "x$MONOLITHIC" = "x1" ; then
40771 COND_MONOLITHIC_1
=""
40774 COND_MONOLITHIC_1_SHARED_0
="#"
40775 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40776 COND_MONOLITHIC_1_SHARED_0
=""
40779 COND_MONOLITHIC_1_SHARED_1
="#"
40780 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40781 COND_MONOLITHIC_1_SHARED_1
=""
40784 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40785 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40786 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40789 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40790 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40791 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40794 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40795 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40796 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40799 COND_PLATFORM_MACOSX_1
="#"
40800 if test "x$PLATFORM_MACOSX" = "x1" ; then
40801 COND_PLATFORM_MACOSX_1
=""
40804 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40805 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40806 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40809 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40811 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40814 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40816 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40819 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40820 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40821 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40824 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
40825 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40826 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
40829 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40830 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40831 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40834 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40835 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40836 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40839 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40840 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40841 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40844 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40845 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40846 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40849 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40850 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40851 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40854 COND_PLATFORM_MACOS_1
="#"
40855 if test "x$PLATFORM_MACOS" = "x1" ; then
40856 COND_PLATFORM_MACOS_1
=""
40859 COND_PLATFORM_MAC_1
="#"
40860 if test "x$PLATFORM_MAC" = "x1" ; then
40861 COND_PLATFORM_MAC_1
=""
40864 COND_PLATFORM_OS2_1
="#"
40865 if test "x$PLATFORM_OS2" = "x1" ; then
40866 COND_PLATFORM_OS2_1
=""
40869 COND_PLATFORM_UNIX_0
="#"
40870 if test "x$PLATFORM_UNIX" = "x0" ; then
40871 COND_PLATFORM_UNIX_0
=""
40874 COND_PLATFORM_UNIX_1
="#"
40875 if test "x$PLATFORM_UNIX" = "x1" ; then
40876 COND_PLATFORM_UNIX_1
=""
40879 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40880 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40881 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40885 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40889 COND_PLATFORM_WIN32_0
="#"
40890 if test "x$PLATFORM_WIN32" = "x0" ; then
40891 COND_PLATFORM_WIN32_0
=""
40894 COND_PLATFORM_WIN32_1
="#"
40895 if test "x$PLATFORM_WIN32" = "x1" ; then
40896 COND_PLATFORM_WIN32_1
=""
40900 if test "x$SHARED" = "x0" ; then
40904 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40905 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40910 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40911 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40914 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40915 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40919 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40920 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40921 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40924 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40925 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40929 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40930 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40934 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40935 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40936 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40939 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40940 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40941 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40944 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40945 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40946 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40949 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40950 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40951 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40954 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40955 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40956 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40960 if test "x$SHARED" = "x1" ; then
40964 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40965 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40966 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40970 if test "x$TOOLKIT" = "x" ; then
40974 COND_TOOLKIT_COCOA
="#"
40975 if test "x$TOOLKIT" = "xCOCOA" ; then
40976 COND_TOOLKIT_COCOA
=""
40979 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40980 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40981 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40984 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40985 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40986 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40989 COND_TOOLKIT_GTK
="#"
40990 if test "x$TOOLKIT" = "xGTK" ; then
40991 COND_TOOLKIT_GTK
=""
40994 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40995 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40996 COND_TOOLKIT_GTK_USE_GUI_1
=""
40999 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41000 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41001 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41004 COND_TOOLKIT_MAC
="#"
41005 if test "x$TOOLKIT" = "xMAC" ; then
41006 COND_TOOLKIT_MAC
=""
41009 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41010 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41011 COND_TOOLKIT_MAC_USE_GUI_1
=""
41014 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41015 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41016 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41019 COND_TOOLKIT_MGL
="#"
41020 if test "x$TOOLKIT" = "xMGL" ; then
41021 COND_TOOLKIT_MGL
=""
41024 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41025 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41026 COND_TOOLKIT_MGL_USE_GUI_1
=""
41029 COND_TOOLKIT_MOTIF
="#"
41030 if test "x$TOOLKIT" = "xMOTIF" ; then
41031 COND_TOOLKIT_MOTIF
=""
41034 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41035 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41036 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41039 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41040 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41041 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41044 COND_TOOLKIT_MSW
="#"
41045 if test "x$TOOLKIT" = "xMSW" ; then
41046 COND_TOOLKIT_MSW
=""
41049 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41050 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41051 COND_TOOLKIT_MSW_USE_GUI_1
=""
41054 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41055 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41056 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41059 COND_TOOLKIT_PM
="#"
41060 if test "x$TOOLKIT" = "xPM" ; then
41064 COND_TOOLKIT_PM_USE_GUI_1
="#"
41065 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41066 COND_TOOLKIT_PM_USE_GUI_1
=""
41069 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41070 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41071 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41074 COND_TOOLKIT_WINCE
="#"
41075 if test "x$TOOLKIT" = "xWINCE" ; then
41076 COND_TOOLKIT_WINCE
=""
41079 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41080 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41081 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41084 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41085 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41086 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41089 COND_TOOLKIT_X11
="#"
41090 if test "x$TOOLKIT" = "xX11" ; then
41091 COND_TOOLKIT_X11
=""
41094 COND_TOOLKIT_X11_USE_GUI_1
="#"
41095 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41096 COND_TOOLKIT_X11_USE_GUI_1
=""
41100 if test "x$UNICODE" = "x1" ; then
41104 COND_USE_EXCEPTIONS_0
="#"
41105 if test "x$USE_EXCEPTIONS" = "x0" ; then
41106 COND_USE_EXCEPTIONS_0
=""
41109 COND_USE_EXCEPTIONS_1
="#"
41110 if test "x$USE_EXCEPTIONS" = "x1" ; then
41111 COND_USE_EXCEPTIONS_1
=""
41115 if test "x$USE_GUI" = "x0" ; then
41120 if test "x$USE_GUI" = "x1" ; then
41124 COND_USE_GUI_1_WXUNIV_0
="#"
41125 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41126 COND_USE_GUI_1_WXUNIV_0
=""
41129 COND_USE_GUI_1_WXUNIV_1
="#"
41130 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41131 COND_USE_GUI_1_WXUNIV_1
=""
41134 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41135 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41136 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41139 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41140 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41141 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41144 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41145 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41146 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41149 COND_USE_ODBC_1
="#"
41150 if test "x$USE_ODBC" = "x1" ; then
41154 COND_USE_OPENGL_1
="#"
41155 if test "x$USE_OPENGL" = "x1" ; then
41156 COND_USE_OPENGL_1
=""
41159 COND_USE_PLUGINS_0
="#"
41160 if test "x$USE_PLUGINS" = "x0" ; then
41161 COND_USE_PLUGINS_0
=""
41164 COND_USE_SOSYMLINKS_1
="#"
41165 if test "x$USE_SOSYMLINKS" = "x1" ; then
41166 COND_USE_SOSYMLINKS_1
=""
41169 COND_USE_SOVERLINUX_1
="#"
41170 if test "x$USE_SOVERLINUX" = "x1" ; then
41171 COND_USE_SOVERLINUX_1
=""
41174 COND_USE_SOVERSION_0
="#"
41175 if test "x$USE_SOVERSION" = "x0" ; then
41176 COND_USE_SOVERSION_0
=""
41179 COND_USE_SOVERSOLARIS_1
="#"
41180 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41181 COND_USE_SOVERSOLARIS_1
=""
41185 if test "x$USE_XRC" = "x1" ; then
41189 COND_WITH_PLUGIN_SDL_1
="#"
41190 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41191 COND_WITH_PLUGIN_SDL_1
=""
41195 if test "x$WXUNIV" = "x0" ; then
41200 if test "x$WXUNIV" = "x1" ; then
41204 COND_WXUSE_EXPAT_BUILTIN
="#"
41205 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41206 COND_WXUSE_EXPAT_BUILTIN
=""
41209 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41210 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41211 COND_WXUSE_LIBJPEG_BUILTIN
=""
41214 COND_WXUSE_LIBPNG_BUILTIN
="#"
41215 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41216 COND_WXUSE_LIBPNG_BUILTIN
=""
41219 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41220 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41221 COND_WXUSE_LIBTIFF_BUILTIN
=""
41224 COND_WXUSE_ODBC_BUILTIN
="#"
41225 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41226 COND_WXUSE_ODBC_BUILTIN
=""
41229 COND_WXUSE_REGEX_BUILTIN
="#"
41230 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41231 COND_WXUSE_REGEX_BUILTIN
=""
41234 COND_WXUSE_ZLIB_BUILTIN
="#"
41235 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41236 COND_WXUSE_ZLIB_BUILTIN
=""
41241 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41242 { { 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
41243 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;}
41244 { (exit 1); exit 1; }; }
41248 if test "$wxUSE_SHARED" = "yes"; then
41250 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41251 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41254 *-pc-os2_emx | *-pc-os2-emx )
41255 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41256 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41257 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41258 cp -p ${srcdir}/src
/os
2/dllar.sh .
41263 EXE_LINKER
="$CXX -o"
41267 GCC_PRAGMA_FLAGS
=""
41269 if test $GCC_PCH = 1 ; then
41270 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41271 PCH_FLAGS
="-DWX_PRECOMP"
41274 powerpc
-*-darwin* )
41275 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41278 if test "$wxUSE_STL" = "yes" -o \
41279 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41280 "$wxUSE_NO_RTTI" != "yes"; then
41281 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41282 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41283 cat >conftest.
$ac_ext <<_ACEOF
41286 cat confdefs.h
>>conftest.
$ac_ext
41287 cat >>conftest.
$ac_ext <<_ACEOF
41288 /* end confdefs.h. */
41293 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41294 #error "Not GCC 3.2 or greater"
41301 rm -f conftest.
$ac_objext
41302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41303 (eval $ac_compile) 2>conftest.er1
41305 grep -v '^ *+' conftest.er1
>conftest.err
41307 cat conftest.err
>&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } &&
41310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; } &&
41316 { ac_try
='test -s conftest.$ac_objext'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; }; then
41322 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41323 echo "$as_me:$LINENO: result: yes" >&5
41324 echo "${ECHO_T}yes" >&6
41326 echo "$as_me: failed program was:" >&5
41327 sed 's/^/| /' conftest.
$ac_ext >&5
41329 echo "$as_me:$LINENO: result: no" >&5
41330 echo "${ECHO_T}no" >&6
41332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41335 *-pc-os2_emx | *-pc-os2-emx )
41336 if test "$wxUSE_STL" = "yes"; then
41337 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41338 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41339 cat >conftest.
$ac_ext <<_ACEOF
41342 cat confdefs.h
>>conftest.
$ac_ext
41343 cat >>conftest.
$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41349 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41350 #error "Not GCC 3.2 or greater"
41357 rm -f conftest.
$ac_objext
41358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41359 (eval $ac_compile) 2>conftest.er1
41361 grep -v '^ *+' conftest.er1
>conftest.err
41363 cat conftest.err
>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); } &&
41366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368 (eval $ac_try) 2>&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); }; } &&
41372 { ac_try
='test -s conftest.$ac_objext'
41373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41374 (eval $ac_try) 2>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; }; then
41378 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41379 echo "$as_me:$LINENO: result: yes" >&5
41380 echo "${ECHO_T}yes" >&6
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.
$ac_ext >&5
41385 echo "$as_me:$LINENO: result: no" >&5
41386 echo "${ECHO_T}no" >&6
41388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41393 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41396 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41460 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41461 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41462 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41463 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41464 echo $ECHO_N "(cached) $ECHO_C" >&6
41466 cat >conftest.
make <<\_ACEOF
41468 @
echo 'ac_maketemp="$(MAKE)"'
41470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41471 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41472 if test -n "$ac_maketemp"; then
41473 eval ac_cv_prog_make_
${ac_make}_set
=yes
41475 eval ac_cv_prog_make_
${ac_make}_set
=no
41477 rm -f conftest.
make
41479 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41480 echo "$as_me:$LINENO: result: yes" >&5
41481 echo "${ECHO_T}yes" >&6
41484 echo "$as_me:$LINENO: result: no" >&5
41485 echo "${ECHO_T}no" >&6
41486 SET_MAKE
="MAKE=${MAKE-make}"
41491 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41494 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41497 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41500 ac_config_files
="$ac_config_files version-script Makefile"
41503 ac_config_commands
="$ac_config_commands wx-config
41509 if test "$wxUSE_GUI" = "yes"; then
41510 SUBDIRS
="samples demos utils contrib"
41511 else SUBDIRS
="samples utils"
41516 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41517 if test "${with_cppunit_prefix+set}" = set; then
41518 withval
="$with_cppunit_prefix"
41519 cppunit_config_prefix
="$withval"
41521 cppunit_config_prefix
=""
41524 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41525 if test "${with_cppunit_exec_prefix+set}" = set; then
41526 withval
="$with_cppunit_exec_prefix"
41527 cppunit_config_exec_prefix
="$withval"
41529 cppunit_config_exec_prefix
=""
41532 if test x
$cppunit_config_exec_prefix != x
; then
41533 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41534 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41535 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41538 if test x
$cppunit_config_prefix != x
; then
41539 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41540 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41541 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41545 # Extract the first word of "cppunit-config", so it can be a program name with args.
41546 set dummy cppunit
-config; ac_word
=$2
41547 echo "$as_me:$LINENO: checking for $ac_word" >&5
41548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41549 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41550 echo $ECHO_N "(cached) $ECHO_C" >&6
41552 case $CPPUNIT_CONFIG in
41554 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41558 for as_dir
in $PATH
41561 test -z "$as_dir" && as_dir
=.
41562 for ac_exec_ext
in '' $ac_executable_extensions; do
41563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41564 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41571 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41575 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41577 if test -n "$CPPUNIT_CONFIG"; then
41578 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41579 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41581 echo "$as_me:$LINENO: result: no" >&5
41582 echo "${ECHO_T}no" >&6
41585 cppunit_version_min
=1.8.0
41587 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41588 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41590 if test "$CPPUNIT_CONFIG" = "no" ; then
41593 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41594 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41595 cppunit_version
=`$CPPUNIT_CONFIG --version`
41597 cppunit_major_version
=`echo $cppunit_version | \
41598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41599 cppunit_minor_version
=`echo $cppunit_version | \
41600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41601 cppunit_micro_version
=`echo $cppunit_version | \
41602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41604 cppunit_major_min
=`echo $cppunit_version_min | \
41605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41606 cppunit_minor_min
=`echo $cppunit_version_min | \
41607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41608 cppunit_micro_min
=`echo $cppunit_version_min | \
41609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41611 cppunit_version_proper
=`expr \
41612 $cppunit_major_version \> $cppunit_major_min \| \
41613 $cppunit_major_version \= $cppunit_major_min \& \
41614 $cppunit_minor_version \> $cppunit_minor_min \| \
41615 $cppunit_major_version \= $cppunit_major_min \& \
41616 $cppunit_minor_version \= $cppunit_minor_min \& \
41617 $cppunit_micro_version \>= $cppunit_micro_min `
41619 if test "$cppunit_version_proper" = "1" ; then
41620 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41621 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41623 echo "$as_me:$LINENO: result: no" >&5
41624 echo "${ECHO_T}no" >&6
41629 if test "x$no_cppunit" = x
; then
41630 SUBDIRS
="$SUBDIRS tests"
41641 for subdir
in `echo $SUBDIRS`; do
41642 if test -d ${srcdir}/${subdir} ; then
41643 if test "$wxUSE_GUI" = "yes"; then
41644 if test ${subdir} = "samples"; then
41645 makefiles
="samples/Makefile.in $makefiles"
41646 for sample
in `echo $SAMPLES_SUBDIRS`; do
41647 if test -d $srcdir/samples
/$sample; then
41648 makefiles
="samples/$sample/Makefile.in $makefiles"
41651 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41653 else if test ${subdir} = "samples"; then
41654 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41655 elif test ${subdir} = "utils"; then
41657 for util
in HelpGen tex2rtf
; do
41658 if test -d $srcdir/utils
/$util ; then
41659 makefiles
="utils/$util/Makefile.in \
41660 utils/$util/src/Makefile.in \
41664 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41668 for mkin
in $makefiles ; do
41669 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41670 ac_config_files
="$ac_config_files $mk"
41677 cat >confcache
<<\_ACEOF
41678 # This file is a shell script that caches the results of configure
41679 # tests run on this system so they can be shared between configure
41680 # scripts and configure runs, see configure's option --config-cache.
41681 # It is not useful on other systems. If it contains results you don't
41682 # want to keep, you may remove or edit it.
41684 # config.status only pays attention to the cache file if you give it
41685 # the --recheck option to rerun configure.
41687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41689 # following values.
41693 # The following way of writing the cache mishandles newlines in values,
41694 # but we know of no workaround that is simple, portable, and efficient.
41695 # So, don't put newlines in cache variables' values.
41696 # Ultrix sh set writes to stderr and can't be redirected directly,
41697 # and sets the high bit in the cache file unless we assign to the vars.
41700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41702 # `set' does not quote correctly, so add quotes (double-quote
41703 # substitution turns \\\\ into \\, and sed turns \\ into \).
41706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41709 # `set' quotes correctly as required by POSIX, so do not add quotes.
41711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41722 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41723 if test -w $cache_file; then
41724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41725 cat confcache
>$cache_file
41727 echo "not updating unwritable cache $cache_file"
41732 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41733 # Let make expand exec_prefix.
41734 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41736 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41737 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41738 # trailing colons and then remove the whole line if VPATH becomes empty
41739 # (actually we leave an empty line to preserve line numbers).
41740 if test "x$srcdir" = x.
; then
41741 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41742 s/:*\$(srcdir):*/:/;
41743 s/:*\${srcdir}:*/:/;
41745 s/^\([^=]*=[ ]*\):*/\1/;
41751 DEFS
=-DHAVE_CONFIG_H
41755 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41756 # 1. Remove the extension, and $U if already installed.
41757 ac_i
=`echo "$ac_i" |
41758 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41760 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41761 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41763 LIBOBJS
=$ac_libobjs
41765 LTLIBOBJS
=$ac_ltlibobjs
41769 : ${CONFIG_STATUS=./config.status}
41770 ac_clean_files_save
=$ac_clean_files
41771 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41774 cat >$CONFIG_STATUS <<_ACEOF
41776 # Generated by $as_me.
41777 # Run this file to recreate the current configuration.
41778 # Compiler output produced by configure, useful for debugging
41779 # configure, is in config.log if it exists.
41782 ac_cs_recheck=false
41784 SHELL=\${CONFIG_SHELL-$SHELL}
41787 cat >>$CONFIG_STATUS <<\_ACEOF
41788 ## --------------------- ##
41789 ## M4sh Initialization. ##
41790 ## --------------------- ##
41792 # Be Bourne compatible
41793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41797 # is contrary to our usage. Disable this feature.
41798 alias -g '${1+"$@"}'='"$@"'
41799 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41802 DUALCASE
=1; export DUALCASE
# for MKS sh
41804 # Support unset when possible.
41805 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41812 # Work around bugs in pre-3.0 UWIN ksh.
41813 $as_unset ENV MAIL MAILPATH
41820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41822 LC_TELEPHONE LC_TIME
41824 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41825 eval $as_var=C
; export $as_var
41831 # Required to use basename.
41832 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41838 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41839 as_basename
=basename
41845 # Name of the executable.
41846 as_me
=`$as_basename "$0" ||
41847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41848 X"$0" : 'X\(//\)$' \| \
41849 X"$0" : 'X\(/\)$' \| \
41850 . : '\(.\)' 2>/dev/null ||
41852 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41853 /^X\/\(\/\/\)$/{ s//\1/; q; }
41854 /^X\/\(\/\).*/{ s//\1/; q; }
41858 # PATH needs CR, and LINENO needs CR and PATH.
41859 # Avoid depending upon Character Ranges.
41860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41863 as_cr_digits
='0123456789'
41864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41866 # The user is always right.
41867 if test "${PATH_SEPARATOR+set}" != set; then
41868 echo "#! /bin/sh" >conf$$.sh
41869 echo "exit 0" >>conf$$.sh
41871 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41880 as_lineno_1
=$LINENO
41881 as_lineno_2
=$LINENO
41882 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41883 test "x$as_lineno_1" != "x$as_lineno_2" &&
41884 test "x$as_lineno_3" = "x$as_lineno_2" || {
41885 # Find who we are. Look in the path if we contain no path at all
41888 *[\\/]* ) as_myself
=$0 ;;
41889 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41890 for as_dir
in $PATH
41893 test -z "$as_dir" && as_dir
=.
41894 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41899 # We did not find ourselves, most probably we were run as `sh COMMAND'
41900 # in which case we are not to be found in the path.
41901 if test "x$as_myself" = x
; then
41904 if test ! -f "$as_myself"; then
41905 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41906 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41907 { (exit 1); exit 1; }; }
41909 case $CONFIG_SHELL in
41911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41912 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41915 test -z "$as_dir" && as_dir
=.
41916 for as_base
in sh bash ksh sh5
; do
41919 if ("$as_dir/$as_base" -c '
41920 as_lineno_1=$LINENO
41921 as_lineno_2=$LINENO
41922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41923 test "x$as_lineno_1" != "x$as_lineno_2" &&
41924 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41925 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41926 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41927 CONFIG_SHELL
=$as_dir/$as_base
41928 export CONFIG_SHELL
41929 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41937 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41938 # uniformly replaced by the line number. The first 'sed' inserts a
41939 # line-number line before each line; the second 'sed' does the real
41940 # work. The second script uses 'N' to pair each line-number line
41941 # with the numbered line, and appends trailing '-' during
41942 # substitution so that $LINENO is not a special case at line end.
41943 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41944 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41945 sed '=' <$as_myself |
41950 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41953 s,^['$as_cr_digits']*\n,,
41954 ' >$as_me.lineno
&&
41955 chmod +x
$as_me.lineno
||
41956 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41957 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41958 { (exit 1); exit 1; }; }
41960 # Don't try to exec as it changes $[0], causing all sort of problems
41961 # (the dirname of $[0] is not the place where we might find the
41962 # original and so on. Autoconf is especially sensible to this).
41964 # Exit status is that of the last command.
41969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41970 *c
*,-n*) ECHO_N
= ECHO_C
='
41972 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41973 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41976 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41982 rm -f conf$$ conf$$.exe conf$$.
file
41984 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41985 # We could just check for DJGPP; but this test a) works b) is more generic
41986 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41987 if test -f conf$$.exe
; then
41988 # Don't use ln at all; we don't have any links
41993 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41998 rm -f conf$$ conf$$.exe conf$$.
file
42000 if mkdir -p .
2>/dev
/null
; then
42003 test -d .
/-p && rmdir .
/-p
42007 as_executable_p
="test -f"
42009 # Sed expression to map a string onto a valid CPP name.
42010 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42012 # Sed expression to map a string onto a valid variable name.
42013 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42017 # We need space, tab and new line, in precisely that order.
42027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42028 # report actual input values of CONFIG_FILES etc. instead of their
42029 # values after options handling. Logging --version etc. is OK.
42033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42034 ## Running $as_me. ##
42039 This file was extended by wxWidgets $as_me 2.5.3, which was
42040 generated by GNU Autoconf 2.59. Invocation command line was
42042 CONFIG_FILES = $CONFIG_FILES
42043 CONFIG_HEADERS = $CONFIG_HEADERS
42044 CONFIG_LINKS = $CONFIG_LINKS
42045 CONFIG_COMMANDS = $CONFIG_COMMANDS
42049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42053 # Files that config.status was made for.
42054 if test -n "$ac_config_files"; then
42055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42058 if test -n "$ac_config_headers"; then
42059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42062 if test -n "$ac_config_links"; then
42063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42066 if test -n "$ac_config_commands"; then
42067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42070 cat >>$CONFIG_STATUS <<\_ACEOF
42073 \`$as_me' instantiates files from templates according to the
42074 current configuration.
42076 Usage: $0 [OPTIONS] [FILE]...
42078 -h, --help print this help, then exit
42079 -V, --version print version number, then exit
42080 -q, --quiet do not print progress messages
42081 -d, --debug don't remove temporary files
42082 --recheck update $as_me by reconfiguring in the same conditions
42083 --file=FILE[:TEMPLATE]
42084 instantiate the configuration file FILE
42085 --header=FILE[:TEMPLATE]
42086 instantiate the configuration header FILE
42088 Configuration files:
42091 Configuration headers:
42094 Configuration commands:
42097 Report bugs to <bug-autoconf@gnu.org>."
42100 cat >>$CONFIG_STATUS <<_ACEOF
42102 wxWidgets config.status 2.5.3
42103 configured by $0, generated by GNU Autoconf 2.59,
42104 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42106 Copyright (C) 2003 Free Software Foundation, Inc.
42107 This config.status script is free software; the Free Software Foundation
42108 gives unlimited permission to copy, distribute and modify it."
42113 cat >>$CONFIG_STATUS <<\_ACEOF
42114 # If no file are specified by the user, then we need to provide default
42115 # value. By we need to know if files were specified by the user.
42121 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42122 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42130 *) # This is not an option, so the user has probably given explicit
42133 ac_need_defaults
=false
;;
42137 # Handling of the options.
42139 cat >>$CONFIG_STATUS <<\_ACEOF
42140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42142 --version | --vers* | -V )
42143 echo "$ac_cs_version"; exit 0 ;;
42145 # Conflict between --help and --header
42146 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42147 Try \`$0 --help' for more information." >&5
42148 echo "$as_me: error: ambiguous option: $1
42149 Try \`$0 --help' for more information." >&2;}
42150 { (exit 1); exit 1; }; };;
42151 --help | --hel | -h )
42152 echo "$ac_cs_usage"; exit 0 ;;
42153 --debug | --d* | -d )
42155 --file | --fil | --fi | --f )
42157 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42158 ac_need_defaults
=false
;;
42159 --header | --heade | --head | --hea )
42161 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42162 ac_need_defaults
=false
;;
42163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42167 # This is an error.
42168 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42169 Try \`$0 --help' for more information." >&5
42170 echo "$as_me: error: unrecognized option: $1
42171 Try \`$0 --help' for more information." >&2;}
42172 { (exit 1); exit 1; }; } ;;
42174 *) ac_config_targets
="$ac_config_targets $1" ;;
42180 ac_configure_extra_args
=
42182 if $ac_cs_silent; then
42184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42188 cat >>$CONFIG_STATUS <<_ACEOF
42189 if \$ac_cs_recheck; then
42190 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42191 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42196 cat >>$CONFIG_STATUS <<_ACEOF
42198 # INIT-COMMANDS section.
42201 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42202 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42203 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42211 cat >>$CONFIG_STATUS <<\_ACEOF
42212 for ac_config_target
in $ac_config_targets
42214 case "$ac_config_target" in
42215 # Handling of arguments.
42216 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42217 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42218 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42219 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42220 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42221 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42222 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42223 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42224 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42225 { (exit 1); exit 1; }; };;
42229 # If the user did not use the arguments to specify the items to instantiate,
42230 # then the envvar interface is used. Set only those that are not.
42231 # We use the long form for the default assignment because of an extremely
42232 # bizarre bug on SunOS 4.1.3.
42233 if $ac_need_defaults; then
42234 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42235 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42236 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42239 # Have a temporary directory for convenience. Make it in the build tree
42240 # simply because there is no reason to put it here, and in addition,
42241 # creating and moving files from /tmp can sometimes cause problems.
42242 # Create a temporary directory, and hook for its removal unless debugging.
42245 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42246 trap '{ (exit 1); exit 1; }' 1 2 13 15
42249 # Create a (secure) tmp directory for tmp files.
42252 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42253 test -n "$tmp" && test -d "$tmp"
42256 tmp
=.
/confstat$$
-$RANDOM
42257 (umask 077 && mkdir $tmp)
42260 echo "$me: cannot create a temporary directory in ." >&2
42261 { (exit 1); exit 1; }
42266 cat >>$CONFIG_STATUS <<_ACEOF
42269 # CONFIG_FILES section.
42272 # No need to generate the scripts if there are no CONFIG_FILES.
42273 # This happens for instance when ./config.status config.h
42274 if test -n "\$CONFIG_FILES"; then
42275 # Protect against being on the right side of a sed subst in config.status.
42276 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42277 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42278 s,@SHELL@,$SHELL,;t t
42279 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42280 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42281 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42282 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42283 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42284 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42285 s,@exec_prefix@,$exec_prefix,;t t
42286 s,@prefix@,$prefix,;t t
42287 s,@program_transform_name@,$program_transform_name,;t t
42288 s,@bindir@,$bindir,;t t
42289 s,@sbindir@,$sbindir,;t t
42290 s,@libexecdir@,$libexecdir,;t t
42291 s,@datadir@,$datadir,;t t
42292 s,@sysconfdir@,$sysconfdir,;t t
42293 s,@sharedstatedir@,$sharedstatedir,;t t
42294 s,@localstatedir@,$localstatedir,;t t
42295 s,@libdir@,$libdir,;t t
42296 s,@includedir@,$includedir,;t t
42297 s,@oldincludedir@,$oldincludedir,;t t
42298 s,@infodir@,$infodir,;t t
42299 s,@mandir@,$mandir,;t t
42300 s,@build_alias@,$build_alias,;t t
42301 s,@host_alias@,$host_alias,;t t
42302 s,@target_alias@,$target_alias,;t t
42303 s,@DEFS@,$DEFS,;t t
42304 s,@ECHO_C@,$ECHO_C,;t t
42305 s,@ECHO_N@,$ECHO_N,;t t
42306 s,@ECHO_T@,$ECHO_T,;t t
42307 s,@LIBS@,$LIBS,;t t
42308 s,@build@,$build,;t t
42309 s,@build_cpu@,$build_cpu,;t t
42310 s,@build_vendor@,$build_vendor,;t t
42311 s,@build_os@,$build_os,;t t
42312 s,@host@,$host,;t t
42313 s,@host_cpu@,$host_cpu,;t t
42314 s,@host_vendor@,$host_vendor,;t t
42315 s,@host_os@,$host_os,;t t
42316 s,@target@,$target,;t t
42317 s,@target_cpu@,$target_cpu,;t t
42318 s,@target_vendor@,$target_vendor,;t t
42319 s,@target_os@,$target_os,;t t
42321 s,@CFLAGS@,$CFLAGS,;t t
42322 s,@LDFLAGS@,$LDFLAGS,;t t
42323 s,@CPPFLAGS@,$CPPFLAGS,;t t
42324 s,@ac_ct_CC@,$ac_ct_CC,;t t
42325 s,@EXEEXT@,$EXEEXT,;t t
42326 s,@OBJEXT@,$OBJEXT,;t t
42328 s,@EGREP@,$EGREP,;t t
42330 s,@CXXFLAGS@,$CXXFLAGS,;t t
42331 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42332 s,@RANLIB@,$RANLIB,;t t
42333 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42335 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42336 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42337 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42338 s,@STRIP@,$STRIP,;t t
42339 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42340 s,@LN_S@,$LN_S,;t t
42341 s,@CXXCPP@,$CXXCPP,;t t
42342 s,@subdirs@,$subdirs,;t t
42343 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42344 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42345 s,@GTK_LIBS@,$GTK_LIBS,;t t
42346 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42347 s,@X_CFLAGS@,$X_CFLAGS,;t t
42348 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42349 s,@X_LIBS@,$X_LIBS,;t t
42350 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42351 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42352 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42353 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42354 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42355 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42356 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42357 s,@RESCOMP@,$RESCOMP,;t t
42358 s,@DEREZ@,$DEREZ,;t t
42359 s,@SETFILE@,$SETFILE,;t t
42360 s,@LIBICONV@,$LIBICONV,;t t
42361 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42362 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42363 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42364 s,@SDL_LIBS@,$SDL_LIBS,;t t
42365 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42366 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42367 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42368 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42369 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42370 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42371 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42372 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42373 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42374 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42375 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42376 s,@VENDOR@,$VENDOR,;t t
42377 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42378 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42379 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42380 s,@WXUNIV@,$WXUNIV,;t t
42381 s,@MONOLITHIC@,$MONOLITHIC,;t t
42382 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42383 s,@EXTRALIBS@,$EXTRALIBS,;t t
42384 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42385 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42386 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42387 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42388 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42389 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42390 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42391 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42392 s,@UNICODE@,$UNICODE,;t t
42393 s,@BUILD@,$BUILD,;t t
42394 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42395 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42396 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42397 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42398 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42399 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42400 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42401 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42402 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42403 s,@SET_MAKE@,$SET_MAKE,;t t
42404 s,@MAKE_SET@,$MAKE_SET,;t t
42405 s,@ac_ct_AR@,$ac_ct_AR,;t t
42406 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42408 s,@ac_ct_NM@,$ac_ct_NM,;t t
42409 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42410 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42411 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42412 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42413 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42414 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42415 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42416 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42417 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42418 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42419 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42420 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42421 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42422 s,@LIBPREFIX@,$LIBPREFIX,;t t
42423 s,@LIBEXT@,$LIBEXT,;t t
42424 s,@DLLPREFIX@,$DLLPREFIX,;t t
42425 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42426 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42427 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42428 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42429 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42430 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42431 s,@PIC_FLAG@,$PIC_FLAG,;t t
42432 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42433 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42434 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42435 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42436 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42437 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42438 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42439 s,@GCC_PCH@,$GCC_PCH,;t t
42440 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42441 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42442 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42443 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42444 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42445 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42446 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42447 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42448 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42449 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42450 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42451 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42452 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42453 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42454 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42455 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42456 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42457 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42458 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
42459 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
42460 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42461 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42462 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42463 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42464 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
42465 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
42466 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42467 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42468 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42469 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42470 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42471 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42472 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42473 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42474 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42475 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42476 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42477 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42478 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42479 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42480 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42481 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42482 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42483 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42484 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42485 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42486 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42487 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42488 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42489 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42490 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42491 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42492 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42493 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42494 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42495 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42496 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42497 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42498 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42499 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42500 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42501 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42502 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42503 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42504 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42505 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42506 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42507 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42508 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42509 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42510 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42511 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42512 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42513 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42514 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42515 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42516 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42517 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42518 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42519 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42520 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42521 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42522 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42523 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42524 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42525 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42526 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42527 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42528 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42529 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42530 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42531 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42532 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42533 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42534 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42535 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42536 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42537 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42538 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42539 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42540 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42541 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42542 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42543 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42544 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42545 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42546 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42547 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42548 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42549 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42550 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42551 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42552 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42553 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42554 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
42555 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42556 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42557 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42558 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42559 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42560 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42561 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42562 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42563 s,@SHARED@,$SHARED,;t t
42564 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42565 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42566 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42567 s,@USE_GUI@,$USE_GUI,;t t
42568 s,@AFMINSTALL@,$AFMINSTALL,;t t
42569 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42570 s,@TOOLKIT@,$TOOLKIT,;t t
42571 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42572 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42573 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42574 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42575 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42576 s,@cross_compiling@,$cross_compiling,;t t
42577 s,@WIDGET_SET@,$WIDGET_SET,;t t
42578 s,@WX_RELEASE@,$WX_RELEASE,;t t
42579 s,@WX_VERSION@,$WX_VERSION,;t t
42580 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42581 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42582 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42583 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42584 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42585 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42586 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42587 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42588 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42589 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42590 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42591 s,@EXE_LINKER@,$EXE_LINKER,;t t
42592 s,@GUIDIST@,$GUIDIST,;t t
42593 s,@DISTDIR@,$DISTDIR,;t t
42594 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42595 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42596 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42597 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42598 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42599 s,@RESFLAGS@,$RESFLAGS,;t t
42600 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42601 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42602 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42603 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42604 s,@MACRESCOMP@,$MACRESCOMP,;t t
42605 s,@MACSETFILE@,$MACSETFILE,;t t
42606 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42608 s,@DLLTOOL@,$DLLTOOL,;t t
42609 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42610 s,@LIBOBJS@,$LIBOBJS,;t t
42611 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42616 cat >>$CONFIG_STATUS <<\_ACEOF
42617 # Split the substitutions into bite-sized pieces for seds with
42618 # small command number limits, like on Digital OSF/1 and HP-UX.
42619 ac_max_sed_lines
=48
42620 ac_sed_frag
=1 # Number of current file.
42621 ac_beg
=1 # First line for current file.
42622 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42625 while $ac_more_lines; do
42626 if test $ac_beg -gt 1; then
42627 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42629 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42631 if test ! -s $tmp/subs.frag
; then
42632 ac_more_lines
=false
42634 # The purpose of the label and of the branching condition is to
42635 # speed up the sed processing (if there are no `@' at all, there
42636 # is no need to browse any of the substitutions).
42637 # These are the two extra sed commands mentioned above.
42639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42640 if test -z "$ac_sed_cmds"; then
42641 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42643 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42645 ac_sed_frag
=`expr $ac_sed_frag + 1`
42647 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42650 if test -z "$ac_sed_cmds"; then
42653 fi # test -n "$CONFIG_FILES"
42656 cat >>$CONFIG_STATUS <<\_ACEOF
42657 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42658 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42660 - | *:- | *:-:* ) # input from stdin
42662 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42663 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42664 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42665 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42666 * ) ac_file_in
=$ac_file.
in ;;
42669 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42670 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42672 X"$ac_file" : 'X\(//\)[^/]' \| \
42673 X"$ac_file" : 'X\(//\)$' \| \
42674 X"$ac_file" : 'X\(/\)' \| \
42675 . : '\(.\)' 2>/dev/null ||
42677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42679 /^X\(\/\/\)$/{ s//\1/; q; }
42680 /^X\(\/\).*/{ s//\1/; q; }
42682 { if $as_mkdir_p; then
42687 while test ! -d "$as_dir"; do
42688 as_dirs
="$as_dir $as_dirs"
42689 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42691 X"$as_dir" : 'X\(//\)[^/]' \| \
42692 X"$as_dir" : 'X\(//\)$' \| \
42693 X"$as_dir" : 'X\(/\)' \| \
42694 . : '\(.\)' 2>/dev/null ||
42696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42698 /^X\(\/\/\)$/{ s//\1/; q; }
42699 /^X\(\/\).*/{ s//\1/; q; }
42702 test ! -n "$as_dirs" || mkdir $as_dirs
42703 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42705 { (exit 1); exit 1; }; }; }
42709 if test "$ac_dir" != .
; then
42710 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42711 # A "../" for each directory in $ac_dir_suffix.
42712 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42714 ac_dir_suffix
= ac_top_builddir
=
42718 .
) # No --srcdir option. We are building in place.
42720 if test -z "$ac_top_builddir"; then
42723 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42725 [\\/]* | ?
:[\\/]* ) # Absolute path.
42726 ac_srcdir
=$srcdir$ac_dir_suffix;
42727 ac_top_srcdir
=$srcdir ;;
42728 *) # Relative path.
42729 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42730 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42733 # Do not use `cd foo && pwd` to compute absolute paths, because
42734 # the directories may not exist.
42736 .
) ac_abs_builddir
="$ac_dir";;
42739 .
) ac_abs_builddir
=`pwd`;;
42740 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42741 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42744 case $ac_abs_builddir in
42745 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42747 case ${ac_top_builddir}.
in
42748 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42749 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42750 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42753 case $ac_abs_builddir in
42754 .
) ac_abs_srcdir
=$ac_srcdir;;
42757 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42758 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42759 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42762 case $ac_abs_builddir in
42763 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42765 case $ac_top_srcdir in
42766 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42767 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42768 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42774 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42775 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42778 # Let's still pretend it is `configure' which instantiates (i.e., don't
42779 # use $as_me), people would be surprised to read:
42780 # /* config.h. Generated by config.status. */
42781 if test x
"$ac_file" = x
-; then
42784 configure_input
="$ac_file. "
42786 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42787 sed 's,.*/,,'` by configure."
42789 # First look for the input files in the build tree, otherwise in the
42791 ac_file_inputs
=`IFS=:
42792 for f in $ac_file_in; do
42794 -) echo $tmp/stdin ;;
42796 # Absolute (can't be DOS-style, as IFS=:)
42797 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42798 echo "$as_me: error: cannot find input file: $f" >&2;}
42799 { (exit 1); exit 1; }; }
42802 if test -f "$f"; then
42805 elif test -f "$srcdir/$f"; then
42810 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42811 echo "$as_me: error: cannot find input file: $f" >&2;}
42812 { (exit 1); exit 1; }; }
42815 done` || { (exit 1); exit 1; }
42817 if test x
"$ac_file" != x
-; then
42818 { echo "$as_me:$LINENO: creating $ac_file" >&5
42819 echo "$as_me: creating $ac_file" >&6;}
42823 cat >>$CONFIG_STATUS <<_ACEOF
42827 cat >>$CONFIG_STATUS <<\_ACEOF
42829 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42830 s
,@configure_input@
,$configure_input,;t t
42831 s
,@srcdir@
,$ac_srcdir,;t t
42832 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42833 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42834 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42835 s
,@builddir@
,$ac_builddir,;t t
42836 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42837 s
,@top_builddir@
,$ac_top_builddir,;t t
42838 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42839 s
,@INSTALL@
,$ac_INSTALL,;t t
42840 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42842 if test x"$ac_file" != x-; then
42843 mv $tmp/out $ac_file
42849 # Run the commands associated with the file.
42851 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42852 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42856 cat >>$CONFIG_STATUS <<\_ACEOF
42859 # CONFIG_HEADER section.
42862 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42863 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42865 # ac_d sets the value in "#define NAME VALUE" lines.
42866 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42867 ac_dB
='[ ].*$,\1#\2'
42870 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42871 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42872 ac_uB
='$,\1#\2define\3'
42876 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42877 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42879 - | *:- | *:-:* ) # input from stdin
42881 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42882 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42883 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42884 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42885 * ) ac_file_in
=$ac_file.
in ;;
42888 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42889 echo "$as_me: creating $ac_file" >&6;}
42891 # First look for the input files in the build tree, otherwise in the
42893 ac_file_inputs
=`IFS=:
42894 for f in $ac_file_in; do
42896 -) echo $tmp/stdin ;;
42898 # Absolute (can't be DOS-style, as IFS=:)
42899 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42900 echo "$as_me: error: cannot find input file: $f" >&2;}
42901 { (exit 1); exit 1; }; }
42902 # Do quote $f, to prevent DOS paths from being IFS'd.
42905 if test -f "$f"; then
42908 elif test -f "$srcdir/$f"; then
42913 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42914 echo "$as_me: error: cannot find input file: $f" >&2;}
42915 { (exit 1); exit 1; }; }
42918 done` || { (exit 1); exit 1; }
42919 # Remove the trailing spaces.
42920 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42924 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42925 # `conftest.undefs', that substitutes the proper values into
42926 # config.h.in to produce config.h. The first handles `#define'
42927 # templates, and the second `#undef' templates.
42928 # And first: Protect against being on the right side of a sed subst in
42929 # config.status. Protect against being in an unquoted here document
42930 # in config.status.
42931 rm -f conftest.defines conftest.undefs
42932 # Using a here document instead of a string reduces the quoting nightmare.
42933 # Putting comments in sed scripts is not portable.
42935 # `end' is used to avoid that the second main sed command (meant for
42936 # 0-ary CPP macros) applies to n-ary macro definitions.
42937 # See the Autoconf documentation for `clear'.
42938 cat >confdef2sed.
sed <<\_ACEOF
42943 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42945 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42948 # If some macros were called several times there might be several times
42949 # the same #defines, which is useless. Nevertheless, we may not want to
42950 # sort them, since we want the *last* AC-DEFINE to be honored.
42951 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42952 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42953 rm -f confdef2sed.sed
42955 # This sed command replaces #undef with comments. This is necessary, for
42956 # example, in the case of _POSIX_SOURCE, which is predefined and required
42957 # on some systems where configure will not decide to define it.
42958 cat >>conftest.undefs <<\_ACEOF
42959 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42962 # Break up conftest.defines because some shells have a limit on the size
42963 # of here documents, and old seds have small limits too (100 cmds).
42964 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42965 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42966 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42967 echo ' :' >>$CONFIG_STATUS
42968 rm -f conftest.tail
42969 while grep . conftest.defines >/dev/null
42971 # Write a limited-size here document to $tmp/defines.sed.
42972 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42973 # Speed up: don't consider the non `#define' lines.
42974 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42975 # Work around the forget-to-reset-the-flag bug.
42976 echo 't clr' >>$CONFIG_STATUS
42977 echo ': clr' >>$CONFIG_STATUS
42978 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42980 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42982 mv $tmp/out $tmp/in
42984 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42985 rm -f conftest.defines
42986 mv conftest.
tail conftest.defines
42988 rm -f conftest.defines
42989 echo ' fi # grep' >>$CONFIG_STATUS
42990 echo >>$CONFIG_STATUS
42992 # Break up conftest.undefs because some shells have a limit on the size
42993 # of here documents, and old seds have small limits too (100 cmds).
42994 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42995 rm -f conftest.
tail
42996 while grep . conftest.undefs
>/dev
/null
42998 # Write a limited-size here document to $tmp/undefs.sed.
42999 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43000 # Speed up: don't consider the non
`#undef'
43001 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43002 # Work around the forget-to-reset-the-flag bug.
43003 echo 't clr' >>$CONFIG_STATUS
43004 echo ': clr' >>$CONFIG_STATUS
43005 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43007 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43009 mv $tmp/out $tmp/in
43011 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43012 rm -f conftest.undefs
43013 mv conftest.tail conftest.undefs
43015 rm -f conftest.undefs
43017 cat >>$CONFIG_STATUS <<\_ACEOF
43018 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43019 # use $as_me), people would be surprised to read:
43020 # /* config.h. Generated by config.status. */
43021 if test x
"$ac_file" = x
-; then
43022 echo "/* Generated by configure. */" >$tmp/config.h
43024 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43026 cat $tmp/in >>$tmp/config.h
43028 if test x
"$ac_file" != x
-; then
43029 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43030 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43031 echo "$as_me: $ac_file is unchanged" >&6;}
43033 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43034 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43035 X"$ac_file" : 'X\(//\)[^/]' \| \
43036 X"$ac_file" : 'X\(//\)$' \| \
43037 X"$ac_file" : 'X\(/\)' \| \
43038 . : '\(.\)' 2>/dev/null ||
43040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43042 /^X\(\/\/\)$/{ s//\1/; q; }
43043 /^X\(\/\).*/{ s//\1/; q; }
43045 { if $as_mkdir_p; then
43050 while test ! -d "$as_dir"; do
43051 as_dirs
="$as_dir $as_dirs"
43052 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43054 X"$as_dir" : 'X\(//\)[^/]' \| \
43055 X"$as_dir" : 'X\(//\)$' \| \
43056 X"$as_dir" : 'X\(/\)' \| \
43057 . : '\(.\)' 2>/dev/null ||
43059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43061 /^X\(\/\/\)$/{ s//\1/; q; }
43062 /^X\(\/\).*/{ s//\1/; q; }
43065 test ! -n "$as_dirs" || mkdir $as_dirs
43066 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43067 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43068 { (exit 1); exit 1; }; }; }
43071 mv $tmp/config.h
$ac_file
43075 rm -f $tmp/config.h
43079 cat >>$CONFIG_STATUS <<\_ACEOF
43082 # CONFIG_COMMANDS section.
43084 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43085 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43086 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43087 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43088 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43089 X"$ac_dest" : 'X\(//\)[^/]' \| \
43090 X"$ac_dest" : 'X\(//\)$' \| \
43091 X"$ac_dest" : 'X\(/\)' \| \
43092 . : '\(.\)' 2>/dev/null ||
43094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43096 /^X\(\/\/\)$/{ s//\1/; q; }
43097 /^X\(\/\).*/{ s//\1/; q; }
43099 { if $as_mkdir_p; then
43104 while test ! -d "$as_dir"; do
43105 as_dirs
="$as_dir $as_dirs"
43106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43108 X"$as_dir" : 'X\(//\)[^/]' \| \
43109 X"$as_dir" : 'X\(//\)$' \| \
43110 X"$as_dir" : 'X\(/\)' \| \
43111 . : '\(.\)' 2>/dev/null ||
43113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43115 /^X\(\/\/\)$/{ s//\1/; q; }
43116 /^X\(\/\).*/{ s//\1/; q; }
43119 test ! -n "$as_dirs" || mkdir $as_dirs
43120 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43122 { (exit 1); exit 1; }; }; }
43126 if test "$ac_dir" != .
; then
43127 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43128 # A "../" for each directory in $ac_dir_suffix.
43129 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43131 ac_dir_suffix
= ac_top_builddir
=
43135 .
) # No --srcdir option. We are building in place.
43137 if test -z "$ac_top_builddir"; then
43140 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43142 [\\/]* | ?
:[\\/]* ) # Absolute path.
43143 ac_srcdir
=$srcdir$ac_dir_suffix;
43144 ac_top_srcdir
=$srcdir ;;
43145 *) # Relative path.
43146 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43147 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43150 # Do not use `cd foo && pwd` to compute absolute paths, because
43151 # the directories may not exist.
43153 .
) ac_abs_builddir
="$ac_dir";;
43156 .
) ac_abs_builddir
=`pwd`;;
43157 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43158 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43161 case $ac_abs_builddir in
43162 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43164 case ${ac_top_builddir}.
in
43165 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43166 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43167 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43170 case $ac_abs_builddir in
43171 .
) ac_abs_srcdir
=$ac_srcdir;;
43174 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43175 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43176 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43179 case $ac_abs_builddir in
43180 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43182 case $ac_top_srcdir in
43183 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43184 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43185 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43190 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43191 echo "$as_me: executing $ac_dest commands" >&6;}
43193 wx
-config ) rm -f wx
-config
43194 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43200 cat >>$CONFIG_STATUS <<\_ACEOF
43202 { (exit 0); exit 0; }
43204 chmod +x
$CONFIG_STATUS
43205 ac_clean_files
=$ac_clean_files_save
43208 # configure is writing to config.log, and then calls config.status.
43209 # config.status does its own redirection, appending to config.log.
43210 # Unfortunately, on DOS this fails, as config.log is still kept open
43211 # by configure, so config.status won't be able to write to it; its
43212 # output is simply discarded. So we exec the FD to /dev/null,
43213 # effectively closing config.log, so it can be properly (re)opened and
43214 # appended to by config.status. When coming back to configure, we
43215 # need to make the FD available again.
43216 if test "$no_create" != yes; then
43218 ac_config_status_args
=
43219 test "$silent" = yes &&
43220 ac_config_status_args
="$ac_config_status_args --quiet"
43222 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43224 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43225 # would make configure fail if this is the last instruction.
43226 $ac_cs_success || { (exit 1); exit 1; }
43230 # CONFIG_SUBDIRS section.
43232 if test "$no_recursion" != yes; then
43234 # Remove --cache-file and --srcdir arguments so they do not pile up.
43235 ac_sub_configure_args
=
43237 for ac_arg
in $ac_configure_args; do
43238 if test -n "$ac_prev"; then
43243 -cache-file | --cache-file | --cache-fil | --cache-fi \
43244 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43245 ac_prev
=cache_file
;;
43246 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43247 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43250 --config-cache | -C)
43252 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43254 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43256 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43258 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43260 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43264 # Always prepend --prefix to ensure using the same prefix
43265 # in subdir configurations.
43266 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43269 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43271 # Do not complain, so a configure script can configure whichever
43272 # parts of a large source tree are present.
43273 test -d $srcdir/$ac_dir || continue
43275 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43276 echo "$as_me: configuring in $ac_dir" >&6;}
43277 { if $as_mkdir_p; then
43282 while test ! -d "$as_dir"; do
43283 as_dirs
="$as_dir $as_dirs"
43284 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43286 X"$as_dir" : 'X\(//\)[^/]' \| \
43287 X"$as_dir" : 'X\(//\)$' \| \
43288 X"$as_dir" : 'X\(/\)' \| \
43289 . : '\(.\)' 2>/dev/null ||
43291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43293 /^X\(\/\/\)$/{ s//\1/; q; }
43294 /^X\(\/\).*/{ s//\1/; q; }
43297 test ! -n "$as_dirs" || mkdir $as_dirs
43298 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43299 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43300 { (exit 1); exit 1; }; }; }
43304 if test "$ac_dir" != .
; then
43305 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43306 # A "../" for each directory in $ac_dir_suffix.
43307 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43309 ac_dir_suffix
= ac_top_builddir
=
43313 .
) # No --srcdir option. We are building in place.
43315 if test -z "$ac_top_builddir"; then
43318 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43320 [\\/]* | ?
:[\\/]* ) # Absolute path.
43321 ac_srcdir
=$srcdir$ac_dir_suffix;
43322 ac_top_srcdir
=$srcdir ;;
43323 *) # Relative path.
43324 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43325 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43328 # Do not use `cd foo && pwd` to compute absolute paths, because
43329 # the directories may not exist.
43331 .
) ac_abs_builddir
="$ac_dir";;
43334 .
) ac_abs_builddir
=`pwd`;;
43335 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43336 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43339 case $ac_abs_builddir in
43340 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43342 case ${ac_top_builddir}.
in
43343 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43344 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43345 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43348 case $ac_abs_builddir in
43349 .
) ac_abs_srcdir
=$ac_srcdir;;
43352 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43353 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43354 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43357 case $ac_abs_builddir in
43358 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43360 case $ac_top_srcdir in
43361 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43362 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43363 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43370 # Check for guested configure; otherwise get Cygnus style configure.
43371 if test -f $ac_srcdir/configure.gnu
; then
43372 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43373 elif test -f $ac_srcdir/configure
; then
43374 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43375 elif test -f $ac_srcdir/configure.
in; then
43376 ac_sub_configure
=$ac_configure
43378 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43379 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43383 # The recursion is here.
43384 if test -n "$ac_sub_configure"; then
43385 # Make the cache file name correct relative to the subdirectory.
43386 case $cache_file in
43387 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43388 *) # Relative path.
43389 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43392 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43393 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43394 # The eval makes quoting arguments work.
43395 eval $ac_sub_configure $ac_sub_configure_args \
43396 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43397 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43398 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43399 { (exit 1); exit 1; }; }
43408 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43410 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43411 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43413 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43414 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43415 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43417 echo " What level of wxWidgets compatibility should be enabled?"
43418 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43419 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43421 echo " Which libraries should wxWidgets use?"
43422 echo " jpeg ${wxUSE_LIBJPEG-none}"
43423 echo " png ${wxUSE_LIBPNG-none}"
43424 echo " regex ${wxUSE_REGEX}"
43425 echo " tiff ${wxUSE_LIBTIFF-none}"
43426 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43427 echo " xpm ${wxUSE_LIBXPM-none}"
43429 echo " zlib ${wxUSE_ZLIB}"
43430 echo " odbc ${wxUSE_ODBC}"
43431 echo " expat ${wxUSE_EXPAT}"
43432 echo " libmspack ${wxUSE_LIBMSPACK}"
43433 echo " sdl ${wxUSE_LIBSDL}"
43434 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"