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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_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_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.3:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-mediactrl use wxMediaCtrl class
935 --enable-wxprintfv use wxWidgets implementation of vprintf
()
936 --enable-zipstream use wxZipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-xrc use XRC resources sub
-library
949 --enable-constraints use layout
-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
952 --enable-mdidoc use docview architecture with MDI
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
956 --enable-webkit use wxWebKitCtrl
(Mac
)
957 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
958 --enable-prologio not available
; see contrib
959 --enable-resources not available
; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag
'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
971 --enable-choice use wxChoice class
972 --enable-choicebook use wxChoicebook class
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick
(Linux only
)
1025 --enable-metafiles use wxMetaFile
(Windows only
)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images
(GIF
file format
)
1031 --enable-pcx use pcx images
(PCX
file format
)
1032 --enable-iff use iff images
(IFF
file format
)
1033 --enable-pnm use pnm images
(PNM
file format
)
1034 --enable-xpm use xpm images
(XPM
file format
)
1035 --enable-icocur use Windows ICO and CUR formats
1036 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1037 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1038 --disable-largefile omit support
for large files
1039 --disable-gtktest do not try to compile and run a
test GTK
+ program
1040 --disable-gtktest Do not try to compile and run a
test GTK program
1041 --disable-sdltest Do not try to compile and run a
test SDL program
1042 --enable-omf use OMF object format
(OS
/2)
1043 --disable-precomp-headers
1044 don
't use precompiled headers even if compiler can
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
1065 --with-gnomeprint use GNOME print for printing under Unix
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
1072 --with-flavour=NAME specify a name to identify this build
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
1094 Use these variables to override the choices made by `configure' or to
help
1095 it to
find libraries and programs with nonstandard names
/locations.
1097 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1101 if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1104 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1105 test -d $ac_dir || continue
1108 if test "$ac_dir" != .
; then
1109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 ac_dir_suffix
= ac_top_builddir
=
1117 .
) # No --srcdir option. We are building in place.
1119 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1124 [\\/]* | ?
:[\\/]* ) # Absolute path.
1125 ac_srcdir
=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir
=$srcdir ;;
1128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1132 # Do not use `cd foo && pwd` to compute absolute paths, because
1133 # the directories may not exist.
1135 .
) ac_abs_builddir
="$ac_dir";;
1138 .
) ac_abs_builddir
=`pwd`;;
1139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1143 case $ac_abs_builddir in
1144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1146 case ${ac_top_builddir}.
in
1147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1152 case $ac_abs_builddir in
1153 .
) ac_abs_srcdir
=$ac_srcdir;;
1156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1161 case $ac_abs_builddir in
1162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1164 case $ac_top_srcdir in
1165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu
; then
1175 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1176 elif test -f $ac_srcdir/configure
; then
1178 $SHELL $ac_srcdir/configure
--help=recursive
1179 elif test -f $ac_srcdir/configure.ac
||
1180 test -f $ac_srcdir/configure.
in; then
1182 $ac_configure --help
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 test -n "$ac_init_help" && exit 0
1191 if $ac_init_version; then
1193 wxWidgets configure
2.5.3
1194 generated by GNU Autoconf
2.59
1196 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1197 This configure
script is free software
; the Free Software Foundation
1198 gives unlimited permission to copy
, distribute and modify it.
1204 This file contains any messages produced by compilers while
1205 running configure, to aid debugging if configure makes a mistake.
1207 It was created by wxWidgets $as_me 2.5.3, which was
1208 generated by GNU Autoconf 2.59. Invocation command line was
1219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1242 test -z "$as_dir" && as_dir
=.
1243 echo "PATH: $as_dir"
1258 # Keep a trace of the command line.
1259 # Strip out --no-create and --no-recursion so they do not pile up.
1260 # Strip out --silent because we don't want to record it for future runs.
1261 # Also quote any args containing shell meta-characters.
1262 # Make two passes to allow for proper duplicate-argument suppression.
1267 ac_must_keep_next
=false
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1283 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true
; then
1285 ac_must_keep_next
=false
# Got value, back to normal.
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 -* ) ac_must_keep_next
=true
;;
1299 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1306 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1307 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1309 # When interrupted or exit'd, cleanup temporary files, and complete
1310 # config.log. We remove comments because anyway the quotes in there
1311 # would cause problems or look ugly.
1312 # WARNING: Be sure not to use single quotes in there, as some shells,
1313 # such as our DU 5.0 friend, will then `close' the trap.
1314 trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1320 ## ---------------- ##
1321 ## Cache variables. ##
1322 ## ---------------- ##
1325 # The following way of writing the cache mishandles newlines in values,
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1343 ## ----------------- ##
1344 ## Output variables. ##
1345 ## ----------------- ##
1348 for ac_var in $ac_subst_vars
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1355 if test -n "$ac_subst_files"; then
1362 for ac_var in $ac_subst_files
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1370 if test -s confdefs.h; then
1377 sed "/^$/d" confdefs.h | sort
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1384 rm -f core *.core &&
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 for ac_signal
in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1393 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1394 rm -rf conftest
* confdefs.h
1395 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 # Predefined preprocessor variables.
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_NAME "$PACKAGE_NAME"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_STRING "$PACKAGE_STRING"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1425 # Let the site file select an alternate cache file if it wants to.
1426 # Prefer explicitly selected file to automatically selected ones.
1427 if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE
; then
1429 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1431 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434 for ac_site_file
in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437 echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1443 if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448 echo "$as_me: loading cache $cache_file" >&6;}
1450 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1451 *) . .
/$cache_file;;
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456 echo "$as_me: creating cache $cache_file" >&6;}
1460 # Check that the precious variables saved in the cache have kept the same
1462 ac_cache_corrupted
=false
1463 for ac_var
in `(set) 2>&1 |
1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1465 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1466 eval ac_new_set
=\
$ac_env_${ac_var}_set
1467 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val
="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted
=: ;;
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted
=: ;;
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1482 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1484 echo "$as_me: former value: $ac_old_val" >&2;}
1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1486 echo "$as_me: current value: $ac_new_val" >&2;}
1487 ac_cache_corrupted
=:
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg
=$ac_var=$ac_new_val ;;
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1503 if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1512 ac_cpp
='$CPP $CPPFLAGS'
1513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1547 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1548 if test -f $ac_dir/install-sh; then
1550 ac_install_sh
="$ac_aux_dir/install-sh -c"
1552 elif test -f $ac_dir/install.sh
; then
1554 ac_install_sh
="$ac_aux_dir/install.sh -c"
1556 elif test -f $ac_dir/shtool
; then
1558 ac_install_sh
="$ac_aux_dir/shtool install -c"
1562 if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1567 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1568 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1569 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 ac_cv_build_alias
=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias
=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1598 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 ac_cv_host_alias
=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias
=$ac_cv_build_alias
1611 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1620 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 echo "$as_me:$LINENO: checking target system type" >&5
1626 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627 if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 ac_cv_target_alias
=$target_alias
1631 test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias
=$ac_cv_host_alias
1633 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640 echo "${ECHO_T}$ac_cv_target" >&6
1641 target
=$ac_cv_target
1642 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 # The aliases save the names the user supplied, while $host etc.
1648 # will get canonicalized.
1649 test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1652 program_prefix
=${target_alias}-
1656 wx_major_version_number
=2
1657 wx_minor_version_number
=5
1659 wx_subrelease_number
=3
1661 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1662 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1663 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1665 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1681 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1687 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1693 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1695 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1697 DEFAULT_wxUSE_COCOA
=0
1701 DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_wxUSE_MOTIF
=0
1707 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_DEFAULT_wxUSE_GTK
=0
1709 DEFAULT_DEFAULT_wxUSE_MAC
=0
1710 DEFAULT_DEFAULT_wxUSE_MGL
=0
1711 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1712 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1713 DEFAULT_DEFAULT_wxUSE_MSW
=0
1714 DEFAULT_DEFAULT_wxUSE_PM
=0
1715 DEFAULT_DEFAULT_wxUSE_X11
=0
1720 SAMPLES_RPATH_POSTLINK
=
1725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1728 cat >>confdefs.h
<<\_ACEOF
1735 cat >>confdefs.h
<<\_ACEOF
1740 if test "x$TMP" = "xalpha"; then
1742 cat >>confdefs.h
<<\_ACEOF
1747 DEFAULT_DEFAULT_wxUSE_GTK
=1
1749 *-*-gnu* | *-*-k*bsd
*-gnu )
1752 if test "x$TMP" = "xalpha"; then
1754 cat >>confdefs.h
<<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_GTK
=1
1761 *-*-irix5* | *-*-irix6* )
1764 cat >>confdefs.h
<<\_ACEOF
1768 cat >>confdefs.h
<<\_ACEOF
1772 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1778 cat >>confdefs.h
<<\_ACEOF
1782 cat >>confdefs.h
<<\_ACEOF
1783 #define __SOLARIS__ 1
1786 cat >>confdefs.h
<<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1797 cat >>confdefs.h
<<\_ACEOF
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1814 cat >>confdefs.h
<<\_ACEOF
1815 #define __FREEBSD__ 1
1818 cat >>confdefs.h
<<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_GTK
=1
1827 cat >>confdefs.h
<<\_ACEOF
1828 #define __OPENBSD__ 1
1831 cat >>confdefs.h
<<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_GTK
=1
1840 cat >>confdefs.h
<<\_ACEOF
1841 #define __NETBSD__ 1
1844 cat >>confdefs.h
<<\_ACEOF
1848 DEFAULT_DEFAULT_wxUSE_GTK
=1
1853 cat >>confdefs.h
<<\_ACEOF
1857 cat >>confdefs.h
<<\_ACEOF
1861 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1867 cat >>confdefs.h
<<\_ACEOF
1871 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1880 cat >>confdefs.h
<<\_ACEOF
1884 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1895 cat >>confdefs.h
<<\_ACEOF
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1914 cat >>confdefs.h
<<\_ACEOF
1915 #define __UNIXWARE__ 1
1920 *-*-cygwin* | *-*-mingw32* )
1924 DEFAULT_DEFAULT_wxUSE_MSW
=1
1930 cat >>confdefs.h
<<\_ACEOF
1935 DEFAULT_DEFAULT_wxUSE_MGL
=1
1936 LIBS
="$LIBS -lstdc++"
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h
<<\_ACEOF
1945 cat >>confdefs.h
<<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_PM
=1
1952 LDFLAGS
="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions
=".exe"
1954 export ac_executable_extensions
1958 for ac_dir
in $PATH; do
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH
="$ac_dir"
1963 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1966 export PATH
="$ac_TEMP_PATH"
1974 cat >>confdefs.h
<<\_ACEOF
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define __DARWIN__ 1
1982 cat >>confdefs.h
<<\_ACEOF
1983 #define __POWERPC__ 1
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define TARGET_CARBON 1
1990 DEFAULT_DEFAULT_wxUSE_MAC
=1
1992 powerpc
-apple-macos* )
1994 ac_cv_c_bigendian
=yes
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
2001 cat >>confdefs.h
<<\_ACEOF
2008 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2009 echo "$as_me: error: unknown system type ${host}." >&2;}
2010 { (exit 1); exit 1; }; }
2016 wx_arg_cache_file
="configarg.cache"
2017 echo "loading argument cache $wx_arg_cache_file"
2018 rm -f ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}
2024 if test $DEBUG_CONFIGURE = 1; then
2025 DEFAULT_wxUSE_UNIVERSAL
=no
2026 DEFAULT_wxUSE_STL
=no
2028 DEFAULT_wxUSE_NANOX
=no
2030 DEFAULT_wxUSE_THREADS
=yes
2032 DEFAULT_wxUSE_SHARED
=yes
2033 DEFAULT_wxUSE_OPTIMISE
=no
2034 DEFAULT_wxUSE_PROFILE
=no
2035 DEFAULT_wxUSE_NO_DEPS
=no
2036 DEFAULT_wxUSE_NO_RTTI
=no
2037 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2038 DEFAULT_wxUSE_RPATH
=yes
2039 DEFAULT_wxUSE_PERMISSIVE
=no
2040 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2041 DEFAULT_wxUSE_DEBUG_INFO
=yes
2042 DEFAULT_wxUSE_DEBUG_GDB
=yes
2043 DEFAULT_wxUSE_MEM_TRACING
=no
2044 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2045 DEFAULT_wxUSE_DMALLOC
=no
2046 DEFAULT_wxUSE_APPLE_IEEE
=no
2048 DEFAULT_wxUSE_EXCEPTIONS
=no
2049 DEFAULT_wxUSE_LOG
=yes
2050 DEFAULT_wxUSE_LOGWINDOW
=no
2051 DEFAULT_wxUSE_LOGGUI
=no
2052 DEFAULT_wxUSE_LOGDIALOG
=no
2054 DEFAULT_wxUSE_GUI
=yes
2055 DEFAULT_wxUSE_CONTROLS
=no
2057 DEFAULT_wxUSE_REGEX
=no
2058 DEFAULT_wxUSE_XML
=no
2059 DEFAULT_wxUSE_EXPAT
=no
2060 DEFAULT_wxUSE_ZLIB
=no
2061 DEFAULT_wxUSE_LIBPNG
=no
2062 DEFAULT_wxUSE_LIBJPEG
=no
2063 DEFAULT_wxUSE_LIBTIFF
=no
2064 DEFAULT_wxUSE_LIBXPM
=no
2065 DEFAULT_wxUSE_LIBMSPACK
=no
2066 DEFAULT_wxUSE_LIBSDL
=no
2067 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2068 DEFAULT_wxUSE_ODBC
=no
2069 DEFAULT_wxUSE_OPENGL
=no
2071 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2073 DEFAULT_wxUSE_STD_IOSTREAM
=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2075 DEFAULT_wxUSE_DATETIME
=no
2076 DEFAULT_wxUSE_TIMER
=no
2077 DEFAULT_wxUSE_STOPWATCH
=no
2078 DEFAULT_wxUSE_FILE
=no
2079 DEFAULT_wxUSE_FFILE
=no
2080 DEFAULT_wxUSE_TEXTBUFFER
=no
2081 DEFAULT_wxUSE_TEXTFILE
=no
2082 DEFAULT_wxUSE_SOUND
=no
2083 DEFAULT_wxUSE_MEDIACTRL
=no
2084 DEFAULT_wxUSE_DIRECTSHOW
=no
2085 DEFAULT_wxUSE_INTL
=no
2086 DEFAULT_wxUSE_CONFIG
=no
2087 DEFAULT_wxUSE_FONTMAP
=no
2088 DEFAULT_wxUSE_STREAMS
=no
2089 DEFAULT_wxUSE_SOCKETS
=no
2090 DEFAULT_wxUSE_OLE
=no
2091 DEFAULT_wxUSE_DATAOBJ
=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2093 DEFAULT_wxUSE_JOYSTICK
=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2096 DEFAULT_wxUSE_LONGLONG
=no
2097 DEFAULT_wxUSE_GEOMETRY
=no
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2101 DEFAULT_wxUSE_POSTSCRIPT
=no
2103 DEFAULT_wxUSE_CLIPBOARD
=no
2104 DEFAULT_wxUSE_TOOLTIPS
=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2106 DEFAULT_wxUSE_DRAGIMAGE
=no
2107 DEFAULT_wxUSE_SPLINES
=no
2109 DEFAULT_wxUSE_MDI
=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_RESOURCES
=no
2115 DEFAULT_wxUSE_CONSTRAINTS
=no
2116 DEFAULT_wxUSE_IPC
=no
2117 DEFAULT_wxUSE_HELP
=no
2118 DEFAULT_wxUSE_MS_HTML_HELP
=no
2119 DEFAULT_wxUSE_WXHTML_HELP
=no
2120 DEFAULT_wxUSE_TREELAYOUT
=no
2121 DEFAULT_wxUSE_METAFILE
=no
2122 DEFAULT_wxUSE_MIMETYPE
=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2124 DEFAULT_wxUSE_PROTOCOL
=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2128 DEFAULT_wxUSE_URL
=no
2130 DEFAULT_wxUSE_COMMONDLGS
=no
2131 DEFAULT_wxUSE_CHOICEDLG
=no
2132 DEFAULT_wxUSE_COLOURDLG
=no
2133 DEFAULT_wxUSE_DIRDLG
=no
2134 DEFAULT_wxUSE_FILEDLG
=no
2135 DEFAULT_wxUSE_FINDREPLDLG
=no
2136 DEFAULT_wxUSE_FONTDLG
=no
2137 DEFAULT_wxUSE_MSGDLG
=no
2138 DEFAULT_wxUSE_NUMBERDLG
=no
2139 DEFAULT_wxUSE_TEXTDLG
=no
2140 DEFAULT_wxUSE_SPLASH
=no
2141 DEFAULT_wxUSE_STARTUP_TIPS
=no
2142 DEFAULT_wxUSE_PROGRESSDLG
=no
2143 DEFAULT_wxUSE_WIZARDDLG
=no
2145 DEFAULT_wxUSE_MENUS
=no
2146 DEFAULT_wxUSE_MINIFRAME
=no
2147 DEFAULT_wxUSE_HTML
=no
2148 DEFAULT_wxUSE_XRC
=no
2149 DEFAULT_wxUSE_WEBKIT
=no
2150 DEFAULT_wxUSE_FILESYSTEM
=no
2151 DEFAULT_wxUSE_FS_INET
=no
2152 DEFAULT_wxUSE_FS_ZIP
=no
2153 DEFAULT_wxUSE_BUSYINFO
=no
2154 DEFAULT_wxUSE_ZIPSTREAM
=no
2155 DEFAULT_wxUSE_VALIDATORS
=no
2157 DEFAULT_wxUSE_ACCEL
=no
2158 DEFAULT_wxUSE_BUTTON
=no
2159 DEFAULT_wxUSE_BMPBUTTON
=no
2160 DEFAULT_wxUSE_CALCTRL
=no
2161 DEFAULT_wxUSE_CARET
=no
2162 DEFAULT_wxUSE_CHECKBOX
=no
2163 DEFAULT_wxUSE_CHECKLST
=no
2164 DEFAULT_wxUSE_CHOICE
=no
2165 DEFAULT_wxUSE_CHOICEBOOK
=no
2166 DEFAULT_wxUSE_COMBOBOX
=no
2167 DEFAULT_wxUSE_DISPLAY
=no
2168 DEFAULT_wxUSE_GAUGE
=no
2169 DEFAULT_wxUSE_GRID
=no
2170 DEFAULT_wxUSE_IMAGLIST
=no
2171 DEFAULT_wxUSE_LISTBOOK
=no
2172 DEFAULT_wxUSE_LISTBOX
=no
2173 DEFAULT_wxUSE_LISTCTRL
=no
2174 DEFAULT_wxUSE_NOTEBOOK
=no
2175 DEFAULT_wxUSE_RADIOBOX
=no
2176 DEFAULT_wxUSE_RADIOBTN
=no
2177 DEFAULT_wxUSE_SASH
=no
2178 DEFAULT_wxUSE_SCROLLBAR
=no
2179 DEFAULT_wxUSE_SLIDER
=no
2180 DEFAULT_wxUSE_SPINBTN
=no
2181 DEFAULT_wxUSE_SPINCTRL
=no
2182 DEFAULT_wxUSE_SPLITTER
=no
2183 DEFAULT_wxUSE_STATBMP
=no
2184 DEFAULT_wxUSE_STATBOX
=no
2185 DEFAULT_wxUSE_STATLINE
=no
2186 DEFAULT_wxUSE_STATTEXT
=no
2187 DEFAULT_wxUSE_STATUSBAR
=yes
2188 DEFAULT_wxUSE_TABDIALOG
=no
2189 DEFAULT_wxUSE_TEXTCTRL
=no
2190 DEFAULT_wxUSE_TOGGLEBTN
=no
2191 DEFAULT_wxUSE_TOOLBAR
=no
2192 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2193 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2194 DEFAULT_wxUSE_TREECTRL
=no
2195 DEFAULT_wxUSE_POPUPWIN
=no
2196 DEFAULT_wxUSE_TIPWINDOW
=no
2198 DEFAULT_wxUSE_UNICODE
=no
2199 DEFAULT_wxUSE_UNICODE_MSLU
=no
2200 DEFAULT_wxUSE_WCSRTOMBS
=no
2202 DEFAULT_wxUSE_PALETTE
=no
2203 DEFAULT_wxUSE_IMAGE
=no
2204 DEFAULT_wxUSE_GIF
=no
2205 DEFAULT_wxUSE_PCX
=no
2206 DEFAULT_wxUSE_PNM
=no
2207 DEFAULT_wxUSE_IFF
=no
2208 DEFAULT_wxUSE_XPM
=no
2209 DEFAULT_wxUSE_ICO_CUR
=no
2210 DEFAULT_wxUSE_ACCESSIBILITY
=no
2212 DEFAULT_wxUSE_MONOLITHIC
=no
2213 DEFAULT_wxUSE_PLUGINS
=no
2214 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2216 DEFAULT_wxUSE_UNIVERSAL
=no
2217 DEFAULT_wxUSE_STL
=no
2219 DEFAULT_wxUSE_NANOX
=no
2221 DEFAULT_wxUSE_THREADS
=yes
2223 DEFAULT_wxUSE_SHARED
=yes
2224 DEFAULT_wxUSE_OPTIMISE
=yes
2225 DEFAULT_wxUSE_PROFILE
=no
2226 DEFAULT_wxUSE_NO_DEPS
=no
2227 DEFAULT_wxUSE_NO_RTTI
=no
2228 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2229 DEFAULT_wxUSE_RPATH
=yes
2230 DEFAULT_wxUSE_PERMISSIVE
=no
2231 DEFAULT_wxUSE_DEBUG_FLAG
=no
2232 DEFAULT_wxUSE_DEBUG_INFO
=no
2233 DEFAULT_wxUSE_DEBUG_GDB
=no
2234 DEFAULT_wxUSE_MEM_TRACING
=no
2235 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2236 DEFAULT_wxUSE_DMALLOC
=no
2237 DEFAULT_wxUSE_APPLE_IEEE
=yes
2239 DEFAULT_wxUSE_EXCEPTIONS
=yes
2240 DEFAULT_wxUSE_LOG
=yes
2241 DEFAULT_wxUSE_LOGWINDOW
=yes
2242 DEFAULT_wxUSE_LOGGUI
=yes
2243 DEFAULT_wxUSE_LOGDIALOG
=yes
2245 DEFAULT_wxUSE_GUI
=yes
2247 DEFAULT_wxUSE_REGEX
=yes
2248 DEFAULT_wxUSE_XML
=yes
2249 DEFAULT_wxUSE_EXPAT
=yes
2250 DEFAULT_wxUSE_ZLIB
=yes
2251 DEFAULT_wxUSE_LIBPNG
=yes
2252 DEFAULT_wxUSE_LIBJPEG
=yes
2253 DEFAULT_wxUSE_LIBTIFF
=yes
2254 DEFAULT_wxUSE_LIBXPM
=yes
2255 DEFAULT_wxUSE_LIBMSPACK
=yes
2256 DEFAULT_wxUSE_LIBSDL
=no
2257 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2258 DEFAULT_wxUSE_ODBC
=no
2259 DEFAULT_wxUSE_OPENGL
=no
2261 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2262 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2263 DEFAULT_wxUSE_STD_IOSTREAM
=no
2264 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2265 DEFAULT_wxUSE_DATETIME
=yes
2266 DEFAULT_wxUSE_TIMER
=yes
2267 DEFAULT_wxUSE_STOPWATCH
=yes
2268 DEFAULT_wxUSE_FILE
=yes
2269 DEFAULT_wxUSE_FFILE
=yes
2270 DEFAULT_wxUSE_TEXTBUFFER
=yes
2271 DEFAULT_wxUSE_TEXTFILE
=yes
2272 DEFAULT_wxUSE_SOUND
=yes
2273 DEFAULT_wxUSE_MEDIACTRL
=no
2274 DEFAULT_wxUSE_DIRECTSHOW
=no
2275 DEFAULT_wxUSE_INTL
=yes
2276 DEFAULT_wxUSE_CONFIG
=yes
2277 DEFAULT_wxUSE_FONTMAP
=yes
2278 DEFAULT_wxUSE_STREAMS
=yes
2279 DEFAULT_wxUSE_SOCKETS
=yes
2280 DEFAULT_wxUSE_OLE
=yes
2281 DEFAULT_wxUSE_DATAOBJ
=yes
2282 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2283 DEFAULT_wxUSE_JOYSTICK
=yes
2284 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2285 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2286 DEFAULT_wxUSE_LONGLONG
=yes
2287 DEFAULT_wxUSE_GEOMETRY
=yes
2289 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2290 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2291 DEFAULT_wxUSE_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_CLIPBOARD
=yes
2294 DEFAULT_wxUSE_TOOLTIPS
=yes
2295 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2296 DEFAULT_wxUSE_DRAGIMAGE
=yes
2297 DEFAULT_wxUSE_SPLINES
=yes
2299 DEFAULT_wxUSE_MDI
=yes
2300 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2301 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2302 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_RESOURCES
=no
2305 DEFAULT_wxUSE_CONSTRAINTS
=yes
2306 DEFAULT_wxUSE_IPC
=yes
2307 DEFAULT_wxUSE_HELP
=yes
2308 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2309 DEFAULT_wxUSE_WXHTML_HELP
=yes
2310 DEFAULT_wxUSE_TREELAYOUT
=yes
2311 DEFAULT_wxUSE_METAFILE
=yes
2312 DEFAULT_wxUSE_MIMETYPE
=yes
2313 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2314 DEFAULT_wxUSE_PROTOCOL
=yes
2315 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2316 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2317 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2318 DEFAULT_wxUSE_URL
=yes
2320 DEFAULT_wxUSE_COMMONDLGS
=yes
2321 DEFAULT_wxUSE_CHOICEDLG
=yes
2322 DEFAULT_wxUSE_COLOURDLG
=yes
2323 DEFAULT_wxUSE_DIRDLG
=yes
2324 DEFAULT_wxUSE_FILEDLG
=yes
2325 DEFAULT_wxUSE_FINDREPLDLG
=yes
2326 DEFAULT_wxUSE_FONTDLG
=yes
2327 DEFAULT_wxUSE_MSGDLG
=yes
2328 DEFAULT_wxUSE_NUMBERDLG
=yes
2329 DEFAULT_wxUSE_TEXTDLG
=yes
2330 DEFAULT_wxUSE_SPLASH
=yes
2331 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2332 DEFAULT_wxUSE_PROGRESSDLG
=yes
2333 DEFAULT_wxUSE_WIZARDDLG
=yes
2335 DEFAULT_wxUSE_MENUS
=yes
2336 DEFAULT_wxUSE_MINIFRAME
=yes
2337 DEFAULT_wxUSE_HTML
=yes
2338 DEFAULT_wxUSE_XRC
=yes
2339 DEFAULT_wxUSE_WEBKIT
=yes
2340 DEFAULT_wxUSE_FILESYSTEM
=yes
2341 DEFAULT_wxUSE_FS_INET
=yes
2342 DEFAULT_wxUSE_FS_ZIP
=yes
2343 DEFAULT_wxUSE_BUSYINFO
=yes
2344 DEFAULT_wxUSE_ZIPSTREAM
=yes
2345 DEFAULT_wxUSE_VALIDATORS
=yes
2347 DEFAULT_wxUSE_ACCEL
=yes
2348 DEFAULT_wxUSE_BUTTON
=yes
2349 DEFAULT_wxUSE_BMPBUTTON
=yes
2350 DEFAULT_wxUSE_CALCTRL
=yes
2351 DEFAULT_wxUSE_CARET
=yes
2352 DEFAULT_wxUSE_CHECKBOX
=yes
2353 DEFAULT_wxUSE_CHECKLST
=yes
2354 DEFAULT_wxUSE_CHOICE
=yes
2355 DEFAULT_wxUSE_CHOICEBOOK
=yes
2356 DEFAULT_wxUSE_COMBOBOX
=yes
2357 DEFAULT_wxUSE_DISPLAY
=yes
2358 DEFAULT_wxUSE_GAUGE
=yes
2359 DEFAULT_wxUSE_GRID
=yes
2360 DEFAULT_wxUSE_IMAGLIST
=yes
2361 DEFAULT_wxUSE_LISTBOOK
=yes
2362 DEFAULT_wxUSE_LISTBOX
=yes
2363 DEFAULT_wxUSE_LISTCTRL
=yes
2364 DEFAULT_wxUSE_NOTEBOOK
=yes
2365 DEFAULT_wxUSE_RADIOBOX
=yes
2366 DEFAULT_wxUSE_RADIOBTN
=yes
2367 DEFAULT_wxUSE_SASH
=yes
2368 DEFAULT_wxUSE_SCROLLBAR
=yes
2369 DEFAULT_wxUSE_SLIDER
=yes
2370 DEFAULT_wxUSE_SPINBTN
=yes
2371 DEFAULT_wxUSE_SPINCTRL
=yes
2372 DEFAULT_wxUSE_SPLITTER
=yes
2373 DEFAULT_wxUSE_STATBMP
=yes
2374 DEFAULT_wxUSE_STATBOX
=yes
2375 DEFAULT_wxUSE_STATLINE
=yes
2376 DEFAULT_wxUSE_STATTEXT
=yes
2377 DEFAULT_wxUSE_STATUSBAR
=yes
2378 DEFAULT_wxUSE_TABDIALOG
=no
2379 DEFAULT_wxUSE_TEXTCTRL
=yes
2380 DEFAULT_wxUSE_TOGGLEBTN
=yes
2381 DEFAULT_wxUSE_TOOLBAR
=yes
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2383 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2384 DEFAULT_wxUSE_TREECTRL
=yes
2385 DEFAULT_wxUSE_POPUPWIN
=yes
2386 DEFAULT_wxUSE_TIPWINDOW
=yes
2388 DEFAULT_wxUSE_UNICODE
=no
2389 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2390 DEFAULT_wxUSE_WCSRTOMBS
=no
2392 DEFAULT_wxUSE_PALETTE
=yes
2393 DEFAULT_wxUSE_IMAGE
=yes
2394 DEFAULT_wxUSE_GIF
=yes
2395 DEFAULT_wxUSE_PCX
=yes
2396 DEFAULT_wxUSE_IFF
=no
2397 DEFAULT_wxUSE_PNM
=yes
2398 DEFAULT_wxUSE_XPM
=yes
2399 DEFAULT_wxUSE_ICO_CUR
=yes
2400 DEFAULT_wxUSE_ACCESSIBILITY
=no
2402 DEFAULT_wxUSE_MONOLITHIC
=no
2403 DEFAULT_wxUSE_PLUGINS
=no
2404 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2406 DEFAULT_wxUSE_GTK2
=yes
2411 for toolkit
in `echo $ALL_TOOLKITS`; do
2412 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2413 if test "x$LINE" != "x" ; then
2414 has_toolkit_in_cache
=1
2415 eval "DEFAULT_$LINE"
2416 eval "CACHE_$toolkit=1"
2423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2424 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2426 # Check whether --enable-gui or --disable-gui was given.
2427 if test "${enable_gui+set}" = set; then
2428 enableval
="$enable_gui"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_gui
='wxUSE_GUI=yes'
2433 ac_cv_use_gui
='wxUSE_GUI=no'
2438 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2449 eval "$ac_cv_use_gui"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2454 if test "$wxUSE_GUI" = yes; then
2455 echo "$as_me:$LINENO: result: yes" >&5
2456 echo "${ECHO_T}yes" >&6
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2465 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2467 # Check whether --enable-monolithic or --disable-monolithic was given.
2468 if test "${enable_monolithic+set}" = set; then
2469 enableval
="$enable_monolithic"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2474 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2479 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2490 eval "$ac_cv_use_monolithic"
2491 if test "$no_cache" != 1; then
2492 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2495 if test "$wxUSE_MONOLITHIC" = yes; then
2496 echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2506 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2508 # Check whether --enable-plugins or --disable-plugins was given.
2509 if test "${enable_plugins+set}" = set; then
2510 enableval
="$enable_plugins"
2512 if test "$enableval" = yes; then
2513 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2515 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2520 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x
; then
2522 eval "DEFAULT_$LINE"
2527 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2531 eval "$ac_cv_use_plugins"
2532 if test "$no_cache" != 1; then
2533 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2536 if test "$wxUSE_PLUGINS" = yes; then
2537 echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2545 if test "$wxUSE_GUI" = "yes"; then
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2552 # Check whether --enable-universal or --disable-universal was given.
2553 if test "${enable_universal+set}" = set; then
2554 enableval
="$enable_universal"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2559 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2564 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x
; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2575 eval "$ac_cv_use_universal"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2580 if test "$wxUSE_UNIVERSAL" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2589 # Check whether --with-gtk or --without-gtk was given.
2590 if test "${with_gtk+set}" = set; then
2592 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2595 # Check whether --with-motif or --without-motif was given.
2596 if test "${with_motif+set}" = set; then
2597 withval
="$with_motif"
2598 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-mac or --without-mac was given.
2602 if test "${with_mac+set}" = set; then
2604 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-cocoa or --without-cocoa was given.
2608 if test "${with_cocoa+set}" = set; then
2609 withval
="$with_cocoa"
2610 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2613 # Check whether --with-wine or --without-wine was given.
2614 if test "${with_wine+set}" = set; then
2615 withval
="$with_wine"
2616 wxUSE_WINE
="$withval" CACHE_WINE
=1
2619 # Check whether --with-msw or --without-msw was given.
2620 if test "${with_msw+set}" = set; then
2622 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-pm or --without-pm was given.
2626 if test "${with_pm+set}" = set; then
2628 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-mgl or --without-mgl was given.
2632 if test "${with_mgl+set}" = set; then
2634 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-microwin or --without-microwin was given.
2638 if test "${with_microwin+set}" = set; then
2639 withval
="$with_microwin"
2640 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2643 # Check whether --with-x11 or --without-x11 was given.
2644 if test "${with_x11+set}" = set; then
2646 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2653 # Check whether --enable-nanox or --disable-nanox was given.
2654 if test "${enable_nanox+set}" = set; then
2655 enableval
="$enable_nanox"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2660 ac_cv_use_nanox
='wxUSE_NANOX=no'
2665 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2676 eval "$ac_cv_use_nanox"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_NANOX" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2693 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2695 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2696 if test "${enable_gtk2+set}" = set; then
2697 enableval
="$enable_gtk2"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2702 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2707 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2718 eval "$ac_cv_use_gtk2"
2719 if test "$no_cache" != 1; then
2720 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2723 if test "$wxUSE_GTK2" = yes; then
2724 echo "$as_me:$LINENO: result: yes" >&5
2725 echo "${ECHO_T}yes" >&6
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2734 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2736 # Check whether --enable-gpe or --disable-gpe was given.
2737 if test "${enable_gpe+set}" = set; then
2738 enableval
="$enable_gpe"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_gpe
='wxUSE_GPE=yes'
2743 ac_cv_use_gpe
='wxUSE_GPE=no'
2748 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2759 eval "$ac_cv_use_gpe"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_GPE" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2774 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2775 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2778 # Check whether --with-libpng or --without-libpng was given.
2779 if test "${with_libpng+set}" = set; then
2780 withval
="$with_libpng"
2782 if test "$withval" = yes; then
2783 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2784 elif test "$withval" = no
; then
2785 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2786 elif test "$withval" = sys
; then
2787 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2788 elif test "$withval" = builtin; then
2789 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2792 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2793 { (exit 1); exit 1; }; }
2798 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x
; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2809 eval "$ac_cv_use_libpng"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2814 if test "$wxUSE_LIBPNG" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 elif test "$wxUSE_LIBPNG" = no
; then
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 elif test "$wxUSE_LIBPNG" = sys
; then
2821 echo "$as_me:$LINENO: result: system version" >&5
2822 echo "${ECHO_T}system version" >&6
2823 elif test "$wxUSE_LIBPNG" = builtin; then
2824 echo "$as_me:$LINENO: result: builtin version" >&5
2825 echo "${ECHO_T}builtin version" >&6
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2833 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2834 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2837 # Check whether --with-libjpeg or --without-libjpeg was given.
2838 if test "${with_libjpeg+set}" = set; then
2839 withval
="$with_libjpeg"
2841 if test "$withval" = yes; then
2842 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2843 elif test "$withval" = no
; then
2844 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2845 elif test "$withval" = sys
; then
2846 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2847 elif test "$withval" = builtin; then
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2851 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2852 { (exit 1); exit 1; }; }
2857 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2868 eval "$ac_cv_use_libjpeg"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_LIBJPEG" = yes; then
2874 echo "$as_me:$LINENO: result: yes" >&5
2875 echo "${ECHO_T}yes" >&6
2876 elif test "$wxUSE_LIBJPEG" = no
; then
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 elif test "$wxUSE_LIBJPEG" = sys
; then
2880 echo "$as_me:$LINENO: result: system version" >&5
2881 echo "${ECHO_T}system version" >&6
2882 elif test "$wxUSE_LIBJPEG" = builtin; then
2883 echo "$as_me:$LINENO: result: builtin version" >&5
2884 echo "${ECHO_T}builtin version" >&6
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2892 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2893 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2896 # Check whether --with-libtiff or --without-libtiff was given.
2897 if test "${with_libtiff+set}" = set; then
2898 withval
="$with_libtiff"
2900 if test "$withval" = yes; then
2901 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2902 elif test "$withval" = no
; then
2903 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2904 elif test "$withval" = sys
; then
2905 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2906 elif test "$withval" = builtin; then
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2909 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2910 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2911 { (exit 1); exit 1; }; }
2916 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2927 eval "$ac_cv_use_libtiff"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2932 if test "$wxUSE_LIBTIFF" = yes; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2935 elif test "$wxUSE_LIBTIFF" = no
; then
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 elif test "$wxUSE_LIBTIFF" = sys
; then
2939 echo "$as_me:$LINENO: result: system version" >&5
2940 echo "${ECHO_T}system version" >&6
2941 elif test "$wxUSE_LIBTIFF" = builtin; then
2942 echo "$as_me:$LINENO: result: builtin version" >&5
2943 echo "${ECHO_T}builtin version" >&6
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2951 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2952 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2955 # Check whether --with-libxpm or --without-libxpm was given.
2956 if test "${with_libxpm+set}" = set; then
2957 withval
="$with_libxpm"
2959 if test "$withval" = yes; then
2960 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2961 elif test "$withval" = no
; then
2962 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2963 elif test "$withval" = sys
; then
2964 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2965 elif test "$withval" = builtin; then
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2968 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2969 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2970 { (exit 1); exit 1; }; }
2975 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2986 eval "$ac_cv_use_libxpm"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_LIBXPM" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 elif test "$wxUSE_LIBXPM" = no
; then
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 elif test "$wxUSE_LIBXPM" = sys
; then
2998 echo "$as_me:$LINENO: result: system version" >&5
2999 echo "${ECHO_T}system version" >&6
3000 elif test "$wxUSE_LIBXPM" = builtin; then
3001 echo "$as_me:$LINENO: result: builtin version" >&5
3002 echo "${ECHO_T}builtin version" >&6
3004 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3005 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3006 { (exit 1); exit 1; }; }
3010 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3011 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3014 # Check whether --with-libmspack or --without-libmspack was given.
3015 if test "${with_libmspack+set}" = set; then
3016 withval
="$with_libmspack"
3018 if test "$withval" = yes; then
3019 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3021 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3026 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x
; then
3028 eval "DEFAULT_$LINE"
3033 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3037 eval "$ac_cv_use_libmspack"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_LIBMSPACK" = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3051 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3052 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3055 # Check whether --with-sdl or --without-sdl was given.
3056 if test "${with_sdl+set}" = set; then
3059 if test "$withval" = yes; then
3060 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3062 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3067 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x
; then
3069 eval "DEFAULT_$LINE"
3074 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3078 eval "$ac_cv_use_sdl"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_LIBSDL" = yes; then
3084 echo "$as_me:$LINENO: result: yes" >&5
3085 echo "${ECHO_T}yes" >&6
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3092 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3093 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3096 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3097 if test "${with_gnomeprint+set}" = set; then
3098 withval
="$with_gnomeprint"
3100 if test "$withval" = yes; then
3101 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3103 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3108 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x
; then
3110 eval "DEFAULT_$LINE"
3115 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3119 eval "$ac_cv_use_gnomeprint"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3124 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3125 echo "$as_me:$LINENO: result: yes" >&5
3126 echo "${ECHO_T}yes" >&6
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3133 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3134 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3137 # Check whether --with-opengl or --without-opengl was given.
3138 if test "${with_opengl+set}" = set; then
3139 withval
="$with_opengl"
3141 if test "$withval" = yes; then
3142 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3144 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3149 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3160 eval "$ac_cv_use_opengl"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_OPENGL" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3177 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3178 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3181 # Check whether --with-dmalloc or --without-dmalloc was given.
3182 if test "${with_dmalloc+set}" = set; then
3183 withval
="$with_dmalloc"
3185 if test "$withval" = yes; then
3186 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3188 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3193 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3194 if test "x$LINE" != x
; then
3195 eval "DEFAULT_$LINE"
3200 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3204 eval "$ac_cv_use_dmalloc"
3205 if test "$no_cache" != 1; then
3206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3209 if test "$wxUSE_DMALLOC" = yes; then
3210 echo "$as_me:$LINENO: result: yes" >&5
3211 echo "${ECHO_T}yes" >&6
3213 echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6
3218 echo "$as_me:$LINENO: checking for --with-regex" >&5
3219 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3222 # Check whether --with-regex or --without-regex was given.
3223 if test "${with_regex+set}" = set; then
3224 withval
="$with_regex"
3226 if test "$withval" = yes; then
3227 ac_cv_use_regex
='wxUSE_REGEX=yes'
3228 elif test "$withval" = no
; then
3229 ac_cv_use_regex
='wxUSE_REGEX=no'
3230 elif test "$withval" = sys
; then
3231 ac_cv_use_regex
='wxUSE_REGEX=sys'
3232 elif test "$withval" = builtin; then
3233 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3235 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3236 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3237 { (exit 1); exit 1; }; }
3242 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3253 eval "$ac_cv_use_regex"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_REGEX" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 elif test "$wxUSE_REGEX" = no
; then
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 elif test "$wxUSE_REGEX" = sys
; then
3265 echo "$as_me:$LINENO: result: system version" >&5
3266 echo "${ECHO_T}system version" >&6
3267 elif test "$wxUSE_REGEX" = builtin; then
3268 echo "$as_me:$LINENO: result: builtin version" >&5
3269 echo "${ECHO_T}builtin version" >&6
3271 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3272 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3273 { (exit 1); exit 1; }; }
3277 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3278 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3281 # Check whether --with-zlib or --without-zlib was given.
3282 if test "${with_zlib+set}" = set; then
3283 withval
="$with_zlib"
3285 if test "$withval" = yes; then
3286 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3287 elif test "$withval" = no
; then
3288 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3289 elif test "$withval" = sys
; then
3290 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3291 elif test "$withval" = builtin; then
3292 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3294 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3295 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3296 { (exit 1); exit 1; }; }
3301 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3302 if test "x$LINE" != x
; then
3303 eval "DEFAULT_$LINE"
3308 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3312 eval "$ac_cv_use_zlib"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3317 if test "$wxUSE_ZLIB" = yes; then
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 elif test "$wxUSE_ZLIB" = no
; then
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 elif test "$wxUSE_ZLIB" = sys
; then
3324 echo "$as_me:$LINENO: result: system version" >&5
3325 echo "${ECHO_T}system version" >&6
3326 elif test "$wxUSE_ZLIB" = builtin; then
3327 echo "$as_me:$LINENO: result: builtin version" >&5
3328 echo "${ECHO_T}builtin version" >&6
3330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3332 { (exit 1); exit 1; }; }
3336 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3340 # Check whether --with-odbc or --without-odbc was given.
3341 if test "${with_odbc+set}" = set; then
3342 withval
="$with_odbc"
3344 if test "$withval" = yes; then
3345 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3346 elif test "$withval" = no
; then
3347 ac_cv_use_odbc
='wxUSE_ODBC=no'
3348 elif test "$withval" = sys
; then
3349 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3350 elif test "$withval" = builtin; then
3351 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3353 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3354 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3355 { (exit 1); exit 1; }; }
3360 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x
; then
3362 eval "DEFAULT_$LINE"
3367 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3371 eval "$ac_cv_use_odbc"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3376 if test "$wxUSE_ODBC" = yes; then
3377 echo "$as_me:$LINENO: result: yes" >&5
3378 echo "${ECHO_T}yes" >&6
3379 elif test "$wxUSE_ODBC" = no
; then
3380 echo "$as_me:$LINENO: result: no" >&5
3381 echo "${ECHO_T}no" >&6
3382 elif test "$wxUSE_ODBC" = sys
; then
3383 echo "$as_me:$LINENO: result: system version" >&5
3384 echo "${ECHO_T}system version" >&6
3385 elif test "$wxUSE_ODBC" = builtin; then
3386 echo "$as_me:$LINENO: result: builtin version" >&5
3387 echo "${ECHO_T}builtin version" >&6
3389 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3390 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3391 { (exit 1); exit 1; }; }
3395 echo "$as_me:$LINENO: checking for --with-expat" >&5
3396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3399 # Check whether --with-expat or --without-expat was given.
3400 if test "${with_expat+set}" = set; then
3401 withval
="$with_expat"
3403 if test "$withval" = yes; then
3404 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3405 elif test "$withval" = no
; then
3406 ac_cv_use_expat
='wxUSE_EXPAT=no'
3407 elif test "$withval" = sys
; then
3408 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3409 elif test "$withval" = builtin; then
3410 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3412 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3413 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3414 { (exit 1); exit 1; }; }
3419 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3430 eval "$ac_cv_use_expat"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_EXPAT" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438 elif test "$wxUSE_EXPAT" = no
; then
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 elif test "$wxUSE_EXPAT" = sys
; then
3442 echo "$as_me:$LINENO: result: system version" >&5
3443 echo "${ECHO_T}system version" >&6
3444 elif test "$wxUSE_EXPAT" = builtin; then
3445 echo "$as_me:$LINENO: result: builtin version" >&5
3446 echo "${ECHO_T}builtin version" >&6
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3460 # Check whether --enable-shared or --disable-shared was given.
3461 if test "${enable_shared+set}" = set; then
3462 enableval
="$enable_shared"
3464 if test "$enableval" = yes; then
3465 ac_cv_use_shared
='wxUSE_SHARED=yes'
3467 ac_cv_use_shared
='wxUSE_SHARED=no'
3472 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3483 eval "$ac_cv_use_shared"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_SHARED" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3499 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3501 # Check whether --enable-optimise or --disable-optimise was given.
3502 if test "${enable_optimise+set}" = set; then
3503 enableval
="$enable_optimise"
3505 if test "$enableval" = yes; then
3506 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3508 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3513 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x
; then
3515 eval "DEFAULT_$LINE"
3520 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3524 eval "$ac_cv_use_optimise"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3529 if test "$wxUSE_OPTIMISE" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3542 # Check whether --enable-debug or --disable-debug was given.
3543 if test "${enable_debug+set}" = set; then
3544 enableval
="$enable_debug"
3546 if test "$enableval" = yes; then
3547 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3549 ac_cv_use_debug
='wxUSE_DEBUG=no'
3554 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x
; then
3556 eval "DEFAULT_$LINE"
3561 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3565 eval "$ac_cv_use_debug"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_DEBUG" = yes; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3581 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3583 # Check whether --enable-stl or --disable-stl was given.
3584 if test "${enable_stl+set}" = set; then
3585 enableval
="$enable_stl"
3587 if test "$enableval" = yes; then
3588 ac_cv_use_stl
='wxUSE_STL=yes'
3590 ac_cv_use_stl
='wxUSE_STL=no'
3595 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x
; then
3597 eval "DEFAULT_$LINE"
3602 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3606 eval "$ac_cv_use_stl"
3607 if test "$no_cache" != 1; then
3608 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3611 if test "$wxUSE_STL" = yes; then
3612 echo "$as_me:$LINENO: result: yes" >&5
3613 echo "${ECHO_T}yes" >&6
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3619 if test "$USE_OS2" = "1"; then
3622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3623 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3625 # Check whether --enable-omf or --disable-omf was given.
3626 if test "${enable_omf+set}" = set; then
3627 enableval
="$enable_omf"
3629 if test "$enableval" = yes; then
3630 ac_cv_use_omf
='wxUSE_OMF=yes'
3632 ac_cv_use_omf
='wxUSE_OMF=no'
3637 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x
; then
3639 eval "DEFAULT_$LINE"
3644 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3648 eval "$ac_cv_use_omf"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_OMF" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3663 if test "$wxUSE_DEBUG" = "yes"; then
3664 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3665 DEFAULT_wxUSE_DEBUG_INFO
=yes
3667 elif test "$wxUSE_DEBUG" = "no"; then
3668 DEFAULT_wxUSE_DEBUG_FLAG
=no
3669 DEFAULT_wxUSE_DEBUG_INFO
=no
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3678 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3679 if test "${enable_debug_flag+set}" = set; then
3680 enableval
="$enable_debug_flag"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3690 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3701 eval "$ac_cv_use_debug_flag"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_DEBUG_FLAG" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3719 # Check whether --enable-debug_info or --disable-debug_info was given.
3720 if test "${enable_debug_info+set}" = set; then
3721 enableval
="$enable_debug_info"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3731 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3742 eval "$ac_cv_use_debug_info"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3747 if test "$wxUSE_DEBUG_INFO" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3760 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3761 if test "${enable_debug_gdb+set}" = set; then
3762 enableval
="$enable_debug_gdb"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3772 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3783 eval "$ac_cv_use_debug_gdb"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_DEBUG_GDB" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3801 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3802 if test "${enable_debug_cntxt+set}" = set; then
3803 enableval
="$enable_debug_cntxt"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3813 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3824 eval "$ac_cv_use_debug_cntxt"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3829 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3842 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3843 if test "${enable_mem_tracing+set}" = set; then
3844 enableval
="$enable_mem_tracing"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3854 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x
; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3865 eval "$ac_cv_use_mem_tracing"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_MEM_TRACING" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3883 # Check whether --enable-profile or --disable-profile was given.
3884 if test "${enable_profile+set}" = set; then
3885 enableval
="$enable_profile"
3887 if test "$enableval" = yes; then
3888 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3890 ac_cv_use_profile
='wxUSE_PROFILE=no'
3895 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x
; then
3897 eval "DEFAULT_$LINE"
3902 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3906 eval "$ac_cv_use_profile"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_PROFILE" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3924 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3925 if test "${enable_no_rtti+set}" = set; then
3926 enableval
="$enable_no_rtti"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3936 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3947 eval "$ac_cv_use_no_rtti"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_NO_RTTI" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3965 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3966 if test "${enable_no_exceptions+set}" = set; then
3967 enableval
="$enable_no_exceptions"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3977 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3988 eval "$ac_cv_use_no_exceptions"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4006 # Check whether --enable-permissive or --disable-permissive was given.
4007 if test "${enable_permissive+set}" = set; then
4008 enableval
="$enable_permissive"
4010 if test "$enableval" = yes; then
4011 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4018 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x
; then
4020 eval "DEFAULT_$LINE"
4025 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4029 eval "$ac_cv_use_permissive"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_PERMISSIVE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4047 # Check whether --enable-no_deps or --disable-no_deps was given.
4048 if test "${enable_no_deps+set}" = set; then
4049 enableval
="$enable_no_deps"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4059 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x
; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4070 eval "$ac_cv_use_no_deps"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4075 if test "$wxUSE_NO_DEPS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4089 # Check whether --enable-compat22 or --disable-compat22 was given.
4090 if test "${enable_compat22+set}" = set; then
4091 enableval
="$enable_compat22"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4101 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4112 eval "$ac_cv_use_compat22"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4117 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4126 enablestring
=disable
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4130 # Check whether --enable-compat24 or --disable-compat24 was given.
4131 if test "${enable_compat24+set}" = set; then
4132 enableval
="$enable_compat24"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4142 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x
; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4153 eval "$ac_cv_use_compat24"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4158 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4170 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4172 # Check whether --enable-rpath or --disable-rpath was given.
4173 if test "${enable_rpath+set}" = set; then
4174 enableval
="$enable_rpath"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4179 ac_cv_use_rpath
='wxUSE_RPATH=no'
4184 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4195 eval "$ac_cv_use_rpath"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4200 if test "$wxUSE_RPATH" = yes; then
4201 echo "$as_me:$LINENO: result: yes" >&5
4202 echo "${ECHO_T}yes" >&6
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4216 # Check whether --enable-intl or --disable-intl was given.
4217 if test "${enable_intl+set}" = set; then
4218 enableval
="$enable_intl"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_intl
='wxUSE_INTL=yes'
4223 ac_cv_use_intl
='wxUSE_INTL=no'
4228 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x
; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4239 eval "$ac_cv_use_intl"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_INTL" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4257 # Check whether --enable-config or --disable-config was given.
4258 if test "${enable_config+set}" = set; then
4259 enableval
="$enable_config"
4261 if test "$enableval" = yes; then
4262 ac_cv_use_config
='wxUSE_CONFIG=yes'
4264 ac_cv_use_config
='wxUSE_CONFIG=no'
4269 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x
; then
4271 eval "DEFAULT_$LINE"
4276 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4280 eval "$ac_cv_use_config"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_CONFIG" = yes; then
4286 echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4299 # Check whether --enable-protocols or --disable-protocols was given.
4300 if test "${enable_protocols+set}" = set; then
4301 enableval
="$enable_protocols"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4311 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4322 eval "$ac_cv_use_protocols"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_PROTOCOL" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4340 # Check whether --enable-ftp or --disable-ftp was given.
4341 if test "${enable_ftp+set}" = set; then
4342 enableval
="$enable_ftp"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4352 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4363 eval "$ac_cv_use_ftp"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4381 # Check whether --enable-http or --disable-http was given.
4382 if test "${enable_http+set}" = set; then
4383 enableval
="$enable_http"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4393 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4404 eval "$ac_cv_use_http"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4422 # Check whether --enable-fileproto or --disable-fileproto was given.
4423 if test "${enable_fileproto+set}" = set; then
4424 enableval
="$enable_fileproto"
4426 if test "$enableval" = yes; then
4427 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4434 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x
; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4445 eval "$ac_cv_use_fileproto"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4463 # Check whether --enable-sockets or --disable-sockets was given.
4464 if test "${enable_sockets+set}" = set; then
4465 enableval
="$enable_sockets"
4467 if test "$enableval" = yes; then
4468 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4470 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4475 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x
; then
4477 eval "DEFAULT_$LINE"
4482 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4486 eval "$ac_cv_use_sockets"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_SOCKETS" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4504 # Check whether --enable-ole or --disable-ole was given.
4505 if test "${enable_ole+set}" = set; then
4506 enableval
="$enable_ole"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_ole
='wxUSE_OLE=yes'
4511 ac_cv_use_ole
='wxUSE_OLE=no'
4516 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x
; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4527 eval "$ac_cv_use_ole"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_OLE" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4545 # Check whether --enable-dataobj or --disable-dataobj was given.
4546 if test "${enable_dataobj+set}" = set; then
4547 enableval
="$enable_dataobj"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4557 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x
; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4568 eval "$ac_cv_use_dataobj"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_DATAOBJ" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4587 # Check whether --enable-ipc or --disable-ipc was given.
4588 if test "${enable_ipc+set}" = set; then
4589 enableval
="$enable_ipc"
4591 if test "$enableval" = yes; then
4592 ac_cv_use_ipc
='wxUSE_IPC=yes'
4594 ac_cv_use_ipc
='wxUSE_IPC=no'
4599 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x
; then
4601 eval "DEFAULT_$LINE"
4606 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4610 eval "$ac_cv_use_ipc"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4615 if test "$wxUSE_IPC" = yes; then
4616 echo "$as_me:$LINENO: result: yes" >&5
4617 echo "${ECHO_T}yes" >&6
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4629 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4630 if test "${enable_apple_ieee+set}" = set; then
4631 enableval
="$enable_apple_ieee"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4641 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x
; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4652 eval "$ac_cv_use_apple_ieee"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_APPLE_IEEE" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4670 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4671 if test "${enable_catch_segvs+set}" = set; then
4672 enableval
="$enable_catch_segvs"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4677 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4682 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x
; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4693 eval "$ac_cv_use_catch_segvs"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4711 # Check whether --enable-cmdline or --disable-cmdline was given.
4712 if test "${enable_cmdline+set}" = set; then
4713 enableval
="$enable_cmdline"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4718 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4723 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4734 eval "$ac_cv_use_cmdline"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4752 # Check whether --enable-datetime or --disable-datetime was given.
4753 if test "${enable_datetime+set}" = set; then
4754 enableval
="$enable_datetime"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4759 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4764 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4775 eval "$ac_cv_use_datetime"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4780 if test "$wxUSE_DATETIME" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4793 # Check whether --enable-dialupman or --disable-dialupman was given.
4794 if test "${enable_dialupman+set}" = set; then
4795 enableval
="$enable_dialupman"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4800 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4805 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x
; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4816 eval "$ac_cv_use_dialupman"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4834 # Check whether --enable-dynlib or --disable-dynlib was given.
4835 if test "${enable_dynlib+set}" = set; then
4836 enableval
="$enable_dynlib"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4841 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4846 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4857 eval "$ac_cv_use_dynlib"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4862 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4875 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4876 if test "${enable_dynamicloader+set}" = set; then
4877 enableval
="$enable_dynamicloader"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4882 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4887 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4898 eval "$ac_cv_use_dynamicloader"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4916 # Check whether --enable-exceptions or --disable-exceptions was given.
4917 if test "${enable_exceptions+set}" = set; then
4918 enableval
="$enable_exceptions"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4923 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4928 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x
; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4939 eval "$ac_cv_use_exceptions"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4944 if test "$wxUSE_EXCEPTIONS" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4957 # Check whether --enable-ffile or --disable-ffile was given.
4958 if test "${enable_ffile+set}" = set; then
4959 enableval
="$enable_ffile"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4964 ac_cv_use_ffile
='wxUSE_FFILE=no'
4969 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x
; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4980 eval "$ac_cv_use_ffile"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4985 if test "$wxUSE_FFILE" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4998 # Check whether --enable-file or --disable-file was given.
4999 if test "${enable_file+set}" = set; then
5000 enableval
="$enable_file"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_file
='wxUSE_FILE=yes'
5005 ac_cv_use_file
='wxUSE_FILE=no'
5010 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5021 eval "$ac_cv_use_file"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_FILE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5039 # Check whether --enable-filesystem or --disable-filesystem was given.
5040 if test "${enable_filesystem+set}" = set; then
5041 enableval
="$enable_filesystem"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5046 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5051 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5062 eval "$ac_cv_use_filesystem"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_FILESYSTEM" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5080 # Check whether --enable-fontmap or --disable-fontmap was given.
5081 if test "${enable_fontmap+set}" = set; then
5082 enableval
="$enable_fontmap"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5087 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5092 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5103 eval "$ac_cv_use_fontmap"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_FONTMAP" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5121 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5122 if test "${enable_fs_inet+set}" = set; then
5123 enableval
="$enable_fs_inet"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5128 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5133 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5144 eval "$ac_cv_use_fs_inet"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_FS_INET" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5162 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5163 if test "${enable_fs_zip+set}" = set; then
5164 enableval
="$enable_fs_zip"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5169 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5174 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5185 eval "$ac_cv_use_fs_zip"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_FS_ZIP" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5203 # Check whether --enable-geometry or --disable-geometry was given.
5204 if test "${enable_geometry+set}" = set; then
5205 enableval
="$enable_geometry"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5210 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5215 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5226 eval "$ac_cv_use_geometry"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_GEOMETRY" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5244 # Check whether --enable-log or --disable-log was given.
5245 if test "${enable_log+set}" = set; then
5246 enableval
="$enable_log"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_log
='wxUSE_LOG=yes'
5251 ac_cv_use_log
='wxUSE_LOG=no'
5256 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5267 eval "$ac_cv_use_log"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_LOG" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5285 # Check whether --enable-longlong or --disable-longlong was given.
5286 if test "${enable_longlong+set}" = set; then
5287 enableval
="$enable_longlong"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5292 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5297 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5308 eval "$ac_cv_use_longlong"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_LONGLONG" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5326 # Check whether --enable-mimetype or --disable-mimetype was given.
5327 if test "${enable_mimetype+set}" = set; then
5328 enableval
="$enable_mimetype"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5333 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5338 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5349 eval "$ac_cv_use_mimetype"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_MIMETYPE" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5367 # Check whether --enable-mslu or --disable-mslu was given.
5368 if test "${enable_mslu+set}" = set; then
5369 enableval
="$enable_mslu"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5374 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5379 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x
; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5390 eval "$ac_cv_use_mslu"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_UNICODE_MSLU" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5408 # Check whether --enable-snglinst or --disable-snglinst was given.
5409 if test "${enable_snglinst+set}" = set; then
5410 enableval
="$enable_snglinst"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5415 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5420 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5431 eval "$ac_cv_use_snglinst"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5449 # Check whether --enable-streams or --disable-streams was given.
5450 if test "${enable_streams+set}" = set; then
5451 enableval
="$enable_streams"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5456 ac_cv_use_streams
='wxUSE_STREAMS=no'
5461 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5472 eval "$ac_cv_use_streams"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_STREAMS" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5490 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5491 if test "${enable_std_iostreams+set}" = set; then
5492 enableval
="$enable_std_iostreams"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5497 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5502 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5513 eval "$ac_cv_use_std_iostreams"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_STD_IOSTREAM" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5531 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5532 if test "${enable_stopwatch+set}" = set; then
5533 enableval
="$enable_stopwatch"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5538 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5543 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x
; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5554 eval "$ac_cv_use_stopwatch"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_STOPWATCH" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5572 # Check whether --enable-system_options or --disable-system_options was given.
5573 if test "${enable_system_options+set}" = set; then
5574 enableval
="$enable_system_options"
5576 if test "$enableval" = yes; then
5577 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5579 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5584 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5591 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5595 eval "$ac_cv_use_system_options"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5613 # Check whether --enable-textbuf or --disable-textbuf was given.
5614 if test "${enable_textbuf+set}" = set; then
5615 enableval
="$enable_textbuf"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5620 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5625 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x
; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5636 eval "$ac_cv_use_textbuf"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_TEXTBUFFER" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5654 # Check whether --enable-textfile or --disable-textfile was given.
5655 if test "${enable_textfile+set}" = set; then
5656 enableval
="$enable_textfile"
5658 if test "$enableval" = yes; then
5659 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5661 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5666 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x
; then
5668 eval "DEFAULT_$LINE"
5673 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5677 eval "$ac_cv_use_textfile"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_TEXTFILE" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5695 # Check whether --enable-timer or --disable-timer was given.
5696 if test "${enable_timer+set}" = set; then
5697 enableval
="$enable_timer"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_timer
='wxUSE_TIMER=yes'
5702 ac_cv_use_timer
='wxUSE_TIMER=no'
5707 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5718 eval "$ac_cv_use_timer"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_TIMER" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5736 # Check whether --enable-unicode or --disable-unicode was given.
5737 if test "${enable_unicode+set}" = set; then
5738 enableval
="$enable_unicode"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5743 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5748 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5759 eval "$ac_cv_use_unicode"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_UNICODE" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5777 # Check whether --enable-sound or --disable-sound was given.
5778 if test "${enable_sound+set}" = set; then
5779 enableval
="$enable_sound"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_sound
='wxUSE_SOUND=yes'
5784 ac_cv_use_sound
='wxUSE_SOUND=no'
5789 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5800 eval "$ac_cv_use_sound"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_SOUND" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5818 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5819 if test "${enable_mediactrl+set}" = set; then
5820 enableval
="$enable_mediactrl"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5825 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5830 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x
; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5841 eval "$ac_cv_use_mediactrl"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_MEDIACTRL" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5859 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5860 if test "${enable_wxprintfv+set}" = set; then
5861 enableval
="$enable_wxprintfv"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5866 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5871 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5882 eval "$ac_cv_use_wxprintfv"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5900 # Check whether --enable-zipstream or --disable-zipstream was given.
5901 if test "${enable_zipstream+set}" = set; then
5902 enableval
="$enable_zipstream"
5904 if test "$enableval" = yes; then
5905 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5907 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5912 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x
; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5923 eval "$ac_cv_use_zipstream"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_ZIPSTREAM" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5942 # Check whether --enable-url or --disable-url was given.
5943 if test "${enable_url+set}" = set; then
5944 enableval
="$enable_url"
5946 if test "$enableval" = yes; then
5947 ac_cv_use_url
='wxUSE_URL=yes'
5949 ac_cv_use_url
='wxUSE_URL=no'
5954 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x
; then
5956 eval "DEFAULT_$LINE"
5961 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5965 eval "$ac_cv_use_url"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_URL" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5983 # Check whether --enable-protocol or --disable-protocol was given.
5984 if test "${enable_protocol+set}" = set; then
5985 enableval
="$enable_protocol"
5987 if test "$enableval" = yes; then
5988 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5990 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5995 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x
; then
5997 eval "DEFAULT_$LINE"
6002 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6006 eval "$ac_cv_use_protocol"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_PROTOCOL" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6024 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6025 if test "${enable_protocol_http+set}" = set; then
6026 enableval
="$enable_protocol_http"
6028 if test "$enableval" = yes; then
6029 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6031 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6036 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x
; then
6038 eval "DEFAULT_$LINE"
6043 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6047 eval "$ac_cv_use_protocol_http"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6065 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6066 if test "${enable_protocol_ftp+set}" = set; then
6067 enableval
="$enable_protocol_ftp"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6072 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6077 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6088 eval "$ac_cv_use_protocol_ftp"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6106 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6107 if test "${enable_protocol_file+set}" = set; then
6108 enableval
="$enable_protocol_file"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6113 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6118 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x
; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6129 eval "$ac_cv_use_protocol_file"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6150 # Check whether --enable-threads or --disable-threads was given.
6151 if test "${enable_threads+set}" = set; then
6152 enableval
="$enable_threads"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_threads
='wxUSE_THREADS=yes'
6157 ac_cv_use_threads
='wxUSE_THREADS=no'
6162 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6173 eval "$ac_cv_use_threads"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_THREADS" = 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
6187 if test "$wxUSE_GUI" = "yes"; then
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6195 # Check whether --enable-docview or --disable-docview was given.
6196 if test "${enable_docview+set}" = set; then
6197 enableval
="$enable_docview"
6199 if test "$enableval" = yes; then
6200 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6202 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6207 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x
; then
6209 eval "DEFAULT_$LINE"
6214 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6218 eval "$ac_cv_use_docview"
6219 if test "$no_cache" != 1; then
6220 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6223 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6224 echo "$as_me:$LINENO: result: yes" >&5
6225 echo "${ECHO_T}yes" >&6
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6236 # Check whether --enable-help or --disable-help was given.
6237 if test "${enable_help+set}" = set; then
6238 enableval
="$enable_help"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_help
='wxUSE_HELP=yes'
6243 ac_cv_use_help
='wxUSE_HELP=no'
6248 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6259 eval "$ac_cv_use_help"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6264 if test "$wxUSE_HELP" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6277 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6278 if test "${enable_mshtmlhelp+set}" = set; then
6279 enableval
="$enable_mshtmlhelp"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6284 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6289 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x
; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6300 eval "$ac_cv_use_mshtmlhelp"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_MS_HTML_HELP" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6318 # Check whether --enable-html or --disable-html was given.
6319 if test "${enable_html+set}" = set; then
6320 enableval
="$enable_html"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_html
='wxUSE_HTML=yes'
6325 ac_cv_use_html
='wxUSE_HTML=no'
6330 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x
; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6341 eval "$ac_cv_use_html"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6346 if test "$wxUSE_HTML" = yes; then
6347 echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6359 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6360 if test "${enable_htmlhelp+set}" = set; then
6361 enableval
="$enable_htmlhelp"
6363 if test "$enableval" = yes; then
6364 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6366 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6371 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x
; then
6373 eval "DEFAULT_$LINE"
6378 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6382 eval "$ac_cv_use_htmlhelp"
6383 if test "$no_cache" != 1; then
6384 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6387 if test "$wxUSE_WXHTML_HELP" = yes; then
6388 echo "$as_me:$LINENO: result: yes" >&5
6389 echo "${ECHO_T}yes" >&6
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6400 # Check whether --enable-xrc or --disable-xrc was given.
6401 if test "${enable_xrc+set}" = set; then
6402 enableval
="$enable_xrc"
6404 if test "$enableval" = yes; then
6405 ac_cv_use_xrc
='wxUSE_XRC=yes'
6407 ac_cv_use_xrc
='wxUSE_XRC=no'
6412 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x
; then
6414 eval "DEFAULT_$LINE"
6419 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6423 eval "$ac_cv_use_xrc"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_XRC" = yes; then
6429 echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6441 # Check whether --enable-constraints or --disable-constraints was given.
6442 if test "${enable_constraints+set}" = set; then
6443 enableval
="$enable_constraints"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6448 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6453 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x
; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6464 eval "$ac_cv_use_constraints"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6469 if test "$wxUSE_CONSTRAINTS" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6482 # Check whether --enable-printarch or --disable-printarch was given.
6483 if test "${enable_printarch+set}" = set; then
6484 enableval
="$enable_printarch"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6489 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6494 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x
; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6505 eval "$ac_cv_use_printarch"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6523 # Check whether --enable-mdi or --disable-mdi was given.
6524 if test "${enable_mdi+set}" = set; then
6525 enableval
="$enable_mdi"
6527 if test "$enableval" = yes; then
6528 ac_cv_use_mdi
='wxUSE_MDI=yes'
6530 ac_cv_use_mdi
='wxUSE_MDI=no'
6535 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x
; then
6537 eval "DEFAULT_$LINE"
6542 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6546 eval "$ac_cv_use_mdi"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6551 if test "$wxUSE_MDI" = yes; then
6552 echo "$as_me:$LINENO: result: yes" >&5
6553 echo "${ECHO_T}yes" >&6
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6564 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6565 if test "${enable_mdidoc+set}" = set; then
6566 enableval
="$enable_mdidoc"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6571 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6576 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x
; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6587 eval "$ac_cv_use_mdidoc"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6592 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6605 # Check whether --enable-loggui or --disable-loggui was given.
6606 if test "${enable_loggui+set}" = set; then
6607 enableval
="$enable_loggui"
6609 if test "$enableval" = yes; then
6610 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6612 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6617 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x
; then
6619 eval "DEFAULT_$LINE"
6624 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6628 eval "$ac_cv_use_loggui"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_LOGGUI" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6646 # Check whether --enable-logwin or --disable-logwin was given.
6647 if test "${enable_logwin+set}" = set; then
6648 enableval
="$enable_logwin"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6653 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6658 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x
; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6669 eval "$ac_cv_use_logwin"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6674 if test "$wxUSE_LOGWINDOW" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6687 # Check whether --enable-logdialog or --disable-logdialog was given.
6688 if test "${enable_logdialog+set}" = set; then
6689 enableval
="$enable_logdialog"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6694 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6699 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x
; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6710 eval "$ac_cv_use_logdialog"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_LOGDIALOG" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6728 # Check whether --enable-webkit or --disable-webkit was given.
6729 if test "${enable_webkit+set}" = set; then
6730 enableval
="$enable_webkit"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6735 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6740 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x
; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6751 eval "$ac_cv_use_webkit"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_WEBKIT" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6770 # Check whether --enable-postscript or --disable-postscript was given.
6771 if test "${enable_postscript+set}" = set; then
6772 enableval
="$enable_postscript"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6777 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6782 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6793 eval "$ac_cv_use_postscript"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6798 if test "$wxUSE_POSTSCRIPT" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6814 # Check whether --enable-prologio or --disable-prologio was given.
6815 if test "${enable_prologio+set}" = set; then
6816 enableval
="$enable_prologio"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6821 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6826 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6837 eval "$ac_cv_use_prologio"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_PROLOGIO" = 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
6852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6855 # Check whether --enable-resources or --disable-resources was given.
6856 if test "${enable_resources+set}" = set; then
6857 enableval
="$enable_resources"
6859 if test "$enableval" = yes; then
6860 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6862 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6867 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6868 if test "x$LINE" != x
; then
6869 eval "DEFAULT_$LINE"
6874 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6878 eval "$ac_cv_use_resources"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6883 if test "$wxUSE_RESOURCES" = yes; then
6884 echo "$as_me:$LINENO: result: yes" >&5
6885 echo "${ECHO_T}yes" >&6
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6898 # Check whether --enable-clipboard or --disable-clipboard was given.
6899 if test "${enable_clipboard+set}" = set; then
6900 enableval
="$enable_clipboard"
6902 if test "$enableval" = yes; then
6903 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6905 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6910 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x
; then
6912 eval "DEFAULT_$LINE"
6917 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6921 eval "$ac_cv_use_clipboard"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_CLIPBOARD" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6939 # Check whether --enable-dnd or --disable-dnd was given.
6940 if test "${enable_dnd+set}" = set; then
6941 enableval
="$enable_dnd"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6946 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6951 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6962 eval "$ac_cv_use_dnd"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6980 # Check whether --enable-metafile or --disable-metafile was given.
6981 if test "${enable_metafile+set}" = set; then
6982 enableval
="$enable_metafile"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6987 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6992 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7003 eval "$ac_cv_use_metafile"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_METAFILE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7024 # Check whether --enable-controls or --disable-controls was given.
7025 if test "${enable_controls+set}" = set; then
7026 enableval
="$enable_controls"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7031 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7036 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7047 eval "$ac_cv_use_controls"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_CONTROLS" = 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
7061 if test "$wxUSE_CONTROLS" = "yes"; then
7062 DEFAULT_wxUSE_ACCEL
=yes
7063 DEFAULT_wxUSE_BMPBUTTON
=yes
7064 DEFAULT_wxUSE_BUTTON
=yes
7065 DEFAULT_wxUSE_CALCTRL
=no
7066 DEFAULT_wxUSE_CARET
=yes
7067 DEFAULT_wxUSE_COMBOBOX
=yes
7068 DEFAULT_wxUSE_CHECKBOX
=yes
7069 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7070 DEFAULT_wxUSE_CHOICE
=yes
7071 DEFAULT_wxUSE_CHOICEBOOK
=yes
7072 DEFAULT_wxUSE_GAUGE
=yes
7073 DEFAULT_wxUSE_GRID
=yes
7074 DEFAULT_wxUSE_IMAGLIST
=yes
7075 DEFAULT_wxUSE_LISTBOOK
=yes
7076 DEFAULT_wxUSE_LISTBOX
=yes
7077 DEFAULT_wxUSE_LISTCTRL
=yes
7078 DEFAULT_wxUSE_NOTEBOOK
=yes
7079 DEFAULT_wxUSE_RADIOBOX
=yes
7080 DEFAULT_wxUSE_RADIOBTN
=yes
7081 DEFAULT_wxUSE_SASH
=yes
7082 DEFAULT_wxUSE_SCROLLBAR
=yes
7083 DEFAULT_wxUSE_SLIDER
=yes
7084 DEFAULT_wxUSE_SPINBTN
=yes
7085 DEFAULT_wxUSE_SPINCTRL
=yes
7086 DEFAULT_wxUSE_SPLITTER
=yes
7087 DEFAULT_wxUSE_STATBMP
=yes
7088 DEFAULT_wxUSE_STATBOX
=yes
7089 DEFAULT_wxUSE_STATLINE
=yes
7090 DEFAULT_wxUSE_STATUSBAR
=yes
7091 DEFAULT_wxUSE_TAB_DIALOG
=yes
7092 DEFAULT_wxUSE_TOGGLEBTN
=yes
7093 DEFAULT_wxUSE_TOOLBAR
=yes
7094 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7095 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7096 DEFAULT_wxUSE_TOOLTIPS
=yes
7097 DEFAULT_wxUSE_TREECTRL
=yes
7098 DEFAULT_wxUSE_POPUPWIN
=yes
7099 DEFAULT_wxUSE_TIPWINDOW
=yes
7100 elif test "$wxUSE_CONTROLS" = "no"; then
7101 DEFAULT_wxUSE_ACCEL
=no
7102 DEFAULT_wxUSE_BMPBUTTON
=no
7103 DEFAULT_wxUSE_BUTTON
=no
7104 DEFAULT_wxUSE_CALCTRL
=no
7105 DEFAULT_wxUSE_CARET
=no
7106 DEFAULT_wxUSE_COMBOBOX
=no
7107 DEFAULT_wxUSE_CHECKBOX
=no
7108 DEFAULT_wxUSE_CHECKLISTBOX
=no
7109 DEFAULT_wxUSE_CHOICE
=no
7110 DEFAULT_wxUSE_CHOICEBOOK
=no
7111 DEFAULT_wxUSE_GAUGE
=no
7112 DEFAULT_wxUSE_GRID
=no
7113 DEFAULT_wxUSE_IMAGLIST
=no
7114 DEFAULT_wxUSE_LISTBOOK
=no
7115 DEFAULT_wxUSE_LISTBOX
=no
7116 DEFAULT_wxUSE_LISTCTRL
=no
7117 DEFAULT_wxUSE_NOTEBOOK
=no
7118 DEFAULT_wxUSE_RADIOBOX
=no
7119 DEFAULT_wxUSE_RADIOBTN
=no
7120 DEFAULT_wxUSE_SASH
=no
7121 DEFAULT_wxUSE_SCROLLBAR
=no
7122 DEFAULT_wxUSE_SLIDER
=no
7123 DEFAULT_wxUSE_SPINBTN
=no
7124 DEFAULT_wxUSE_SPINCTRL
=no
7125 DEFAULT_wxUSE_SPLITTER
=no
7126 DEFAULT_wxUSE_STATBMP
=no
7127 DEFAULT_wxUSE_STATBOX
=no
7128 DEFAULT_wxUSE_STATLINE
=no
7129 DEFAULT_wxUSE_STATUSBAR
=no
7130 DEFAULT_wxUSE_TAB_DIALOG
=no
7131 DEFAULT_wxUSE_TOGGLEBTN
=no
7132 DEFAULT_wxUSE_TOOLBAR
=no
7133 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7134 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7135 DEFAULT_wxUSE_TOOLTIPS
=no
7136 DEFAULT_wxUSE_TREECTRL
=no
7137 DEFAULT_wxUSE_POPUPWIN
=no
7138 DEFAULT_wxUSE_TIPWINDOW
=no
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7146 # Check whether --enable-accel or --disable-accel was given.
7147 if test "${enable_accel+set}" = set; then
7148 enableval
="$enable_accel"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7153 ac_cv_use_accel
='wxUSE_ACCEL=no'
7158 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7169 eval "$ac_cv_use_accel"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_ACCEL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7187 # Check whether --enable-button or --disable-button was given.
7188 if test "${enable_button+set}" = set; then
7189 enableval
="$enable_button"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_button
='wxUSE_BUTTON=yes'
7194 ac_cv_use_button
='wxUSE_BUTTON=no'
7199 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7210 eval "$ac_cv_use_button"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_BUTTON" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7228 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7229 if test "${enable_bmpbutton+set}" = set; then
7230 enableval
="$enable_bmpbutton"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7235 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7240 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7251 eval "$ac_cv_use_bmpbutton"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_BMPBUTTON" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7269 # Check whether --enable-calendar or --disable-calendar was given.
7270 if test "${enable_calendar+set}" = set; then
7271 enableval
="$enable_calendar"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7276 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7281 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7292 eval "$ac_cv_use_calendar"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_CALCTRL" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7310 # Check whether --enable-caret or --disable-caret was given.
7311 if test "${enable_caret+set}" = set; then
7312 enableval
="$enable_caret"
7314 if test "$enableval" = yes; then
7315 ac_cv_use_caret
='wxUSE_CARET=yes'
7317 ac_cv_use_caret
='wxUSE_CARET=no'
7322 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x
; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7333 eval "$ac_cv_use_caret"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_CARET" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7351 # Check whether --enable-checkbox or --disable-checkbox was given.
7352 if test "${enable_checkbox+set}" = set; then
7353 enableval
="$enable_checkbox"
7355 if test "$enableval" = yes; then
7356 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7358 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7363 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x
; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7374 eval "$ac_cv_use_checkbox"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7379 if test "$wxUSE_CHECKBOX" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7392 # Check whether --enable-checklst or --disable-checklst was given.
7393 if test "${enable_checklst+set}" = set; then
7394 enableval
="$enable_checklst"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7399 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7404 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7415 eval "$ac_cv_use_checklst"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_CHECKLST" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7433 # Check whether --enable-choice or --disable-choice was given.
7434 if test "${enable_choice+set}" = set; then
7435 enableval
="$enable_choice"
7437 if test "$enableval" = yes; then
7438 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7440 ac_cv_use_choice
='wxUSE_CHOICE=no'
7445 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x
; then
7447 eval "DEFAULT_$LINE"
7452 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7456 eval "$ac_cv_use_choice"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_CHOICE" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7474 # Check whether --enable-choicebook or --disable-choicebook was given.
7475 if test "${enable_choicebook+set}" = set; then
7476 enableval
="$enable_choicebook"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7481 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7486 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7497 eval "$ac_cv_use_choicebook"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_CHOICEBOOK" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7515 # Check whether --enable-combobox or --disable-combobox was given.
7516 if test "${enable_combobox+set}" = set; then
7517 enableval
="$enable_combobox"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7522 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7527 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7538 eval "$ac_cv_use_combobox"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7543 if test "$wxUSE_COMBOBOX" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7556 # Check whether --enable-display or --disable-display was given.
7557 if test "${enable_display+set}" = set; then
7558 enableval
="$enable_display"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7563 ac_cv_use_display
='wxUSE_DISPLAY=no'
7568 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7579 eval "$ac_cv_use_display"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_DISPLAY" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7597 # Check whether --enable-gauge or --disable-gauge was given.
7598 if test "${enable_gauge+set}" = set; then
7599 enableval
="$enable_gauge"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7604 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7609 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x
; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7620 eval "$ac_cv_use_gauge"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_GAUGE" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7638 # Check whether --enable-grid or --disable-grid was given.
7639 if test "${enable_grid+set}" = set; then
7640 enableval
="$enable_grid"
7642 if test "$enableval" = yes; then
7643 ac_cv_use_grid
='wxUSE_GRID=yes'
7645 ac_cv_use_grid
='wxUSE_GRID=no'
7650 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x
; then
7652 eval "DEFAULT_$LINE"
7657 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7661 eval "$ac_cv_use_grid"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_GRID" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7679 # Check whether --enable-imaglist or --disable-imaglist was given.
7680 if test "${enable_imaglist+set}" = set; then
7681 enableval
="$enable_imaglist"
7683 if test "$enableval" = yes; then
7684 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7686 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7691 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x
; then
7693 eval "DEFAULT_$LINE"
7698 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7702 eval "$ac_cv_use_imaglist"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7707 if test "$wxUSE_IMAGLIST" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7720 # Check whether --enable-listbook or --disable-listbook was given.
7721 if test "${enable_listbook+set}" = set; then
7722 enableval
="$enable_listbook"
7724 if test "$enableval" = yes; then
7725 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7727 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7732 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x
; then
7734 eval "DEFAULT_$LINE"
7739 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7743 eval "$ac_cv_use_listbook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7748 if test "$wxUSE_LISTBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7761 # Check whether --enable-listbox or --disable-listbox was given.
7762 if test "${enable_listbox+set}" = set; then
7763 enableval
="$enable_listbox"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7768 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7773 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x
; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7784 eval "$ac_cv_use_listbox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7789 if test "$wxUSE_LISTBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7802 # Check whether --enable-listctrl or --disable-listctrl was given.
7803 if test "${enable_listctrl+set}" = set; then
7804 enableval
="$enable_listctrl"
7806 if test "$enableval" = yes; then
7807 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7809 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7814 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x
; then
7816 eval "DEFAULT_$LINE"
7821 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7825 eval "$ac_cv_use_listctrl"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_LISTCTRL" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7843 # Check whether --enable-notebook or --disable-notebook was given.
7844 if test "${enable_notebook+set}" = set; then
7845 enableval
="$enable_notebook"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7850 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7855 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7866 eval "$ac_cv_use_notebook"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7871 if test "$wxUSE_NOTEBOOK" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7884 # Check whether --enable-radiobox or --disable-radiobox was given.
7885 if test "${enable_radiobox+set}" = set; then
7886 enableval
="$enable_radiobox"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7891 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7896 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7907 eval "$ac_cv_use_radiobox"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7912 if test "$wxUSE_RADIOBOX" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7925 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7926 if test "${enable_radiobtn+set}" = set; then
7927 enableval
="$enable_radiobtn"
7929 if test "$enableval" = yes; then
7930 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7932 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7937 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x
; then
7939 eval "DEFAULT_$LINE"
7944 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7948 eval "$ac_cv_use_radiobtn"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_RADIOBTN" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7966 # Check whether --enable-sash or --disable-sash was given.
7967 if test "${enable_sash+set}" = set; then
7968 enableval
="$enable_sash"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_sash
='wxUSE_SASH=yes'
7973 ac_cv_use_sash
='wxUSE_SASH=no'
7978 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7989 eval "$ac_cv_use_sash"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7994 if test "$wxUSE_SASH" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8007 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8008 if test "${enable_scrollbar+set}" = set; then
8009 enableval
="$enable_scrollbar"
8011 if test "$enableval" = yes; then
8012 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8014 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8019 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x
; then
8021 eval "DEFAULT_$LINE"
8026 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8030 eval "$ac_cv_use_scrollbar"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8035 if test "$wxUSE_SCROLLBAR" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8048 # Check whether --enable-slider or --disable-slider was given.
8049 if test "${enable_slider+set}" = set; then
8050 enableval
="$enable_slider"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8055 ac_cv_use_slider
='wxUSE_SLIDER=no'
8060 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8071 eval "$ac_cv_use_slider"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8076 if test "$wxUSE_SLIDER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8089 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8090 if test "${enable_spinbtn+set}" = set; then
8091 enableval
="$enable_spinbtn"
8093 if test "$enableval" = yes; then
8094 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8096 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8101 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x
; then
8103 eval "DEFAULT_$LINE"
8108 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8112 eval "$ac_cv_use_spinbtn"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_SPINBTN" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8130 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8131 if test "${enable_spinctrl+set}" = set; then
8132 enableval
="$enable_spinctrl"
8134 if test "$enableval" = yes; then
8135 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8137 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8142 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x
; then
8144 eval "DEFAULT_$LINE"
8149 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8153 eval "$ac_cv_use_spinctrl"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_SPINCTRL" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8171 # Check whether --enable-splitter or --disable-splitter was given.
8172 if test "${enable_splitter+set}" = set; then
8173 enableval
="$enable_splitter"
8175 if test "$enableval" = yes; then
8176 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8178 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8183 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x
; then
8185 eval "DEFAULT_$LINE"
8190 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8194 eval "$ac_cv_use_splitter"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_SPLITTER" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8212 # Check whether --enable-statbmp or --disable-statbmp was given.
8213 if test "${enable_statbmp+set}" = set; then
8214 enableval
="$enable_statbmp"
8216 if test "$enableval" = yes; then
8217 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8219 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8224 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x
; then
8226 eval "DEFAULT_$LINE"
8231 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8235 eval "$ac_cv_use_statbmp"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8240 if test "$wxUSE_STATBMP" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8253 # Check whether --enable-statbox or --disable-statbox was given.
8254 if test "${enable_statbox+set}" = set; then
8255 enableval
="$enable_statbox"
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8260 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8265 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x
; then
8267 eval "DEFAULT_$LINE"
8272 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8276 eval "$ac_cv_use_statbox"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8281 if test "$wxUSE_STATBOX" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8294 # Check whether --enable-statline or --disable-statline was given.
8295 if test "${enable_statline+set}" = set; then
8296 enableval
="$enable_statline"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8301 ac_cv_use_statline
='wxUSE_STATLINE=no'
8306 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8317 eval "$ac_cv_use_statline"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_STATLINE" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8335 # Check whether --enable-stattext or --disable-stattext was given.
8336 if test "${enable_stattext+set}" = set; then
8337 enableval
="$enable_stattext"
8339 if test "$enableval" = yes; then
8340 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8342 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8347 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x
; then
8349 eval "DEFAULT_$LINE"
8354 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8358 eval "$ac_cv_use_stattext"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_STATTEXT" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8376 # Check whether --enable-statusbar or --disable-statusbar was given.
8377 if test "${enable_statusbar+set}" = set; then
8378 enableval
="$enable_statusbar"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8383 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8388 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8399 eval "$ac_cv_use_statusbar"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_STATUSBAR" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8417 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8418 if test "${enable_tabdialog+set}" = set; then
8419 enableval
="$enable_tabdialog"
8421 if test "$enableval" = yes; then
8422 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8424 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8429 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x
; then
8431 eval "DEFAULT_$LINE"
8436 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8440 eval "$ac_cv_use_tabdialog"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_TABDIALOG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8458 # Check whether --enable-textctrl or --disable-textctrl was given.
8459 if test "${enable_textctrl+set}" = set; then
8460 enableval
="$enable_textctrl"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8465 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8470 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8481 eval "$ac_cv_use_textctrl"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_TEXTCTRL" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8499 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8500 if test "${enable_togglebtn+set}" = set; then
8501 enableval
="$enable_togglebtn"
8503 if test "$enableval" = yes; then
8504 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8506 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8511 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x
; then
8513 eval "DEFAULT_$LINE"
8518 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8522 eval "$ac_cv_use_togglebtn"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_TOGGLEBTN" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8540 # Check whether --enable-toolbar or --disable-toolbar was given.
8541 if test "${enable_toolbar+set}" = set; then
8542 enableval
="$enable_toolbar"
8544 if test "$enableval" = yes; then
8545 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8547 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8552 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x
; then
8554 eval "DEFAULT_$LINE"
8559 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8563 eval "$ac_cv_use_toolbar"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8568 if test "$wxUSE_TOOLBAR" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8581 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8582 if test "${enable_tbarnative+set}" = set; then
8583 enableval
="$enable_tbarnative"
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8588 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8593 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x
; then
8595 eval "DEFAULT_$LINE"
8600 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8604 eval "$ac_cv_use_tbarnative"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8609 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8622 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8623 if test "${enable_tbarsmpl+set}" = set; then
8624 enableval
="$enable_tbarsmpl"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8629 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8634 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8645 eval "$ac_cv_use_tbarsmpl"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8650 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8663 # Check whether --enable-treectrl or --disable-treectrl was given.
8664 if test "${enable_treectrl+set}" = set; then
8665 enableval
="$enable_treectrl"
8667 if test "$enableval" = yes; then
8668 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8670 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8675 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x
; then
8677 eval "DEFAULT_$LINE"
8682 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8686 eval "$ac_cv_use_treectrl"
8687 if test "$no_cache" != 1; then
8688 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8691 if test "$wxUSE_TREECTRL" = yes; then
8692 echo "$as_me:$LINENO: result: yes" >&5
8693 echo "${ECHO_T}yes" >&6
8695 echo "$as_me:$LINENO: result: no" >&5
8696 echo "${ECHO_T}no" >&6
8701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8704 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8705 if test "${enable_tipwindow+set}" = set; then
8706 enableval
="$enable_tipwindow"
8708 if test "$enableval" = yes; then
8709 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8711 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8716 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x
; then
8718 eval "DEFAULT_$LINE"
8723 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8727 eval "$ac_cv_use_tipwindow"
8728 if test "$no_cache" != 1; then
8729 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8732 if test "$wxUSE_TIPWINDOW" = yes; then
8733 echo "$as_me:$LINENO: result: yes" >&5
8734 echo "${ECHO_T}yes" >&6
8736 echo "$as_me:$LINENO: result: no" >&5
8737 echo "${ECHO_T}no" >&6
8742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8745 # Check whether --enable-popupwin or --disable-popupwin was given.
8746 if test "${enable_popupwin+set}" = set; then
8747 enableval
="$enable_popupwin"
8749 if test "$enableval" = yes; then
8750 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8752 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8757 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x
; then
8759 eval "DEFAULT_$LINE"
8764 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8768 eval "$ac_cv_use_popupwin"
8769 if test "$no_cache" != 1; then
8770 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8773 if test "$wxUSE_POPUPWIN" = yes; then
8774 echo "$as_me:$LINENO: result: yes" >&5
8775 echo "${ECHO_T}yes" >&6
8777 echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8788 # Check whether --enable-commondlg or --disable-commondlg was given.
8789 if test "${enable_commondlg+set}" = set; then
8790 enableval
="$enable_commondlg"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8795 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8800 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8811 eval "$ac_cv_use_commondlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_COMMONDLGS" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8829 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8830 if test "${enable_choicedlg+set}" = set; then
8831 enableval
="$enable_choicedlg"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8836 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8841 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8852 eval "$ac_cv_use_choicedlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_CHOICEDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8870 # Check whether --enable-coldlg or --disable-coldlg was given.
8871 if test "${enable_coldlg+set}" = set; then
8872 enableval
="$enable_coldlg"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8877 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8882 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8893 eval "$ac_cv_use_coldlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_COLOURDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8911 # Check whether --enable-filedlg or --disable-filedlg was given.
8912 if test "${enable_filedlg+set}" = set; then
8913 enableval
="$enable_filedlg"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8918 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8923 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8934 eval "$ac_cv_use_filedlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_FILEDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8952 # Check whether --enable-finddlg or --disable-finddlg was given.
8953 if test "${enable_finddlg+set}" = set; then
8954 enableval
="$enable_finddlg"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8959 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8964 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8975 eval "$ac_cv_use_finddlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_FINDREPLDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8993 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8994 if test "${enable_fontdlg+set}" = set; then
8995 enableval
="$enable_fontdlg"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9000 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9005 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9016 eval "$ac_cv_use_fontdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_FONTDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9034 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9035 if test "${enable_dirdlg+set}" = set; then
9036 enableval
="$enable_dirdlg"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9041 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9046 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9057 eval "$ac_cv_use_dirdlg"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_DIRDLG" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9075 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9076 if test "${enable_msgdlg+set}" = set; then
9077 enableval
="$enable_msgdlg"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9082 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9087 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9098 eval "$ac_cv_use_msgdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_MSGDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9116 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9117 if test "${enable_numberdlg+set}" = set; then
9118 enableval
="$enable_numberdlg"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9123 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9128 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9139 eval "$ac_cv_use_numberdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_NUMBERDLG" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9157 # Check whether --enable-splash or --disable-splash was given.
9158 if test "${enable_splash+set}" = set; then
9159 enableval
="$enable_splash"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9164 ac_cv_use_splash
='wxUSE_SPLASH=no'
9169 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9180 eval "$ac_cv_use_splash"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_SPLASH" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9198 # Check whether --enable-textdlg or --disable-textdlg was given.
9199 if test "${enable_textdlg+set}" = set; then
9200 enableval
="$enable_textdlg"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9205 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9210 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9221 eval "$ac_cv_use_textdlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_TEXTDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9239 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9240 if test "${enable_tipdlg+set}" = set; then
9241 enableval
="$enable_tipdlg"
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9246 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9251 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x
; then
9253 eval "DEFAULT_$LINE"
9258 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9262 eval "$ac_cv_use_tipdlg"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9267 if test "$wxUSE_STARTUP_TIPS" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9280 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9281 if test "${enable_progressdlg+set}" = set; then
9282 enableval
="$enable_progressdlg"
9284 if test "$enableval" = yes; then
9285 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9287 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9292 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x
; then
9294 eval "DEFAULT_$LINE"
9299 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9303 eval "$ac_cv_use_progressdlg"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9308 if test "$wxUSE_PROGRESSDLG" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9321 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9322 if test "${enable_wizarddlg+set}" = set; then
9323 enableval
="$enable_wizarddlg"
9325 if test "$enableval" = yes; then
9326 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9328 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9333 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x
; then
9335 eval "DEFAULT_$LINE"
9340 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9344 eval "$ac_cv_use_wizarddlg"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9349 if test "$wxUSE_WIZARDDLG" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9364 # Check whether --enable-menus or --disable-menus was given.
9365 if test "${enable_menus+set}" = set; then
9366 enableval
="$enable_menus"
9368 if test "$enableval" = yes; then
9369 ac_cv_use_menus
='wxUSE_MENUS=yes'
9371 ac_cv_use_menus
='wxUSE_MENUS=no'
9376 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x
; then
9378 eval "DEFAULT_$LINE"
9383 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9387 eval "$ac_cv_use_menus"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_MENUS" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9405 # Check whether --enable-miniframe or --disable-miniframe was given.
9406 if test "${enable_miniframe+set}" = set; then
9407 enableval
="$enable_miniframe"
9409 if test "$enableval" = yes; then
9410 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9412 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9417 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x
; then
9419 eval "DEFAULT_$LINE"
9424 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9428 eval "$ac_cv_use_miniframe"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9433 if test "$wxUSE_MINIFRAME" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9446 # Check whether --enable-tooltips or --disable-tooltips was given.
9447 if test "${enable_tooltips+set}" = set; then
9448 enableval
="$enable_tooltips"
9450 if test "$enableval" = yes; then
9451 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9453 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9458 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x
; then
9460 eval "DEFAULT_$LINE"
9465 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9469 eval "$ac_cv_use_tooltips"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9474 if test "$wxUSE_TOOLTIPS" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9487 # Check whether --enable-splines or --disable-splines was given.
9488 if test "${enable_splines+set}" = set; then
9489 enableval
="$enable_splines"
9491 if test "$enableval" = yes; then
9492 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9494 ac_cv_use_splines
='wxUSE_SPLINES=no'
9499 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x
; then
9501 eval "DEFAULT_$LINE"
9506 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9510 eval "$ac_cv_use_splines"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_SPLINES" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9528 # Check whether --enable-validators or --disable-validators was given.
9529 if test "${enable_validators+set}" = set; then
9530 enableval
="$enable_validators"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9535 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9540 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9551 eval "$ac_cv_use_validators"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_VALIDATORS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9569 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9570 if test "${enable_busyinfo+set}" = set; then
9571 enableval
="$enable_busyinfo"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9576 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9581 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9592 eval "$ac_cv_use_busyinfo"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_BUSYINFO" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9610 # Check whether --enable-joystick or --disable-joystick was given.
9611 if test "${enable_joystick+set}" = set; then
9612 enableval
="$enable_joystick"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9617 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9622 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9633 eval "$ac_cv_use_joystick"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_JOYSTICK" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9651 # Check whether --enable-metafile or --disable-metafile was given.
9652 if test "${enable_metafile+set}" = set; then
9653 enableval
="$enable_metafile"
9655 if test "$enableval" = yes; then
9656 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9658 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9663 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x
; then
9665 eval "DEFAULT_$LINE"
9670 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9674 eval "$ac_cv_use_metafile"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9679 if test "$wxUSE_METAFILE" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9692 # Check whether --enable-dragimage or --disable-dragimage was given.
9693 if test "${enable_dragimage+set}" = set; then
9694 enableval
="$enable_dragimage"
9696 if test "$enableval" = yes; then
9697 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9699 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9704 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x
; then
9706 eval "DEFAULT_$LINE"
9711 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9715 eval "$ac_cv_use_dragimage"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9720 if test "$wxUSE_DRAGIMAGE" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9733 # Check whether --enable-accessibility or --disable-accessibility was given.
9734 if test "${enable_accessibility+set}" = set; then
9735 enableval
="$enable_accessibility"
9737 if test "$enableval" = yes; then
9738 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9740 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9745 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x
; then
9747 eval "DEFAULT_$LINE"
9752 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9756 eval "$ac_cv_use_accessibility"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9761 if test "$wxUSE_ACCESSIBILITY" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9776 # Check whether --enable-palette or --disable-palette was given.
9777 if test "${enable_palette+set}" = set; then
9778 enableval
="$enable_palette"
9780 if test "$enableval" = yes; then
9781 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9783 ac_cv_use_palette
='wxUSE_PALETTE=no'
9788 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x
; then
9790 eval "DEFAULT_$LINE"
9795 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9799 eval "$ac_cv_use_palette"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9804 if test "$wxUSE_PALETTE" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9817 # Check whether --enable-image or --disable-image was given.
9818 if test "${enable_image+set}" = set; then
9819 enableval
="$enable_image"
9821 if test "$enableval" = yes; then
9822 ac_cv_use_image
='wxUSE_IMAGE=yes'
9824 ac_cv_use_image
='wxUSE_IMAGE=no'
9829 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x
; then
9831 eval "DEFAULT_$LINE"
9836 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9840 eval "$ac_cv_use_image"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9845 if test "$wxUSE_IMAGE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9858 # Check whether --enable-gif or --disable-gif was given.
9859 if test "${enable_gif+set}" = set; then
9860 enableval
="$enable_gif"
9862 if test "$enableval" = yes; then
9863 ac_cv_use_gif
='wxUSE_GIF=yes'
9865 ac_cv_use_gif
='wxUSE_GIF=no'
9870 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x
; then
9872 eval "DEFAULT_$LINE"
9877 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9881 eval "$ac_cv_use_gif"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9886 if test "$wxUSE_GIF" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9899 # Check whether --enable-pcx or --disable-pcx was given.
9900 if test "${enable_pcx+set}" = set; then
9901 enableval
="$enable_pcx"
9903 if test "$enableval" = yes; then
9904 ac_cv_use_pcx
='wxUSE_PCX=yes'
9906 ac_cv_use_pcx
='wxUSE_PCX=no'
9911 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x
; then
9913 eval "DEFAULT_$LINE"
9918 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9922 eval "$ac_cv_use_pcx"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9927 if test "$wxUSE_PCX" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9940 # Check whether --enable-iff or --disable-iff was given.
9941 if test "${enable_iff+set}" = set; then
9942 enableval
="$enable_iff"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_iff
='wxUSE_IFF=yes'
9947 ac_cv_use_iff
='wxUSE_IFF=no'
9952 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9963 eval "$ac_cv_use_iff"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_IFF" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9981 # Check whether --enable-pnm or --disable-pnm was given.
9982 if test "${enable_pnm+set}" = set; then
9983 enableval
="$enable_pnm"
9985 if test "$enableval" = yes; then
9986 ac_cv_use_pnm
='wxUSE_PNM=yes'
9988 ac_cv_use_pnm
='wxUSE_PNM=no'
9993 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x
; then
9995 eval "DEFAULT_$LINE"
10000 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10004 eval "$ac_cv_use_pnm"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10009 if test "$wxUSE_PNM" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10022 # Check whether --enable-xpm or --disable-xpm was given.
10023 if test "${enable_xpm+set}" = set; then
10024 enableval
="$enable_xpm"
10026 if test "$enableval" = yes; then
10027 ac_cv_use_xpm
='wxUSE_XPM=yes'
10029 ac_cv_use_xpm
='wxUSE_XPM=no'
10034 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x
; then
10036 eval "DEFAULT_$LINE"
10041 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10045 eval "$ac_cv_use_xpm"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10050 if test "$wxUSE_XPM" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10063 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10064 if test "${enable_ico_cur+set}" = set; then
10065 enableval
="$enable_ico_cur"
10067 if test "$enableval" = yes; then
10068 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10070 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10075 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x
; then
10077 eval "DEFAULT_$LINE"
10082 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10086 eval "$ac_cv_use_ico_cur"
10087 if test "$no_cache" != 1; then
10088 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10091 if test "$wxUSE_ICO_CUR" = yes; then
10092 echo "$as_me:$LINENO: result: yes" >&5
10093 echo "${ECHO_T}yes" >&6
10095 echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6
10104 # Check whether --with-flavour or --without-flavour was given.
10105 if test "${with_flavour+set}" = set; then
10106 withval
="$with_flavour"
10107 WX_FLAVOUR
="$withval"
10113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10116 # Check whether --enable-official_build or --disable-official_build was given.
10117 if test "${enable_official_build+set}" = set; then
10118 enableval
="$enable_official_build"
10120 if test "$enableval" = yes; then
10121 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10123 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10128 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10129 if test "x$LINE" != x
; then
10130 eval "DEFAULT_$LINE"
10135 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10139 eval "$ac_cv_use_official_build"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10144 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10145 echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6
10148 echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6
10152 # Check whether --enable-vendor or --disable-vendor was given.
10153 if test "${enable_vendor+set}" = set; then
10154 enableval
="$enable_vendor"
10155 VENDOR
="$enableval"
10157 if test "x$VENDOR" = "x"; then
10164 echo "saving argument cache $wx_arg_cache_file"
10165 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10169 echo "$as_me:$LINENO: checking for toolkit" >&5
10170 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10172 # In Wine, we need to default to MSW, not GTK or MOTIF
10173 if test "$wxUSE_WINE" = "yes"; then
10174 DEFAULT_DEFAULT_wxUSE_GTK
=0
10175 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10176 DEFAULT_DEFAULT_wxUSE_MSW
=1
10180 if test "$wxUSE_GUI" = "yes"; then
10182 if test "$USE_BEOS" = 1; then
10183 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10184 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10185 { (exit 1); exit 1; }; }
10188 if test "$TOOLKIT_GIVEN" = 1; then
10189 for toolkit
in `echo $ALL_TOOLKITS`; do
10191 eval "value=\$${var}"
10192 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10195 for toolkit
in `echo $ALL_TOOLKITS`; do
10196 if test "$has_toolkit_in_cache" != 1; then
10197 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10199 var
=DEFAULT_wxUSE_
$toolkit
10201 eval "wxUSE_$toolkit=\$${var}"
10205 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10206 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10207 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10210 *-pc-os2_emx | *-pc-os2-emx )
10211 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10214 case "$NUM_TOOLKITS" in
10218 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10219 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10220 { (exit 1); exit 1; }; }
10223 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10224 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10225 { (exit 1); exit 1; }; }
10228 for toolkit
in `echo $ALL_TOOLKITS`; do
10230 eval "value=\$${var}"
10231 if test "x$value" != x
; then
10232 cache_var
=CACHE_
$toolkit
10233 eval "cache=\$${cache_var}"
10234 if test "$cache" = 1; then
10235 echo "$var=$value" >> ${wx_arg_cache_file}
10237 if test "$value" = 1; then
10238 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10239 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10240 echo "${ECHO_T}$toolkit_echo" >&6
10245 if test "x$host_alias" != "x"; then
10246 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10247 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10249 echo "$as_me:$LINENO: result: base only" >&5
10250 echo "${ECHO_T}base only" >&6
10255 doesnt_want_win32
=0
10258 if test "$wxUSE_MSW" = 1 ; then
10261 doesnt_want_win32
=1
10269 if test "$wxUSE_WINE" = "yes"; then
10274 LDFLAGS_GUI
="-mwindows"
10277 if test "$wants_win32" = 1 ; then
10280 cat >>confdefs.h
<<\_ACEOF
10281 #define __WIN32__ 1
10284 cat >>confdefs.h
<<\_ACEOF
10285 #define __WIN95__ 1
10288 cat >>confdefs.h
<<\_ACEOF
10289 #define __WINDOWS__ 1
10292 cat >>confdefs.h
<<\_ACEOF
10293 #define __GNUWIN32__ 1
10296 cat >>confdefs.h
<<\_ACEOF
10300 cat >>confdefs.h
<<\_ACEOF
10301 #define WINVER 0x0400
10305 if test "$doesnt_want_win32" = 1 ; then
10310 if test "$USE_UNIX" = 1 ; then
10312 cat >>confdefs.h
<<\_ACEOF
10319 cat >confcache
<<\_ACEOF
10320 # This file is a shell script that caches the results of configure
10321 # tests run on this system so they can be shared between configure
10322 # scripts and configure runs, see configure's option --config-cache.
10323 # It is not useful on other systems. If it contains results you don't
10324 # want to keep, you may remove or edit it.
10326 # config.status only pays attention to the cache file if you give it
10327 # the --recheck option to rerun configure.
10329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10331 # following values.
10335 # The following way of writing the cache mishandles newlines in values,
10336 # but we know of no workaround that is simple, portable, and efficient.
10337 # So, don't put newlines in cache variables' values.
10338 # Ultrix sh set writes to stderr and can't be redirected directly,
10339 # and sets the high bit in the cache file unless we assign to the vars.
10342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10344 # `set' does not quote correctly, so add quotes (double-quote
10345 # substitution turns \\\\ into \\, and sed turns \\ into \).
10348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10351 # `set' quotes correctly as required by POSIX, so do not add quotes.
10353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10364 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10365 if test -w $cache_file; then
10366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10367 cat confcache
>$cache_file
10369 echo "not updating unwritable cache $cache_file"
10374 if test "$build" != "$host" ; then
10375 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10377 CXX
=$host_alias-c++
10379 RANLIB
=$host_alias-ranlib
10380 DLLTOOL
=$host_alias-dlltool
10381 RESCOMP
=$host_alias-windres
10382 STRIP
=$host_alias-strip
10383 elif test "x$CC" '!=' "x"; then
10384 echo "You set CC, I assume you know what you are doing."
10386 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10387 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10388 { (exit 1); exit 1; }; }
10394 ac_cpp
='$CPP $CPPFLAGS'
10395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10398 if test -n "$ac_tool_prefix"; then
10399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10400 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC
="$CC" # Let the user override the test.
10409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10410 for as_dir
in $PATH
10413 test -z "$as_dir" && as_dir
=.
10414 for ac_exec_ext
in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10435 if test -z "$ac_cv_prog_CC"; then
10437 # Extract the first word of "gcc", so it can be a program name with args.
10438 set dummy gcc
; ac_word
=$2
10439 echo "$as_me:$LINENO: checking for $ac_word" >&5
10440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 if test -n "$ac_ct_CC"; then
10445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10448 for as_dir
in $PATH
10451 test -z "$as_dir" && as_dir
=.
10452 for ac_exec_ext
in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_ac_ct_CC
="gcc"
10455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10463 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10464 if test -n "$ac_ct_CC"; then
10465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10466 echo "${ECHO_T}$ac_ct_CC" >&6
10468 echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6
10474 CC
="$ac_cv_prog_CC"
10477 if test -z "$CC"; then
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10480 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10481 echo "$as_me:$LINENO: checking for $ac_word" >&5
10482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10483 if test "${ac_cv_prog_CC+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 if test -n "$CC"; then
10487 ac_cv_prog_CC
="$CC" # Let the user override the test.
10489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10490 for as_dir
in $PATH
10493 test -z "$as_dir" && as_dir
=.
10494 for ac_exec_ext
in '' $ac_executable_extensions; do
10495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10506 if test -n "$CC"; then
10507 echo "$as_me:$LINENO: result: $CC" >&5
10508 echo "${ECHO_T}$CC" >&6
10510 echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6
10515 if test -z "$ac_cv_prog_CC"; then
10517 # Extract the first word of "cc", so it can be a program name with args.
10518 set dummy cc
; ac_word
=$2
10519 echo "$as_me:$LINENO: checking for $ac_word" >&5
10520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 if test -n "$ac_ct_CC"; then
10525 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10528 for as_dir
in $PATH
10531 test -z "$as_dir" && as_dir
=.
10532 for ac_exec_ext
in '' $ac_executable_extensions; do
10533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10534 ac_cv_prog_ac_ct_CC
="cc"
10535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10543 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10544 if test -n "$ac_ct_CC"; then
10545 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10546 echo "${ECHO_T}$ac_ct_CC" >&6
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10554 CC
="$ac_cv_prog_CC"
10558 if test -z "$CC"; then
10559 # Extract the first word of "cc", so it can be a program name with args.
10560 set dummy cc
; ac_word
=$2
10561 echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10563 if test "${ac_cv_prog_CC+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 if test -n "$CC"; then
10567 ac_cv_prog_CC
="$CC" # Let the user override the test.
10569 ac_prog_rejected
=no
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_exec_ext
in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10578 ac_prog_rejected
=yes
10582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10588 if test $ac_prog_rejected = yes; then
10589 # We found a bogon in the path, so make sure we never use it.
10590 set dummy
$ac_cv_prog_CC
10592 if test $# != 0; then
10593 # We chose a different compiler from the bogus one.
10594 # However, it has the same basename, so the bogon will be chosen
10595 # first if we set CC to just the basename; use the full file name.
10597 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10603 if test -n "$CC"; then
10604 echo "$as_me:$LINENO: result: $CC" >&5
10605 echo "${ECHO_T}$CC" >&6
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10612 if test -z "$CC"; then
10613 if test -n "$ac_tool_prefix"; then
10616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10617 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10618 echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620 if test "${ac_cv_prog_CC+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 if test -n "$CC"; then
10624 ac_cv_prog_CC
="$CC" # Let the user override the test.
10626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10627 for as_dir
in $PATH
10630 test -z "$as_dir" && as_dir
=.
10631 for ac_exec_ext
in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10643 if test -n "$CC"; then
10644 echo "$as_me:$LINENO: result: $CC" >&5
10645 echo "${ECHO_T}$CC" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10651 test -n "$CC" && break
10654 if test -z "$CC"; then
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy
$ac_prog; ac_word
=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10669 for as_dir
in $PATH
10672 test -z "$as_dir" && as_dir
=.
10673 for ac_exec_ext
in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC
="$ac_prog"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10693 test -n "$ac_ct_CC" && break
10702 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10703 See \`config.log' for more details." >&5
10704 echo "$as_me: error: no acceptable C compiler found in \$PATH
10705 See \`config.log' for more details." >&2;}
10706 { (exit 1); exit 1; }; }
10708 # Provide some information about the compiler.
10709 echo "$as_me:$LINENO:" \
10710 "checking for C compiler version" >&5
10711 ac_compiler
=`set X $ac_compile; echo $2`
10712 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10713 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }
10717 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10718 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }
10722 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10723 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }
10728 cat >conftest.
$ac_ext <<_ACEOF
10731 cat confdefs.h
>>conftest.
$ac_ext
10732 cat >>conftest.
$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10743 ac_clean_files_save
=$ac_clean_files
10744 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10745 # Try to create an executable without -o first, disregard a.out.
10746 # It will help us diagnose broken compilers, and finding out an intuition
10748 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10749 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10750 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10752 (eval $ac_link_default) 2>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; then
10756 # Find the output, starting from the most likely. This scheme is
10757 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10760 # Be careful to initialize this variable, since it used to be cached.
10761 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10763 # b.out is created by i960 compilers.
10764 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10766 test -f "$ac_file" || continue
10768 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10771 # This is the source file.
10774 # We found the default executable, but exeext='' is most
10778 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10779 # FIXME: I believe we export ac_cv_exeext for Libtool,
10780 # but it would be cool to find out if it's true. Does anybody
10781 # maintain Libtool? --akim.
10782 export ac_cv_exeext
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.
$ac_ext >&5
10792 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: C compiler cannot create executables
10795 See \`config.log' for more details." >&2;}
10796 { (exit 77); exit 77; }; }
10799 ac_exeext
=$ac_cv_exeext
10800 echo "$as_me:$LINENO: result: $ac_file" >&5
10801 echo "${ECHO_T}$ac_file" >&6
10803 # Check the compiler produces executables we can run. If not, either
10804 # the compiler is broken, or we cross compile.
10805 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10806 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10807 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10808 # If not cross compiling, check that we can run a simple program.
10809 if test "$cross_compiling" != yes; then
10810 if { ac_try
='./$ac_file'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10818 if test "$cross_compiling" = maybe
; then
10819 cross_compiling
=yes
10821 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10822 If you meant to cross compile, use \`--host'.
10823 See \`config.log' for more details." >&5
10824 echo "$as_me: error: cannot run C compiled programs.
10825 If you meant to cross compile, use \`--host'.
10826 See \`config.log' for more details." >&2;}
10827 { (exit 1); exit 1; }; }
10831 echo "$as_me:$LINENO: result: yes" >&5
10832 echo "${ECHO_T}yes" >&6
10834 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10835 ac_clean_files
=$ac_clean_files_save
10836 # Check the compiler produces executables we can run. If not, either
10837 # the compiler is broken, or we cross compile.
10838 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10840 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10841 echo "${ECHO_T}$cross_compiling" >&6
10843 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; then
10850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10852 # work properly (i.e., refer to `conftest.exe'), while it won't with
10854 for ac_file
in conftest.exe conftest conftest.
*; do
10855 test -f "$ac_file" || continue
10857 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10858 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10859 export ac_cv_exeext
10865 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10866 See \`config.log' for more details." >&5
10867 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10868 See \`config.log' for more details." >&2;}
10869 { (exit 1); exit 1; }; }
10872 rm -f conftest
$ac_cv_exeext
10873 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10874 echo "${ECHO_T}$ac_cv_exeext" >&6
10876 rm -f conftest.
$ac_ext
10877 EXEEXT
=$ac_cv_exeext
10879 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10880 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10881 if test "${ac_cv_objext+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 cat >conftest.
$ac_ext <<_ACEOF
10887 cat confdefs.h
>>conftest.
$ac_ext
10888 cat >>conftest.
$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10899 rm -f conftest.o conftest.obj
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; then
10905 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10907 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10908 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.
$ac_ext >&5
10916 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10917 See \`config.log' for more details." >&5
10918 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10919 See \`config.log' for more details." >&2;}
10920 { (exit 1); exit 1; }; }
10923 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10925 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10926 echo "${ECHO_T}$ac_cv_objext" >&6
10927 OBJEXT
=$ac_cv_objext
10929 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10930 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10931 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 cat >conftest.
$ac_ext <<_ACEOF
10937 cat confdefs.h
>>conftest.
$ac_ext
10938 cat >>conftest.
$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10952 rm -f conftest.
$ac_objext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 (eval $ac_compile) 2>conftest.er1
10956 grep -v '^ *+' conftest.er1
>conftest.err
10958 cat conftest.err
>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try
='test -z "$ac_c_werror_flag"
10962 || test ! -s conftest.err'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; } &&
10968 { ac_try
='test -s conftest.$ac_objext'
10969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10970 (eval $ac_try) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; }; then
10974 ac_compiler_gnu
=yes
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.
$ac_ext >&5
10981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10982 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10985 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10986 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10987 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10988 ac_test_CFLAGS
=${CFLAGS+set}
10989 ac_save_CFLAGS
=$CFLAGS
10991 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10992 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10993 if test "${ac_cv_prog_cc_g+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 cat >conftest.
$ac_ext <<_ACEOF
10999 cat confdefs.h
>>conftest.
$ac_ext
11000 cat >>conftest.
$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11011 rm -f conftest.
$ac_objext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11013 (eval $ac_compile) 2>conftest.er1
11015 grep -v '^ *+' conftest.er1
>conftest.err
11017 cat conftest.err
>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try
='test -z "$ac_c_werror_flag"
11021 || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try
='test -s conftest.$ac_objext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11033 ac_cv_prog_cc_g
=yes
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.
$ac_ext >&5
11040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11042 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11044 if test "$ac_test_CFLAGS" = set; then
11045 CFLAGS
=$ac_save_CFLAGS
11046 elif test $ac_cv_prog_cc_g = yes; then
11047 if test "$GCC" = yes; then
11053 if test "$GCC" = yes; then
11059 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11060 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11061 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 ac_cv_prog_cc_stdc
=no
11066 cat >conftest.
$ac_ext <<_ACEOF
11069 cat confdefs.h
>>conftest.
$ac_ext
11070 cat >>conftest.
$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 #include <stdarg.h>
11074 #include <sys/types.h>
11075 #include <sys/stat.h>
11076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11077 struct buf { int x; };
11078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11079 static char *e (p, i)
11085 static char *f (char * (*g) (char **, int), char **p, ...)
11090 s = g (p, va_arg (v,int));
11095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11096 function prototypes and stuff, but not '\xHH' hex character constants.
11097 These don't provoke an error unfortunately, instead are silently treated
11098 as 'x'. The following induces an error, until -std1 is added to get
11099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11100 array size at least. It's necessary to write '\x00'==0 to get something
11101 that's true only with -std1. */
11102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11104 int test (int i, double x);
11105 struct s1 {int (*f) (int a);};
11106 struct s2 {int (*f) (double a);};
11107 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11113 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11118 # Don't try gcc -ansi; that turns off useful extensions and
11119 # breaks some systems' header files.
11120 # AIX -qlanglvl=ansi
11121 # Ultrix and OSF/1 -std1
11122 # HP-UX 10.20 and later -Ae
11123 # HP-UX older versions -Aa -D_HPUX_SOURCE
11124 # SVR4 -Xc -D__EXTENSIONS__
11125 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11127 CC
="$ac_save_CC $ac_arg"
11128 rm -f conftest.
$ac_objext
11129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11130 (eval $ac_compile) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try
='test -z "$ac_c_werror_flag"
11138 || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try
='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_prog_cc_stdc
=$ac_arg
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11157 rm -f conftest.err conftest.
$ac_objext
11159 rm -f conftest.
$ac_ext conftest.
$ac_objext
11164 case "x$ac_cv_prog_cc_stdc" in
11166 echo "$as_me:$LINENO: result: none needed" >&5
11167 echo "${ECHO_T}none needed" >&6 ;;
11169 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11170 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11171 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11174 # Some people use a C++ compiler to compile C. Since we use `exit',
11175 # in C++ we need to declare it. In case someone uses the same compiler
11176 # for both compiling C and C++ we need to have the C++ compiler decide
11177 # the declaration of exit, since it's the most demanding environment.
11178 cat >conftest.
$ac_ext <<_ACEOF
11179 #ifndef __cplusplus
11183 rm -f conftest.
$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>conftest.er1
11187 grep -v '^ *+' conftest.er1
>conftest.err
11189 cat conftest.err
>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } &&
11192 { ac_try
='test -z "$ac_c_werror_flag"
11193 || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try
='test -s conftest.$ac_objext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 for ac_declaration
in \
11207 'extern "C" void std::exit (int) throw (); using std::exit;' \
11208 'extern "C" void std::exit (int); using std::exit;' \
11209 'extern "C" void exit (int) throw ();' \
11210 'extern "C" void exit (int);' \
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11220 #include <stdlib.h>
11229 rm -f conftest.
$ac_objext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 (eval $ac_compile) 2>conftest.er1
11233 grep -v '^ *+' conftest.er1
>conftest.err
11235 cat conftest.err
>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); } &&
11238 { ac_try
='test -z "$ac_c_werror_flag"
11239 || test ! -s conftest.err'
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); }; } &&
11245 { ac_try
='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11274 rm -f conftest.
$ac_objext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11276 (eval $ac_compile) 2>conftest.er1
11278 grep -v '^ *+' conftest.er1
>conftest.err
11280 cat conftest.err
>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try
='test -z "$ac_c_werror_flag"
11284 || test ! -s conftest.err'
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); }; } &&
11290 { ac_try
='test -s conftest.$ac_objext'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.
$ac_ext >&5
11302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11305 if test -n "$ac_declaration"; then
11306 echo '#ifdef __cplusplus' >>confdefs.h
11307 echo $ac_declaration >>confdefs.h
11308 echo '#endif' >>confdefs.h
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.
$ac_ext >&5
11316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11318 ac_cpp
='$CPP $CPPFLAGS'
11319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11326 ac_cpp
='$CPP $CPPFLAGS'
11327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11330 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11331 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11332 # On Suns, sometimes $CPP names a directory.
11333 if test -n "$CPP" && test -d "$CPP"; then
11336 if test -z "$CPP"; then
11337 if test "${ac_cv_prog_CPP+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 # Double quotes because CPP needs to be expanded
11341 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11343 ac_preproc_ok
=false
11344 for ac_c_preproc_warn_flag
in '' yes
11346 # Use a header file that comes with gcc, so configuring glibc
11347 # with a fresh cross-compiler works.
11348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11349 # <limits.h> exists even on freestanding compilers.
11350 # On the NeXT, cc -E runs the code through the compiler's parser,
11351 # not just through cpp. "Syntax error" is here to catch this case.
11352 cat >conftest.
$ac_ext <<_ACEOF
11355 cat confdefs.h
>>conftest.
$ac_ext
11356 cat >>conftest.
$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11359 # include <limits.h>
11361 # include <assert.h>
11365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11368 grep -v '^ *+' conftest.er1
>conftest.err
11370 cat conftest.err
>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } >/dev
/null
; then
11373 if test -s conftest.err
; then
11374 ac_cpp_err
=$ac_c_preproc_warn_flag
11375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11382 if test -z "$ac_cpp_err"; then
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.
$ac_ext >&5
11388 # Broken: fails on valid input.
11391 rm -f conftest.err conftest.
$ac_ext
11393 # OK, works on sane cases. Now check whether non-existent headers
11394 # can be detected and how.
11395 cat >conftest.
$ac_ext <<_ACEOF
11398 cat confdefs.h
>>conftest.
$ac_ext
11399 cat >>conftest.
$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11401 #include <ac_nonexistent.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
11421 # Broken: success on invalid input.
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.
$ac_ext >&5
11427 # Passes both tests.
11431 rm -f conftest.err conftest.
$ac_ext
11434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11435 rm -f conftest.err conftest.
$ac_ext
11436 if $ac_preproc_ok; then
11441 ac_cv_prog_CPP
=$CPP
11444 CPP
=$ac_cv_prog_CPP
11446 ac_cv_prog_CPP
=$CPP
11448 echo "$as_me:$LINENO: result: $CPP" >&5
11449 echo "${ECHO_T}$CPP" >&6
11450 ac_preproc_ok
=false
11451 for ac_c_preproc_warn_flag
in '' yes
11453 # Use a header file that comes with gcc, so configuring glibc
11454 # with a fresh cross-compiler works.
11455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11456 # <limits.h> exists even on freestanding compilers.
11457 # On the NeXT, cc -E runs the code through the compiler's parser,
11458 # not just through cpp. "Syntax error" is here to catch this case.
11459 cat >conftest.
$ac_ext <<_ACEOF
11462 cat confdefs.h
>>conftest.
$ac_ext
11463 cat >>conftest.
$ac_ext <<_ACEOF
11464 /* end confdefs.h. */
11466 # include <limits.h>
11468 # include <assert.h>
11472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11475 grep -v '^ *+' conftest.er1
>conftest.err
11477 cat conftest.err
>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); } >/dev
/null
; then
11480 if test -s conftest.err
; then
11481 ac_cpp_err
=$ac_c_preproc_warn_flag
11482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11489 if test -z "$ac_cpp_err"; then
11492 echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.
$ac_ext >&5
11495 # Broken: fails on valid input.
11498 rm -f conftest.err conftest.
$ac_ext
11500 # OK, works on sane cases. Now check whether non-existent headers
11501 # can be detected and how.
11502 cat >conftest.
$ac_ext <<_ACEOF
11505 cat confdefs.h
>>conftest.
$ac_ext
11506 cat >>conftest.
$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11508 #include <ac_nonexistent.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
11528 # Broken: success on invalid input.
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.
$ac_ext >&5
11534 # Passes both tests.
11538 rm -f conftest.err conftest.
$ac_ext
11541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11542 rm -f conftest.err conftest.
$ac_ext
11543 if $ac_preproc_ok; then
11546 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11547 See \`config.log' for more details." >&5
11548 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11549 See \`config.log' for more details." >&2;}
11550 { (exit 1); exit 1; }; }
11554 ac_cpp
='$CPP $CPPFLAGS'
11555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11560 echo "$as_me:$LINENO: checking for egrep" >&5
11561 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11562 if test "${ac_cv_prog_egrep+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11566 then ac_cv_prog_egrep
='grep -E'
11567 else ac_cv_prog_egrep
='egrep'
11570 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11571 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11572 EGREP
=$ac_cv_prog_egrep
11575 if test $ac_cv_c_compiler_gnu = yes; then
11576 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11577 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11578 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 ac_pattern
="Autoconf.*'x'"
11582 cat >conftest.
$ac_ext <<_ACEOF
11585 cat confdefs.h
>>conftest.
$ac_ext
11586 cat >>conftest.
$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11592 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11593 ac_cv_prog_gcc_traditional
=yes
11595 ac_cv_prog_gcc_traditional
=no
11600 if test $ac_cv_prog_gcc_traditional = no
; then
11601 cat >conftest.
$ac_ext <<_ACEOF
11604 cat confdefs.h
>>conftest.
$ac_ext
11605 cat >>conftest.
$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 #include <termio.h>
11610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11611 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11612 ac_cv_prog_gcc_traditional
=yes
11618 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11619 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11620 if test $ac_cv_prog_gcc_traditional = yes; then
11621 CC
="$CC -traditional"
11629 ac_cpp
='$CXXCPP $CPPFLAGS'
11630 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11631 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11632 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11635 CXXFLAGS
=${CXXFLAGS:=}
11637 ac_cpp
='$CXXCPP $CPPFLAGS'
11638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11641 if test -n "$ac_tool_prefix"; then
11642 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11645 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11646 echo "$as_me:$LINENO: checking for $ac_word" >&5
11647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11648 if test "${ac_cv_prog_CXX+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11651 if test -n "$CXX"; then
11652 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11655 for as_dir
in $PATH
11658 test -z "$as_dir" && as_dir
=.
11659 for ac_exec_ext
in '' $ac_executable_extensions; do
11660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11661 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11670 CXX
=$ac_cv_prog_CXX
11671 if test -n "$CXX"; then
11672 echo "$as_me:$LINENO: result: $CXX" >&5
11673 echo "${ECHO_T}$CXX" >&6
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11679 test -n "$CXX" && break
11682 if test -z "$CXX"; then
11684 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11686 # Extract the first word of "$ac_prog", so it can be a program name with args.
11687 set dummy
$ac_prog; ac_word
=$2
11688 echo "$as_me:$LINENO: checking for $ac_word" >&5
11689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11690 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 if test -n "$ac_ct_CXX"; then
11694 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11697 for as_dir
in $PATH
11700 test -z "$as_dir" && as_dir
=.
11701 for ac_exec_ext
in '' $ac_executable_extensions; do
11702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11703 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11712 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11713 if test -n "$ac_ct_CXX"; then
11714 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11715 echo "${ECHO_T}$ac_ct_CXX" >&6
11717 echo "$as_me:$LINENO: result: no" >&5
11718 echo "${ECHO_T}no" >&6
11721 test -n "$ac_ct_CXX" && break
11723 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11729 # Provide some information about the compiler.
11730 echo "$as_me:$LINENO:" \
11731 "checking for C++ compiler version" >&5
11732 ac_compiler
=`set X $ac_compile; echo $2`
11733 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11734 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }
11738 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11739 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }
11743 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11744 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }
11749 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11750 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11751 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 cat >conftest.
$ac_ext <<_ACEOF
11757 cat confdefs.h
>>conftest.
$ac_ext
11758 cat >>conftest.
$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11772 rm -f conftest.
$ac_objext
11773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11774 (eval $ac_compile) 2>conftest.er1
11776 grep -v '^ *+' conftest.er1
>conftest.err
11778 cat conftest.err
>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } &&
11781 { ac_try
='test -z "$ac_cxx_werror_flag"
11782 || test ! -s conftest.err'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; } &&
11788 { ac_try
='test -s conftest.$ac_objext'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 ac_compiler_gnu
=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.
$ac_ext >&5
11801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11802 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11805 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11806 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11807 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11808 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11809 ac_save_CXXFLAGS
=$CXXFLAGS
11811 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11812 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11813 if test "${ac_cv_prog_cxx_g+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 cat >conftest.
$ac_ext <<_ACEOF
11819 cat confdefs.h
>>conftest.
$ac_ext
11820 cat >>conftest.
$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11831 rm -f conftest.
$ac_objext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11833 (eval $ac_compile) 2>conftest.er1
11835 grep -v '^ *+' conftest.er1
>conftest.err
11837 cat conftest.err
>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } &&
11840 { ac_try
='test -z "$ac_cxx_werror_flag"
11841 || test ! -s conftest.err'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; } &&
11847 { ac_try
='test -s conftest.$ac_objext'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 ac_cv_prog_cxx_g
=yes
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.
$ac_ext >&5
11858 ac_cv_prog_cxx_g
=no
11860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11862 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11863 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11864 if test "$ac_test_CXXFLAGS" = set; then
11865 CXXFLAGS
=$ac_save_CXXFLAGS
11866 elif test $ac_cv_prog_cxx_g = yes; then
11867 if test "$GXX" = yes; then
11873 if test "$GXX" = yes; then
11879 for ac_declaration
in \
11881 'extern "C" void std::exit (int) throw (); using std::exit;' \
11882 'extern "C" void std::exit (int); using std::exit;' \
11883 'extern "C" void exit (int) throw ();' \
11884 'extern "C" void exit (int);' \
11887 cat >conftest.
$ac_ext <<_ACEOF
11890 cat confdefs.h
>>conftest.
$ac_ext
11891 cat >>conftest.
$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11894 #include <stdlib.h>
11903 rm -f conftest.
$ac_objext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11905 (eval $ac_compile) 2>conftest.er1
11907 grep -v '^ *+' conftest.er1
>conftest.err
11909 cat conftest.err
>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try
='test -z "$ac_cxx_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try
='test -s conftest.$ac_objext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.
$ac_ext >&5
11932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11933 cat >conftest.
$ac_ext <<_ACEOF
11936 cat confdefs.h
>>conftest.
$ac_ext
11937 cat >>conftest.
$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11948 rm -f conftest.
$ac_objext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11950 (eval $ac_compile) 2>conftest.er1
11952 grep -v '^ *+' conftest.er1
>conftest.err
11954 cat conftest.err
>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try
='test -z "$ac_cxx_werror_flag"
11958 || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try
='test -s conftest.$ac_objext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11979 if test -n "$ac_declaration"; then
11980 echo '#ifdef __cplusplus' >>confdefs.h
11981 echo $ac_declaration >>confdefs.h
11982 echo '#endif' >>confdefs.h
11986 ac_cpp
='$CXXCPP $CPPFLAGS'
11987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11993 ac_cpp
='$CPP $CPPFLAGS'
11994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11999 if test -n "$ac_tool_prefix"; then
12000 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12001 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12002 echo "$as_me:$LINENO: checking for $ac_word" >&5
12003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12004 if test "${ac_cv_prog_RANLIB+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 if test -n "$RANLIB"; then
12008 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12011 for as_dir
in $PATH
12014 test -z "$as_dir" && as_dir
=.
12015 for ac_exec_ext
in '' $ac_executable_extensions; do
12016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12017 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12026 RANLIB
=$ac_cv_prog_RANLIB
12027 if test -n "$RANLIB"; then
12028 echo "$as_me:$LINENO: result: $RANLIB" >&5
12029 echo "${ECHO_T}$RANLIB" >&6
12031 echo "$as_me:$LINENO: result: no" >&5
12032 echo "${ECHO_T}no" >&6
12036 if test -z "$ac_cv_prog_RANLIB"; then
12037 ac_ct_RANLIB
=$RANLIB
12038 # Extract the first word of "ranlib", so it can be a program name with args.
12039 set dummy ranlib
; ac_word
=$2
12040 echo "$as_me:$LINENO: checking for $ac_word" >&5
12041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12042 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 if test -n "$ac_ct_RANLIB"; then
12046 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12049 for as_dir
in $PATH
12052 test -z "$as_dir" && as_dir
=.
12053 for ac_exec_ext
in '' $ac_executable_extensions; do
12054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12055 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12062 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12065 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12066 if test -n "$ac_ct_RANLIB"; then
12067 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12068 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12070 echo "$as_me:$LINENO: result: no" >&5
12071 echo "${ECHO_T}no" >&6
12074 RANLIB
=$ac_ct_RANLIB
12076 RANLIB
="$ac_cv_prog_RANLIB"
12080 # Extract the first word of "ar", so it can be a program name with args.
12081 set dummy
ar; ac_word
=$2
12082 echo "$as_me:$LINENO: checking for $ac_word" >&5
12083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12084 if test "${ac_cv_prog_AR+set}" = set; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 if test -n "$AR"; then
12088 ac_cv_prog_AR
="$AR" # Let the user override the test.
12090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12091 for as_dir
in $PATH
12094 test -z "$as_dir" && as_dir
=.
12095 for ac_exec_ext
in '' $ac_executable_extensions; do
12096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12107 if test -n "$AR"; then
12108 echo "$as_me:$LINENO: result: $AR" >&5
12109 echo "${ECHO_T}$AR" >&6
12111 echo "$as_me:$LINENO: result: no" >&5
12112 echo "${ECHO_T}no" >&6
12115 if test "x$AR" = "x" ; then
12116 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12117 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12118 { (exit 1); exit 1; }; }
12121 # Find a good install program. We prefer a C program (faster),
12122 # so one script is as good as another. But avoid the broken or
12123 # incompatible versions:
12124 # SysV /etc/install, /usr/sbin/install
12125 # SunOS /usr/etc/install
12126 # IRIX /sbin/install
12128 # AmigaOS /C/install, which installs bootblocks on floppy discs
12129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12132 # OS/2's system install, which has a completely different semantic
12133 # ./install, which can be erroneously created by make from ./install.sh.
12134 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12135 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12136 if test -z "$INSTALL"; then
12137 if test "${ac_cv_path_install+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12141 for as_dir
in $PATH
12144 test -z "$as_dir" && as_dir
=.
12145 # Account for people who put trailing slashes in PATH elements.
12147 .
/ | .
// | /cC
/* | \
12148 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12149 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12152 # OSF1 and SCO ODT 3.0 have their own names for install.
12153 # Don't use installbsd from OSF since it installs stuff as root
12155 for ac_prog
in ginstall scoinst
install; do
12156 for ac_exec_ext
in '' $ac_executable_extensions; do
12157 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12158 if test $ac_prog = install &&
12159 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12160 # AIX install. It has an incompatible calling convention.
12162 elif test $ac_prog = install &&
12163 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12164 # program-specific install script used by HP pwplus--don't use.
12167 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12179 if test "${ac_cv_path_install+set}" = set; then
12180 INSTALL
=$ac_cv_path_install
12182 # As a last resort, use the slow shell script. We don't cache a
12183 # path for INSTALL within a source directory, because that will
12184 # break other packages using the cache if that directory is
12185 # removed, or if the path is relative.
12186 INSTALL
=$ac_install_sh
12189 echo "$as_me:$LINENO: result: $INSTALL" >&5
12190 echo "${ECHO_T}$INSTALL" >&6
12192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12193 # It thinks the first close brace ends the variable substitution.
12194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12198 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12204 ?
:* ) # Drive letter, considered as absolute.
12207 INSTALL
=`pwd`/${INSTALL} ;;
12213 powerpc
-*-darwin* )
12214 INSTALL_PROGRAM
="cp -fp"
12215 INSTALL_DATA
="cp -fp"
12221 # Extract the first word of "strip", so it can be a program name with args.
12222 set dummy strip
; ac_word
=$2
12223 echo "$as_me:$LINENO: checking for $ac_word" >&5
12224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12225 if test "${ac_cv_prog_STRIP+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 if test -n "$STRIP"; then
12229 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12232 for as_dir
in $PATH
12235 test -z "$as_dir" && as_dir
=.
12236 for ac_exec_ext
in '' $ac_executable_extensions; do
12237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12238 ac_cv_prog_STRIP
="strip"
12239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12245 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12248 STRIP
=$ac_cv_prog_STRIP
12249 if test -n "$STRIP"; then
12250 echo "$as_me:$LINENO: result: $STRIP" >&5
12251 echo "${ECHO_T}$STRIP" >&6
12253 echo "$as_me:$LINENO: result: no" >&5
12254 echo "${ECHO_T}no" >&6
12258 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12259 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12260 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12265 egrep -s GNU
> /dev
/null
); then
12266 wx_cv_prog_makeisgnu
="yes"
12268 wx_cv_prog_makeisgnu
="no"
12272 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12273 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12275 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12283 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12284 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12285 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12286 if test "${wx_cv_prog_makevpath+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat - << EOF > confMake
12296 if test ! -d sub
; then
12299 echo dummy
> sub
/file
12300 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12302 rm -f sub
/file check final_file confMake
12304 if test "$RESULT" = 0; then
12305 wx_cv_prog_makevpath
="yes"
12307 wx_cv_prog_makevpath
="no"
12311 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12312 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12314 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12315 { { echo "$as_me:$LINENO: error:
12316 You need a make-utility that is able to use the variable
12318 If your version of make does not support VPATH correctly,
12319 please install GNU-make (possibly as gmake), and start
12320 configure with the following command:
12321 export MAKE=gmake; ./configure for sh-type shells
12322 setenv MAKE gmake; ./configure for csh-type shells
12323 Also please do remember to use gmake in this case every time
12324 you are trying to compile.
12326 echo "$as_me: error:
12327 You need a make-utility that is able to use the variable
12329 If your version of make does not support VPATH correctly,
12330 please install GNU-make (possibly as gmake), and start
12331 configure with the following command:
12332 export MAKE=gmake; ./configure for sh-type shells
12333 setenv MAKE gmake; ./configure for csh-type shells
12334 Also please do remember to use gmake in this case every time
12335 you are trying to compile.
12337 { (exit 1); exit 1; }; }
12339 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12340 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12342 if test "$LN_S" = "ln -s"; then
12343 echo "$as_me:$LINENO: result: yes" >&5
12344 echo "${ECHO_T}yes" >&6
12346 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12347 echo "${ECHO_T}no, using $LN_S" >&6
12353 *-pc-os2_emx | *-pc-os2-emx )
12354 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12355 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12356 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12357 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12358 echo $ECHO_N "(cached) $ECHO_C" >&6
12360 ac_check_lib_save_LIBS
=$LIBS
12361 LIBS
="-lcExt $LIBS"
12362 cat >conftest.
$ac_ext <<_ACEOF
12365 cat confdefs.h
>>conftest.
$ac_ext
12366 cat >>conftest.
$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12369 /* Override any gcc2 internal prototype to avoid an error. */
12373 /* We use char because int might match the return type of a gcc2
12374 builtin and then its argument prototype would still apply. */
12384 rm -f conftest.
$ac_objext conftest
$ac_exeext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12386 (eval $ac_link) 2>conftest.er1
12388 grep -v '^ *+' conftest.er1
>conftest.err
12390 cat conftest.err
>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } &&
12393 { ac_try
='test -z "$ac_c_werror_flag"
12394 || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try
='test -s conftest$ac_exeext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_lib_cExt_drand48
=yes
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12411 ac_cv_lib_cExt_drand48
=no
12413 rm -f conftest.err conftest.
$ac_objext \
12414 conftest
$ac_exeext conftest.
$ac_ext
12415 LIBS
=$ac_check_lib_save_LIBS
12417 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12418 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12419 if test $ac_cv_lib_cExt_drand48 = yes; then
12420 LIBS
="$LIBS -lcExt"
12424 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12426 echo "$as_me:$LINENO: checking for gcc version" >&5
12427 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12428 if test "${wx_cv_gccversion+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 cat >conftest.
$ac_ext <<_ACEOF
12435 cat confdefs.h
>>conftest.
$ac_ext
12436 cat >>conftest.
$ac_ext <<_ACEOF
12437 /* end confdefs.h. */
12451 rm -f conftest.
$ac_objext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12453 (eval $ac_compile) 2>conftest.er1
12455 grep -v '^ *+' conftest.er1
>conftest.err
12457 cat conftest.err
>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } &&
12460 { ac_try
='test -z "$ac_c_werror_flag"
12461 || test ! -s conftest.err'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; } &&
12467 { ac_try
='test -s conftest.$ac_objext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12485 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12486 #error intermediate gcc
12493 rm -f conftest.
$ac_objext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12495 (eval $ac_compile) 2>conftest.er1
12497 grep -v '^ *+' conftest.er1
>conftest.err
12499 cat conftest.err
>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try
='test -z "$ac_c_werror_flag"
12503 || test ! -s conftest.err'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } &&
12509 { ac_try
='test -s conftest.$ac_objext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; }; then
12516 wx_cv_gccversion
=Innotek
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.
$ac_ext >&5
12527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.
$ac_ext >&5
12538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12542 echo "${ECHO_T}$wx_cv_gccversion" >&6
12543 if test "$wx_cv_gccversion" = "2"; then
12544 LIBS
="$LIBS -lstdcpp"
12545 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12547 if test "$wx_cv_gccversion" = "3"; then
12548 LIBS
="$LIBS -lstdcxx"
12549 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12551 LIBS
="$LIBS -lstdc++"
12554 if test "$wxUSE_OMF" = "yes"; then
12555 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12563 ac_cpp
='$CXXCPP $CPPFLAGS'
12564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12570 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12571 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12572 if test "${ac_cv_string_strcasecmp+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12583 #include <string.h>
12589 strcasecmp("foo", "bar");
12595 rm -f conftest.
$ac_objext conftest
$ac_exeext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_cxx_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try
='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_cv_string_strcasecmp
=yes
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 ac_cv_string_strcasecmp
=no
12625 rm -f conftest.err conftest.
$ac_objext \
12626 conftest
$ac_exeext conftest.
$ac_ext
12629 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12630 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12632 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12633 cat >>confdefs.h
<<\_ACEOF
12634 #define HAVE_STRCASECMP_IN_STRING_H 1
12638 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12639 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12640 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12644 cat >conftest.
$ac_ext <<_ACEOF
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12651 #include <strings.h>
12657 strcasecmp("foo", "bar");
12663 rm -f conftest.
$ac_objext conftest
$ac_exeext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12665 (eval $ac_link) 2>conftest.er1
12667 grep -v '^ *+' conftest.er1
>conftest.err
12669 cat conftest.err
>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try
='test -z "$ac_cxx_werror_flag"
12673 || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try
='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_strings_strcasecmp
=yes
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.
$ac_ext >&5
12690 ac_cv_strings_strcasecmp
=no
12693 rm -f conftest.err conftest.
$ac_objext \
12694 conftest
$ac_exeext conftest.
$ac_ext
12697 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12698 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12700 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12701 cat >>confdefs.h
<<\_ACEOF
12702 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12706 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12707 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12708 { (exit 1); exit 1; }; }
12713 ac_cpp
='$CPP $CPPFLAGS'
12714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12722 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12723 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12724 if test "${ac_cv_header_stdc+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 #include <stdlib.h>
12734 #include <stdarg.h>
12735 #include <string.h>
12746 rm -f conftest.
$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag"
12756 || test ! -s conftest.err'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; } &&
12762 { ac_try
='test -s conftest.$ac_objext'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12768 ac_cv_header_stdc
=yes
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12773 ac_cv_header_stdc
=no
12775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12777 if test $ac_cv_header_stdc = yes; then
12778 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12779 cat >conftest.
$ac_ext <<_ACEOF
12782 cat confdefs.h
>>conftest.
$ac_ext
12783 cat >>conftest.
$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12785 #include <string.h>
12788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12789 $EGREP "memchr" >/dev
/null
2>&1; then
12792 ac_cv_header_stdc
=no
12798 if test $ac_cv_header_stdc = yes; then
12799 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 #include <stdlib.h>
12809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12810 $EGREP "free" >/dev
/null
2>&1; then
12813 ac_cv_header_stdc
=no
12819 if test $ac_cv_header_stdc = yes; then
12820 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12821 if test "$cross_compiling" = yes; then
12824 cat >conftest.
$ac_ext <<_ACEOF
12827 cat confdefs.h
>>conftest.
$ac_ext
12828 cat >>conftest.
$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12831 #if ((' ' & 0x0FF) == 0x020)
12832 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12833 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12835 # define ISLOWER(c) \
12836 (('a' <= (c) && (c) <= 'i') \
12837 || ('j' <= (c) && (c) <= 'r') \
12838 || ('s' <= (c) && (c) <= 'z'))
12839 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12842 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12847 for (i = 0; i < 256; i++)
12848 if (XOR (islower (i), ISLOWER (i))
12849 || toupper (i) != TOUPPER (i))
12854 rm -f conftest
$ac_exeext
12855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856 (eval $ac_link) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; }; then
12867 echo "$as_me: program exited with status $ac_status" >&5
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.
$ac_ext >&5
12871 ( exit $ac_status )
12872 ac_cv_header_stdc
=no
12874 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12878 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12879 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12880 if test $ac_cv_header_stdc = yes; then
12882 cat >>confdefs.h
<<\_ACEOF
12883 #define STDC_HEADERS 1
12888 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12898 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12899 inttypes.h stdint.h unistd.h
12901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12902 echo "$as_me:$LINENO: checking for $ac_header" >&5
12903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12907 cat >conftest.
$ac_ext <<_ACEOF
12910 cat confdefs.h
>>conftest.
$ac_ext
12911 cat >>conftest.
$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 $ac_includes_default
12915 #include <$ac_header>
12917 rm -f conftest.
$ac_objext
12918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12919 (eval $ac_compile) 2>conftest.er1
12921 grep -v '^ *+' conftest.er1
>conftest.err
12923 cat conftest.err
>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); } &&
12926 { ac_try
='test -z "$ac_c_werror_flag"
12927 || test ! -s conftest.err'
12928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12929 (eval $ac_try) 2>&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); }; } &&
12933 { ac_try
='test -s conftest.$ac_objext'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; }; then
12939 eval "$as_ac_Header=yes"
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.
$ac_ext >&5
12944 eval "$as_ac_Header=no"
12946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12951 cat >>confdefs.h
<<_ACEOF
12952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12961 for ac_header
in stdlib.h
12963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12965 echo "$as_me:$LINENO: checking for $ac_header" >&5
12966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12973 # Is the header compilable?
12974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 $ac_includes_default
12983 #include <$ac_header>
12985 rm -f conftest.
$ac_objext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12987 (eval $ac_compile) 2>conftest.er1
12989 grep -v '^ *+' conftest.er1
>conftest.err
12991 cat conftest.err
>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try
='test -s conftest.$ac_objext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 ac_header_compiler
=yes
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 ac_header_compiler
=no
13014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13016 echo "${ECHO_T}$ac_header_compiler" >&6
13018 # Is the header present?
13019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13021 cat >conftest.
$ac_ext <<_ACEOF
13024 cat confdefs.h
>>conftest.
$ac_ext
13025 cat >>conftest.
$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 #include <$ac_header>
13029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13032 grep -v '^ *+' conftest.er1
>conftest.err
13034 cat conftest.err
>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); } >/dev
/null
; then
13037 if test -s conftest.err
; then
13038 ac_cpp_err
=$ac_c_preproc_warn_flag
13039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13046 if test -z "$ac_cpp_err"; then
13047 ac_header_preproc
=yes
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.
$ac_ext >&5
13052 ac_header_preproc
=no
13054 rm -f conftest.err conftest.
$ac_ext
13055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13056 echo "${ECHO_T}$ac_header_preproc" >&6
13058 # So? What about this header?
13059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13065 ac_header_preproc
=yes
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13082 ## ----------------------------------------- ##
13083 ## Report this to wx-dev@lists.wxwidgets.org ##
13084 ## ----------------------------------------- ##
13087 sed "s/^/$as_me: WARNING: /" >&2
13090 echo "$as_me:$LINENO: checking for $ac_header" >&5
13091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 eval "$as_ac_Header=\$ac_header_preproc"
13097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13102 cat >>confdefs.h
<<_ACEOF
13103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13111 for ac_header
in malloc.h
13113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13123 # Is the header compilable?
13124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13126 cat >conftest.
$ac_ext <<_ACEOF
13129 cat confdefs.h
>>conftest.
$ac_ext
13130 cat >>conftest.
$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 $ac_includes_default
13133 #include <$ac_header>
13135 rm -f conftest.
$ac_objext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13137 (eval $ac_compile) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -z "$ac_c_werror_flag"
13145 || test ! -s conftest.err'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; } &&
13151 { ac_try
='test -s conftest.$ac_objext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 ac_header_compiler
=yes
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.
$ac_ext >&5
13162 ac_header_compiler
=no
13164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13166 echo "${ECHO_T}$ac_header_compiler" >&6
13168 # Is the header present?
13169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13171 cat >conftest.
$ac_ext <<_ACEOF
13174 cat confdefs.h
>>conftest.
$ac_ext
13175 cat >>conftest.
$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 #include <$ac_header>
13179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13182 grep -v '^ *+' conftest.er1
>conftest.err
13184 cat conftest.err
>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } >/dev
/null
; then
13187 if test -s conftest.err
; then
13188 ac_cpp_err
=$ac_c_preproc_warn_flag
13189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13196 if test -z "$ac_cpp_err"; then
13197 ac_header_preproc
=yes
13199 echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.
$ac_ext >&5
13202 ac_header_preproc
=no
13204 rm -f conftest.err conftest.
$ac_ext
13205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13206 echo "${ECHO_T}$ac_header_preproc" >&6
13208 # So? What about this header?
13209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13215 ac_header_preproc
=yes
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13232 ## ----------------------------------------- ##
13233 ## Report this to wx-dev@lists.wxwidgets.org ##
13234 ## ----------------------------------------- ##
13237 sed "s/^/$as_me: WARNING: /" >&2
13240 echo "$as_me:$LINENO: checking for $ac_header" >&5
13241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 eval "$as_ac_Header=\$ac_header_preproc"
13247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13252 cat >>confdefs.h
<<_ACEOF
13253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13261 for ac_header
in unistd.h
13263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13273 # Is the header compilable?
13274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 $ac_includes_default
13283 #include <$ac_header>
13285 rm -f conftest.
$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13289 grep -v '^ *+' conftest.er1
>conftest.err
13291 cat conftest.err
>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try
='test -z "$ac_c_werror_flag"
13295 || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try
='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 ac_header_compiler
=yes
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.
$ac_ext >&5
13312 ac_header_compiler
=no
13314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13316 echo "${ECHO_T}$ac_header_compiler" >&6
13318 # Is the header present?
13319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13321 cat >conftest.
$ac_ext <<_ACEOF
13324 cat confdefs.h
>>conftest.
$ac_ext
13325 cat >>conftest.
$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 #include <$ac_header>
13329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13332 grep -v '^ *+' conftest.er1
>conftest.err
13334 cat conftest.err
>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } >/dev
/null
; then
13337 if test -s conftest.err
; then
13338 ac_cpp_err
=$ac_c_preproc_warn_flag
13339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13346 if test -z "$ac_cpp_err"; then
13347 ac_header_preproc
=yes
13349 echo "$as_me: failed program was:" >&5
13350 sed 's/^/| /' conftest.
$ac_ext >&5
13352 ac_header_preproc
=no
13354 rm -f conftest.err conftest.
$ac_ext
13355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13356 echo "${ECHO_T}$ac_header_preproc" >&6
13358 # So? What about this header?
13359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13365 ac_header_preproc
=yes
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13382 ## ----------------------------------------- ##
13383 ## Report this to wx-dev@lists.wxwidgets.org ##
13384 ## ----------------------------------------- ##
13387 sed "s/^/$as_me: WARNING: /" >&2
13390 echo "$as_me:$LINENO: checking for $ac_header" >&5
13391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 eval "$as_ac_Header=\$ac_header_preproc"
13397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13402 cat >>confdefs.h
<<_ACEOF
13403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13411 for ac_header
in wchar.h
13413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13415 echo "$as_me:$LINENO: checking for $ac_header" >&5
13416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13423 # Is the header compilable?
13424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432 $ac_includes_default
13433 #include <$ac_header>
13435 rm -f conftest.
$ac_objext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 (eval $ac_compile) 2>conftest.er1
13439 grep -v '^ *+' conftest.er1
>conftest.err
13441 cat conftest.err
>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } &&
13444 { ac_try
='test -z "$ac_c_werror_flag"
13445 || test ! -s conftest.err'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; } &&
13451 { ac_try
='test -s conftest.$ac_objext'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 ac_header_compiler
=yes
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.
$ac_ext >&5
13462 ac_header_compiler
=no
13464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13466 echo "${ECHO_T}$ac_header_compiler" >&6
13468 # Is the header present?
13469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13471 cat >conftest.
$ac_ext <<_ACEOF
13474 cat confdefs.h
>>conftest.
$ac_ext
13475 cat >>conftest.
$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 #include <$ac_header>
13479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13482 grep -v '^ *+' conftest.er1
>conftest.err
13484 cat conftest.err
>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } >/dev
/null
; then
13487 if test -s conftest.err
; then
13488 ac_cpp_err
=$ac_c_preproc_warn_flag
13489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13496 if test -z "$ac_cpp_err"; then
13497 ac_header_preproc
=yes
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.
$ac_ext >&5
13502 ac_header_preproc
=no
13504 rm -f conftest.err conftest.
$ac_ext
13505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13506 echo "${ECHO_T}$ac_header_preproc" >&6
13508 # So? What about this header?
13509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13515 ac_header_preproc
=yes
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13532 ## ----------------------------------------- ##
13533 ## Report this to wx-dev@lists.wxwidgets.org ##
13534 ## ----------------------------------------- ##
13537 sed "s/^/$as_me: WARNING: /" >&2
13540 echo "$as_me:$LINENO: checking for $ac_header" >&5
13541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 eval "$as_ac_Header=\$ac_header_preproc"
13547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13552 cat >>confdefs.h
<<_ACEOF
13553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13561 if test "$ac_cv_header_wchar_h" != "yes"; then
13563 for ac_header
in wcstr.h
13565 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13567 echo "$as_me:$LINENO: checking for $ac_header" >&5
13568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13575 # Is the header compilable?
13576 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13578 cat >conftest.
$ac_ext <<_ACEOF
13581 cat confdefs.h
>>conftest.
$ac_ext
13582 cat >>conftest.
$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 $ac_includes_default
13585 #include <$ac_header>
13587 rm -f conftest.
$ac_objext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13589 (eval $ac_compile) 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try
='test -z "$ac_c_werror_flag"
13597 || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try
='test -s conftest.$ac_objext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_header_compiler
=yes
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.
$ac_ext >&5
13614 ac_header_compiler
=no
13616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13618 echo "${ECHO_T}$ac_header_compiler" >&6
13620 # Is the header present?
13621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13623 cat >conftest.
$ac_ext <<_ACEOF
13626 cat confdefs.h
>>conftest.
$ac_ext
13627 cat >>conftest.
$ac_ext <<_ACEOF
13628 /* end confdefs.h. */
13629 #include <$ac_header>
13631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13634 grep -v '^ *+' conftest.er1
>conftest.err
13636 cat conftest.err
>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } >/dev
/null
; then
13639 if test -s conftest.err
; then
13640 ac_cpp_err
=$ac_c_preproc_warn_flag
13641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13648 if test -z "$ac_cpp_err"; then
13649 ac_header_preproc
=yes
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 ac_header_preproc
=no
13656 rm -f conftest.err conftest.
$ac_ext
13657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13658 echo "${ECHO_T}$ac_header_preproc" >&6
13660 # So? What about this header?
13661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13667 ac_header_preproc
=yes
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13684 ## ----------------------------------------- ##
13685 ## Report this to wx-dev@lists.wxwidgets.org ##
13686 ## ----------------------------------------- ##
13689 sed "s/^/$as_me: WARNING: /" >&2
13692 echo "$as_me:$LINENO: checking for $ac_header" >&5
13693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 eval "$as_ac_Header=\$ac_header_preproc"
13699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13704 cat >>confdefs.h
<<_ACEOF
13705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13715 for ac_header
in fnmatch.h
13717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13727 # Is the header compilable?
13728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13730 cat >conftest.
$ac_ext <<_ACEOF
13733 cat confdefs.h
>>conftest.
$ac_ext
13734 cat >>conftest.
$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 $ac_includes_default
13737 #include <$ac_header>
13739 rm -f conftest.
$ac_objext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13741 (eval $ac_compile) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try
='test -z "$ac_c_werror_flag"
13749 || test ! -s conftest.err'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; } &&
13755 { ac_try
='test -s conftest.$ac_objext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_header_compiler
=yes
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.
$ac_ext >&5
13766 ac_header_compiler
=no
13768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13770 echo "${ECHO_T}$ac_header_compiler" >&6
13772 # Is the header present?
13773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13775 cat >conftest.
$ac_ext <<_ACEOF
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 #include <$ac_header>
13783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13786 grep -v '^ *+' conftest.er1
>conftest.err
13788 cat conftest.err
>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } >/dev
/null
; then
13791 if test -s conftest.err
; then
13792 ac_cpp_err
=$ac_c_preproc_warn_flag
13793 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13800 if test -z "$ac_cpp_err"; then
13801 ac_header_preproc
=yes
13803 echo "$as_me: failed program was:" >&5
13804 sed 's/^/| /' conftest.
$ac_ext >&5
13806 ac_header_preproc
=no
13808 rm -f conftest.err conftest.
$ac_ext
13809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13810 echo "${ECHO_T}$ac_header_preproc" >&6
13812 # So? What about this header?
13813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13819 ac_header_preproc
=yes
13822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13836 ## ----------------------------------------- ##
13837 ## Report this to wx-dev@lists.wxwidgets.org ##
13838 ## ----------------------------------------- ##
13841 sed "s/^/$as_me: WARNING: /" >&2
13844 echo "$as_me:$LINENO: checking for $ac_header" >&5
13845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 eval "$as_ac_Header=\$ac_header_preproc"
13851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13856 cat >>confdefs.h
<<_ACEOF
13857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13865 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13867 for ac_func
in fnmatch
13869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13870 echo "$as_me:$LINENO: checking for $ac_func" >&5
13871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13872 if eval "test \"\${$as_ac_var+set}\" = set"; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 cat >conftest.
$ac_ext <<_ACEOF
13878 cat confdefs.h
>>conftest.
$ac_ext
13879 cat >>conftest.
$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13883 #define $ac_func innocuous_$ac_func
13885 /* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char $ac_func (); below.
13887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13888 <limits.h> exists even on freestanding compilers. */
13891 # include <limits.h>
13893 # include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13906 /* The GNU C library defines this for functions which it implements
13907 to always fail with ENOSYS. Some functions are actually named
13908 something starting with __ and the normal name is an alias. */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13912 char (*f) () = $ac_func;
13921 return f != $ac_func;
13926 rm -f conftest.
$ac_objext conftest
$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 (eval $ac_link) 2>conftest.er1
13930 grep -v '^ *+' conftest.er1
>conftest.err
13932 cat conftest.err
>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try
='test -z "$ac_c_werror_flag"
13936 || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try
='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 eval "$as_ac_var=yes"
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.
$ac_ext >&5
13953 eval "$as_ac_var=no"
13955 rm -f conftest.err conftest.
$ac_objext \
13956 conftest
$ac_exeext conftest.
$ac_ext
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13960 if test `eval echo '${'$as_ac_var'}'` = yes; then
13961 cat >>confdefs.h
<<_ACEOF
13962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13971 for ac_header
in langinfo.h
13973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13975 echo "$as_me:$LINENO: checking for $ac_header" >&5
13976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13983 # Is the header compilable?
13984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13986 cat >conftest.
$ac_ext <<_ACEOF
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 $ac_includes_default
13993 #include <$ac_header>
13995 rm -f conftest.
$ac_objext
13996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13997 (eval $ac_compile) 2>conftest.er1
13999 grep -v '^ *+' conftest.er1
>conftest.err
14001 cat conftest.err
>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try
='test -z "$ac_c_werror_flag"
14005 || test ! -s conftest.err'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; } &&
14011 { ac_try
='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_header_compiler
=yes
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.
$ac_ext >&5
14022 ac_header_compiler
=no
14024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14026 echo "${ECHO_T}$ac_header_compiler" >&6
14028 # Is the header present?
14029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14031 cat >conftest.
$ac_ext <<_ACEOF
14034 cat confdefs.h
>>conftest.
$ac_ext
14035 cat >>conftest.
$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037 #include <$ac_header>
14039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14042 grep -v '^ *+' conftest.er1
>conftest.err
14044 cat conftest.err
>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } >/dev
/null
; then
14047 if test -s conftest.err
; then
14048 ac_cpp_err
=$ac_c_preproc_warn_flag
14049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14056 if test -z "$ac_cpp_err"; then
14057 ac_header_preproc
=yes
14059 echo "$as_me: failed program was:" >&5
14060 sed 's/^/| /' conftest.
$ac_ext >&5
14062 ac_header_preproc
=no
14064 rm -f conftest.err conftest.
$ac_ext
14065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14066 echo "${ECHO_T}$ac_header_preproc" >&6
14068 # So? What about this header?
14069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14075 ac_header_preproc
=yes
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14092 ## ----------------------------------------- ##
14093 ## Report this to wx-dev@lists.wxwidgets.org ##
14094 ## ----------------------------------------- ##
14097 sed "s/^/$as_me: WARNING: /" >&2
14100 echo "$as_me:$LINENO: checking for $ac_header" >&5
14101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 eval "$as_ac_Header=\$ac_header_preproc"
14107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14112 cat >>confdefs.h
<<_ACEOF
14113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14122 *-pc-os2_emx | *-pc-os2-emx )
14123 if test $ac_cv_header_langinfo_h = "yes"; then
14124 LIBS
="$LIBS -lintl"
14129 if test "$wxUSE_GUI" = "yes"; then
14130 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14132 for ac_header
in X
11/Xlib.h
14134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14136 echo "$as_me:$LINENO: checking for $ac_header" >&5
14137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14144 # Is the header compilable?
14145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14147 cat >conftest.
$ac_ext <<_ACEOF
14150 cat confdefs.h
>>conftest.
$ac_ext
14151 cat >>conftest.
$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 $ac_includes_default
14154 #include <$ac_header>
14156 rm -f conftest.
$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_c_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 ac_header_compiler
=yes
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 ac_header_compiler
=no
14185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14187 echo "${ECHO_T}$ac_header_compiler" >&6
14189 # Is the header present?
14190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14192 cat >conftest.
$ac_ext <<_ACEOF
14195 cat confdefs.h
>>conftest.
$ac_ext
14196 cat >>conftest.
$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 #include <$ac_header>
14200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14203 grep -v '^ *+' conftest.er1
>conftest.err
14205 cat conftest.err
>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } >/dev
/null
; then
14208 if test -s conftest.err
; then
14209 ac_cpp_err
=$ac_c_preproc_warn_flag
14210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14217 if test -z "$ac_cpp_err"; then
14218 ac_header_preproc
=yes
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.
$ac_ext >&5
14223 ac_header_preproc
=no
14225 rm -f conftest.err conftest.
$ac_ext
14226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14227 echo "${ECHO_T}$ac_header_preproc" >&6
14229 # So? What about this header?
14230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14236 ac_header_preproc
=yes
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14253 ## ----------------------------------------- ##
14254 ## Report this to wx-dev@lists.wxwidgets.org ##
14255 ## ----------------------------------------- ##
14258 sed "s/^/$as_me: WARNING: /" >&2
14261 echo "$as_me:$LINENO: checking for $ac_header" >&5
14262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 eval "$as_ac_Header=\$ac_header_preproc"
14268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14273 cat >>confdefs.h
<<_ACEOF
14274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14282 for ac_header
in X
11/XKBlib.h
14284 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14285 echo "$as_me:$LINENO: checking for $ac_header" >&5
14286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 cat >conftest.
$ac_ext <<_ACEOF
14293 cat confdefs.h
>>conftest.
$ac_ext
14294 cat >>conftest.
$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14297 #if HAVE_X11_XLIB_H
14298 #include <X11/Xlib.h>
14302 #include <$ac_header>
14304 rm -f conftest.
$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>conftest.er1
14308 grep -v '^ *+' conftest.er1
>conftest.err
14310 cat conftest.err
>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try
='test -z "$ac_c_werror_flag"
14314 || test ! -s conftest.err'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; } &&
14320 { ac_try
='test -s conftest.$ac_objext'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 eval "$as_ac_Header=yes"
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.
$ac_ext >&5
14331 eval "$as_ac_Header=no"
14333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14338 cat >>confdefs.h
<<_ACEOF
14339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14350 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14351 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14352 if test "${ac_cv_c_const+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14365 /* FIXME: Include the comments suggested by Paul. */
14366 #ifndef __cplusplus
14367 /* Ultrix mips cc rejects this. */
14368 typedef int charset[2];
14370 /* SunOS 4.1.1 cc rejects this. */
14371 char const *const *ccp;
14373 /* NEC SVR4.0.2 mips cc rejects this. */
14374 struct point {int x, y;};
14375 static struct point const zero = {0,0};
14376 /* AIX XL C 1.02.0.0 rejects this.
14377 It does not let you subtract one const X* pointer from another in
14378 an arm of an if-expression whose if-part is not a constant
14380 const char *g = "string";
14381 ccp = &g + (g ? g-g : 0);
14382 /* HPUX 7.0 cc rejects these. */
14385 ccp = (char const *const *) p;
14386 { /* SCO 3.2v4 cc rejects this. */
14388 char const *s = 0 ? (char *) 0 : (char const *) 0;
14392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14393 int x[] = {25, 17};
14394 const int *foo = &x[0];
14397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14398 typedef const int *iptr;
14402 { /* AIX XL C 1.02.0.0 rejects this saying
14403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14404 struct s { int j; const int *ap[3]; };
14405 struct s *b; b->j = 5;
14407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14408 const int foo = 10;
14416 rm -f conftest.
$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>conftest.er1
14420 grep -v '^ *+' conftest.er1
>conftest.err
14422 cat conftest.err
>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } &&
14425 { ac_try
='test -z "$ac_c_werror_flag"
14426 || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.
$ac_ext >&5
14445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14447 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14448 echo "${ECHO_T}$ac_cv_c_const" >&6
14449 if test $ac_cv_c_const = no
; then
14451 cat >>confdefs.h
<<\_ACEOF
14457 echo "$as_me:$LINENO: checking for inline" >&5
14458 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14459 if test "${ac_cv_c_inline+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 for ac_kw
in inline __inline__ __inline
; do
14464 cat >conftest.
$ac_ext <<_ACEOF
14467 cat confdefs.h
>>conftest.
$ac_ext
14468 cat >>conftest.
$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 #ifndef __cplusplus
14472 static $ac_kw foo_t static_foo () {return 0; }
14473 $ac_kw foo_t foo () {return 0; }
14477 rm -f conftest.
$ac_objext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14479 (eval $ac_compile) 2>conftest.er1
14481 grep -v '^ *+' conftest.er1
>conftest.err
14483 cat conftest.err
>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try
='test -z "$ac_c_werror_flag"
14487 || test ! -s conftest.err'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; } &&
14493 { ac_try
='test -s conftest.$ac_objext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 ac_cv_c_inline
=$ac_kw; break
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.
$ac_ext >&5
14505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14509 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14510 echo "${ECHO_T}$ac_cv_c_inline" >&6
14513 case $ac_cv_c_inline in
14516 case $ac_cv_c_inline in
14518 *) ac_val
=$ac_cv_c_inline;;
14520 cat >>confdefs.h
<<_ACEOF
14521 #ifndef __cplusplus
14522 #define inline $ac_val
14529 echo "$as_me:$LINENO: checking for char" >&5
14530 echo $ECHO_N "checking for char... $ECHO_C" >&6
14531 if test "${ac_cv_type_char+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 cat >conftest.
$ac_ext <<_ACEOF
14537 cat confdefs.h
>>conftest.
$ac_ext
14538 cat >>conftest.
$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 $ac_includes_default
14552 rm -f conftest.
$ac_objext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>conftest.er1
14556 grep -v '^ *+' conftest.er1
>conftest.err
14558 cat conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try
='test -z "$ac_c_werror_flag"
14562 || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_cv_type_char
=yes
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14583 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14584 echo "${ECHO_T}$ac_cv_type_char" >&6
14586 echo "$as_me:$LINENO: checking size of char" >&5
14587 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14588 if test "${ac_cv_sizeof_char+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 if test "$ac_cv_type_char" = yes; then
14592 # The cast to unsigned long works around a bug in the HP C Compiler
14593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14595 # This bug is HP SR number 8606223364.
14596 if test "$cross_compiling" = yes; then
14597 # Depending upon the size, compute the lo and hi bounds.
14598 cat >conftest.
$ac_ext <<_ACEOF
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14608 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14615 rm -f conftest.
$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>conftest.er1
14619 grep -v '^ *+' conftest.er1
>conftest.err
14621 cat conftest.err
>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try
='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try
='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14639 cat >conftest.
$ac_ext <<_ACEOF
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14649 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14656 rm -f conftest.
$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>conftest.er1
14660 grep -v '^ *+' conftest.er1
>conftest.err
14662 cat conftest.err
>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try
='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try
='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_hi
=$ac_mid; break
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 ac_lo
=`expr $ac_mid + 1`
14684 if test $ac_lo -le $ac_mid; then
14688 ac_mid
=`expr 2 '*' $ac_mid + 1`
14690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.
$ac_ext >&5
14696 cat >conftest.
$ac_ext <<_ACEOF
14699 cat confdefs.h
>>conftest.
$ac_ext
14700 cat >>conftest.
$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702 $ac_includes_default
14706 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14713 rm -f conftest.
$ac_objext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14715 (eval $ac_compile) 2>conftest.er1
14717 grep -v '^ *+' conftest.er1
>conftest.err
14719 cat conftest.err
>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try
='test -z "$ac_c_werror_flag"
14723 || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try
='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14737 cat >conftest.
$ac_ext <<_ACEOF
14740 cat confdefs.h
>>conftest.
$ac_ext
14741 cat >>conftest.
$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 $ac_includes_default
14747 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14754 rm -f conftest.
$ac_objext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14756 (eval $ac_compile) 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } &&
14763 { ac_try
='test -z "$ac_c_werror_flag"
14764 || test ! -s conftest.err'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; } &&
14770 { ac_try
='test -s conftest.$ac_objext'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 ac_lo
=$ac_mid; break
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.
$ac_ext >&5
14781 ac_hi
=`expr '(' $ac_mid ')' - 1`
14782 if test $ac_mid -le $ac_hi; then
14786 ac_mid
=`expr 2 '*' $ac_mid`
14788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14799 # Binary search between lo and hi bounds.
14800 while test "x$ac_lo" != "x$ac_hi"; do
14801 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14802 cat >conftest.
$ac_ext <<_ACEOF
14805 cat confdefs.h
>>conftest.
$ac_ext
14806 cat >>conftest.
$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14812 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14819 rm -f conftest.
$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>conftest.er1
14823 grep -v '^ *+' conftest.er1
>conftest.err
14825 cat conftest.err
>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try
='test -z "$ac_c_werror_flag"
14829 || test ! -s conftest.err'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; } &&
14835 { ac_try
='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14846 ac_lo
=`expr '(' $ac_mid ')' + 1`
14848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14851 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14853 See \`config.log' for more details." >&5
14854 echo "$as_me: error: cannot compute sizeof (char), 77
14855 See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; } ;;
14859 if test "$cross_compiling" = yes; then
14860 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14861 See \`config.log' for more details." >&5
14862 echo "$as_me: error: cannot run test program while cross compiling
14863 See \`config.log' for more details." >&2;}
14864 { (exit 1); exit 1; }; }
14866 cat >conftest.
$ac_ext <<_ACEOF
14869 cat confdefs.h
>>conftest.
$ac_ext
14870 cat >>conftest.
$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 $ac_includes_default
14873 long longval () { return (long) (sizeof (char)); }
14874 unsigned long ulongval () { return (long) (sizeof (char)); }
14876 #include <stdlib.h>
14881 FILE *f = fopen ("conftest.val", "w");
14884 if (((long) (sizeof (char))) < 0)
14886 long i = longval ();
14887 if (i != ((long) (sizeof (char))))
14889 fprintf (f, "%ld\n", i);
14893 unsigned long i = ulongval ();
14894 if (i != ((long) (sizeof (char))))
14896 fprintf (f, "%lu\n", i);
14898 exit (ferror (f) || fclose (f) != 0);
14904 rm -f conftest
$ac_exeext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14906 (eval $ac_link) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; }; then
14915 ac_cv_sizeof_char
=`cat conftest.val`
14917 echo "$as_me: program exited with status $ac_status" >&5
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ( exit $ac_status )
14922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14923 See \`config.log' for more details." >&5
14924 echo "$as_me: error: cannot compute sizeof (char), 77
14925 See \`config.log' for more details." >&2;}
14926 { (exit 1); exit 1; }; }
14928 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14933 ac_cv_sizeof_char
=0
14936 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14937 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14938 cat >>confdefs.h
<<_ACEOF
14939 #define SIZEOF_CHAR $ac_cv_sizeof_char
14943 echo "$as_me:$LINENO: checking for short" >&5
14944 echo $ECHO_N "checking for short... $ECHO_C" >&6
14945 if test "${ac_cv_type_short+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14960 if (sizeof (short))
14966 rm -f conftest.
$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1
>conftest.err
14972 cat conftest.err
>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try
='test -z "$ac_c_werror_flag"
14976 || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14988 ac_cv_type_short
=yes
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.
$ac_ext >&5
14993 ac_cv_type_short
=no
14995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14998 echo "${ECHO_T}$ac_cv_type_short" >&6
15000 echo "$as_me:$LINENO: checking size of short" >&5
15001 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15002 if test "${ac_cv_sizeof_short+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 if test "$ac_cv_type_short" = yes; then
15006 # The cast to unsigned long works around a bug in the HP C Compiler
15007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15009 # This bug is HP SR number 8606223364.
15010 if test "$cross_compiling" = yes; then
15011 # Depending upon the size, compute the lo and hi bounds.
15012 cat >conftest.
$ac_ext <<_ACEOF
15015 cat confdefs.h
>>conftest.
$ac_ext
15016 cat >>conftest.
$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try
='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15053 cat >conftest.
$ac_ext <<_ACEOF
15056 cat confdefs.h
>>conftest.
$ac_ext
15057 cat >>conftest.
$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15063 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15070 rm -f conftest.
$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1
>conftest.err
15076 cat conftest.err
>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try
='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try
='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_hi
=$ac_mid; break
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_lo
=`expr $ac_mid + 1`
15098 if test $ac_lo -le $ac_mid; then
15102 ac_mid
=`expr 2 '*' $ac_mid + 1`
15104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.
$ac_ext >&5
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15120 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15127 rm -f conftest.
$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15131 grep -v '^ *+' conftest.er1
>conftest.err
15133 cat conftest.err
>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try
='test -z "$ac_c_werror_flag"
15137 || test ! -s conftest.err'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; } &&
15143 { ac_try
='test -s conftest.$ac_objext'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; }; then
15151 cat >conftest.
$ac_ext <<_ACEOF
15154 cat confdefs.h
>>conftest.
$ac_ext
15155 cat >>conftest.
$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 $ac_includes_default
15161 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15168 rm -f conftest.
$ac_objext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15170 (eval $ac_compile) 2>conftest.er1
15172 grep -v '^ *+' conftest.er1
>conftest.err
15174 cat conftest.err
>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try
='test -z "$ac_c_werror_flag"
15178 || test ! -s conftest.err'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; } &&
15184 { ac_try
='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo
=$ac_mid; break
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.
$ac_ext >&5
15195 ac_hi
=`expr '(' $ac_mid ')' - 1`
15196 if test $ac_mid -le $ac_hi; then
15200 ac_mid
=`expr 2 '*' $ac_mid`
15202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.
$ac_ext >&5
15210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15213 # Binary search between lo and hi bounds.
15214 while test "x$ac_lo" != "x$ac_hi"; do
15215 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15216 cat >conftest.
$ac_ext <<_ACEOF
15219 cat confdefs.h
>>conftest.
$ac_ext
15220 cat >>conftest.
$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 $ac_includes_default
15226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15233 rm -f conftest.
$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>conftest.er1
15237 grep -v '^ *+' conftest.er1
>conftest.err
15239 cat conftest.err
>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try
='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try
='test -s conftest.$ac_objext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.
$ac_ext >&5
15260 ac_lo
=`expr '(' $ac_mid ')' + 1`
15262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15265 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15267 See \`config.log' for more details." >&5
15268 echo "$as_me: error: cannot compute sizeof (short), 77
15269 See \`config.log' for more details." >&2;}
15270 { (exit 1); exit 1; }; } ;;
15273 if test "$cross_compiling" = yes; then
15274 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15275 See \`config.log' for more details." >&5
15276 echo "$as_me: error: cannot run test program while cross compiling
15277 See \`config.log' for more details." >&2;}
15278 { (exit 1); exit 1; }; }
15280 cat >conftest.
$ac_ext <<_ACEOF
15283 cat confdefs.h
>>conftest.
$ac_ext
15284 cat >>conftest.
$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 $ac_includes_default
15287 long longval () { return (long) (sizeof (short)); }
15288 unsigned long ulongval () { return (long) (sizeof (short)); }
15290 #include <stdlib.h>
15295 FILE *f = fopen ("conftest.val", "w");
15298 if (((long) (sizeof (short))) < 0)
15300 long i = longval ();
15301 if (i != ((long) (sizeof (short))))
15303 fprintf (f, "%ld\n", i);
15307 unsigned long i = ulongval ();
15308 if (i != ((long) (sizeof (short))))
15310 fprintf (f, "%lu\n", i);
15312 exit (ferror (f) || fclose (f) != 0);
15318 rm -f conftest
$ac_exeext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320 (eval $ac_link) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 ac_cv_sizeof_short
=`cat conftest.val`
15331 echo "$as_me: program exited with status $ac_status" >&5
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.
$ac_ext >&5
15335 ( exit $ac_status )
15336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15337 See \`config.log' for more details." >&5
15338 echo "$as_me: error: cannot compute sizeof (short), 77
15339 See \`config.log' for more details." >&2;}
15340 { (exit 1); exit 1; }; }
15342 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15347 ac_cv_sizeof_short
=0
15350 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15351 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15352 cat >>confdefs.h
<<_ACEOF
15353 #define SIZEOF_SHORT $ac_cv_sizeof_short
15357 echo "$as_me:$LINENO: checking for void *" >&5
15358 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15359 if test "${ac_cv_type_void_p+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15374 if (sizeof (void *))
15380 rm -f conftest.
$ac_objext
15381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15382 (eval $ac_compile) 2>conftest.er1
15384 grep -v '^ *+' conftest.er1
>conftest.err
15386 cat conftest.err
>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } &&
15389 { ac_try
='test -z "$ac_c_werror_flag"
15390 || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try
='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_cv_type_void_p
=yes
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.
$ac_ext >&5
15407 ac_cv_type_void_p
=no
15409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15411 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15412 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15414 echo "$as_me:$LINENO: checking size of void *" >&5
15415 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15416 if test "${ac_cv_sizeof_void_p+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 if test "$ac_cv_type_void_p" = yes; then
15420 # The cast to unsigned long works around a bug in the HP C Compiler
15421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15423 # This bug is HP SR number 8606223364.
15424 if test "$cross_compiling" = yes; then
15425 # Depending upon the size, compute the lo and hi bounds.
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15443 rm -f conftest.
$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag"
15453 || test ! -s conftest.err'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try
='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15467 cat >conftest.
$ac_ext <<_ACEOF
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473 $ac_includes_default
15477 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15484 rm -f conftest.
$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15488 grep -v '^ *+' conftest.er1
>conftest.err
15490 cat conftest.err
>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try
='test -z "$ac_c_werror_flag"
15494 || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_hi
=$ac_mid; break
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.
$ac_ext >&5
15511 ac_lo
=`expr $ac_mid + 1`
15512 if test $ac_lo -le $ac_mid; then
15516 ac_mid
=`expr 2 '*' $ac_mid + 1`
15518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 cat >conftest.
$ac_ext <<_ACEOF
15527 cat confdefs.h
>>conftest.
$ac_ext
15528 cat >>conftest.
$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 $ac_includes_default
15534 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15541 rm -f conftest.
$ac_objext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15543 (eval $ac_compile) 2>conftest.er1
15545 grep -v '^ *+' conftest.er1
>conftest.err
15547 cat conftest.err
>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try
='test -z "$ac_c_werror_flag"
15551 || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try
='test -s conftest.$ac_objext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15565 cat >conftest.
$ac_ext <<_ACEOF
15568 cat confdefs.h
>>conftest.
$ac_ext
15569 cat >>conftest.
$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571 $ac_includes_default
15575 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15582 rm -f conftest.
$ac_objext
15583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15584 (eval $ac_compile) 2>conftest.er1
15586 grep -v '^ *+' conftest.er1
>conftest.err
15588 cat conftest.err
>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try
='test -z "$ac_c_werror_flag"
15592 || test ! -s conftest.err'
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); }; } &&
15598 { ac_try
='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 ac_lo
=$ac_mid; break
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.
$ac_ext >&5
15609 ac_hi
=`expr '(' $ac_mid ')' - 1`
15610 if test $ac_mid -le $ac_hi; then
15614 ac_mid
=`expr 2 '*' $ac_mid`
15616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.
$ac_ext >&5
15624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15627 # Binary search between lo and hi bounds.
15628 while test "x$ac_lo" != "x$ac_hi"; do
15629 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15630 cat >conftest.
$ac_ext <<_ACEOF
15633 cat confdefs.h
>>conftest.
$ac_ext
15634 cat >>conftest.
$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15640 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15647 rm -f conftest.
$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>conftest.er1
15651 grep -v '^ *+' conftest.er1
>conftest.err
15653 cat conftest.err
>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); } &&
15656 { ac_try
='test -z "$ac_c_werror_flag"
15657 || test ! -s conftest.err'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try
='test -s conftest.$ac_objext'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ac_lo
=`expr '(' $ac_mid ')' + 1`
15676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15679 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15680 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15681 See \`config.log' for more details." >&5
15682 echo "$as_me: error: cannot compute sizeof (void *), 77
15683 See \`config.log' for more details." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15687 if test "$cross_compiling" = yes; then
15688 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15689 See \`config.log' for more details." >&5
15690 echo "$as_me: error: cannot run test program while cross compiling
15691 See \`config.log' for more details." >&2;}
15692 { (exit 1); exit 1; }; }
15694 cat >conftest.
$ac_ext <<_ACEOF
15697 cat confdefs.h
>>conftest.
$ac_ext
15698 cat >>conftest.
$ac_ext <<_ACEOF
15699 /* end confdefs.h. */
15700 $ac_includes_default
15701 long longval () { return (long) (sizeof (void *)); }
15702 unsigned long ulongval () { return (long) (sizeof (void *)); }
15704 #include <stdlib.h>
15709 FILE *f = fopen ("conftest.val", "w");
15712 if (((long) (sizeof (void *))) < 0)
15714 long i = longval ();
15715 if (i != ((long) (sizeof (void *))))
15717 fprintf (f, "%ld\n", i);
15721 unsigned long i = ulongval ();
15722 if (i != ((long) (sizeof (void *))))
15724 fprintf (f, "%lu\n", i);
15726 exit (ferror (f) || fclose (f) != 0);
15732 rm -f conftest
$ac_exeext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15734 (eval $ac_link) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15743 ac_cv_sizeof_void_p
=`cat conftest.val`
15745 echo "$as_me: program exited with status $ac_status" >&5
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.
$ac_ext >&5
15749 ( exit $ac_status )
15750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15751 See \`config.log' for more details." >&5
15752 echo "$as_me: error: cannot compute sizeof (void *), 77
15753 See \`config.log' for more details." >&2;}
15754 { (exit 1); exit 1; }; }
15756 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15761 ac_cv_sizeof_void_p
=0
15764 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15765 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15766 cat >>confdefs.h
<<_ACEOF
15767 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15771 echo "$as_me:$LINENO: checking for int" >&5
15772 echo $ECHO_N "checking for int... $ECHO_C" >&6
15773 if test "${ac_cv_type_int+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 cat >conftest.
$ac_ext <<_ACEOF
15779 cat confdefs.h
>>conftest.
$ac_ext
15780 cat >>conftest.
$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782 $ac_includes_default
15794 rm -f conftest.
$ac_objext
15795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15796 (eval $ac_compile) 2>conftest.er1
15798 grep -v '^ *+' conftest.er1
>conftest.err
15800 cat conftest.err
>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } &&
15803 { ac_try
='test -z "$ac_c_werror_flag"
15804 || test ! -s conftest.err'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; } &&
15810 { ac_try
='test -s conftest.$ac_objext'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.
$ac_ext >&5
15823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15825 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15826 echo "${ECHO_T}$ac_cv_type_int" >&6
15828 echo "$as_me:$LINENO: checking size of int" >&5
15829 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15830 if test "${ac_cv_sizeof_int+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15833 if test "$ac_cv_type_int" = yes; then
15834 # The cast to unsigned long works around a bug in the HP C Compiler
15835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15837 # This bug is HP SR number 8606223364.
15838 if test "$cross_compiling" = yes; then
15839 # Depending upon the size, compute the lo and hi bounds.
15840 cat >conftest.
$ac_ext <<_ACEOF
15843 cat confdefs.h
>>conftest.
$ac_ext
15844 cat >>conftest.
$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 $ac_includes_default
15850 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15857 rm -f conftest.
$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1
>conftest.err
15863 cat conftest.err
>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try
='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15881 cat >conftest.
$ac_ext <<_ACEOF
15884 cat confdefs.h
>>conftest.
$ac_ext
15885 cat >>conftest.
$ac_ext <<_ACEOF
15886 /* end confdefs.h. */
15887 $ac_includes_default
15891 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15898 rm -f conftest.
$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>conftest.er1
15902 grep -v '^ *+' conftest.er1
>conftest.err
15904 cat conftest.err
>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try
='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try
='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_hi
=$ac_mid; break
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15925 ac_lo
=`expr $ac_mid + 1`
15926 if test $ac_lo -le $ac_mid; then
15930 ac_mid
=`expr 2 '*' $ac_mid + 1`
15932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15938 cat >conftest.
$ac_ext <<_ACEOF
15941 cat confdefs.h
>>conftest.
$ac_ext
15942 cat >>conftest.
$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15948 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15955 rm -f conftest.
$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15959 grep -v '^ *+' conftest.er1
>conftest.err
15961 cat conftest.err
>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try
='test -z "$ac_c_werror_flag"
15965 || test ! -s conftest.err'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; } &&
15971 { ac_try
='test -s conftest.$ac_objext'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; }; then
15979 cat >conftest.
$ac_ext <<_ACEOF
15982 cat confdefs.h
>>conftest.
$ac_ext
15983 cat >>conftest.
$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15985 $ac_includes_default
15989 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15996 rm -f conftest.
$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>conftest.er1
16000 grep -v '^ *+' conftest.er1
>conftest.err
16002 cat conftest.err
>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try
='test -z "$ac_c_werror_flag"
16006 || test ! -s conftest.err'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; } &&
16012 { ac_try
='test -s conftest.$ac_objext'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; }; then
16018 ac_lo
=$ac_mid; break
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.
$ac_ext >&5
16023 ac_hi
=`expr '(' $ac_mid ')' - 1`
16024 if test $ac_mid -le $ac_hi; then
16028 ac_mid
=`expr 2 '*' $ac_mid`
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.
$ac_ext >&5
16038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16041 # Binary search between lo and hi bounds.
16042 while test "x$ac_lo" != "x$ac_hi"; do
16043 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16044 cat >conftest.
$ac_ext <<_ACEOF
16047 cat confdefs.h
>>conftest.
$ac_ext
16048 cat >>conftest.
$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050 $ac_includes_default
16054 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16061 rm -f conftest.
$ac_objext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>conftest.er1
16065 grep -v '^ *+' conftest.er1
>conftest.err
16067 cat conftest.err
>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try
='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try
='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16088 ac_lo
=`expr '(' $ac_mid ')' + 1`
16090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16093 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16095 See \`config.log' for more details." >&5
16096 echo "$as_me: error: cannot compute sizeof (int), 77
16097 See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; } ;;
16101 if test "$cross_compiling" = yes; then
16102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16103 See \`config.log' for more details." >&5
16104 echo "$as_me: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&2;}
16106 { (exit 1); exit 1; }; }
16108 cat >conftest.
$ac_ext <<_ACEOF
16111 cat confdefs.h
>>conftest.
$ac_ext
16112 cat >>conftest.
$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114 $ac_includes_default
16115 long longval () { return (long) (sizeof (int)); }
16116 unsigned long ulongval () { return (long) (sizeof (int)); }
16118 #include <stdlib.h>
16123 FILE *f = fopen ("conftest.val", "w");
16126 if (((long) (sizeof (int))) < 0)
16128 long i = longval ();
16129 if (i != ((long) (sizeof (int))))
16131 fprintf (f, "%ld\n", i);
16135 unsigned long i = ulongval ();
16136 if (i != ((long) (sizeof (int))))
16138 fprintf (f, "%lu\n", i);
16140 exit (ferror (f) || fclose (f) != 0);
16146 rm -f conftest
$ac_exeext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16148 (eval $ac_link) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; }; then
16157 ac_cv_sizeof_int
=`cat conftest.val`
16159 echo "$as_me: program exited with status $ac_status" >&5
16160 echo "$as_me: failed program was:" >&5
16161 sed 's/^/| /' conftest.
$ac_ext >&5
16163 ( exit $ac_status )
16164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16165 See \`config.log' for more details." >&5
16166 echo "$as_me: error: cannot compute sizeof (int), 77
16167 See \`config.log' for more details." >&2;}
16168 { (exit 1); exit 1; }; }
16170 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16178 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16179 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16180 cat >>confdefs.h
<<_ACEOF
16181 #define SIZEOF_INT $ac_cv_sizeof_int
16185 echo "$as_me:$LINENO: checking for long" >&5
16186 echo $ECHO_N "checking for long... $ECHO_C" >&6
16187 if test "${ac_cv_type_long+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.
$ac_ext <<_ACEOF
16193 cat confdefs.h
>>conftest.
$ac_ext
16194 cat >>conftest.
$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16208 rm -f conftest.
$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>conftest.er1
16212 grep -v '^ *+' conftest.er1
>conftest.err
16214 cat conftest.err
>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try
='test -z "$ac_c_werror_flag"
16218 || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try
='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16230 ac_cv_type_long
=yes
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.
$ac_ext >&5
16237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16239 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16240 echo "${ECHO_T}$ac_cv_type_long" >&6
16242 echo "$as_me:$LINENO: checking size of long" >&5
16243 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16244 if test "${ac_cv_sizeof_long+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 if test "$ac_cv_type_long" = yes; then
16248 # The cast to unsigned long works around a bug in the HP C Compiler
16249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16251 # This bug is HP SR number 8606223364.
16252 if test "$cross_compiling" = yes; then
16253 # Depending upon the size, compute the lo and hi bounds.
16254 cat >conftest.
$ac_ext <<_ACEOF
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16264 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16271 rm -f conftest.
$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>conftest.er1
16275 grep -v '^ *+' conftest.er1
>conftest.err
16277 cat conftest.err
>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } &&
16280 { ac_try
='test -z "$ac_c_werror_flag"
16281 || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try
='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16305 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16312 rm -f conftest.
$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>conftest.er1
16316 grep -v '^ *+' conftest.er1
>conftest.err
16318 cat conftest.err
>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try
='test -z "$ac_c_werror_flag"
16322 || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try
='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_hi
=$ac_mid; break
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ac_lo
=`expr $ac_mid + 1`
16340 if test $ac_lo -le $ac_mid; then
16344 ac_mid
=`expr 2 '*' $ac_mid + 1`
16346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.
$ac_ext >&5
16352 cat >conftest.
$ac_ext <<_ACEOF
16355 cat confdefs.h
>>conftest.
$ac_ext
16356 cat >>conftest.
$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16362 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16369 rm -f conftest.
$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try
='test -z "$ac_c_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try
='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16393 cat >conftest.
$ac_ext <<_ACEOF
16396 cat confdefs.h
>>conftest.
$ac_ext
16397 cat >>conftest.
$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 $ac_includes_default
16403 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16410 rm -f conftest.
$ac_objext
16411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16412 (eval $ac_compile) 2>conftest.er1
16414 grep -v '^ *+' conftest.er1
>conftest.err
16416 cat conftest.err
>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try
='test -z "$ac_c_werror_flag"
16420 || test ! -s conftest.err'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; } &&
16426 { ac_try
='test -s conftest.$ac_objext'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; }; then
16432 ac_lo
=$ac_mid; break
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.
$ac_ext >&5
16437 ac_hi
=`expr '(' $ac_mid ')' - 1`
16438 if test $ac_mid -le $ac_hi; then
16442 ac_mid
=`expr 2 '*' $ac_mid`
16444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.
$ac_ext >&5
16452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16455 # Binary search between lo and hi bounds.
16456 while test "x$ac_lo" != "x$ac_hi"; do
16457 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16458 cat >conftest.
$ac_ext <<_ACEOF
16461 cat confdefs.h
>>conftest.
$ac_ext
16462 cat >>conftest.
$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 $ac_includes_default
16468 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16475 rm -f conftest.
$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>conftest.er1
16479 grep -v '^ *+' conftest.er1
>conftest.err
16481 cat conftest.err
>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } &&
16484 { ac_try
='test -z "$ac_c_werror_flag"
16485 || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try
='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 ac_lo
=`expr '(' $ac_mid ')' + 1`
16504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16507 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16508 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16509 See \`config.log' for more details." >&5
16510 echo "$as_me: error: cannot compute sizeof (long), 77
16511 See \`config.log' for more details." >&2;}
16512 { (exit 1); exit 1; }; } ;;
16515 if test "$cross_compiling" = yes; then
16516 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16517 See \`config.log' for more details." >&5
16518 echo "$as_me: error: cannot run test program while cross compiling
16519 See \`config.log' for more details." >&2;}
16520 { (exit 1); exit 1; }; }
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16529 long longval () { return (long) (sizeof (long)); }
16530 unsigned long ulongval () { return (long) (sizeof (long)); }
16532 #include <stdlib.h>
16537 FILE *f = fopen ("conftest.val", "w");
16540 if (((long) (sizeof (long))) < 0)
16542 long i = longval ();
16543 if (i != ((long) (sizeof (long))))
16545 fprintf (f, "%ld\n", i);
16549 unsigned long i = ulongval ();
16550 if (i != ((long) (sizeof (long))))
16552 fprintf (f, "%lu\n", i);
16554 exit (ferror (f) || fclose (f) != 0);
16560 rm -f conftest
$ac_exeext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16562 (eval $ac_link) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16571 ac_cv_sizeof_long
=`cat conftest.val`
16573 echo "$as_me: program exited with status $ac_status" >&5
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ( exit $ac_status )
16578 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16579 See \`config.log' for more details." >&5
16580 echo "$as_me: error: cannot compute sizeof (long), 77
16581 See \`config.log' for more details." >&2;}
16582 { (exit 1); exit 1; }; }
16584 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16589 ac_cv_sizeof_long
=0
16592 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16593 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16594 cat >>confdefs.h
<<_ACEOF
16595 #define SIZEOF_LONG $ac_cv_sizeof_long
16599 echo "$as_me:$LINENO: checking for size_t" >&5
16600 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16601 if test "${ac_cv_type_size_t+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 cat >conftest.
$ac_ext <<_ACEOF
16607 cat confdefs.h
>>conftest.
$ac_ext
16608 cat >>conftest.
$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 $ac_includes_default
16616 if (sizeof (size_t))
16622 rm -f conftest.
$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16626 grep -v '^ *+' conftest.er1
>conftest.err
16628 cat conftest.err
>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try
='test -z "$ac_c_werror_flag"
16632 || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try
='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_cv_type_size_t
=yes
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.
$ac_ext >&5
16649 ac_cv_type_size_t
=no
16651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16653 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16654 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16656 echo "$as_me:$LINENO: checking size of size_t" >&5
16657 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16658 if test "${ac_cv_sizeof_size_t+set}" = set; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 if test "$ac_cv_type_size_t" = yes; then
16662 # The cast to unsigned long works around a bug in the HP C Compiler
16663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16665 # This bug is HP SR number 8606223364.
16666 if test "$cross_compiling" = yes; then
16667 # Depending upon the size, compute the lo and hi bounds.
16668 cat >conftest.
$ac_ext <<_ACEOF
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16678 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16685 rm -f conftest.
$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16689 grep -v '^ *+' conftest.er1
>conftest.err
16691 cat conftest.err
>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try
='test -z "$ac_c_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try
='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16709 cat >conftest.
$ac_ext <<_ACEOF
16712 cat confdefs.h
>>conftest.
$ac_ext
16713 cat >>conftest.
$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16715 $ac_includes_default
16719 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16726 rm -f conftest.
$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>conftest.er1
16730 grep -v '^ *+' conftest.er1
>conftest.err
16732 cat conftest.err
>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try
='test -z "$ac_c_werror_flag"
16736 || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try
='test -s conftest.$ac_objext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16748 ac_hi
=$ac_mid; break
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.
$ac_ext >&5
16753 ac_lo
=`expr $ac_mid + 1`
16754 if test $ac_lo -le $ac_mid; then
16758 ac_mid
=`expr 2 '*' $ac_mid + 1`
16760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16766 cat >conftest.
$ac_ext <<_ACEOF
16769 cat confdefs.h
>>conftest.
$ac_ext
16770 cat >>conftest.
$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 $ac_includes_default
16776 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16783 rm -f conftest.
$ac_objext
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>conftest.er1
16787 grep -v '^ *+' conftest.er1
>conftest.err
16789 cat conftest.err
>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } &&
16792 { ac_try
='test -z "$ac_c_werror_flag"
16793 || test ! -s conftest.err'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; } &&
16799 { ac_try
='test -s conftest.$ac_objext'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; }; then
16807 cat >conftest.
$ac_ext <<_ACEOF
16810 cat confdefs.h
>>conftest.
$ac_ext
16811 cat >>conftest.
$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16813 $ac_includes_default
16817 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16824 rm -f conftest.
$ac_objext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16826 (eval $ac_compile) 2>conftest.er1
16828 grep -v '^ *+' conftest.er1
>conftest.err
16830 cat conftest.err
>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } &&
16833 { ac_try
='test -z "$ac_c_werror_flag"
16834 || test ! -s conftest.err'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; } &&
16840 { ac_try
='test -s conftest.$ac_objext'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16846 ac_lo
=$ac_mid; break
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 ac_hi
=`expr '(' $ac_mid ')' - 1`
16852 if test $ac_mid -le $ac_hi; then
16856 ac_mid
=`expr 2 '*' $ac_mid`
16858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16869 # Binary search between lo and hi bounds.
16870 while test "x$ac_lo" != "x$ac_hi"; do
16871 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16872 cat >conftest.
$ac_ext <<_ACEOF
16875 cat confdefs.h
>>conftest.
$ac_ext
16876 cat >>conftest.
$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 $ac_includes_default
16882 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16889 rm -f conftest.
$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>conftest.er1
16893 grep -v '^ *+' conftest.er1
>conftest.err
16895 cat conftest.err
>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try
='test -z "$ac_c_werror_flag"
16899 || test ! -s conftest.err'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try
='test -s conftest.$ac_objext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.
$ac_ext >&5
16916 ac_lo
=`expr '(' $ac_mid ')' + 1`
16918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16922 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16923 See \`config.log' for more details." >&5
16924 echo "$as_me: error: cannot compute sizeof (size_t), 77
16925 See \`config.log' for more details." >&2;}
16926 { (exit 1); exit 1; }; } ;;
16929 if test "$cross_compiling" = yes; then
16930 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16931 See \`config.log' for more details." >&5
16932 echo "$as_me: error: cannot run test program while cross compiling
16933 See \`config.log' for more details." >&2;}
16934 { (exit 1); exit 1; }; }
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16943 long longval () { return (long) (sizeof (size_t)); }
16944 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16946 #include <stdlib.h>
16951 FILE *f = fopen ("conftest.val", "w");
16954 if (((long) (sizeof (size_t))) < 0)
16956 long i = longval ();
16957 if (i != ((long) (sizeof (size_t))))
16959 fprintf (f, "%ld\n", i);
16963 unsigned long i = ulongval ();
16964 if (i != ((long) (sizeof (size_t))))
16966 fprintf (f, "%lu\n", i);
16968 exit (ferror (f) || fclose (f) != 0);
16974 rm -f conftest
$ac_exeext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16976 (eval $ac_link) 2>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; }; then
16985 ac_cv_sizeof_size_t
=`cat conftest.val`
16987 echo "$as_me: program exited with status $ac_status" >&5
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.
$ac_ext >&5
16991 ( exit $ac_status )
16992 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16993 See \`config.log' for more details." >&5
16994 echo "$as_me: error: cannot compute sizeof (size_t), 77
16995 See \`config.log' for more details." >&2;}
16996 { (exit 1); exit 1; }; }
16998 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17003 ac_cv_sizeof_size_t
=0
17006 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17007 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17008 cat >>confdefs.h
<<_ACEOF
17009 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17016 echo "$as_me:$LINENO: checking for long long" >&5
17017 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17018 if test "${ac_cv_type_long_long+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 cat >conftest.
$ac_ext <<_ACEOF
17024 cat confdefs.h
>>conftest.
$ac_ext
17025 cat >>conftest.
$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17031 if ((long long *) 0)
17033 if (sizeof (long long))
17039 rm -f conftest.
$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>conftest.er1
17043 grep -v '^ *+' conftest.er1
>conftest.err
17045 cat conftest.err
>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); } &&
17048 { ac_try
='test -z "$ac_c_werror_flag"
17049 || test ! -s conftest.err'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; } &&
17055 { ac_try
='test -s conftest.$ac_objext'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_type_long_long
=yes
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.
$ac_ext >&5
17066 ac_cv_type_long_long
=no
17068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17070 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17071 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17073 echo "$as_me:$LINENO: checking size of long long" >&5
17074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17075 if test "${ac_cv_sizeof_long_long+set}" = set; then
17076 echo $ECHO_N "(cached) $ECHO_C" >&6
17078 if test "$ac_cv_type_long_long" = yes; then
17079 # The cast to unsigned long works around a bug in the HP C Compiler
17080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17082 # This bug is HP SR number 8606223364.
17083 if test "$cross_compiling" = yes; then
17084 # Depending upon the size, compute the lo and hi bounds.
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17095 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17102 rm -f conftest.
$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>conftest.er1
17106 grep -v '^ *+' conftest.er1
>conftest.err
17108 cat conftest.err
>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } &&
17111 { ac_try
='test -z "$ac_c_werror_flag"
17112 || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try
='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17126 cat >conftest.
$ac_ext <<_ACEOF
17129 cat confdefs.h
>>conftest.
$ac_ext
17130 cat >>conftest.
$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132 $ac_includes_default
17136 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17143 rm -f conftest.
$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17147 grep -v '^ *+' conftest.er1
>conftest.err
17149 cat conftest.err
>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try
='test -z "$ac_c_werror_flag"
17153 || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try
='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_hi
=$ac_mid; break
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_lo
=`expr $ac_mid + 1`
17171 if test $ac_lo -le $ac_mid; then
17175 ac_mid
=`expr 2 '*' $ac_mid + 1`
17177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.
$ac_ext >&5
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17193 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17200 rm -f conftest.
$ac_objext
17201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17202 (eval $ac_compile) 2>conftest.er1
17204 grep -v '^ *+' conftest.er1
>conftest.err
17206 cat conftest.err
>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try
='test -z "$ac_c_werror_flag"
17210 || test ! -s conftest.err'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; } &&
17216 { ac_try
='test -s conftest.$ac_objext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17224 cat >conftest.
$ac_ext <<_ACEOF
17227 cat confdefs.h
>>conftest.
$ac_ext
17228 cat >>conftest.
$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17241 rm -f conftest.
$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try
='test -z "$ac_c_werror_flag"
17251 || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try
='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_lo
=$ac_mid; break
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.
$ac_ext >&5
17268 ac_hi
=`expr '(' $ac_mid ')' - 1`
17269 if test $ac_mid -le $ac_hi; then
17273 ac_mid
=`expr 2 '*' $ac_mid`
17275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17286 # Binary search between lo and hi bounds.
17287 while test "x$ac_lo" != "x$ac_hi"; do
17288 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17299 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17306 rm -f conftest.
$ac_objext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17308 (eval $ac_compile) 2>conftest.er1
17310 grep -v '^ *+' conftest.er1
>conftest.err
17312 cat conftest.err
>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try
='test -z "$ac_c_werror_flag"
17316 || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 ac_lo
=`expr '(' $ac_mid ')' + 1`
17335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17348 See \`config.log' for more details." >&5
17349 echo "$as_me: error: cannot run test program while cross compiling
17350 See \`config.log' for more details." >&2;}
17351 { (exit 1); exit 1; }; }
17353 cat >conftest.
$ac_ext <<_ACEOF
17356 cat confdefs.h
>>conftest.
$ac_ext
17357 cat >>conftest.
$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 $ac_includes_default
17360 long longval () { return (long) (sizeof (long long)); }
17361 unsigned long ulongval () { return (long) (sizeof (long long)); }
17363 #include <stdlib.h>
17368 FILE *f = fopen ("conftest.val", "w");
17371 if (((long) (sizeof (long long))) < 0)
17373 long i = longval ();
17374 if (i != ((long) (sizeof (long long))))
17376 fprintf (f, "%ld\n", i);
17380 unsigned long i = ulongval ();
17381 if (i != ((long) (sizeof (long long))))
17383 fprintf (f, "%lu\n", i);
17385 exit (ferror (f) || fclose (f) != 0);
17391 rm -f conftest
$ac_exeext
17392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17393 (eval $ac_link) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17402 ac_cv_sizeof_long_long
=`cat conftest.val`
17404 echo "$as_me: program exited with status $ac_status" >&5
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.
$ac_ext >&5
17408 ( exit $ac_status )
17409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17410 See \`config.log' for more details." >&5
17411 echo "$as_me: error: cannot compute sizeof (long long), 77
17412 See \`config.log' for more details." >&2;}
17413 { (exit 1); exit 1; }; }
17415 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17420 ac_cv_sizeof_long_long
=0
17423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17424 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17425 cat >>confdefs.h
<<_ACEOF
17426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17432 echo "$as_me:$LINENO: checking for long long" >&5
17433 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17434 if test "${ac_cv_type_long_long+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 cat >conftest.
$ac_ext <<_ACEOF
17440 cat confdefs.h
>>conftest.
$ac_ext
17441 cat >>conftest.
$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17447 if ((long long *) 0)
17449 if (sizeof (long long))
17455 rm -f conftest.
$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17459 grep -v '^ *+' conftest.er1
>conftest.err
17461 cat conftest.err
>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try
='test -z "$ac_c_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try
='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 ac_cv_type_long_long
=yes
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.
$ac_ext >&5
17482 ac_cv_type_long_long
=no
17484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17486 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17487 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17489 echo "$as_me:$LINENO: checking size of long long" >&5
17490 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17491 if test "${ac_cv_sizeof_long_long+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 if test "$ac_cv_type_long_long" = yes; then
17495 # The cast to unsigned long works around a bug in the HP C Compiler
17496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17498 # This bug is HP SR number 8606223364.
17499 if test "$cross_compiling" = yes; then
17500 # Depending upon the size, compute the lo and hi bounds.
17501 cat >conftest.
$ac_ext <<_ACEOF
17504 cat confdefs.h
>>conftest.
$ac_ext
17505 cat >>conftest.
$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17518 rm -f conftest.
$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17522 grep -v '^ *+' conftest.er1
>conftest.err
17524 cat conftest.err
>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try
='test -z "$ac_c_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try
='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17559 rm -f conftest.
$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_c_werror_flag"
17569 || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try
='test -s conftest.$ac_objext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_hi
=$ac_mid; break
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 ac_lo
=`expr $ac_mid + 1`
17587 if test $ac_lo -le $ac_mid; then
17591 ac_mid
=`expr 2 '*' $ac_mid + 1`
17593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.
$ac_ext >&5
17599 cat >conftest.
$ac_ext <<_ACEOF
17602 cat confdefs.h
>>conftest.
$ac_ext
17603 cat >>conftest.
$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17609 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17616 rm -f conftest.
$ac_objext
17617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17618 (eval $ac_compile) 2>conftest.er1
17620 grep -v '^ *+' conftest.er1
>conftest.err
17622 cat conftest.err
>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } &&
17625 { ac_try
='test -z "$ac_c_werror_flag"
17626 || test ! -s conftest.err'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; } &&
17632 { ac_try
='test -s conftest.$ac_objext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17640 cat >conftest.
$ac_ext <<_ACEOF
17643 cat confdefs.h
>>conftest.
$ac_ext
17644 cat >>conftest.
$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 $ac_includes_default
17650 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17657 rm -f conftest.
$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try
='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 ac_lo
=$ac_mid; break
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.
$ac_ext >&5
17684 ac_hi
=`expr '(' $ac_mid ')' - 1`
17685 if test $ac_mid -le $ac_hi; then
17689 ac_mid
=`expr 2 '*' $ac_mid`
17691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.
$ac_ext >&5
17699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17702 # Binary search between lo and hi bounds.
17703 while test "x$ac_lo" != "x$ac_hi"; do
17704 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17705 cat >conftest.
$ac_ext <<_ACEOF
17708 cat confdefs.h
>>conftest.
$ac_ext
17709 cat >>conftest.
$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711 $ac_includes_default
17715 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17722 rm -f conftest.
$ac_objext
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>conftest.er1
17726 grep -v '^ *+' conftest.er1
>conftest.err
17728 cat conftest.err
>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); } &&
17731 { ac_try
='test -z "$ac_c_werror_flag"
17732 || test ! -s conftest.err'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; } &&
17738 { ac_try
='test -s conftest.$ac_objext'
17739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17740 (eval $ac_try) 2>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); }; }; then
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17749 ac_lo
=`expr '(' $ac_mid ')' + 1`
17751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17754 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17755 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17756 See \`config.log' for more details." >&5
17757 echo "$as_me: error: cannot compute sizeof (long long), 77
17758 See \`config.log' for more details." >&2;}
17759 { (exit 1); exit 1; }; } ;;
17762 if test "$cross_compiling" = yes; then
17763 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17764 See \`config.log' for more details." >&5
17765 echo "$as_me: error: cannot run test program while cross compiling
17766 See \`config.log' for more details." >&2;}
17767 { (exit 1); exit 1; }; }
17769 cat >conftest.
$ac_ext <<_ACEOF
17772 cat confdefs.h
>>conftest.
$ac_ext
17773 cat >>conftest.
$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17775 $ac_includes_default
17776 long longval () { return (long) (sizeof (long long)); }
17777 unsigned long ulongval () { return (long) (sizeof (long long)); }
17779 #include <stdlib.h>
17784 FILE *f = fopen ("conftest.val", "w");
17787 if (((long) (sizeof (long long))) < 0)
17789 long i = longval ();
17790 if (i != ((long) (sizeof (long long))))
17792 fprintf (f, "%ld\n", i);
17796 unsigned long i = ulongval ();
17797 if (i != ((long) (sizeof (long long))))
17799 fprintf (f, "%lu\n", i);
17801 exit (ferror (f) || fclose (f) != 0);
17807 rm -f conftest
$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 ac_cv_sizeof_long_long
=`cat conftest.val`
17820 echo "$as_me: program exited with status $ac_status" >&5
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 ( exit $ac_status )
17825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17826 See \`config.log' for more details." >&5
17827 echo "$as_me: error: cannot compute sizeof (long long), 77
17828 See \`config.log' for more details." >&2;}
17829 { (exit 1); exit 1; }; }
17831 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17836 ac_cv_sizeof_long_long
=0
17839 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17840 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17841 cat >>confdefs.h
<<_ACEOF
17842 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17846 if test "$ac_cv_sizeof_long_long" != "0"; then
17847 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17851 echo "$as_me:$LINENO: checking for long long" >&5
17852 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17853 if test "${ac_cv_type_long_long+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17866 if ((long long *) 0)
17868 if (sizeof (long long))
17874 rm -f conftest.
$ac_objext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17876 (eval $ac_compile) 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try
='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_cv_type_long_long
=yes
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_cv_type_long_long
=no
17903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17905 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17906 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17908 echo "$as_me:$LINENO: checking size of long long" >&5
17909 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17910 if test "${ac_cv_sizeof_long_long+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17913 if test "$ac_cv_type_long_long" = yes; then
17914 # The cast to unsigned long works around a bug in the HP C Compiler
17915 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17916 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17917 # This bug is HP SR number 8606223364.
17918 if test "$cross_compiling" = yes; then
17919 # Depending upon the size, compute the lo and hi bounds.
17920 cat >conftest.
$ac_ext <<_ACEOF
17923 cat confdefs.h
>>conftest.
$ac_ext
17924 cat >>conftest.
$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17937 rm -f conftest.
$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17941 grep -v '^ *+' conftest.er1
>conftest.err
17943 cat conftest.err
>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try
='test -z "$ac_c_werror_flag"
17947 || test ! -s conftest.err'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; } &&
17953 { ac_try
='test -s conftest.$ac_objext'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; }; then
17961 cat >conftest.
$ac_ext <<_ACEOF
17964 cat confdefs.h
>>conftest.
$ac_ext
17965 cat >>conftest.
$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17978 rm -f conftest.
$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17982 grep -v '^ *+' conftest.er1
>conftest.err
17984 cat conftest.err
>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try
='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try
='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_hi
=$ac_mid; break
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 ac_lo
=`expr $ac_mid + 1`
18006 if test $ac_lo -le $ac_mid; then
18010 ac_mid
=`expr 2 '*' $ac_mid + 1`
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 cat >conftest.
$ac_ext <<_ACEOF
18021 cat confdefs.h
>>conftest.
$ac_ext
18022 cat >>conftest.
$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18024 $ac_includes_default
18028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18035 rm -f conftest.
$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>conftest.er1
18039 grep -v '^ *+' conftest.er1
>conftest.err
18041 cat conftest.err
>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try
='test -z "$ac_c_werror_flag"
18045 || test ! -s conftest.err'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; } &&
18051 { ac_try
='test -s conftest.$ac_objext'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; }; then
18059 cat >conftest.
$ac_ext <<_ACEOF
18062 cat confdefs.h
>>conftest.
$ac_ext
18063 cat >>conftest.
$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 $ac_includes_default
18069 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18076 rm -f conftest.
$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18080 grep -v '^ *+' conftest.er1
>conftest.err
18082 cat conftest.err
>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try
='test -z "$ac_c_werror_flag"
18086 || test ! -s conftest.err'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try
='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18098 ac_lo
=$ac_mid; break
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.
$ac_ext >&5
18103 ac_hi
=`expr '(' $ac_mid ')' - 1`
18104 if test $ac_mid -le $ac_hi; then
18108 ac_mid
=`expr 2 '*' $ac_mid`
18110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.
$ac_ext >&5
18118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18121 # Binary search between lo and hi bounds.
18122 while test "x$ac_lo" != "x$ac_hi"; do
18123 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18124 cat >conftest.
$ac_ext <<_ACEOF
18127 cat confdefs.h
>>conftest.
$ac_ext
18128 cat >>conftest.
$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 $ac_includes_default
18134 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18141 rm -f conftest.
$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try
='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.
$ac_ext >&5
18168 ac_lo
=`expr '(' $ac_mid ')' + 1`
18170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18173 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18175 See \`config.log' for more details." >&5
18176 echo "$as_me: error: cannot compute sizeof (long long), 77
18177 See \`config.log' for more details." >&2;}
18178 { (exit 1); exit 1; }; } ;;
18181 if test "$cross_compiling" = yes; then
18182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18183 See \`config.log' for more details." >&5
18184 echo "$as_me: error: cannot run test program while cross compiling
18185 See \`config.log' for more details." >&2;}
18186 { (exit 1); exit 1; }; }
18188 cat >conftest.
$ac_ext <<_ACEOF
18191 cat confdefs.h
>>conftest.
$ac_ext
18192 cat >>conftest.
$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18195 long longval () { return (long) (sizeof (long long)); }
18196 unsigned long ulongval () { return (long) (sizeof (long long)); }
18198 #include <stdlib.h>
18203 FILE *f = fopen ("conftest.val", "w");
18206 if (((long) (sizeof (long long))) < 0)
18208 long i = longval ();
18209 if (i != ((long) (sizeof (long long))))
18211 fprintf (f, "%ld\n", i);
18215 unsigned long i = ulongval ();
18216 if (i != ((long) (sizeof (long long))))
18218 fprintf (f, "%lu\n", i);
18220 exit (ferror (f) || fclose (f) != 0);
18226 rm -f conftest
$ac_exeext
18227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18228 (eval $ac_link) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_cv_sizeof_long_long
=`cat conftest.val`
18239 echo "$as_me: program exited with status $ac_status" >&5
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18243 ( exit $ac_status )
18244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18245 See \`config.log' for more details." >&5
18246 echo "$as_me: error: cannot compute sizeof (long long), 77
18247 See \`config.log' for more details." >&2;}
18248 { (exit 1); exit 1; }; }
18250 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18255 ac_cv_sizeof_long_long
=0
18258 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18259 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18260 cat >>confdefs.h
<<_ACEOF
18261 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18267 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18268 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18269 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18273 if test "$cross_compiling" = yes; then
18277 wx_cv_sizeof_wchar_t
=0
18280 wx_cv_sizeof_wchar_t
=4
18286 cat >conftest.
$ac_ext <<_ACEOF
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18293 /* DJGPP only has fake wchar_t: */
18295 # error "fake wchar_t"
18297 #ifdef HAVE_WCHAR_H
18299 # include <stddef.h>
18301 # include <wchar.h>
18303 #ifdef HAVE_STDLIB_H
18304 # include <stdlib.h>
18309 FILE *f=fopen("conftestval", "w");
18311 fprintf(f, "%i", sizeof(wchar_t));
18316 rm -f conftest
$ac_exeext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 wx_cv_sizeof_wchar_t
=`cat conftestval`
18329 echo "$as_me: program exited with status $ac_status" >&5
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ( exit $ac_status )
18334 wx_cv_sizeof_wchar_t
=0
18336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18340 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18341 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18343 cat >>confdefs.h
<<_ACEOF
18344 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18348 echo "$as_me:$LINENO: checking for va_copy" >&5
18349 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18350 if test "${wx_cv_func_va_copy+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18354 cat >conftest.
$ac_ext <<_ACEOF
18356 #include <stdarg.h>
18357 void foo(char *f, ...)
18367 return foo("hi", 17);
18370 rm -f conftest.
$ac_objext conftest
$ac_exeext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 (eval $ac_link) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest$ac_exeext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 wx_cv_func_va_copy
=yes
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 wx_cv_func_va_copy
=no
18400 rm -f conftest.err conftest.
$ac_objext \
18401 conftest
$ac_exeext conftest.
$ac_ext
18405 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18406 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18408 if test $wx_cv_func_va_copy = "yes"; then
18409 cat >>confdefs.h
<<\_ACEOF
18410 #define HAVE_VA_COPY 1
18414 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18415 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18416 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 if test "$cross_compiling" = yes; then
18421 wx_cv_type_va_list_lvalue
=yes
18424 cat >conftest.
$ac_ext <<_ACEOF
18426 #include <stdarg.h>
18427 int foo(char *f, ...)
18432 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18440 return foo("hi", 17);
18443 rm -f conftest
$ac_exeext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18445 (eval $ac_link) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450 (eval $ac_try) 2>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); }; }; then
18454 wx_cv_type_va_list_lvalue
=yes
18456 echo "$as_me: program exited with status $ac_status" >&5
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.
$ac_ext >&5
18460 ( exit $ac_status )
18461 wx_cv_type_va_list_lvalue
=no
18463 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18468 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18469 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18471 if test $wx_cv_type_va_list_lvalue != "yes"; then
18472 cat >>confdefs.h
<<\_ACEOF
18473 #define VA_LIST_IS_ARRAY 1
18479 # Check whether --enable-largefile or --disable-largefile was given.
18480 if test "${enable_largefile+set}" = set; then
18481 enableval
="$enable_largefile"
18484 if test "$enable_largefile" != no
; then
18487 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18488 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18489 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 #define _FILE_OFFSET_BITS 64
18500 #include <sys/types.h>
18505 unsigned int field: sizeof(off_t) == 8;
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_c_werror_flag"
18522 || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try
='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_cv_sys_file_offset_bits
=64
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.
$ac_ext >&5
18539 ac_cv_sys_file_offset_bits
=no
18541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18545 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18546 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18548 if test "$ac_cv_sys_file_offset_bits" != no
; then
18550 cat >>confdefs.h
<<_ACEOF
18551 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18556 if test "x$wx_largefile" != "xyes"; then
18558 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18559 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18560 if test "${ac_cv_sys_large_files+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #define _LARGE_FILES 1
18571 #include <sys/types.h>
18576 unsigned int field: sizeof(off_t) == 8;
18583 rm -f conftest.
$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1
>conftest.err
18589 cat conftest.err
>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try
='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try
='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_sys_large_files
=1
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.
$ac_ext >&5
18610 ac_cv_sys_large_files
=no
18612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18616 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18617 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18619 if test "$ac_cv_sys_large_files" != no
; then
18621 cat >>confdefs.h
<<_ACEOF
18622 #define _LARGE_FILES $ac_cv_sys_large_files
18629 echo "$as_me:$LINENO: checking if large file support is available" >&5
18630 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18631 if test "x$wx_largefile" = "xyes"; then
18632 cat >>confdefs.h
<<\_ACEOF
18633 #define HAVE_LARGEFILE_SUPPORT 1
18637 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18638 echo "${ECHO_T}$wx_largefile" >&6
18642 if test "x$wx_largefile" = "xyes"; then
18643 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18644 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18646 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18648 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18651 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18652 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18653 if test "${ac_cv_c_bigendian+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 ac_cv_c_bigendian
=unknown
18657 # See if sys/param.h defines the BYTE_ORDER macro.
18658 cat >conftest.
$ac_ext <<_ACEOF
18661 cat confdefs.h
>>conftest.
$ac_ext
18662 cat >>conftest.
$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 #include <sys/types.h>
18665 #include <sys/param.h>
18670 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18671 bogus endian macros
18677 rm -f conftest.
$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>conftest.er1
18681 grep -v '^ *+' conftest.er1
>conftest.err
18683 cat conftest.err
>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try
='test -z "$ac_c_werror_flag"
18687 || test ! -s conftest.err'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; } &&
18693 { ac_try
='test -s conftest.$ac_objext'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; }; then
18699 # It does; now see whether it defined to BIG_ENDIAN or not.
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #include <sys/param.h>
18712 #if BYTE_ORDER != BIG_ENDIAN
18719 rm -f conftest.
$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18723 grep -v '^ *+' conftest.er1
>conftest.err
18725 cat conftest.err
>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try
='test -z "$ac_c_werror_flag"
18729 || 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_objext'
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_c_bigendian
=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 ac_cv_c_bigendian
=no
18748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 if test $ac_cv_c_bigendian = unknown
; then
18756 if test "$cross_compiling" = yes; then
18757 ac_cv_c_bigendian
=unknown
18759 cat >conftest.
$ac_ext <<_ACEOF
18762 cat confdefs.h
>>conftest.
$ac_ext
18763 cat >>conftest.
$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18766 /* Are we little or big endian? From Harbison&Steele. */
18770 char c[sizeof (long)];
18773 exit (u.c[sizeof (long) - 1] == 1);
18776 rm -f conftest
$ac_exeext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18778 (eval $ac_link) 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_cv_c_bigendian
=no
18789 echo "$as_me: program exited with status $ac_status" >&5
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.
$ac_ext >&5
18793 ( exit $ac_status )
18794 ac_cv_c_bigendian
=yes
18796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18800 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18801 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18802 if test $ac_cv_c_bigendian = unknown
; then
18803 { 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
18804 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;}
18806 if test $ac_cv_c_bigendian = yes; then
18807 cat >>confdefs.h
<<\_ACEOF
18808 #define WORDS_BIGENDIAN 1
18815 ac_cpp
='$CXXCPP $CPPFLAGS'
18816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18819 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18820 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18821 if test -z "$CXXCPP"; then
18822 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 # Double quotes because CXXCPP needs to be expanded
18826 for CXXCPP
in "$CXX -E" "/lib/cpp"
18828 ac_preproc_ok
=false
18829 for ac_cxx_preproc_warn_flag
in '' yes
18831 # Use a header file that comes with gcc, so configuring glibc
18832 # with a fresh cross-compiler works.
18833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18834 # <limits.h> exists even on freestanding compilers.
18835 # On the NeXT, cc -E runs the code through the compiler's parser,
18836 # not just through cpp. "Syntax error" is here to catch this case.
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18844 # include <limits.h>
18846 # include <assert.h>
18850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18853 grep -v '^ *+' conftest.er1
>conftest.err
18855 cat conftest.err
>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } >/dev
/null
; then
18858 if test -s conftest.err
; then
18859 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18860 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18867 if test -z "$ac_cpp_err"; then
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.
$ac_ext >&5
18873 # Broken: fails on valid input.
18876 rm -f conftest.err conftest.
$ac_ext
18878 # OK, works on sane cases. Now check whether non-existent headers
18879 # can be detected and how.
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #include <ac_nonexistent.h>
18888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18891 grep -v '^ *+' conftest.er1
>conftest.err
18893 cat conftest.err
>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } >/dev
/null
; then
18896 if test -s conftest.err
; then
18897 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18898 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18905 if test -z "$ac_cpp_err"; then
18906 # Broken: success on invalid input.
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 # Passes both tests.
18916 rm -f conftest.err conftest.
$ac_ext
18919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18920 rm -f conftest.err conftest.
$ac_ext
18921 if $ac_preproc_ok; then
18926 ac_cv_prog_CXXCPP
=$CXXCPP
18929 CXXCPP
=$ac_cv_prog_CXXCPP
18931 ac_cv_prog_CXXCPP
=$CXXCPP
18933 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18934 echo "${ECHO_T}$CXXCPP" >&6
18935 ac_preproc_ok
=false
18936 for ac_cxx_preproc_warn_flag
in '' yes
18938 # Use a header file that comes with gcc, so configuring glibc
18939 # with a fresh cross-compiler works.
18940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18941 # <limits.h> exists even on freestanding compilers.
18942 # On the NeXT, cc -E runs the code through the compiler's parser,
18943 # not just through cpp. "Syntax error" is here to catch this case.
18944 cat >conftest.
$ac_ext <<_ACEOF
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18951 # include <limits.h>
18953 # include <assert.h>
18957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18960 grep -v '^ *+' conftest.er1
>conftest.err
18962 cat conftest.err
>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } >/dev
/null
; then
18965 if test -s conftest.err
; then
18966 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18967 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18974 if test -z "$ac_cpp_err"; then
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.
$ac_ext >&5
18980 # Broken: fails on valid input.
18983 rm -f conftest.err conftest.
$ac_ext
18985 # OK, works on sane cases. Now check whether non-existent headers
18986 # can be detected and how.
18987 cat >conftest.
$ac_ext <<_ACEOF
18990 cat confdefs.h
>>conftest.
$ac_ext
18991 cat >>conftest.
$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <ac_nonexistent.h>
18995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18998 grep -v '^ *+' conftest.er1
>conftest.err
19000 cat conftest.err
>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } >/dev
/null
; then
19003 if test -s conftest.err
; then
19004 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19005 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19012 if test -z "$ac_cpp_err"; then
19013 # Broken: success on invalid input.
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.
$ac_ext >&5
19019 # Passes both tests.
19023 rm -f conftest.err conftest.
$ac_ext
19026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19027 rm -f conftest.err conftest.
$ac_ext
19028 if $ac_preproc_ok; then
19031 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19032 See \`config.log' for more details." >&5
19033 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19034 See \`config.log' for more details." >&2;}
19035 { (exit 1); exit 1; }; }
19039 ac_cpp
='$CXXCPP $CPPFLAGS'
19040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19049 ac_cpp
='$CXXCPP $CPPFLAGS'
19050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19056 for ac_header
in iostream
19058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19060 echo "$as_me:$LINENO: checking for $ac_header" >&5
19061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19068 # Is the header compilable?
19069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19071 cat >conftest.
$ac_ext <<_ACEOF
19074 cat confdefs.h
>>conftest.
$ac_ext
19075 cat >>conftest.
$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 $ac_includes_default
19078 #include <$ac_header>
19080 rm -f conftest.
$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082 (eval $ac_compile) 2>conftest.er1
19084 grep -v '^ *+' conftest.er1
>conftest.err
19086 cat conftest.err
>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try
='test -z "$ac_cxx_werror_flag"
19090 || test ! -s conftest.err'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; } &&
19096 { ac_try
='test -s conftest.$ac_objext'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; }; then
19102 ac_header_compiler
=yes
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.
$ac_ext >&5
19107 ac_header_compiler
=no
19109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19111 echo "${ECHO_T}$ac_header_compiler" >&6
19113 # Is the header present?
19114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19116 cat >conftest.
$ac_ext <<_ACEOF
19119 cat confdefs.h
>>conftest.
$ac_ext
19120 cat >>conftest.
$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #include <$ac_header>
19124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19127 grep -v '^ *+' conftest.er1
>conftest.err
19129 cat conftest.err
>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } >/dev
/null
; then
19132 if test -s conftest.err
; then
19133 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19134 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19141 if test -z "$ac_cpp_err"; then
19142 ac_header_preproc
=yes
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.
$ac_ext >&5
19147 ac_header_preproc
=no
19149 rm -f conftest.err conftest.
$ac_ext
19150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19151 echo "${ECHO_T}$ac_header_preproc" >&6
19153 # So? What about this header?
19154 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19160 ac_header_preproc
=yes
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19177 ## ----------------------------------------- ##
19178 ## Report this to wx-dev@lists.wxwidgets.org ##
19179 ## ----------------------------------------- ##
19182 sed "s/^/$as_me: WARNING: /" >&2
19185 echo "$as_me:$LINENO: checking for $ac_header" >&5
19186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 eval "$as_ac_Header=\$ac_header_preproc"
19192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19197 cat >>confdefs.h
<<_ACEOF
19198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19206 if test "$ac_cv_header_iostream" = "yes" ; then
19209 cat >>confdefs.h
<<\_ACEOF
19210 #define wxUSE_IOSTREAMH 1
19216 ac_cpp
='$CPP $CPPFLAGS'
19217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19224 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19225 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19226 if test "${wx_cv_cpp_bool+set}" = set; then
19227 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 ac_cpp
='$CXXCPP $CPPFLAGS'
19234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19239 cat >conftest.
$ac_ext <<_ACEOF
19242 cat confdefs.h
>>conftest.
$ac_ext
19243 cat >>conftest.
$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19259 rm -f conftest.
$ac_objext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19261 (eval $ac_compile) 2>conftest.er1
19263 grep -v '^ *+' conftest.er1
>conftest.err
19265 cat conftest.err
>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try
='test -z "$ac_cxx_werror_flag"
19269 || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try
='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.
$ac_ext >&5
19293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19296 ac_cpp
='$CPP $CPPFLAGS'
19297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19303 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19304 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19306 if test "$wx_cv_cpp_bool" = "yes"; then
19307 cat >>confdefs.h
<<\_ACEOF
19308 #define HAVE_BOOL 1
19315 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19316 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19317 if test "${wx_cv_explicit+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 ac_cpp
='$CXXCPP $CPPFLAGS'
19325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19330 cat >conftest.
$ac_ext <<_ACEOF
19333 cat confdefs.h
>>conftest.
$ac_ext
19334 cat >>conftest.
$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19337 class Foo { public: explicit Foo(int) {} };
19349 rm -f conftest.
$ac_objext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>conftest.er1
19353 grep -v '^ *+' conftest.er1
>conftest.err
19355 cat conftest.err
>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try
='test -z "$ac_cxx_werror_flag"
19359 || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try
='test -s conftest.$ac_objext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19379 class Foo { public: explicit Foo(int) {} };
19380 static void TakeFoo(const Foo& foo) { }
19393 rm -f conftest.
$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try
='test -z "$ac_cxx_werror_flag"
19403 || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try
='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.
$ac_ext >&5
19432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19435 ac_cpp
='$CPP $CPPFLAGS'
19436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19442 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19443 echo "${ECHO_T}$wx_cv_explicit" >&6
19445 if test "$wx_cv_explicit" = "yes"; then
19446 cat >>confdefs.h
<<\_ACEOF
19447 #define HAVE_EXPLICIT 1
19453 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19454 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19455 if test "${ac_cv_cxx_const_cast+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 ac_cpp
='$CXXCPP $CPPFLAGS'
19462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19466 cat >conftest.
$ac_ext <<_ACEOF
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19476 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19481 rm -f conftest.
$ac_objext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19483 (eval $ac_compile) 2>conftest.er1
19485 grep -v '^ *+' conftest.er1
>conftest.err
19487 cat conftest.err
>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try
='test -z "$ac_cxx_werror_flag"
19491 || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try
='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_cv_cxx_const_cast
=yes
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.
$ac_ext >&5
19508 ac_cv_cxx_const_cast
=no
19510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19512 ac_cpp
='$CPP $CPPFLAGS'
19513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19519 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19520 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19521 if test "$ac_cv_cxx_const_cast" = yes; then
19523 cat >>confdefs.h
<<\_ACEOF
19524 #define HAVE_CONST_CAST
19529 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19530 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19531 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19532 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 ac_cpp
='$CXXCPP $CPPFLAGS'
19538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19542 cat >conftest.
$ac_ext <<_ACEOF
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <typeinfo>
19549 class Base { public : Base () {} virtual void f () = 0;};
19550 class Derived : public Base { public : Derived () {} virtual void f () {} };
19551 class Unrelated { public : Unrelated () {} };
19552 int g (Unrelated&) { return 0; }
19557 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19562 rm -f conftest.
$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try
='test -z "$ac_cxx_werror_flag"
19572 || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try
='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_cv_cxx_reinterpret_cast
=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19589 ac_cv_cxx_reinterpret_cast
=no
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 ac_cpp
='$CPP $CPPFLAGS'
19594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19600 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19601 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19602 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19604 cat >>confdefs.h
<<\_ACEOF
19605 #define HAVE_REINTERPRET_CAST
19610 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19611 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19612 if test "${ac_cv_cxx_static_cast+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 ac_cpp
='$CXXCPP $CPPFLAGS'
19619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <typeinfo>
19630 class Base { public : Base () {} virtual void f () = 0; };
19631 class Derived : public Base { public : Derived () {} virtual void f () {} };
19632 int g (Derived&) { return 0; }
19637 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19642 rm -f conftest.
$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>conftest.er1
19646 grep -v '^ *+' conftest.er1
>conftest.err
19648 cat conftest.err
>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try
='test -z "$ac_cxx_werror_flag"
19652 || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try
='test -s conftest.$ac_objext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19664 ac_cv_cxx_static_cast
=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.
$ac_ext >&5
19669 ac_cv_cxx_static_cast
=no
19671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 ac_cpp
='$CPP $CPPFLAGS'
19674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19680 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19681 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19682 if test "$ac_cv_cxx_static_cast" = yes; then
19684 cat >>confdefs.h
<<\_ACEOF
19685 #define HAVE_STATIC_CAST
19691 if test "$wxUSE_STL" = "yes"; then
19693 ac_cpp
='$CXXCPP $CPPFLAGS'
19694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19699 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19700 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19701 cat >conftest.
$ac_ext <<_ACEOF
19704 cat confdefs.h
>>conftest.
$ac_ext
19705 cat >>conftest.
$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19708 #include <functional>
19709 #include <algorithm>
19715 std::vector<int> moo;
19716 std::list<int> foo;
19717 std::vector<int>::iterator it =
19718 std::find_if(moo.begin(), moo.end(),
19719 std::bind2nd(std::less<int>(), 3));
19724 rm -f conftest.
$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726 (eval $ac_compile) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try
='test -z "$ac_cxx_werror_flag"
19734 || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try
='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 echo "$as_me:$LINENO: result: yes" >&5
19747 echo "${ECHO_T}yes" >&6
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 echo "$as_me:$LINENO: result: no" >&5
19753 echo "${ECHO_T}no" >&6
19754 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19755 echo "$as_me: error: Basic STL functionality missing" >&2;}
19756 { (exit 1); exit 1; }; }
19758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19760 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19761 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19762 cat >conftest.
$ac_ext <<_ACEOF
19765 cat confdefs.h
>>conftest.
$ac_ext
19766 cat >>conftest.
$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19777 rm -f conftest.
$ac_objext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19779 (eval $ac_compile) 2>conftest.er1
19781 grep -v '^ *+' conftest.er1
>conftest.err
19783 cat conftest.err
>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } &&
19786 { ac_try
='test -z "$ac_cxx_werror_flag"
19787 || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try
='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 echo "$as_me:$LINENO: result: yes" >&5
19800 echo "${ECHO_T}yes" >&6
19801 cat >>confdefs.h
<<\_ACEOF
19802 #define HAVE_STD_WSTRING 1
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.
$ac_ext >&5
19809 echo "$as_me:$LINENO: result: no" >&5
19810 echo "${ECHO_T}no" >&6
19812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19814 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19815 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19826 std::string foo, bar;
19828 foo.compare(1, 1, bar);
19829 foo.compare(1, 1, bar, 1, 1);
19831 foo.compare(1, 1, "");
19832 foo.compare(1, 1, "", 2);
19837 rm -f conftest.
$ac_objext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19839 (eval $ac_compile) 2>conftest.er1
19841 grep -v '^ *+' conftest.er1
>conftest.err
19843 cat conftest.err
>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try
='test -z "$ac_cxx_werror_flag"
19847 || test ! -s conftest.err'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try
='test -s conftest.$ac_objext'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 echo "$as_me:$LINENO: result: yes" >&5
19860 echo "${ECHO_T}yes" >&6
19861 cat >>confdefs.h
<<\_ACEOF
19862 #define HAVE_STD_STRING_COMPARE 1
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.
$ac_ext >&5
19869 echo "$as_me:$LINENO: result: no" >&5
19870 echo "${ECHO_T}no" >&6
19872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19874 if test "${ac_cv_header_hash_map+set}" = set; then
19875 echo "$as_me:$LINENO: checking for hash_map" >&5
19876 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19877 if test "${ac_cv_header_hash_map+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19881 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19883 # Is the header compilable?
19884 echo "$as_me:$LINENO: checking hash_map usability" >&5
19885 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19886 cat >conftest.
$ac_ext <<_ACEOF
19889 cat confdefs.h
>>conftest.
$ac_ext
19890 cat >>conftest.
$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 $ac_includes_default
19893 #include <hash_map>
19895 rm -f conftest.
$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19899 grep -v '^ *+' conftest.er1
>conftest.err
19901 cat conftest.err
>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try
='test -z "$ac_cxx_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try
='test -s conftest.$ac_objext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 ac_header_compiler
=yes
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.
$ac_ext >&5
19922 ac_header_compiler
=no
19924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19926 echo "${ECHO_T}$ac_header_compiler" >&6
19928 # Is the header present?
19929 echo "$as_me:$LINENO: checking hash_map presence" >&5
19930 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19931 cat >conftest.
$ac_ext <<_ACEOF
19934 cat confdefs.h
>>conftest.
$ac_ext
19935 cat >>conftest.
$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #include <hash_map>
19939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19942 grep -v '^ *+' conftest.er1
>conftest.err
19944 cat conftest.err
>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } >/dev
/null
; then
19947 if test -s conftest.err
; then
19948 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19949 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19956 if test -z "$ac_cpp_err"; then
19957 ac_header_preproc
=yes
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.
$ac_ext >&5
19962 ac_header_preproc
=no
19964 rm -f conftest.err conftest.
$ac_ext
19965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19966 echo "${ECHO_T}$ac_header_preproc" >&6
19968 # So? What about this header?
19969 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19971 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19972 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19973 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19974 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19975 ac_header_preproc
=yes
19978 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19979 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19981 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19982 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19983 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19984 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19985 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19986 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19987 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19988 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19989 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19992 ## ----------------------------------------- ##
19993 ## Report this to wx-dev@lists.wxwidgets.org ##
19994 ## ----------------------------------------- ##
19997 sed "s/^/$as_me: WARNING: /" >&2
20000 echo "$as_me:$LINENO: checking for hash_map" >&5
20001 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20002 if test "${ac_cv_header_hash_map+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20005 ac_cv_header_hash_map
=$ac_header_preproc
20007 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20008 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20011 if test $ac_cv_header_hash_map = yes; then
20012 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20013 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20014 cat >conftest.
$ac_ext <<_ACEOF
20017 cat confdefs.h
>>conftest.
$ac_ext
20018 cat >>conftest.
$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20020 #include <hash_map>
20021 #include <hash_set>
20025 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20026 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20031 rm -f conftest.
$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20035 grep -v '^ *+' conftest.er1
>conftest.err
20037 cat conftest.err
>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try
='test -z "$ac_cxx_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try
='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 echo "$as_me:$LINENO: result: yes" >&5
20054 echo "${ECHO_T}yes" >&6
20055 cat >>confdefs.h
<<\_ACEOF
20056 #define HAVE_HASH_MAP 1
20059 cat >>confdefs.h
<<\_ACEOF
20060 #define HAVE_STD_HASH_MAP 1
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20067 echo "$as_me:$LINENO: result: no" >&5
20068 echo "${ECHO_T}no" >&6
20070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20076 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20077 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20078 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20079 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20083 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20085 # Is the header compilable?
20086 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20087 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20088 cat >conftest.
$ac_ext <<_ACEOF
20091 cat confdefs.h
>>conftest.
$ac_ext
20092 cat >>conftest.
$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 #include <ext/hash_map>
20097 rm -f conftest.
$ac_objext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>conftest.er1
20101 grep -v '^ *+' conftest.er1
>conftest.err
20103 cat conftest.err
>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try
='test -z "$ac_cxx_werror_flag"
20107 || test ! -s conftest.err'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try
='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_header_compiler
=yes
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.
$ac_ext >&5
20124 ac_header_compiler
=no
20126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20128 echo "${ECHO_T}$ac_header_compiler" >&6
20130 # Is the header present?
20131 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20132 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20133 cat >conftest.
$ac_ext <<_ACEOF
20136 cat confdefs.h
>>conftest.
$ac_ext
20137 cat >>conftest.
$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 #include <ext/hash_map>
20141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20144 grep -v '^ *+' conftest.er1
>conftest.err
20146 cat conftest.err
>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } >/dev
/null
; then
20149 if test -s conftest.err
; then
20150 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20151 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20158 if test -z "$ac_cpp_err"; then
20159 ac_header_preproc
=yes
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.
$ac_ext >&5
20164 ac_header_preproc
=no
20166 rm -f conftest.err conftest.
$ac_ext
20167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20168 echo "${ECHO_T}$ac_header_preproc" >&6
20170 # So? What about this header?
20171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20173 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20174 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20175 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20176 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20177 ac_header_preproc
=yes
20180 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20181 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20182 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20183 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20184 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20185 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20186 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20187 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20188 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20189 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20190 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20191 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20194 ## ----------------------------------------- ##
20195 ## Report this to wx-dev@lists.wxwidgets.org ##
20196 ## ----------------------------------------- ##
20199 sed "s/^/$as_me: WARNING: /" >&2
20202 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20203 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20204 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 ac_cv_header_ext_hash_map
=$ac_header_preproc
20209 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20210 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20213 if test $ac_cv_header_ext_hash_map = yes; then
20214 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20215 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 #include <ext/hash_map>
20223 #include <ext/hash_set>
20227 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20228 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20233 rm -f conftest.
$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_cxx_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 echo "$as_me:$LINENO: result: yes" >&5
20256 echo "${ECHO_T}yes" >&6
20257 cat >>confdefs.h
<<\_ACEOF
20258 #define HAVE_EXT_HASH_MAP 1
20261 cat >>confdefs.h
<<\_ACEOF
20262 #define HAVE_GNU_CXX_HASH_MAP 1
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.
$ac_ext >&5
20269 echo "$as_me:$LINENO: result: no" >&5
20270 echo "${ECHO_T}no" >&6
20272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20279 ac_cpp
='$CPP $CPPFLAGS'
20280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20288 /usr/local/include \
20290 /usr/Motif-2.1/include \
20291 /usr/Motif-1.2/include \
20292 /usr/include/Motif1.2 \
20293 /opt/xpm/include/X11 \
20294 /opt/GBxpm/include/ \
20295 /opt/GBxpm/X11/include/ \
20298 /usr/openwin/include \
20302 /usr/X11R6/include \
20303 /usr/X11R6.4/include \
20304 /usr/X11R5/include \
20305 /usr/X11R4/include \
20307 /usr/include/X11R6 \
20308 /usr/include/X11R5 \
20309 /usr/include/X11R4 \
20311 /usr/local/X11R6/include \
20312 /usr/local/X11R5/include \
20313 /usr/local/X11R4/include \
20315 /usr/local/include/X11R6 \
20316 /usr/local/include/X11R5 \
20317 /usr/local/include/X11R4 \
20321 /usr/local/X11/include \
20322 /usr/local/include/X11 \
20324 /usr/X386/include \
20325 /usr/x386/include \
20326 /usr/XFree86/include/X11 \
20328 X:/XFree86/include \
20329 X:/XFree86/include/X11 \
20332 /usr/local/include/gtk \
20333 /usr/include/glib \
20334 /usr/local/include/glib \
20337 /usr/local/include/qt \
20339 /usr/local/arm/3.3.2/include \
20341 /usr/include/windows \
20342 /usr/include/wine \
20343 /usr/local/include/wine \
20345 /usr/unsupported/include \
20346 /usr/athena/include \
20347 /usr/local/x11r5/include \
20348 /usr/lpp/Xamples/include \
20350 /usr/openwin/share/include"
20352 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20355 cat >confcache
<<\_ACEOF
20356 # This file is a shell script that caches the results of configure
20357 # tests run on this system so they can be shared between configure
20358 # scripts and configure runs, see configure's option --config-cache.
20359 # It is not useful on other systems. If it contains results you don't
20360 # want to keep, you may remove or edit it.
20362 # config.status only pays attention to the cache file if you give it
20363 # the --recheck option to rerun configure.
20365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20367 # following values.
20371 # The following way of writing the cache mishandles newlines in values,
20372 # but we know of no workaround that is simple, portable, and efficient.
20373 # So, don't put newlines in cache variables' values.
20374 # Ultrix sh set writes to stderr and can't be redirected directly,
20375 # and sets the high bit in the cache file unless we assign to the vars.
20378 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20380 # `set' does not quote correctly, so add quotes (double-quote
20381 # substitution turns \\\\ into \\, and sed turns \\ into \).
20384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20387 # `set' quotes correctly as required by POSIX, so do not add quotes.
20389 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20398 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20400 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20401 if test -w $cache_file; then
20402 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20403 cat confcache
>$cache_file
20405 echo "not updating unwritable cache $cache_file"
20410 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20411 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20412 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20413 if test "${wx_cv_lib_glibc21+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20417 cat >conftest.
$ac_ext <<_ACEOF
20420 cat confdefs.h
>>conftest.
$ac_ext
20421 cat >>conftest.
$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 #include <features.h>
20428 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20429 #error not glibc2.1
20436 rm -f conftest.
$ac_objext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20438 (eval $ac_compile) 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try
='test -z "$ac_c_werror_flag"
20446 || test ! -s conftest.err'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; } &&
20452 { ac_try
='test -s conftest.$ac_objext'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; }; then
20459 wx_cv_lib_glibc21
=yes
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20466 wx_cv_lib_glibc21
=no
20470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20473 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20474 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20475 if test "$wx_cv_lib_glibc21" = "yes"; then
20476 cat >>confdefs.h
<<\_ACEOF
20477 #define wxHAVE_GLIBC2 1
20483 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20484 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20485 cat >>confdefs.h
<<\_ACEOF
20486 #define _GNU_SOURCE 1
20494 if test "$wxUSE_REGEX" != "no"; then
20495 cat >>confdefs.h
<<\_ACEOF
20496 #define wxUSE_REGEX 1
20500 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20501 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20502 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20503 wxUSE_REGEX
=builtin
20506 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20507 if test "${ac_cv_header_regex_h+set}" = set; then
20508 echo "$as_me:$LINENO: checking for regex.h" >&5
20509 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20510 if test "${ac_cv_header_regex_h+set}" = set; then
20511 echo $ECHO_N "(cached) $ECHO_C" >&6
20513 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20514 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20516 # Is the header compilable?
20517 echo "$as_me:$LINENO: checking regex.h usability" >&5
20518 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20519 cat >conftest.
$ac_ext <<_ACEOF
20522 cat confdefs.h
>>conftest.
$ac_ext
20523 cat >>conftest.
$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20528 rm -f conftest.
$ac_objext
20529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20530 (eval $ac_compile) 2>conftest.er1
20532 grep -v '^ *+' conftest.er1
>conftest.err
20534 cat conftest.err
>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try
='test -z "$ac_c_werror_flag"
20538 || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try
='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_header_compiler
=yes
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 ac_header_compiler
=no
20557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20559 echo "${ECHO_T}$ac_header_compiler" >&6
20561 # Is the header present?
20562 echo "$as_me:$LINENO: checking regex.h presence" >&5
20563 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20564 cat >conftest.
$ac_ext <<_ACEOF
20567 cat confdefs.h
>>conftest.
$ac_ext
20568 cat >>conftest.
$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20575 grep -v '^ *+' conftest.er1
>conftest.err
20577 cat conftest.err
>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } >/dev
/null
; then
20580 if test -s conftest.err
; then
20581 ac_cpp_err
=$ac_c_preproc_warn_flag
20582 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20589 if test -z "$ac_cpp_err"; then
20590 ac_header_preproc
=yes
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.
$ac_ext >&5
20595 ac_header_preproc
=no
20597 rm -f conftest.err conftest.
$ac_ext
20598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20599 echo "${ECHO_T}$ac_header_preproc" >&6
20601 # So? What about this header?
20602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20604 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20605 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20606 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20607 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20608 ac_header_preproc
=yes
20611 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20612 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20613 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20614 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20615 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20616 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20617 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20618 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20619 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20620 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20621 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20622 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20625 ## ----------------------------------------- ##
20626 ## Report this to wx-dev@lists.wxwidgets.org ##
20627 ## ----------------------------------------- ##
20630 sed "s/^/$as_me: WARNING: /" >&2
20633 echo "$as_me:$LINENO: checking for regex.h" >&5
20634 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20635 if test "${ac_cv_header_regex_h+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 ac_cv_header_regex_h
=$ac_header_preproc
20640 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20641 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20644 if test $ac_cv_header_regex_h = yes; then
20646 for ac_func
in regcomp
20648 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20649 echo "$as_me:$LINENO: checking for $ac_func" >&5
20650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20651 if eval "test \"\${$as_ac_var+set}\" = set"; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 cat >conftest.
$ac_ext <<_ACEOF
20657 cat confdefs.h
>>conftest.
$ac_ext
20658 cat >>conftest.
$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20662 #define $ac_func innocuous_$ac_func
20664 /* System header to define __stub macros and hopefully few prototypes,
20665 which can conflict with char $ac_func (); below.
20666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20667 <limits.h> exists even on freestanding compilers. */
20670 # include <limits.h>
20672 # include <assert.h>
20677 /* Override any gcc2 internal prototype to avoid an error. */
20682 /* We use char because int might match the return type of a gcc2
20683 builtin and then its argument prototype would still apply. */
20685 /* The GNU C library defines this for functions which it implements
20686 to always fail with ENOSYS. Some functions are actually named
20687 something starting with __ and the normal name is an alias. */
20688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20691 char (*f) () = $ac_func;
20700 return f != $ac_func;
20705 rm -f conftest.
$ac_objext conftest
$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>conftest.er1
20709 grep -v '^ *+' conftest.er1
>conftest.err
20711 cat conftest.err
>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try
='test -z "$ac_c_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try
='test -s conftest$ac_exeext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 eval "$as_ac_var=yes"
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.
$ac_ext >&5
20732 eval "$as_ac_var=no"
20734 rm -f conftest.err conftest.
$ac_objext \
20735 conftest
$ac_exeext conftest.
$ac_ext
20737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20739 if test `eval echo '${'$as_ac_var'}'` = yes; then
20740 cat >>confdefs.h
<<_ACEOF
20741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20751 if test "x$ac_cv_func_regcomp" != "xyes"; then
20752 if test "$wxUSE_REGEX" = "sys" ; then
20753 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20754 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20755 { (exit 1); exit 1; }; }
20757 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20758 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20759 wxUSE_REGEX
=builtin
20763 cat >>confdefs.h
<<\_ACEOF
20764 #define WX_NO_REGEX_ADVANCED 1
20773 if test "$wxUSE_ZLIB" != "no" ; then
20774 cat >>confdefs.h
<<\_ACEOF
20775 #define wxUSE_ZLIB 1
20779 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20780 if test "$USE_DARWIN" = 1; then
20781 system_zlib_h_ok
="yes"
20783 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20784 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20785 if test "${ac_cv_header_zlib_h+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 if test "$cross_compiling" = yes; then
20789 unset ac_cv_header_zlib_h
20792 cat >conftest.
$ac_ext <<_ACEOF
20795 cat confdefs.h
>>conftest.
$ac_ext
20796 cat >>conftest.
$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20804 FILE *f=fopen("conftestval", "w");
20807 ZLIB_VERSION[0] == '1' &&
20808 (ZLIB_VERSION[2] > '1' ||
20809 (ZLIB_VERSION[2] == '1' &&
20810 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20815 rm -f conftest
$ac_exeext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20817 (eval $ac_link) 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_cv_header_zlib_h
=`cat conftestval`
20828 echo "$as_me: program exited with status $ac_status" >&5
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.
$ac_ext >&5
20832 ( exit $ac_status )
20833 ac_cv_header_zlib_h
=no
20835 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20839 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20840 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20841 if test "${ac_cv_header_zlib_h+set}" = set; then
20842 echo "$as_me:$LINENO: checking for zlib.h" >&5
20843 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20844 if test "${ac_cv_header_zlib_h+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20848 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20850 # Is the header compilable?
20851 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20852 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20853 cat >conftest.
$ac_ext <<_ACEOF
20856 cat confdefs.h
>>conftest.
$ac_ext
20857 cat >>conftest.
$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 $ac_includes_default
20862 rm -f conftest.
$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20866 grep -v '^ *+' conftest.er1
>conftest.err
20868 cat conftest.err
>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try
='test -z "$ac_c_werror_flag"
20872 || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try
='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_header_compiler
=yes
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.
$ac_ext >&5
20889 ac_header_compiler
=no
20891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20893 echo "${ECHO_T}$ac_header_compiler" >&6
20895 # Is the header present?
20896 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20897 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20898 cat >conftest.
$ac_ext <<_ACEOF
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20909 grep -v '^ *+' conftest.er1
>conftest.err
20911 cat conftest.err
>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } >/dev
/null
; then
20914 if test -s conftest.err
; then
20915 ac_cpp_err
=$ac_c_preproc_warn_flag
20916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20923 if test -z "$ac_cpp_err"; then
20924 ac_header_preproc
=yes
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20929 ac_header_preproc
=no
20931 rm -f conftest.err conftest.
$ac_ext
20932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20933 echo "${ECHO_T}$ac_header_preproc" >&6
20935 # So? What about this header?
20936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20938 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20939 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20940 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20941 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20942 ac_header_preproc
=yes
20945 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20946 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20947 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20948 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20949 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20950 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20951 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20952 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20953 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20954 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20955 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20956 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20959 ## ----------------------------------------- ##
20960 ## Report this to wx-dev@lists.wxwidgets.org ##
20961 ## ----------------------------------------- ##
20964 sed "s/^/$as_me: WARNING: /" >&2
20967 echo "$as_me:$LINENO: checking for zlib.h" >&5
20968 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20969 if test "${ac_cv_header_zlib_h+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 ac_cv_header_zlib_h
=$ac_header_preproc
20974 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20975 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20981 system_zlib_h_ok
=$ac_cv_header_zlib_h
20984 if test "$system_zlib_h_ok" = "yes"; then
20985 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20986 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20987 if test "${ac_cv_lib_z_deflate+set}" = set; then
20988 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 ac_check_lib_save_LIBS
=$LIBS
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20999 /* Override any gcc2 internal prototype to avoid an error. */
21003 /* We use char because int might match the return type of a gcc2
21004 builtin and then its argument prototype would still apply. */
21014 rm -f conftest.
$ac_objext conftest
$ac_exeext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21016 (eval $ac_link) 2>conftest.er1
21018 grep -v '^ *+' conftest.er1
>conftest.err
21020 cat conftest.err
>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try
='test -z "$ac_c_werror_flag"
21024 || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try
='test -s conftest$ac_exeext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_lib_z_deflate
=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ac_cv_lib_z_deflate
=no
21043 rm -f conftest.err conftest.
$ac_objext \
21044 conftest
$ac_exeext conftest.
$ac_ext
21045 LIBS
=$ac_check_lib_save_LIBS
21047 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21048 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21049 if test $ac_cv_lib_z_deflate = yes; then
21055 if test "x$ZLIB_LINK" = "x" ; then
21056 if test "$wxUSE_ZLIB" = "sys" ; then
21057 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21058 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21059 { (exit 1); exit 1; }; }
21061 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21062 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21073 if test "$wxUSE_LIBPNG" != "no" ; then
21074 cat >>confdefs.h
<<\_ACEOF
21075 #define wxUSE_LIBPNG 1
21079 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21080 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21081 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21085 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21086 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21087 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21088 wxUSE_LIBPNG
=builtin
21091 if test "$wxUSE_MGL" != 1 ; then
21092 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21093 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21094 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21095 if test "${ac_cv_header_png_h+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 if test "$cross_compiling" = yes; then
21099 unset ac_cv_header_png_h
21102 cat >conftest.
$ac_ext <<_ACEOF
21105 cat confdefs.h
>>conftest.
$ac_ext
21106 cat >>conftest.
$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21114 FILE *f=fopen("conftestval", "w");
21117 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21122 rm -f conftest
$ac_exeext
21123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21124 (eval $ac_link) 2>&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_header_png_h
=`cat conftestval`
21135 echo "$as_me: program exited with status $ac_status" >&5
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.
$ac_ext >&5
21139 ( exit $ac_status )
21140 ac_cv_header_png_h
=no
21142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21146 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21147 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21148 if test "${ac_cv_header_png_h+set}" = set; then
21149 echo "$as_me:$LINENO: checking for png.h" >&5
21150 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21151 if test "${ac_cv_header_png_h+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21155 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21157 # Is the header compilable?
21158 echo "$as_me:$LINENO: checking png.h usability" >&5
21159 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21169 rm -f conftest.
$ac_objext
21170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21171 (eval $ac_compile) 2>conftest.er1
21173 grep -v '^ *+' conftest.er1
>conftest.err
21175 cat conftest.err
>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } &&
21178 { ac_try
='test -z "$ac_c_werror_flag"
21179 || test ! -s conftest.err'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; } &&
21185 { ac_try
='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_header_compiler
=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.
$ac_ext >&5
21196 ac_header_compiler
=no
21198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21200 echo "${ECHO_T}$ac_header_compiler" >&6
21202 # Is the header present?
21203 echo "$as_me:$LINENO: checking png.h presence" >&5
21204 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21205 cat >conftest.
$ac_ext <<_ACEOF
21208 cat confdefs.h
>>conftest.
$ac_ext
21209 cat >>conftest.
$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21216 grep -v '^ *+' conftest.er1
>conftest.err
21218 cat conftest.err
>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } >/dev
/null
; then
21221 if test -s conftest.err
; then
21222 ac_cpp_err
=$ac_c_preproc_warn_flag
21223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21230 if test -z "$ac_cpp_err"; then
21231 ac_header_preproc
=yes
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.
$ac_ext >&5
21236 ac_header_preproc
=no
21238 rm -f conftest.err conftest.
$ac_ext
21239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21240 echo "${ECHO_T}$ac_header_preproc" >&6
21242 # So? What about this header?
21243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21245 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21246 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21248 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21249 ac_header_preproc
=yes
21252 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21253 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21254 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21255 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21256 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21257 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21259 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21261 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21263 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21266 ## ----------------------------------------- ##
21267 ## Report this to wx-dev@lists.wxwidgets.org ##
21268 ## ----------------------------------------- ##
21271 sed "s/^/$as_me: WARNING: /" >&2
21274 echo "$as_me:$LINENO: checking for png.h" >&5
21275 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21276 if test "${ac_cv_header_png_h+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 ac_cv_header_png_h
=$ac_header_preproc
21281 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21282 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21288 if test "$ac_cv_header_png_h" = "yes"; then
21289 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21290 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21291 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 ac_check_lib_save_LIBS
=$LIBS
21295 LIBS
="-lpng -lz -lm $LIBS"
21296 cat >conftest.
$ac_ext <<_ACEOF
21299 cat confdefs.h
>>conftest.
$ac_ext
21300 cat >>conftest.
$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21303 /* Override any gcc2 internal prototype to avoid an error. */
21307 /* We use char because int might match the return type of a gcc2
21308 builtin and then its argument prototype would still apply. */
21309 char png_check_sig ();
21318 rm -f conftest.
$ac_objext conftest
$ac_exeext
21319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21320 (eval $ac_link) 2>conftest.er1
21322 grep -v '^ *+' conftest.er1
>conftest.err
21324 cat conftest.err
>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } &&
21327 { ac_try
='test -z "$ac_c_werror_flag"
21328 || test ! -s conftest.err'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; } &&
21334 { ac_try
='test -s conftest$ac_exeext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_cv_lib_png_png_check_sig
=yes
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.
$ac_ext >&5
21345 ac_cv_lib_png_png_check_sig
=no
21347 rm -f conftest.err conftest.
$ac_objext \
21348 conftest
$ac_exeext conftest.
$ac_ext
21349 LIBS
=$ac_check_lib_save_LIBS
21351 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21352 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21353 if test $ac_cv_lib_png_png_check_sig = yes; then
21354 PNG_LINK
=" -lpng -lz"
21359 if test "x$PNG_LINK" = "x" ; then
21360 if test "$wxUSE_LIBPNG" = "sys" ; then
21361 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21362 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21363 { (exit 1); exit 1; }; }
21365 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21366 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21367 wxUSE_LIBPNG
=builtin
21375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21380 if test "$wxUSE_LIBJPEG" != "no" ; then
21381 cat >>confdefs.h
<<\_ACEOF
21382 #define wxUSE_LIBJPEG 1
21386 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21387 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21388 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21392 if test "$wxUSE_MGL" != 1 ; then
21393 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21394 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21395 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21396 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 cat >conftest.
$ac_ext <<_ACEOF
21402 cat confdefs.h
>>conftest.
$ac_ext
21403 cat >>conftest.
$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21406 #undef HAVE_STDLIB_H
21408 #include <jpeglib.h>
21419 rm -f conftest.
$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21423 grep -v '^ *+' conftest.er1
>conftest.err
21425 cat conftest.err
>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try
='test -z "$ac_c_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try
='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_cv_header_jpeglib_h
=yes
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21446 ac_cv_header_jpeglib_h
=no
21449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21454 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21456 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21457 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21458 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21459 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 ac_check_lib_save_LIBS
=$LIBS
21463 LIBS
="-ljpeg $LIBS"
21464 cat >conftest.
$ac_ext <<_ACEOF
21467 cat confdefs.h
>>conftest.
$ac_ext
21468 cat >>conftest.
$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21471 /* Override any gcc2 internal prototype to avoid an error. */
21475 /* We use char because int might match the return type of a gcc2
21476 builtin and then its argument prototype would still apply. */
21477 char jpeg_read_header ();
21481 jpeg_read_header ();
21486 rm -f conftest.
$ac_objext conftest
$ac_exeext
21487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21488 (eval $ac_link) 2>conftest.er1
21490 grep -v '^ *+' conftest.er1
>conftest.err
21492 cat conftest.err
>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 { ac_try
='test -z "$ac_c_werror_flag"
21496 || test ! -s conftest.err'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; } &&
21502 { ac_try
='test -s conftest$ac_exeext'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; }; then
21508 ac_cv_lib_jpeg_jpeg_read_header
=yes
21510 echo "$as_me: failed program was:" >&5
21511 sed 's/^/| /' conftest.
$ac_ext >&5
21513 ac_cv_lib_jpeg_jpeg_read_header
=no
21515 rm -f conftest.err conftest.
$ac_objext \
21516 conftest
$ac_exeext conftest.
$ac_ext
21517 LIBS
=$ac_check_lib_save_LIBS
21519 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21520 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21521 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21522 JPEG_LINK
=" -ljpeg"
21527 if test "x$JPEG_LINK" = "x" ; then
21528 if test "$wxUSE_LIBJPEG" = "sys" ; then
21529 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21530 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21531 { (exit 1); exit 1; }; }
21533 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21534 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21535 wxUSE_LIBJPEG
=builtin
21546 TIFF_PREREQ_LINKS
=-lm
21547 if test "$wxUSE_LIBTIFF" != "no" ; then
21548 cat >>confdefs.h
<<\_ACEOF
21549 #define wxUSE_LIBTIFF 1
21553 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21554 if test "$wxUSE_LIBJPEG" = "sys"; then
21555 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21557 if test "$wxUSE_ZLIB" = "sys"; then
21558 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21560 if test "${ac_cv_header_tiffio_h+set}" = set; then
21561 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21562 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21563 if test "${ac_cv_header_tiffio_h+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21567 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21569 # Is the header compilable?
21570 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21571 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21572 cat >conftest.
$ac_ext <<_ACEOF
21575 cat confdefs.h
>>conftest.
$ac_ext
21576 cat >>conftest.
$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 #include <tiffio.h>
21581 rm -f conftest.
$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21585 grep -v '^ *+' conftest.er1
>conftest.err
21587 cat conftest.err
>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try
='test -z "$ac_c_werror_flag"
21591 || test ! -s conftest.err'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try
='test -s conftest.$ac_objext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 ac_header_compiler
=yes
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21608 ac_header_compiler
=no
21610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21612 echo "${ECHO_T}$ac_header_compiler" >&6
21614 # Is the header present?
21615 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21616 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21617 cat >conftest.
$ac_ext <<_ACEOF
21620 cat confdefs.h
>>conftest.
$ac_ext
21621 cat >>conftest.
$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 #include <tiffio.h>
21625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21628 grep -v '^ *+' conftest.er1
>conftest.err
21630 cat conftest.err
>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } >/dev
/null
; then
21633 if test -s conftest.err
; then
21634 ac_cpp_err
=$ac_c_preproc_warn_flag
21635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21642 if test -z "$ac_cpp_err"; then
21643 ac_header_preproc
=yes
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.
$ac_ext >&5
21648 ac_header_preproc
=no
21650 rm -f conftest.err conftest.
$ac_ext
21651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21652 echo "${ECHO_T}$ac_header_preproc" >&6
21654 # So? What about this header?
21655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21657 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21658 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21659 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21660 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21661 ac_header_preproc
=yes
21664 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21665 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21666 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21667 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21669 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21671 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21673 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21675 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21678 ## ----------------------------------------- ##
21679 ## Report this to wx-dev@lists.wxwidgets.org ##
21680 ## ----------------------------------------- ##
21683 sed "s/^/$as_me: WARNING: /" >&2
21686 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21687 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21688 if test "${ac_cv_header_tiffio_h+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 ac_cv_header_tiffio_h
=$ac_header_preproc
21693 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21694 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21697 if test $ac_cv_header_tiffio_h = yes; then
21699 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21700 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21701 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 ac_check_lib_save_LIBS
=$LIBS
21705 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21706 cat >conftest.
$ac_ext <<_ACEOF
21709 cat confdefs.h
>>conftest.
$ac_ext
21710 cat >>conftest.
$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21713 /* Override any gcc2 internal prototype to avoid an error. */
21717 /* We use char because int might match the return type of a gcc2
21718 builtin and then its argument prototype would still apply. */
21728 rm -f conftest.
$ac_objext conftest
$ac_exeext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>conftest.er1
21732 grep -v '^ *+' conftest.er1
>conftest.err
21734 cat conftest.err
>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try
='test -z "$ac_c_werror_flag"
21738 || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try
='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_cv_lib_tiff_TIFFError
=yes
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21755 ac_cv_lib_tiff_TIFFError
=no
21757 rm -f conftest.err conftest.
$ac_objext \
21758 conftest
$ac_exeext conftest.
$ac_ext
21759 LIBS
=$ac_check_lib_save_LIBS
21761 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21762 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21763 if test $ac_cv_lib_tiff_TIFFError = yes; then
21764 TIFF_LINK
=" -ltiff"
21773 if test "x$TIFF_LINK" = "x" ; then
21774 if test "$wxUSE_LIBTIFF" = "sys" ; then
21775 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21776 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21777 { (exit 1); exit 1; }; }
21779 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21780 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21781 wxUSE_LIBTIFF
=builtin
21790 if test "$wxUSE_EXPAT" != "no"; then
21792 cat >>confdefs.h
<<\_ACEOF
21793 #define wxUSE_EXPAT 1
21796 cat >>confdefs.h
<<\_ACEOF
21797 #define wxUSE_XML 1
21801 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21802 if test "${ac_cv_header_expat_h+set}" = set; then
21803 echo "$as_me:$LINENO: checking for expat.h" >&5
21804 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21805 if test "${ac_cv_header_expat_h+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21809 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21811 # Is the header compilable?
21812 echo "$as_me:$LINENO: checking expat.h usability" >&5
21813 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21814 cat >conftest.
$ac_ext <<_ACEOF
21817 cat confdefs.h
>>conftest.
$ac_ext
21818 cat >>conftest.
$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21823 rm -f conftest.
$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21827 grep -v '^ *+' conftest.er1
>conftest.err
21829 cat conftest.err
>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try
='test -z "$ac_c_werror_flag"
21833 || test ! -s conftest.err'
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); }; } &&
21839 { ac_try
='test -s conftest.$ac_objext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_header_compiler
=yes
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.
$ac_ext >&5
21850 ac_header_compiler
=no
21852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21854 echo "${ECHO_T}$ac_header_compiler" >&6
21856 # Is the header present?
21857 echo "$as_me:$LINENO: checking expat.h presence" >&5
21858 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21859 cat >conftest.
$ac_ext <<_ACEOF
21862 cat confdefs.h
>>conftest.
$ac_ext
21863 cat >>conftest.
$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21870 grep -v '^ *+' conftest.er1
>conftest.err
21872 cat conftest.err
>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); } >/dev
/null
; then
21875 if test -s conftest.err
; then
21876 ac_cpp_err
=$ac_c_preproc_warn_flag
21877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21884 if test -z "$ac_cpp_err"; then
21885 ac_header_preproc
=yes
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.
$ac_ext >&5
21890 ac_header_preproc
=no
21892 rm -f conftest.err conftest.
$ac_ext
21893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21894 echo "${ECHO_T}$ac_header_preproc" >&6
21896 # So? What about this header?
21897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21899 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21900 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21902 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21903 ac_header_preproc
=yes
21906 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21907 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21909 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21910 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21911 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21912 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21913 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21914 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21915 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21916 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21917 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21920 ## ----------------------------------------- ##
21921 ## Report this to wx-dev@lists.wxwidgets.org ##
21922 ## ----------------------------------------- ##
21925 sed "s/^/$as_me: WARNING: /" >&2
21928 echo "$as_me:$LINENO: checking for expat.h" >&5
21929 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21930 if test "${ac_cv_header_expat_h+set}" = set; then
21931 echo $ECHO_N "(cached) $ECHO_C" >&6
21933 ac_cv_header_expat_h
=$ac_header_preproc
21935 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21936 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21939 if test $ac_cv_header_expat_h = yes; then
21944 if test "x$found_expat_h" = "x1"; then
21945 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21946 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21947 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21954 ac_cpp
='$CXXCPP $CPPFLAGS'
21955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21959 cat >conftest.
$ac_ext <<_ACEOF
21962 cat confdefs.h
>>conftest.
$ac_ext
21963 cat >>conftest.
$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21974 rm -f conftest.
$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>conftest.er1
21978 grep -v '^ *+' conftest.er1
>conftest.err
21980 cat conftest.err
>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } &&
21983 { ac_try
='test -z "$ac_cxx_werror_flag"
21984 || test ! -s conftest.err'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try
='test -s conftest.$ac_objext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 wx_cv_expat_is_not_broken
=yes
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.
$ac_ext >&5
22001 wx_cv_expat_is_not_broken
=no
22004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22006 ac_cpp
='$CPP $CPPFLAGS'
22007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22014 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22015 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22016 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22017 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22018 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22019 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22020 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 ac_check_lib_save_LIBS
=$LIBS
22023 LIBS
="-lexpat $LIBS"
22024 cat >conftest.
$ac_ext <<_ACEOF
22027 cat confdefs.h
>>conftest.
$ac_ext
22028 cat >>conftest.
$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22031 /* Override any gcc2 internal prototype to avoid an error. */
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22037 char XML_ParserCreate ();
22041 XML_ParserCreate ();
22046 rm -f conftest.
$ac_objext conftest
$ac_exeext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22048 (eval $ac_link) 2>conftest.er1
22050 grep -v '^ *+' conftest.er1
>conftest.err
22052 cat conftest.err
>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try
='test -z "$ac_c_werror_flag"
22056 || test ! -s conftest.err'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; } &&
22062 { ac_try
='test -s conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_lib_expat_XML_ParserCreate
=yes
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22073 ac_cv_lib_expat_XML_ParserCreate
=no
22075 rm -f conftest.err conftest.
$ac_objext \
22076 conftest
$ac_exeext conftest.
$ac_ext
22077 LIBS
=$ac_check_lib_save_LIBS
22079 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22080 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22081 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22082 EXPAT_LINK
=" -lexpat"
22087 if test "x$EXPAT_LINK" = "x" ; then
22088 if test "$wxUSE_EXPAT" = "sys" ; then
22089 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22090 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22091 { (exit 1); exit 1; }; }
22093 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22094 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22095 wxUSE_EXPAT
=builtin
22101 if test "$wxUSE_EXPAT" = "builtin" ; then
22104 subdirs
="$subdirs src/expat"
22111 if test "$wxUSE_LIBMSPACK" != "no"; then
22113 if test "${ac_cv_header_mspack_h+set}" = set; then
22114 echo "$as_me:$LINENO: checking for mspack.h" >&5
22115 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22116 if test "${ac_cv_header_mspack_h+set}" = set; then
22117 echo $ECHO_N "(cached) $ECHO_C" >&6
22119 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22120 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22122 # Is the header compilable?
22123 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22124 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22125 cat >conftest.
$ac_ext <<_ACEOF
22128 cat confdefs.h
>>conftest.
$ac_ext
22129 cat >>conftest.
$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 #include <mspack.h>
22134 rm -f conftest.
$ac_objext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22136 (eval $ac_compile) 2>conftest.er1
22138 grep -v '^ *+' conftest.er1
>conftest.err
22140 cat conftest.err
>&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } &&
22143 { ac_try
='test -z "$ac_c_werror_flag"
22144 || test ! -s conftest.err'
22145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146 (eval $ac_try) 2>&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); }; } &&
22150 { ac_try
='test -s conftest.$ac_objext'
22151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152 (eval $ac_try) 2>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 ac_header_compiler
=yes
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.
$ac_ext >&5
22161 ac_header_compiler
=no
22163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22165 echo "${ECHO_T}$ac_header_compiler" >&6
22167 # Is the header present?
22168 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22169 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22170 cat >conftest.
$ac_ext <<_ACEOF
22173 cat confdefs.h
>>conftest.
$ac_ext
22174 cat >>conftest.
$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 #include <mspack.h>
22178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22181 grep -v '^ *+' conftest.er1
>conftest.err
22183 cat conftest.err
>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } >/dev
/null
; then
22186 if test -s conftest.err
; then
22187 ac_cpp_err
=$ac_c_preproc_warn_flag
22188 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22195 if test -z "$ac_cpp_err"; then
22196 ac_header_preproc
=yes
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.
$ac_ext >&5
22201 ac_header_preproc
=no
22203 rm -f conftest.err conftest.
$ac_ext
22204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22205 echo "${ECHO_T}$ac_header_preproc" >&6
22207 # So? What about this header?
22208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22210 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22211 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22212 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22213 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22214 ac_header_preproc
=yes
22217 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22218 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22219 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22220 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22221 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22222 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22223 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22224 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22225 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22226 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22227 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22228 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22231 ## ----------------------------------------- ##
22232 ## Report this to wx-dev@lists.wxwidgets.org ##
22233 ## ----------------------------------------- ##
22236 sed "s/^/$as_me: WARNING: /" >&2
22239 echo "$as_me:$LINENO: checking for mspack.h" >&5
22240 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22241 if test "${ac_cv_header_mspack_h+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22244 ac_cv_header_mspack_h
=$ac_header_preproc
22246 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22247 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22250 if test $ac_cv_header_mspack_h = yes; then
22255 if test "x$found_mspack_h" = "x1"; then
22256 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22257 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22258 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22259 echo $ECHO_N "(cached) $ECHO_C" >&6
22261 ac_check_lib_save_LIBS
=$LIBS
22262 LIBS
="-lmspack $LIBS"
22263 cat >conftest.
$ac_ext <<_ACEOF
22266 cat confdefs.h
>>conftest.
$ac_ext
22267 cat >>conftest.
$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22270 /* Override any gcc2 internal prototype to avoid an error. */
22274 /* We use char because int might match the return type of a gcc2
22275 builtin and then its argument prototype would still apply. */
22276 char mspack_create_chm_decompressor ();
22280 mspack_create_chm_decompressor ();
22285 rm -f conftest.
$ac_objext conftest
$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try
='test -z "$ac_c_werror_flag"
22295 || test ! -s conftest.err'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; } &&
22301 { ac_try
='test -s conftest$ac_exeext'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; }; then
22307 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.
$ac_ext >&5
22312 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22314 rm -f conftest.err conftest.
$ac_objext \
22315 conftest
$ac_exeext conftest.
$ac_ext
22316 LIBS
=$ac_check_lib_save_LIBS
22318 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22319 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22320 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22321 MSPACK_LINK
=" -lmspack"
22325 if test "x$MSPACK_LINK" = "x" ; then
22328 cat >>confdefs.h
<<\_ACEOF
22329 #define wxUSE_LIBMSPACK 1
22344 if test "$USE_WIN32" = 1 ; then
22346 for ac_header
in w32api.h
22348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22350 echo "$as_me:$LINENO: checking for $ac_header" >&5
22351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22358 # Is the header compilable?
22359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22361 cat >conftest.
$ac_ext <<_ACEOF
22364 cat confdefs.h
>>conftest.
$ac_ext
22365 cat >>conftest.
$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 $ac_includes_default
22368 #include <$ac_header>
22370 rm -f conftest.
$ac_objext
22371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22372 (eval $ac_compile) 2>conftest.er1
22374 grep -v '^ *+' conftest.er1
>conftest.err
22376 cat conftest.err
>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try
='test -z "$ac_c_werror_flag"
22380 || test ! -s conftest.err'
22381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382 (eval $ac_try) 2>&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; } &&
22386 { ac_try
='test -s conftest.$ac_objext'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 ac_header_compiler
=yes
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.
$ac_ext >&5
22397 ac_header_compiler
=no
22399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22401 echo "${ECHO_T}$ac_header_compiler" >&6
22403 # Is the header present?
22404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22406 cat >conftest.
$ac_ext <<_ACEOF
22409 cat confdefs.h
>>conftest.
$ac_ext
22410 cat >>conftest.
$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 #include <$ac_header>
22414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22417 grep -v '^ *+' conftest.er1
>conftest.err
22419 cat conftest.err
>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } >/dev
/null
; then
22422 if test -s conftest.err
; then
22423 ac_cpp_err
=$ac_c_preproc_warn_flag
22424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22431 if test -z "$ac_cpp_err"; then
22432 ac_header_preproc
=yes
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 ac_header_preproc
=no
22439 rm -f conftest.err conftest.
$ac_ext
22440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22441 echo "${ECHO_T}$ac_header_preproc" >&6
22443 # So? What about this header?
22444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22450 ac_header_preproc
=yes
22453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22467 ## ----------------------------------------- ##
22468 ## Report this to wx-dev@lists.wxwidgets.org ##
22469 ## ----------------------------------------- ##
22472 sed "s/^/$as_me: WARNING: /" >&2
22475 echo "$as_me:$LINENO: checking for $ac_header" >&5
22476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22480 eval "$as_ac_Header=\$ac_header_preproc"
22482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22487 cat >>confdefs.h
<<_ACEOF
22488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22495 if test "${ac_cv_header_windows_h+set}" = set; then
22496 echo "$as_me:$LINENO: checking for windows.h" >&5
22497 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22498 if test "${ac_cv_header_windows_h+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22502 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22504 # Is the header compilable?
22505 echo "$as_me:$LINENO: checking windows.h usability" >&5
22506 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22507 cat >conftest.
$ac_ext <<_ACEOF
22510 cat confdefs.h
>>conftest.
$ac_ext
22511 cat >>conftest.
$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 $ac_includes_default
22514 #include <windows.h>
22516 rm -f conftest.
$ac_objext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518 (eval $ac_compile) 2>conftest.er1
22520 grep -v '^ *+' conftest.er1
>conftest.err
22522 cat conftest.err
>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try
='test -z "$ac_c_werror_flag"
22526 || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try
='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_header_compiler
=yes
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.
$ac_ext >&5
22543 ac_header_compiler
=no
22545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22547 echo "${ECHO_T}$ac_header_compiler" >&6
22549 # Is the header present?
22550 echo "$as_me:$LINENO: checking windows.h presence" >&5
22551 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22552 cat >conftest.
$ac_ext <<_ACEOF
22555 cat confdefs.h
>>conftest.
$ac_ext
22556 cat >>conftest.
$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 #include <windows.h>
22560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22563 grep -v '^ *+' conftest.er1
>conftest.err
22565 cat conftest.err
>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } >/dev
/null
; then
22568 if test -s conftest.err
; then
22569 ac_cpp_err
=$ac_c_preproc_warn_flag
22570 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22577 if test -z "$ac_cpp_err"; then
22578 ac_header_preproc
=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 ac_header_preproc
=no
22585 rm -f conftest.err conftest.
$ac_ext
22586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22587 echo "${ECHO_T}$ac_header_preproc" >&6
22589 # So? What about this header?
22590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22592 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22593 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22594 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22595 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22596 ac_header_preproc
=yes
22599 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22600 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22601 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22602 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22603 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22604 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22605 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22606 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22607 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22608 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22609 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22610 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22613 ## ----------------------------------------- ##
22614 ## Report this to wx-dev@lists.wxwidgets.org ##
22615 ## ----------------------------------------- ##
22618 sed "s/^/$as_me: WARNING: /" >&2
22621 echo "$as_me:$LINENO: checking for windows.h" >&5
22622 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22623 if test "${ac_cv_header_windows_h+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 ac_cv_header_windows_h
=$ac_header_preproc
22628 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22629 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22632 if test $ac_cv_header_windows_h = yes; then
22636 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22637 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22638 { (exit 1); exit 1; }; }
22644 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22646 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22647 LIBS
="$LIBS -loleacc"
22652 LIBS
="$LIBS -lkernel32 -luser32"
22653 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22656 if test "$wxUSE_ODBC" = "sys" ; then
22659 if test "$wxUSE_ODBC" = "yes" ; then
22660 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22661 cat >>confdefs.h
<<\_ACEOF
22662 #define wxUSE_ODBC 1
22667 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22668 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22670 WIN32INSTALL
=win32install
22673 if test "$wxUSE_GUI" = "yes"; then
22683 if test "$wxUSE_COCOA" = 1 ; then
22684 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22685 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22686 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22687 wxUSE_PRINTING_ARCHITECTURE
=no
22689 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22690 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22691 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22692 wxUSE_DRAG_AND_DROP
=no
22694 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22695 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22696 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22701 if test "$wxUSE_MSW" = 1 ; then
22707 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22711 if test "$wxUSE_GTK" = 1; then
22712 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22713 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22715 gtk_version_cached
=1
22716 if test "${wx_cv_lib_gtk+set}" = set; then
22717 echo $ECHO_N "(cached) $ECHO_C" >&6
22720 gtk_version_cached
=0
22721 echo "$as_me:$LINENO: result: " >&5
22722 echo "${ECHO_T}" >&6
22725 if test "$wxUSE_THREADS" = "yes"; then
22726 GTK_MODULES
=gthread
22730 if test "x$wxUSE_GTK2" = "xyes"; then
22731 # Check whether --enable-gtktest or --disable-gtktest was given.
22732 if test "${enable_gtktest+set}" = set; then
22733 enableval
="$enable_gtktest"
22739 pkg_config_args
=gtk
+-2.0
22740 for module
in .
$GTK_MODULES
22744 pkg_config_args
="$pkg_config_args gthread-2.0"
22751 # Extract the first word of "pkg-config", so it can be a program name with args.
22752 set dummy pkg
-config; ac_word
=$2
22753 echo "$as_me:$LINENO: checking for $ac_word" >&5
22754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22755 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22756 echo $ECHO_N "(cached) $ECHO_C" >&6
22758 case $PKG_CONFIG in
22760 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22764 for as_dir
in $PATH
22767 test -z "$as_dir" && as_dir
=.
22768 for ac_exec_ext
in '' $ac_executable_extensions; do
22769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22770 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22777 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22781 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22783 if test -n "$PKG_CONFIG"; then
22784 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22785 echo "${ECHO_T}$PKG_CONFIG" >&6
22787 echo "$as_me:$LINENO: result: no" >&5
22788 echo "${ECHO_T}no" >&6
22792 if test x
$PKG_CONFIG != xno
; then
22793 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22796 echo "*** pkg-config too old; version 0.7 or better required."
22804 min_gtk_version
=2.0.0
22805 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22806 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22808 if test x
$PKG_CONFIG != xno
; then
22809 ## don't try to run the test against uninstalled libtool libs
22810 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22811 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22815 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22822 if test x
"$no_gtk" = x
; then
22823 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22824 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22825 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22827 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22829 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22831 if test "x$enable_gtktest" = "xyes" ; then
22832 ac_save_CFLAGS
="$CFLAGS"
22833 ac_save_LIBS
="$LIBS"
22834 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22835 LIBS
="$GTK_LIBS $LIBS"
22837 if test "$cross_compiling" = yes; then
22838 echo $ac_n "cross compiling; assumed OK... $ac_c"
22840 cat >conftest.
$ac_ext <<_ACEOF
22843 cat confdefs.h
>>conftest.
$ac_ext
22844 cat >>conftest.
$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22847 #include <gtk/gtk.h>
22849 #include <stdlib.h>
22854 int major, minor, micro;
22857 system ("touch conf.gtktest");
22859 /* HP/UX 9 (%@#!) writes to sscanf strings */
22860 tmp_version = g_strdup("$min_gtk_version");
22861 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22862 printf("%s, bad version string\n", "$min_gtk_version");
22866 if ((gtk_major_version != $gtk_config_major_version) ||
22867 (gtk_minor_version != $gtk_config_minor_version) ||
22868 (gtk_micro_version != $gtk_config_micro_version))
22870 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22871 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22872 gtk_major_version, gtk_minor_version, gtk_micro_version);
22873 printf ("*** was found! If pkg-config was correct, then it is best\n");
22874 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22875 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22876 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22877 printf("*** required on your system.\n");
22878 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22879 printf("*** to point to the correct configuration files\n");
22881 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22882 (gtk_minor_version != GTK_MINOR_VERSION) ||
22883 (gtk_micro_version != GTK_MICRO_VERSION))
22885 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22886 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22887 printf("*** library (version %d.%d.%d)\n",
22888 gtk_major_version, gtk_minor_version, gtk_micro_version);
22892 if ((gtk_major_version > major) ||
22893 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22894 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22900 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22901 gtk_major_version, gtk_minor_version, gtk_micro_version);
22902 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22903 major, minor, micro);
22904 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22906 printf("*** If you have already installed a sufficiently new version, this error\n");
22907 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22908 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22909 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22910 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22911 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22912 printf("*** so that the correct libraries are found at run-time))\n");
22919 rm -f conftest
$ac_exeext
22920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22921 (eval $ac_link) 2>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; }; then
22932 echo "$as_me: program exited with status $ac_status" >&5
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.
$ac_ext >&5
22936 ( exit $ac_status )
22939 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22941 CFLAGS
="$ac_save_CFLAGS"
22942 LIBS
="$ac_save_LIBS"
22945 if test "x$no_gtk" = x
; then
22946 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22947 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22950 echo "$as_me:$LINENO: result: no" >&5
22951 echo "${ECHO_T}no" >&6
22952 if test "$PKG_CONFIG" = "no" ; then
22953 echo "*** A new enough version of pkg-config was not found."
22954 echo "*** See http://pkgconfig.sourceforge.net"
22956 if test -f conf.gtktest
; then
22959 echo "*** Could not run GTK+ test program, checking why..."
22960 ac_save_CFLAGS
="$CFLAGS"
22961 ac_save_LIBS
="$LIBS"
22962 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22963 LIBS
="$LIBS $GTK_LIBS"
22964 cat >conftest.
$ac_ext <<_ACEOF
22967 cat confdefs.h
>>conftest.
$ac_ext
22968 cat >>conftest.
$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22971 #include <gtk/gtk.h>
22977 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22982 rm -f conftest.
$ac_objext conftest
$ac_exeext
22983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22984 (eval $ac_link) 2>conftest.er1
22986 grep -v '^ *+' conftest.er1
>conftest.err
22988 cat conftest.err
>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } &&
22991 { ac_try
='test -z "$ac_c_werror_flag"
22992 || test ! -s conftest.err'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; } &&
22998 { ac_try
='test -s conftest$ac_exeext'
22999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23000 (eval $ac_try) 2>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); }; }; then
23004 echo "*** The test program compiled, but did not run. This usually means"
23005 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23006 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23007 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23008 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23009 echo "*** is required on your system"
23011 echo "*** If you have an old version installed, it is best to remove it, although"
23012 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.
$ac_ext >&5
23017 echo "*** The test program failed to compile or link. See the file config.log for the"
23018 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23020 rm -f conftest.err conftest.
$ac_objext \
23021 conftest
$ac_exeext conftest.
$ac_ext
23022 CFLAGS
="$ac_save_CFLAGS"
23023 LIBS
="$ac_save_LIBS"
23036 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23037 if test "${with_gtk_prefix+set}" = set; then
23038 withval
="$with_gtk_prefix"
23039 gtk_config_prefix
="$withval"
23041 gtk_config_prefix
=""
23044 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23045 if test "${with_gtk_exec_prefix+set}" = set; then
23046 withval
="$with_gtk_exec_prefix"
23047 gtk_config_exec_prefix
="$withval"
23049 gtk_config_exec_prefix
=""
23051 # Check whether --enable-gtktest or --disable-gtktest was given.
23052 if test "${enable_gtktest+set}" = set; then
23053 enableval
="$enable_gtktest"
23059 for module
in .
$GTK_MODULES
23063 gtk_config_args
="$gtk_config_args gthread"
23068 if test x
$gtk_config_exec_prefix != x
; then
23069 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23070 if test x
${GTK_CONFIG+set} != xset
; then
23071 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23074 if test x
$gtk_config_prefix != x
; then
23075 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23076 if test x
${GTK_CONFIG+set} != xset
; then
23077 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23081 # Extract the first word of "gtk-config", so it can be a program name with args.
23082 set dummy gtk
-config; ac_word
=$2
23083 echo "$as_me:$LINENO: checking for $ac_word" >&5
23084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23085 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 case $GTK_CONFIG in
23090 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23094 for as_dir
in $PATH
23097 test -z "$as_dir" && as_dir
=.
23098 for ac_exec_ext
in '' $ac_executable_extensions; do
23099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23100 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23107 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23111 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23113 if test -n "$GTK_CONFIG"; then
23114 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23115 echo "${ECHO_T}$GTK_CONFIG" >&6
23117 echo "$as_me:$LINENO: result: no" >&5
23118 echo "${ECHO_T}no" >&6
23121 min_gtk_version
=1.2.7
23122 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23123 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23125 if test "$GTK_CONFIG" = "no" ; then
23128 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23129 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23130 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23132 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23134 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23136 if test "x$enable_gtktest" = "xyes" ; then
23137 ac_save_CFLAGS
="$CFLAGS"
23138 ac_save_LIBS
="$LIBS"
23139 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23140 LIBS
="$GTK_LIBS $LIBS"
23142 if test "$cross_compiling" = yes; then
23143 echo $ac_n "cross compiling; assumed OK... $ac_c"
23145 cat >conftest.
$ac_ext <<_ACEOF
23148 cat confdefs.h
>>conftest.
$ac_ext
23149 cat >>conftest.
$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23152 #include <gtk/gtk.h>
23154 #include <stdlib.h>
23159 int major, minor, micro;
23162 system ("touch conf.gtktest");
23164 /* HP/UX 9 (%@#!) writes to sscanf strings */
23165 tmp_version = g_strdup("$min_gtk_version");
23166 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23167 printf("%s, bad version string\n", "$min_gtk_version");
23171 if ((gtk_major_version != $gtk_config_major_version) ||
23172 (gtk_minor_version != $gtk_config_minor_version) ||
23173 (gtk_micro_version != $gtk_config_micro_version))
23175 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23176 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23177 gtk_major_version, gtk_minor_version, gtk_micro_version);
23178 printf ("*** was found! If gtk-config was correct, then it is best\n");
23179 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23180 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23181 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23182 printf("*** required on your system.\n");
23183 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23184 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23185 printf("*** before re-running configure\n");
23187 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23188 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23189 (gtk_minor_version != GTK_MINOR_VERSION) ||
23190 (gtk_micro_version != GTK_MICRO_VERSION))
23192 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23193 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23194 printf("*** library (version %d.%d.%d)\n",
23195 gtk_major_version, gtk_minor_version, gtk_micro_version);
23197 #endif /* defined (GTK_MAJOR_VERSION) ... */
23200 if ((gtk_major_version > major) ||
23201 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23202 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23208 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23209 gtk_major_version, gtk_minor_version, gtk_micro_version);
23210 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23211 major, minor, micro);
23212 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23214 printf("*** If you have already installed a sufficiently new version, this error\n");
23215 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23216 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23217 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23218 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23219 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23220 printf("*** so that the correct libraries are found at run-time))\n");
23227 rm -f conftest
$ac_exeext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229 (eval $ac_link) 2>&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23240 echo "$as_me: program exited with status $ac_status" >&5
23241 echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.
$ac_ext >&5
23244 ( exit $ac_status )
23247 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23249 CFLAGS
="$ac_save_CFLAGS"
23250 LIBS
="$ac_save_LIBS"
23253 if test "x$no_gtk" = x
; then
23254 echo "$as_me:$LINENO: result: yes" >&5
23255 echo "${ECHO_T}yes" >&6
23256 wx_cv_lib_gtk
=1.2.7
23258 echo "$as_me:$LINENO: result: no" >&5
23259 echo "${ECHO_T}no" >&6
23260 if test "$GTK_CONFIG" = "no" ; then
23261 echo "*** The gtk-config script installed by GTK could not be found"
23262 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23263 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23264 echo "*** full path to gtk-config."
23266 if test -f conf.gtktest
; then
23269 echo "*** Could not run GTK test program, checking why..."
23270 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23271 LIBS
="$LIBS $GTK_LIBS"
23272 cat >conftest.
$ac_ext <<_ACEOF
23275 cat confdefs.h
>>conftest.
$ac_ext
23276 cat >>conftest.
$ac_ext <<_ACEOF
23277 /* end confdefs.h. */
23279 #include <gtk/gtk.h>
23285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23290 rm -f conftest.
$ac_objext conftest
$ac_exeext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>conftest.er1
23294 grep -v '^ *+' conftest.er1
>conftest.err
23296 cat conftest.err
>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } &&
23299 { ac_try
='test -z "$ac_c_werror_flag"
23300 || test ! -s conftest.err'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try
='test -s conftest$ac_exeext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 echo "*** The test program compiled, but did not run. This usually means"
23313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23317 echo "*** is required on your system"
23319 echo "*** If you have an old version installed, it is best to remove it, although"
23320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23323 echo "*** came with the system with the command"
23325 echo "*** rpm --erase --nodeps gtk gtk-devel"
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.
$ac_ext >&5
23330 echo "*** The test program failed to compile or link. See the file config.log for the"
23331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23333 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23335 rm -f conftest.err conftest.
$ac_objext \
23336 conftest
$ac_exeext conftest.
$ac_ext
23337 CFLAGS
="$ac_save_CFLAGS"
23338 LIBS
="$ac_save_LIBS"
23350 if test -z "$wx_cv_lib_gtk"; then
23352 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23353 if test "${with_gtk_prefix+set}" = set; then
23354 withval
="$with_gtk_prefix"
23355 gtk_config_prefix
="$withval"
23357 gtk_config_prefix
=""
23360 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23361 if test "${with_gtk_exec_prefix+set}" = set; then
23362 withval
="$with_gtk_exec_prefix"
23363 gtk_config_exec_prefix
="$withval"
23365 gtk_config_exec_prefix
=""
23367 # Check whether --enable-gtktest or --disable-gtktest was given.
23368 if test "${enable_gtktest+set}" = set; then
23369 enableval
="$enable_gtktest"
23375 for module
in .
$GTK_MODULES
23379 gtk_config_args
="$gtk_config_args gthread"
23384 if test x
$gtk_config_exec_prefix != x
; then
23385 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23386 if test x
${GTK_CONFIG+set} != xset
; then
23387 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23390 if test x
$gtk_config_prefix != x
; then
23391 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23392 if test x
${GTK_CONFIG+set} != xset
; then
23393 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23397 # Extract the first word of "gtk-config", so it can be a program name with args.
23398 set dummy gtk
-config; ac_word
=$2
23399 echo "$as_me:$LINENO: checking for $ac_word" >&5
23400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23401 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23404 case $GTK_CONFIG in
23406 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23410 for as_dir
in $PATH
23413 test -z "$as_dir" && as_dir
=.
23414 for ac_exec_ext
in '' $ac_executable_extensions; do
23415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23416 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23423 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23427 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23429 if test -n "$GTK_CONFIG"; then
23430 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23431 echo "${ECHO_T}$GTK_CONFIG" >&6
23433 echo "$as_me:$LINENO: result: no" >&5
23434 echo "${ECHO_T}no" >&6
23437 min_gtk_version
=1.2.3
23438 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23439 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23441 if test "$GTK_CONFIG" = "no" ; then
23444 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23445 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23446 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23448 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23450 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23452 if test "x$enable_gtktest" = "xyes" ; then
23453 ac_save_CFLAGS
="$CFLAGS"
23454 ac_save_LIBS
="$LIBS"
23455 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23456 LIBS
="$GTK_LIBS $LIBS"
23458 if test "$cross_compiling" = yes; then
23459 echo $ac_n "cross compiling; assumed OK... $ac_c"
23461 cat >conftest.
$ac_ext <<_ACEOF
23464 cat confdefs.h
>>conftest.
$ac_ext
23465 cat >>conftest.
$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23468 #include <gtk/gtk.h>
23470 #include <stdlib.h>
23475 int major, minor, micro;
23478 system ("touch conf.gtktest");
23480 /* HP/UX 9 (%@#!) writes to sscanf strings */
23481 tmp_version = g_strdup("$min_gtk_version");
23482 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23483 printf("%s, bad version string\n", "$min_gtk_version");
23487 if ((gtk_major_version != $gtk_config_major_version) ||
23488 (gtk_minor_version != $gtk_config_minor_version) ||
23489 (gtk_micro_version != $gtk_config_micro_version))
23491 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23492 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23493 gtk_major_version, gtk_minor_version, gtk_micro_version);
23494 printf ("*** was found! If gtk-config was correct, then it is best\n");
23495 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23496 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23497 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23498 printf("*** required on your system.\n");
23499 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23500 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23501 printf("*** before re-running configure\n");
23503 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23504 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23505 (gtk_minor_version != GTK_MINOR_VERSION) ||
23506 (gtk_micro_version != GTK_MICRO_VERSION))
23508 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23509 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23510 printf("*** library (version %d.%d.%d)\n",
23511 gtk_major_version, gtk_minor_version, gtk_micro_version);
23513 #endif /* defined (GTK_MAJOR_VERSION) ... */
23516 if ((gtk_major_version > major) ||
23517 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23518 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23524 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23525 gtk_major_version, gtk_minor_version, gtk_micro_version);
23526 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23527 major, minor, micro);
23528 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23530 printf("*** If you have already installed a sufficiently new version, this error\n");
23531 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23532 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23533 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23534 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23535 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23536 printf("*** so that the correct libraries are found at run-time))\n");
23543 rm -f conftest
$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23556 echo "$as_me: program exited with status $ac_status" >&5
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.
$ac_ext >&5
23560 ( exit $ac_status )
23563 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23565 CFLAGS
="$ac_save_CFLAGS"
23566 LIBS
="$ac_save_LIBS"
23569 if test "x$no_gtk" = x
; then
23570 echo "$as_me:$LINENO: result: yes" >&5
23571 echo "${ECHO_T}yes" >&6
23572 wx_cv_lib_gtk
=1.2.3
23574 echo "$as_me:$LINENO: result: no" >&5
23575 echo "${ECHO_T}no" >&6
23576 if test "$GTK_CONFIG" = "no" ; then
23577 echo "*** The gtk-config script installed by GTK could not be found"
23578 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23579 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23580 echo "*** full path to gtk-config."
23582 if test -f conf.gtktest
; then
23585 echo "*** Could not run GTK test program, checking why..."
23586 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23587 LIBS
="$LIBS $GTK_LIBS"
23588 cat >conftest.
$ac_ext <<_ACEOF
23591 cat confdefs.h
>>conftest.
$ac_ext
23592 cat >>conftest.
$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23595 #include <gtk/gtk.h>
23601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23606 rm -f conftest.
$ac_objext conftest
$ac_exeext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23608 (eval $ac_link) 2>conftest.er1
23610 grep -v '^ *+' conftest.er1
>conftest.err
23612 cat conftest.err
>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try
='test -z "$ac_c_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try
='test -s conftest$ac_exeext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 echo "*** The test program compiled, but did not run. This usually means"
23629 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23630 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23631 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23632 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23633 echo "*** is required on your system"
23635 echo "*** If you have an old version installed, it is best to remove it, although"
23636 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23638 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23639 echo "*** came with the system with the command"
23641 echo "*** rpm --erase --nodeps gtk gtk-devel"
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.
$ac_ext >&5
23646 echo "*** The test program failed to compile or link. See the file config.log for the"
23647 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23648 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23649 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23651 rm -f conftest.err conftest.
$ac_objext \
23652 conftest
$ac_exeext conftest.
$ac_ext
23653 CFLAGS
="$ac_save_CFLAGS"
23654 LIBS
="$ac_save_LIBS"
23668 if test -z "$wx_cv_lib_gtk"; then
23671 wx_cv_cflags_gtk
=$GTK_CFLAGS
23672 wx_cv_libs_gtk
=$GTK_LIBS
23679 if test "$gtk_version_cached" = 1; then
23680 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23681 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23684 case "$wx_cv_lib_gtk" in
23693 *) { { echo "$as_me:$LINENO: error:
23694 Please check that gtk-config is in path, the directory
23695 where GTK+ libraries are installed (returned by
23696 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23697 equivalent variable and GTK+ is version 1.2.3 or above.
23699 echo "$as_me: error:
23700 Please check that gtk-config is in path, the directory
23701 where GTK+ libraries are installed (returned by
23702 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23703 equivalent variable and GTK+ is version 1.2.3 or above.
23705 { (exit 1); exit 1; }; }
23709 if test "$WXGTK20" = 1; then
23710 save_CFLAGS
="$CFLAGS"
23712 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23713 LIBS
="$LIBS $GTK_LIBS"
23716 for ac_func
in pango_font_family_is_monospace
23718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23719 echo "$as_me:$LINENO: checking for $ac_func" >&5
23720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23721 if eval "test \"\${$as_ac_var+set}\" = set"; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 cat >conftest.
$ac_ext <<_ACEOF
23727 cat confdefs.h
>>conftest.
$ac_ext
23728 cat >>conftest.
$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23732 #define $ac_func innocuous_$ac_func
23734 /* System header to define __stub macros and hopefully few prototypes,
23735 which can conflict with char $ac_func (); below.
23736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23737 <limits.h> exists even on freestanding compilers. */
23740 # include <limits.h>
23742 # include <assert.h>
23747 /* Override any gcc2 internal prototype to avoid an error. */
23752 /* We use char because int might match the return type of a gcc2
23753 builtin and then its argument prototype would still apply. */
23755 /* The GNU C library defines this for functions which it implements
23756 to always fail with ENOSYS. Some functions are actually named
23757 something starting with __ and the normal name is an alias. */
23758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23761 char (*f) () = $ac_func;
23770 return f != $ac_func;
23775 rm -f conftest.
$ac_objext conftest
$ac_exeext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23777 (eval $ac_link) 2>conftest.er1
23779 grep -v '^ *+' conftest.er1
>conftest.err
23781 cat conftest.err
>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try
='test -z "$ac_c_werror_flag"
23785 || test ! -s conftest.err'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 eval "$as_ac_var=yes"
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 eval "$as_ac_var=no"
23804 rm -f conftest.err conftest.
$ac_objext \
23805 conftest
$ac_exeext conftest.
$ac_ext
23807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23809 if test `eval echo '${'$as_ac_var'}'` = yes; then
23810 cat >>confdefs.h
<<_ACEOF
23811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23818 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
23819 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
23820 cat >conftest.
$ac_ext <<_ACEOF
23823 cat confdefs.h
>>conftest.
$ac_ext
23824 cat >>conftest.
$ac_ext <<_ACEOF
23825 /* end confdefs.h. */
23827 #include <gtk/gtk.h>
23833 #if !GTK_CHECK_VERSION(2,4,0)
23834 #error "Not GTK+ 2.4"
23841 rm -f conftest.
$ac_objext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23843 (eval $ac_compile) 2>conftest.er1
23845 grep -v '^ *+' conftest.er1
>conftest.err
23847 cat conftest.err
>&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try
='test -z "$ac_c_werror_flag"
23851 || test ! -s conftest.err'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; } &&
23857 { ac_try
='test -s conftest.$ac_objext'
23858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23859 (eval $ac_try) 2>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); }; }; then
23864 cat >>confdefs.h
<<\_ACEOF
23865 #define __WXGTK24__ 1
23868 echo "$as_me:$LINENO: result: yes" >&5
23869 echo "${ECHO_T}yes" >&6
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.
$ac_ext >&5
23876 echo "$as_me:$LINENO: result: no" >&5
23877 echo "${ECHO_T}no" >&6
23880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23882 CFLAGS
="$save_CFLAGS"
23885 if test "$wxUSE_UNICODE" = "yes"; then
23886 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23887 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23892 if test "$USE_DARWIN" != 1; then
23894 for ac_func
in poll
23896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23897 echo "$as_me:$LINENO: checking for $ac_func" >&5
23898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23899 if eval "test \"\${$as_ac_var+set}\" = set"; then
23900 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 cat >conftest.
$ac_ext <<_ACEOF
23905 cat confdefs.h
>>conftest.
$ac_ext
23906 cat >>conftest.
$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23910 #define $ac_func innocuous_$ac_func
23912 /* System header to define __stub macros and hopefully few prototypes,
23913 which can conflict with char $ac_func (); below.
23914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23915 <limits.h> exists even on freestanding compilers. */
23918 # include <limits.h>
23920 # include <assert.h>
23925 /* Override any gcc2 internal prototype to avoid an error. */
23930 /* We use char because int might match the return type of a gcc2
23931 builtin and then its argument prototype would still apply. */
23933 /* The GNU C library defines this for functions which it implements
23934 to always fail with ENOSYS. Some functions are actually named
23935 something starting with __ and the normal name is an alias. */
23936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23939 char (*f) () = $ac_func;
23948 return f != $ac_func;
23953 rm -f conftest.
$ac_objext conftest
$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>conftest.er1
23957 grep -v '^ *+' conftest.er1
>conftest.err
23959 cat conftest.err
>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } &&
23962 { ac_try
='test -z "$ac_c_werror_flag"
23963 || test ! -s conftest.err'
23964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965 (eval $ac_try) 2>&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); }; } &&
23969 { ac_try
='test -s conftest$ac_exeext'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; }; then
23975 eval "$as_ac_var=yes"
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.
$ac_ext >&5
23980 eval "$as_ac_var=no"
23982 rm -f conftest.err conftest.
$ac_objext \
23983 conftest
$ac_exeext conftest.
$ac_ext
23985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23987 if test `eval echo '${'$as_ac_var'}'` = yes; then
23988 cat >>confdefs.h
<<_ACEOF
23989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23997 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23998 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24000 AFMINSTALL
=afminstall
24004 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24005 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24006 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24009 ac_check_lib_save_LIBS
=$LIBS
24011 cat >conftest.
$ac_ext <<_ACEOF
24014 cat confdefs.h
>>conftest.
$ac_ext
24015 cat >>conftest.
$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24018 /* Override any gcc2 internal prototype to avoid an error. */
24022 /* We use char because int might match the return type of a gcc2
24023 builtin and then its argument prototype would still apply. */
24024 char gdk_im_open ();
24033 rm -f conftest.
$ac_objext conftest
$ac_exeext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24035 (eval $ac_link) 2>conftest.er1
24037 grep -v '^ *+' conftest.er1
>conftest.err
24039 cat conftest.err
>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } &&
24042 { ac_try
='test -z "$ac_c_werror_flag"
24043 || test ! -s conftest.err'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; } &&
24049 { ac_try
='test -s conftest$ac_exeext'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; }; then
24055 ac_cv_lib_gdk_gdk_im_open
=yes
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.
$ac_ext >&5
24060 ac_cv_lib_gdk_gdk_im_open
=no
24062 rm -f conftest.err conftest.
$ac_objext \
24063 conftest
$ac_exeext conftest.
$ac_ext
24064 LIBS
=$ac_check_lib_save_LIBS
24066 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24067 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24068 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24069 cat >>confdefs.h
<<\_ACEOF
24077 if test "$wxUSE_GPE" = "yes"; then
24078 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24079 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24082 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24084 for ac_extension
in a so sl dylib
; do
24085 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24086 ac_find_libraries
=$ac_dir
24092 if test "$ac_find_libraries" != "" ; then
24094 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24096 if test $result = 0; then
24099 ac_path_to_link
=" -L$ac_find_libraries"
24102 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24104 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24105 echo "${ECHO_T}found at $ac_find_libraries" >&6
24107 echo "$as_me:$LINENO: result: not found" >&5
24108 echo "${ECHO_T}not found" >&6
24114 if test "$wxUSE_MGL" = 1; then
24115 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24116 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24117 if test "x$MGL_ROOT" = x
; then
24118 echo "$as_me:$LINENO: result: not found" >&5
24119 echo "${ECHO_T}not found" >&6
24120 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24121 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24122 { (exit 1); exit 1; }; }
24124 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24125 echo "${ECHO_T}$MGL_ROOT" >&6
24128 echo "$as_me:$LINENO: checking for libmgl location" >&5
24129 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24132 if test "x$wxUSE_SHARED" = xyes
; then
24133 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24135 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24139 mgl_os_candidates
="dos32/dj2"
24142 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24143 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24144 { (exit 1); exit 1; }; }
24150 for mgl_os_i
in $mgl_os_candidates ; do
24151 if test "x$mgl_os" = x
; then
24152 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24153 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24154 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24159 if test "x$mgl_lib_type" = x
; then
24160 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24161 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24162 mgl_lib_type
=release
24169 if test "x$mgl_os" = x
; then
24170 echo "$as_me:$LINENO: result: not found" >&5
24171 echo "${ECHO_T}not found" >&6
24172 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24173 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24174 { (exit 1); exit 1; }; }
24176 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24177 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24179 wxUSE_UNIVERSAL
="yes"
24181 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24182 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24184 AFMINSTALL
=afminstall
24189 if test "$wxUSE_MICROWIN" = 1; then
24190 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24191 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24192 if test "x$MICROWINDOWS" = x
; then
24193 echo "$as_me:$LINENO: result: not found" >&5
24194 echo "${ECHO_T}not found" >&6
24195 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24196 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24197 { (exit 1); exit 1; }; }
24199 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24200 echo "${ECHO_T}$MICROWINDOWS" >&6
24203 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24204 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24205 echo "${ECHO_T}MicroWindows' libraries found." >&6
24207 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24208 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24209 { (exit 1); exit 1; }; }
24212 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24213 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24215 wxUSE_UNIVERSAL
="yes"
24217 AFMINSTALL
=afminstall
24219 GUIDIST
=MICROWIN_DIST
24221 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24224 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24225 echo "$as_me:$LINENO: checking for X" >&5
24226 echo $ECHO_N "checking for X... $ECHO_C" >&6
24229 # Check whether --with-x or --without-x was given.
24230 if test "${with_x+set}" = set; then
24234 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24235 if test "x$with_x" = xno
; then
24236 # The user explicitly disabled X.
24239 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24240 # Both variables are already set.
24243 if test "${ac_cv_have_x+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 # One or both of the vars are not set, and there is no cached value.
24247 ac_x_includes
=no ac_x_libraries
=no
24248 rm -fr conftest.dir
24249 if mkdir conftest.dir
; then
24251 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24252 cat >Imakefile
<<'_ACEOF'
24254 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24256 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24257 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24258 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24259 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24260 for ac_extension
in a so sl
; do
24261 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24262 test -f $ac_im_libdir/libX11.
$ac_extension; then
24263 ac_im_usrlibdir
=$ac_im_libdir; break
24266 # Screen out bogus values from the imake configuration. They are
24267 # bogus both because they are the default anyway, and because
24268 # using them would break gcc on systems where it needs fixed includes.
24269 case $ac_im_incroot in
24271 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24273 case $ac_im_usrlibdir in
24274 /usr
/lib
| /lib
) ;;
24275 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24279 rm -fr conftest.dir
24282 # Standard set of common directories for X headers.
24283 # Check X11 before X11Rn because it is often a symlink to the current release.
24295 /usr/local/X11/include
24296 /usr/local/X11R6/include
24297 /usr/local/X11R5/include
24298 /usr/local/X11R4/include
24300 /usr/local/include/X11
24301 /usr/local/include/X11R6
24302 /usr/local/include/X11R5
24303 /usr/local/include/X11R4
24307 /usr/XFree86/include/X11
24311 /usr/unsupported/include
24312 /usr/athena/include
24313 /usr/local/x11r5/include
24314 /usr/lpp/Xamples/include
24316 /usr/openwin/include
24317 /usr/openwin/share/include'
24319 if test "$ac_x_includes" = no
; then
24320 # Guess where to find include files, by looking for Intrinsic.h.
24321 # First, try using that file with no special directory specified.
24322 cat >conftest.
$ac_ext <<_ACEOF
24325 cat confdefs.h
>>conftest.
$ac_ext
24326 cat >>conftest.
$ac_ext <<_ACEOF
24327 /* end confdefs.h. */
24328 #include <X11/Intrinsic.h>
24330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24333 grep -v '^ *+' conftest.er1
>conftest.err
24335 cat conftest.err
>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } >/dev
/null
; then
24338 if test -s conftest.err
; then
24339 ac_cpp_err
=$ac_c_preproc_warn_flag
24340 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24347 if test -z "$ac_cpp_err"; then
24348 # We can compile using X headers with no special include directory.
24351 echo "$as_me: failed program was:" >&5
24352 sed 's/^/| /' conftest.
$ac_ext >&5
24354 for ac_dir
in $ac_x_header_dirs; do
24355 if test -r "$ac_dir/X11/Intrinsic.h"; then
24356 ac_x_includes
=$ac_dir
24361 rm -f conftest.err conftest.
$ac_ext
24362 fi # $ac_x_includes = no
24364 if test "$ac_x_libraries" = no
; then
24365 # Check for the libraries.
24366 # See if we find them without any special options.
24367 # Don't add to $LIBS permanently.
24370 cat >conftest.
$ac_ext <<_ACEOF
24373 cat confdefs.h
>>conftest.
$ac_ext
24374 cat >>conftest.
$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376 #include <X11/Intrinsic.h>
24385 rm -f conftest.
$ac_objext conftest
$ac_exeext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24387 (eval $ac_link) 2>conftest.er1
24389 grep -v '^ *+' conftest.er1
>conftest.err
24391 cat conftest.err
>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try
='test -z "$ac_c_werror_flag"
24395 || test ! -s conftest.err'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try
='test -s conftest$ac_exeext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24408 # We can link X programs with no special library path.
24411 echo "$as_me: failed program was:" >&5
24412 sed 's/^/| /' conftest.
$ac_ext >&5
24415 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24417 # Don't even attempt the hair of trying to link an X program!
24418 for ac_extension
in a so sl
; do
24419 if test -r $ac_dir/libXt.
$ac_extension; then
24420 ac_x_libraries
=$ac_dir
24426 rm -f conftest.err conftest.
$ac_objext \
24427 conftest
$ac_exeext conftest.
$ac_ext
24428 fi # $ac_x_libraries = no
24430 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24431 # Didn't find X anywhere. Cache the known absence of X.
24432 ac_cv_have_x
="have_x=no"
24434 # Record where we found X for the cache.
24435 ac_cv_have_x
="have_x=yes \
24436 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24441 eval "$ac_cv_have_x"
24444 if test "$have_x" != yes; then
24445 echo "$as_me:$LINENO: result: $have_x" >&5
24446 echo "${ECHO_T}$have_x" >&6
24449 # If each of the values was on the command line, it overrides each guess.
24450 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24451 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24452 # Update the cache value to reflect the command line values.
24453 ac_cv_have_x
="have_x=yes \
24454 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24455 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24456 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24459 if test "$no_x" = yes; then
24460 # Not all programs may use this symbol, but it does not hurt to define it.
24462 cat >>confdefs.h
<<\_ACEOF
24463 #define X_DISPLAY_MISSING 1
24466 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24468 if test -n "$x_includes"; then
24469 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24472 # It would also be nice to do this for all -L options, not just this one.
24473 if test -n "$x_libraries"; then
24474 X_LIBS
="$X_LIBS -L$x_libraries"
24475 # For Solaris; some versions of Sun CC require a space after -R and
24476 # others require no space. Words are not sufficient . . . .
24477 case `(uname -sr) 2>/dev/null` in
24479 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24480 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24481 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24482 cat >conftest.
$ac_ext <<_ACEOF
24485 cat confdefs.h
>>conftest.
$ac_ext
24486 cat >>conftest.
$ac_ext <<_ACEOF
24487 /* end confdefs.h. */
24497 rm -f conftest.
$ac_objext conftest
$ac_exeext
24498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24499 (eval $ac_link) 2>conftest.er1
24501 grep -v '^ *+' conftest.er1
>conftest.err
24503 cat conftest.err
>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } &&
24506 { ac_try
='test -z "$ac_c_werror_flag"
24507 || test ! -s conftest.err'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; } &&
24513 { ac_try
='test -s conftest$ac_exeext'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; }; then
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.
$ac_ext >&5
24526 rm -f conftest.err conftest.
$ac_objext \
24527 conftest
$ac_exeext conftest.
$ac_ext
24528 if test $ac_R_nospace = yes; then
24529 echo "$as_me:$LINENO: result: no" >&5
24530 echo "${ECHO_T}no" >&6
24531 X_LIBS
="$X_LIBS -R$x_libraries"
24533 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24534 cat >conftest.
$ac_ext <<_ACEOF
24537 cat confdefs.h
>>conftest.
$ac_ext
24538 cat >>conftest.
$ac_ext <<_ACEOF
24539 /* end confdefs.h. */
24549 rm -f conftest.
$ac_objext conftest
$ac_exeext
24550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24551 (eval $ac_link) 2>conftest.er1
24553 grep -v '^ *+' conftest.er1
>conftest.err
24555 cat conftest.err
>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } &&
24558 { ac_try
='test -z "$ac_c_werror_flag"
24559 || test ! -s conftest.err'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; } &&
24565 { ac_try
='test -s conftest$ac_exeext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24573 echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.
$ac_ext >&5
24578 rm -f conftest.err conftest.
$ac_objext \
24579 conftest
$ac_exeext conftest.
$ac_ext
24580 if test $ac_R_space = yes; then
24581 echo "$as_me:$LINENO: result: yes" >&5
24582 echo "${ECHO_T}yes" >&6
24583 X_LIBS
="$X_LIBS -R $x_libraries"
24585 echo "$as_me:$LINENO: result: neither works" >&5
24586 echo "${ECHO_T}neither works" >&6
24589 LIBS
=$ac_xsave_LIBS
24593 # Check for system-dependent libraries X programs must link with.
24594 # Do this before checking for the system-independent R6 libraries
24595 # (-lICE), since we may need -lsocket or whatever for X linking.
24597 if test "$ISC" = yes; then
24598 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24600 # Martyn Johnson says this is needed for Ultrix, if the X
24601 # libraries were built with DECnet support. And Karl Berry says
24602 # the Alpha needs dnet_stub (dnet does not exist).
24603 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24604 cat >conftest.
$ac_ext <<_ACEOF
24607 cat confdefs.h
>>conftest.
$ac_ext
24608 cat >>conftest.
$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24611 /* Override any gcc2 internal prototype to avoid an error. */
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24617 char XOpenDisplay ();
24626 rm -f conftest.
$ac_objext conftest
$ac_exeext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24628 (eval $ac_link) 2>conftest.er1
24630 grep -v '^ *+' conftest.er1
>conftest.err
24632 cat conftest.err
>&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try
='test -z "$ac_c_werror_flag"
24636 || test ! -s conftest.err'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; } &&
24642 { ac_try
='test -s conftest$ac_exeext'
24643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24644 (eval $ac_try) 2>&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); }; }; then
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.
$ac_ext >&5
24653 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24654 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24655 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 ac_check_lib_save_LIBS
=$LIBS
24659 LIBS
="-ldnet $LIBS"
24660 cat >conftest.
$ac_ext <<_ACEOF
24663 cat confdefs.h
>>conftest.
$ac_ext
24664 cat >>conftest.
$ac_ext <<_ACEOF
24665 /* end confdefs.h. */
24667 /* Override any gcc2 internal prototype to avoid an error. */
24671 /* We use char because int might match the return type of a gcc2
24672 builtin and then its argument prototype would still apply. */
24682 rm -f conftest.
$ac_objext conftest
$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>conftest.er1
24686 grep -v '^ *+' conftest.er1
>conftest.err
24688 cat conftest.err
>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } &&
24691 { ac_try
='test -z "$ac_c_werror_flag"
24692 || test ! -s conftest.err'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; } &&
24698 { ac_try
='test -s conftest$ac_exeext'
24699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700 (eval $ac_try) 2>&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); }; }; then
24704 ac_cv_lib_dnet_dnet_ntoa
=yes
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.
$ac_ext >&5
24709 ac_cv_lib_dnet_dnet_ntoa
=no
24711 rm -f conftest.err conftest.
$ac_objext \
24712 conftest
$ac_exeext conftest.
$ac_ext
24713 LIBS
=$ac_check_lib_save_LIBS
24715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24716 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24717 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24718 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24721 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24722 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24723 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24724 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 ac_check_lib_save_LIBS
=$LIBS
24728 LIBS
="-ldnet_stub $LIBS"
24729 cat >conftest.
$ac_ext <<_ACEOF
24732 cat confdefs.h
>>conftest.
$ac_ext
24733 cat >>conftest.
$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24736 /* Override any gcc2 internal prototype to avoid an error. */
24740 /* We use char because int might match the return type of a gcc2
24741 builtin and then its argument prototype would still apply. */
24751 rm -f conftest.
$ac_objext conftest
$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24755 grep -v '^ *+' conftest.er1
>conftest.err
24757 cat conftest.err
>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try
='test -z "$ac_c_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try
='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.
$ac_ext >&5
24778 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24780 rm -f conftest.err conftest.
$ac_objext \
24781 conftest
$ac_exeext conftest.
$ac_ext
24782 LIBS
=$ac_check_lib_save_LIBS
24784 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24785 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24786 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24787 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24792 rm -f conftest.err conftest.
$ac_objext \
24793 conftest
$ac_exeext conftest.
$ac_ext
24794 LIBS
="$ac_xsave_LIBS"
24796 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24797 # to get the SysV transport functions.
24798 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24800 # The nsl library prevents programs from opening the X display
24801 # on Irix 5.2, according to T.E. Dickey.
24802 # The functions gethostbyname, getservbyname, and inet_addr are
24803 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24804 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24805 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24806 if test "${ac_cv_func_gethostbyname+set}" = set; then
24807 echo $ECHO_N "(cached) $ECHO_C" >&6
24809 cat >conftest.
$ac_ext <<_ACEOF
24812 cat confdefs.h
>>conftest.
$ac_ext
24813 cat >>conftest.
$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24817 #define gethostbyname innocuous_gethostbyname
24819 /* System header to define __stub macros and hopefully few prototypes,
24820 which can conflict with char gethostbyname (); below.
24821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24822 <limits.h> exists even on freestanding compilers. */
24825 # include <limits.h>
24827 # include <assert.h>
24830 #undef gethostbyname
24832 /* Override any gcc2 internal prototype to avoid an error. */
24837 /* We use char because int might match the return type of a gcc2
24838 builtin and then its argument prototype would still apply. */
24839 char gethostbyname ();
24840 /* The GNU C library defines this for functions which it implements
24841 to always fail with ENOSYS. Some functions are actually named
24842 something starting with __ and the normal name is an alias. */
24843 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24846 char (*f) () = gethostbyname;
24855 return f != gethostbyname;
24860 rm -f conftest.
$ac_objext conftest
$ac_exeext
24861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24862 (eval $ac_link) 2>conftest.er1
24864 grep -v '^ *+' conftest.er1
>conftest.err
24866 cat conftest.err
>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } &&
24869 { ac_try
='test -z "$ac_c_werror_flag"
24870 || test ! -s conftest.err'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; } &&
24876 { ac_try
='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 ac_cv_func_gethostbyname
=yes
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.
$ac_ext >&5
24887 ac_cv_func_gethostbyname
=no
24889 rm -f conftest.err conftest.
$ac_objext \
24890 conftest
$ac_exeext conftest.
$ac_ext
24892 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24893 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24895 if test $ac_cv_func_gethostbyname = no
; then
24896 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24897 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24898 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 ac_check_lib_save_LIBS
=$LIBS
24903 cat >conftest.
$ac_ext <<_ACEOF
24906 cat confdefs.h
>>conftest.
$ac_ext
24907 cat >>conftest.
$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24910 /* Override any gcc2 internal prototype to avoid an error. */
24914 /* We use char because int might match the return type of a gcc2
24915 builtin and then its argument prototype would still apply. */
24916 char gethostbyname ();
24925 rm -f conftest.
$ac_objext conftest
$ac_exeext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24927 (eval $ac_link) 2>conftest.er1
24929 grep -v '^ *+' conftest.er1
>conftest.err
24931 cat conftest.err
>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try
='test -z "$ac_c_werror_flag"
24935 || test ! -s conftest.err'
24936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937 (eval $ac_try) 2>&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); }; } &&
24941 { ac_try
='test -s conftest$ac_exeext'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; }; then
24947 ac_cv_lib_nsl_gethostbyname
=yes
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.
$ac_ext >&5
24952 ac_cv_lib_nsl_gethostbyname
=no
24954 rm -f conftest.err conftest.
$ac_objext \
24955 conftest
$ac_exeext conftest.
$ac_ext
24956 LIBS
=$ac_check_lib_save_LIBS
24958 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24959 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24960 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24961 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24964 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24965 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24966 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24967 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 ac_check_lib_save_LIBS
=$LIBS
24972 cat >conftest.
$ac_ext <<_ACEOF
24975 cat confdefs.h
>>conftest.
$ac_ext
24976 cat >>conftest.
$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24979 /* Override any gcc2 internal prototype to avoid an error. */
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char gethostbyname ();
24994 rm -f conftest.
$ac_objext conftest
$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996 (eval $ac_link) 2>conftest.er1
24998 grep -v '^ *+' conftest.er1
>conftest.err
25000 cat conftest.err
>&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try
='test -z "$ac_c_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try
='test -s conftest$ac_exeext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 ac_cv_lib_bsd_gethostbyname
=yes
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.
$ac_ext >&5
25021 ac_cv_lib_bsd_gethostbyname
=no
25023 rm -f conftest.err conftest.
$ac_objext \
25024 conftest
$ac_exeext conftest.
$ac_ext
25025 LIBS
=$ac_check_lib_save_LIBS
25027 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25028 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25029 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25030 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25036 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25037 # socket/setsockopt and other routines are undefined under SCO ODT
25038 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25039 # on later versions), says Simon Leinen: it contains gethostby*
25040 # variants that don't use the name server (or something). -lsocket
25041 # must be given before -lnsl if both are needed. We assume that
25042 # if connect needs -lnsl, so does gethostbyname.
25043 echo "$as_me:$LINENO: checking for connect" >&5
25044 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25045 if test "${ac_cv_func_connect+set}" = set; then
25046 echo $ECHO_N "(cached) $ECHO_C" >&6
25048 cat >conftest.
$ac_ext <<_ACEOF
25051 cat confdefs.h
>>conftest.
$ac_ext
25052 cat >>conftest.
$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25056 #define connect innocuous_connect
25058 /* System header to define __stub macros and hopefully few prototypes,
25059 which can conflict with char connect (); below.
25060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25061 <limits.h> exists even on freestanding compilers. */
25064 # include <limits.h>
25066 # include <assert.h>
25071 /* Override any gcc2 internal prototype to avoid an error. */
25076 /* We use char because int might match the return type of a gcc2
25077 builtin and then its argument prototype would still apply. */
25079 /* The GNU C library defines this for functions which it implements
25080 to always fail with ENOSYS. Some functions are actually named
25081 something starting with __ and the normal name is an alias. */
25082 #if defined (__stub_connect) || defined (__stub___connect)
25085 char (*f) () = connect;
25094 return f != connect;
25099 rm -f conftest.
$ac_objext conftest
$ac_exeext
25100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25101 (eval $ac_link) 2>conftest.er1
25103 grep -v '^ *+' conftest.er1
>conftest.err
25105 cat conftest.err
>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } &&
25108 { ac_try
='test -z "$ac_c_werror_flag"
25109 || test ! -s conftest.err'
25110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25111 (eval $ac_try) 2>&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); }; } &&
25115 { ac_try
='test -s conftest$ac_exeext'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; }; then
25121 ac_cv_func_connect
=yes
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.
$ac_ext >&5
25126 ac_cv_func_connect
=no
25128 rm -f conftest.err conftest.
$ac_objext \
25129 conftest
$ac_exeext conftest.
$ac_ext
25131 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25132 echo "${ECHO_T}$ac_cv_func_connect" >&6
25134 if test $ac_cv_func_connect = no
; then
25135 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25136 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25137 if test "${ac_cv_lib_socket_connect+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 ac_check_lib_save_LIBS
=$LIBS
25141 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25142 cat >conftest.
$ac_ext <<_ACEOF
25145 cat confdefs.h
>>conftest.
$ac_ext
25146 cat >>conftest.
$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25149 /* Override any gcc2 internal prototype to avoid an error. */
25153 /* We use char because int might match the return type of a gcc2
25154 builtin and then its argument prototype would still apply. */
25164 rm -f conftest.
$ac_objext conftest
$ac_exeext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25166 (eval $ac_link) 2>conftest.er1
25168 grep -v '^ *+' conftest.er1
>conftest.err
25170 cat conftest.err
>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } &&
25173 { ac_try
='test -z "$ac_c_werror_flag"
25174 || test ! -s conftest.err'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; } &&
25180 { ac_try
='test -s conftest$ac_exeext'
25181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25182 (eval $ac_try) 2>&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); }; }; then
25186 ac_cv_lib_socket_connect
=yes
25188 echo "$as_me: failed program was:" >&5
25189 sed 's/^/| /' conftest.
$ac_ext >&5
25191 ac_cv_lib_socket_connect
=no
25193 rm -f conftest.err conftest.
$ac_objext \
25194 conftest
$ac_exeext conftest.
$ac_ext
25195 LIBS
=$ac_check_lib_save_LIBS
25197 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25198 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25199 if test $ac_cv_lib_socket_connect = yes; then
25200 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25205 # Guillermo Gomez says -lposix is necessary on A/UX.
25206 echo "$as_me:$LINENO: checking for remove" >&5
25207 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25208 if test "${ac_cv_func_remove+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 cat >conftest.
$ac_ext <<_ACEOF
25214 cat confdefs.h
>>conftest.
$ac_ext
25215 cat >>conftest.
$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25219 #define remove innocuous_remove
25221 /* System header to define __stub macros and hopefully few prototypes,
25222 which can conflict with char remove (); below.
25223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25224 <limits.h> exists even on freestanding compilers. */
25227 # include <limits.h>
25229 # include <assert.h>
25234 /* Override any gcc2 internal prototype to avoid an error. */
25239 /* We use char because int might match the return type of a gcc2
25240 builtin and then its argument prototype would still apply. */
25242 /* The GNU C library defines this for functions which it implements
25243 to always fail with ENOSYS. Some functions are actually named
25244 something starting with __ and the normal name is an alias. */
25245 #if defined (__stub_remove) || defined (__stub___remove)
25248 char (*f) () = remove;
25257 return f != remove;
25262 rm -f conftest.
$ac_objext conftest
$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264 (eval $ac_link) 2>conftest.er1
25266 grep -v '^ *+' conftest.er1
>conftest.err
25268 cat conftest.err
>&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } &&
25271 { ac_try
='test -z "$ac_c_werror_flag"
25272 || test ! -s conftest.err'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; } &&
25278 { ac_try
='test -s conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_func_remove
=yes
25286 echo "$as_me: failed program was:" >&5
25287 sed 's/^/| /' conftest.
$ac_ext >&5
25289 ac_cv_func_remove
=no
25291 rm -f conftest.err conftest.
$ac_objext \
25292 conftest
$ac_exeext conftest.
$ac_ext
25294 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25295 echo "${ECHO_T}$ac_cv_func_remove" >&6
25297 if test $ac_cv_func_remove = no
; then
25298 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25299 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25300 if test "${ac_cv_lib_posix_remove+set}" = set; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 ac_check_lib_save_LIBS
=$LIBS
25304 LIBS
="-lposix $LIBS"
25305 cat >conftest.
$ac_ext <<_ACEOF
25308 cat confdefs.h
>>conftest.
$ac_ext
25309 cat >>conftest.
$ac_ext <<_ACEOF
25310 /* end confdefs.h. */
25312 /* Override any gcc2 internal prototype to avoid an error. */
25316 /* We use char because int might match the return type of a gcc2
25317 builtin and then its argument prototype would still apply. */
25327 rm -f conftest.
$ac_objext conftest
$ac_exeext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25329 (eval $ac_link) 2>conftest.er1
25331 grep -v '^ *+' conftest.er1
>conftest.err
25333 cat conftest.err
>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } &&
25336 { ac_try
='test -z "$ac_c_werror_flag"
25337 || test ! -s conftest.err'
25338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339 (eval $ac_try) 2>&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; } &&
25343 { ac_try
='test -s conftest$ac_exeext'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; }; then
25349 ac_cv_lib_posix_remove
=yes
25351 echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.
$ac_ext >&5
25354 ac_cv_lib_posix_remove
=no
25356 rm -f conftest.err conftest.
$ac_objext \
25357 conftest
$ac_exeext conftest.
$ac_ext
25358 LIBS
=$ac_check_lib_save_LIBS
25360 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25361 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25362 if test $ac_cv_lib_posix_remove = yes; then
25363 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25369 echo "$as_me:$LINENO: checking for shmat" >&5
25370 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25371 if test "${ac_cv_func_shmat+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 cat >conftest.
$ac_ext <<_ACEOF
25377 cat confdefs.h
>>conftest.
$ac_ext
25378 cat >>conftest.
$ac_ext <<_ACEOF
25379 /* end confdefs.h. */
25380 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25382 #define shmat innocuous_shmat
25384 /* System header to define __stub macros and hopefully few prototypes,
25385 which can conflict with char shmat (); below.
25386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25387 <limits.h> exists even on freestanding compilers. */
25390 # include <limits.h>
25392 # include <assert.h>
25397 /* Override any gcc2 internal prototype to avoid an error. */
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25405 /* The GNU C library defines this for functions which it implements
25406 to always fail with ENOSYS. Some functions are actually named
25407 something starting with __ and the normal name is an alias. */
25408 #if defined (__stub_shmat) || defined (__stub___shmat)
25411 char (*f) () = shmat;
25425 rm -f conftest.
$ac_objext conftest
$ac_exeext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25427 (eval $ac_link) 2>conftest.er1
25429 grep -v '^ *+' conftest.er1
>conftest.err
25431 cat conftest.err
>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } &&
25434 { ac_try
='test -z "$ac_c_werror_flag"
25435 || test ! -s conftest.err'
25436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25437 (eval $ac_try) 2>&5
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); }; } &&
25441 { ac_try
='test -s conftest$ac_exeext'
25442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25443 (eval $ac_try) 2>&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); }; }; then
25447 ac_cv_func_shmat
=yes
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.
$ac_ext >&5
25452 ac_cv_func_shmat
=no
25454 rm -f conftest.err conftest.
$ac_objext \
25455 conftest
$ac_exeext conftest.
$ac_ext
25457 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25458 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25460 if test $ac_cv_func_shmat = no
; then
25461 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25462 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25463 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 ac_check_lib_save_LIBS
=$LIBS
25468 cat >conftest.
$ac_ext <<_ACEOF
25471 cat confdefs.h
>>conftest.
$ac_ext
25472 cat >>conftest.
$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25475 /* Override any gcc2 internal prototype to avoid an error. */
25479 /* We use char because int might match the return type of a gcc2
25480 builtin and then its argument prototype would still apply. */
25490 rm -f conftest.
$ac_objext conftest
$ac_exeext
25491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25492 (eval $ac_link) 2>conftest.er1
25494 grep -v '^ *+' conftest.er1
>conftest.err
25496 cat conftest.err
>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } &&
25499 { ac_try
='test -z "$ac_c_werror_flag"
25500 || test ! -s conftest.err'
25501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25502 (eval $ac_try) 2>&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); }; } &&
25506 { ac_try
='test -s conftest$ac_exeext'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; }; then
25512 ac_cv_lib_ipc_shmat
=yes
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.
$ac_ext >&5
25517 ac_cv_lib_ipc_shmat
=no
25519 rm -f conftest.err conftest.
$ac_objext \
25520 conftest
$ac_exeext conftest.
$ac_ext
25521 LIBS
=$ac_check_lib_save_LIBS
25523 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25524 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25525 if test $ac_cv_lib_ipc_shmat = yes; then
25526 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25532 # Check for libraries that X11R6 Xt/Xaw programs need.
25533 ac_save_LDFLAGS
=$LDFLAGS
25534 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25536 # check for ICE first), but we must link in the order -lSM -lICE or
25537 # we get undefined symbols. So assume we have SM if we have ICE.
25538 # These have to be linked with before -lX11, unlike the other
25539 # libraries we check for below, so use a different variable.
25540 # John Interrante, Karl Berry
25541 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25542 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25543 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25546 ac_check_lib_save_LIBS
=$LIBS
25547 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25548 cat >conftest.
$ac_ext <<_ACEOF
25551 cat confdefs.h
>>conftest.
$ac_ext
25552 cat >>conftest.
$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25555 /* Override any gcc2 internal prototype to avoid an error. */
25559 /* We use char because int might match the return type of a gcc2
25560 builtin and then its argument prototype would still apply. */
25561 char IceConnectionNumber ();
25565 IceConnectionNumber ();
25570 rm -f conftest.
$ac_objext conftest
$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>conftest.er1
25574 grep -v '^ *+' conftest.er1
>conftest.err
25576 cat conftest.err
>&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try
='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try
='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 ac_cv_lib_ICE_IceConnectionNumber
=yes
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.
$ac_ext >&5
25597 ac_cv_lib_ICE_IceConnectionNumber
=no
25599 rm -f conftest.err conftest.
$ac_objext \
25600 conftest
$ac_exeext conftest.
$ac_ext
25601 LIBS
=$ac_check_lib_save_LIBS
25603 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25604 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25605 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25606 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25609 LDFLAGS
=$ac_save_LDFLAGS
25614 if test "$no_x" = "yes"; then
25615 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25616 echo "$as_me: error: X11 not found" >&2;}
25617 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25620 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25621 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25622 AFMINSTALL
=afminstall
25623 COMPILED_X_PROGRAM
=0
25627 if test "$wxUSE_X11" = 1; then
25628 if test "$wxUSE_NANOX" = "yes"; then
25629 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25630 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25631 if test "x$MICROWIN" = x
; then
25632 echo "$as_me:$LINENO: result: not found" >&5
25633 echo "${ECHO_T}not found" >&6
25634 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25635 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25636 { (exit 1); exit 1; }; }
25638 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25639 echo "${ECHO_T}$MICROWIN" >&6
25640 cat >>confdefs.h
<<\_ACEOF
25641 #define wxUSE_NANOX 1
25647 if test "$wxUSE_UNICODE" = "yes"; then
25651 if test -z "$PKG_CONFIG"; then
25652 # Extract the first word of "pkg-config", so it can be a program name with args.
25653 set dummy pkg
-config; ac_word
=$2
25654 echo "$as_me:$LINENO: checking for $ac_word" >&5
25655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25656 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 case $PKG_CONFIG in
25661 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25665 for as_dir
in $PATH
25668 test -z "$as_dir" && as_dir
=.
25669 for ac_exec_ext
in '' $ac_executable_extensions; do
25670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25671 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25682 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25684 if test -n "$PKG_CONFIG"; then
25685 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25686 echo "${ECHO_T}$PKG_CONFIG" >&6
25688 echo "$as_me:$LINENO: result: no" >&5
25689 echo "${ECHO_T}no" >&6
25694 if test "$PKG_CONFIG" = "no" ; then
25695 echo "*** The pkg-config script could not be found. Make sure it is"
25696 echo "*** in your path, or set the PKG_CONFIG environment variable"
25697 echo "*** to the full path to pkg-config."
25698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25700 PKG_CONFIG_MIN_VERSION
=0.9.0
25701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25702 echo "$as_me:$LINENO: checking for pangox" >&5
25703 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25705 if $PKG_CONFIG --exists "pangox" ; then
25706 echo "$as_me:$LINENO: result: yes" >&5
25707 echo "${ECHO_T}yes" >&6
25710 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25711 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25712 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25713 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25714 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25716 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25717 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25718 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25719 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25720 echo "${ECHO_T}$PANGOX_LIBS" >&6
25724 ## If we have a custom action on failure, don't print errors, but
25725 ## do set a variable so people can do so.
25726 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25738 if test $succeeded = yes; then
25740 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25741 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25745 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25746 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25747 { (exit 1); exit 1; }; }
25755 if test -z "$PKG_CONFIG"; then
25756 # Extract the first word of "pkg-config", so it can be a program name with args.
25757 set dummy pkg
-config; ac_word
=$2
25758 echo "$as_me:$LINENO: checking for $ac_word" >&5
25759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25760 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 case $PKG_CONFIG in
25765 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25769 for as_dir
in $PATH
25772 test -z "$as_dir" && as_dir
=.
25773 for ac_exec_ext
in '' $ac_executable_extensions; do
25774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25775 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25782 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25786 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25788 if test -n "$PKG_CONFIG"; then
25789 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25790 echo "${ECHO_T}$PKG_CONFIG" >&6
25792 echo "$as_me:$LINENO: result: no" >&5
25793 echo "${ECHO_T}no" >&6
25798 if test "$PKG_CONFIG" = "no" ; then
25799 echo "*** The pkg-config script could not be found. Make sure it is"
25800 echo "*** in your path, or set the PKG_CONFIG environment variable"
25801 echo "*** to the full path to pkg-config."
25802 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25804 PKG_CONFIG_MIN_VERSION
=0.9.0
25805 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25806 echo "$as_me:$LINENO: checking for pangoft2" >&5
25807 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25809 if $PKG_CONFIG --exists "pangoft2" ; then
25810 echo "$as_me:$LINENO: result: yes" >&5
25811 echo "${ECHO_T}yes" >&6
25814 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25815 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25816 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25817 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25818 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25820 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25821 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25822 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25823 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25824 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25828 ## If we have a custom action on failure, don't print errors, but
25829 ## do set a variable so people can do so.
25830 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25837 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25838 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25842 if test $succeeded = yes; then
25844 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25845 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25849 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25850 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25851 wxUSE_PRINTING_ARCHITECTURE
="no"
25859 if test -z "$PKG_CONFIG"; then
25860 # Extract the first word of "pkg-config", so it can be a program name with args.
25861 set dummy pkg
-config; ac_word
=$2
25862 echo "$as_me:$LINENO: checking for $ac_word" >&5
25863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25867 case $PKG_CONFIG in
25869 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25873 for as_dir
in $PATH
25876 test -z "$as_dir" && as_dir
=.
25877 for ac_exec_ext
in '' $ac_executable_extensions; do
25878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25879 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25890 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25892 if test -n "$PKG_CONFIG"; then
25893 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25894 echo "${ECHO_T}$PKG_CONFIG" >&6
25896 echo "$as_me:$LINENO: result: no" >&5
25897 echo "${ECHO_T}no" >&6
25902 if test "$PKG_CONFIG" = "no" ; then
25903 echo "*** The pkg-config script could not be found. Make sure it is"
25904 echo "*** in your path, or set the PKG_CONFIG environment variable"
25905 echo "*** to the full path to pkg-config."
25906 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25908 PKG_CONFIG_MIN_VERSION
=0.9.0
25909 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25910 echo "$as_me:$LINENO: checking for pangoxft" >&5
25911 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25913 if $PKG_CONFIG --exists "pangoxft" ; then
25914 echo "$as_me:$LINENO: result: yes" >&5
25915 echo "${ECHO_T}yes" >&6
25918 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25919 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25920 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25921 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25922 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25924 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25925 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25926 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25927 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25928 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25932 ## If we have a custom action on failure, don't print errors, but
25933 ## do set a variable so people can do so.
25934 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25941 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25942 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25946 if test $succeeded = yes; then
25948 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25949 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25953 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25954 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25959 save_CFLAGS
="$CFLAGS"
25961 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25962 LIBS
="$LIBS $PANGOX_LIBS"
25964 for ac_func
in pango_font_family_is_monospace
25966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25967 echo "$as_me:$LINENO: checking for $ac_func" >&5
25968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25969 if eval "test \"\${$as_ac_var+set}\" = set"; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 cat >conftest.
$ac_ext <<_ACEOF
25975 cat confdefs.h
>>conftest.
$ac_ext
25976 cat >>conftest.
$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25980 #define $ac_func innocuous_$ac_func
25982 /* System header to define __stub macros and hopefully few prototypes,
25983 which can conflict with char $ac_func (); below.
25984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25985 <limits.h> exists even on freestanding compilers. */
25988 # include <limits.h>
25990 # include <assert.h>
25995 /* Override any gcc2 internal prototype to avoid an error. */
26000 /* We use char because int might match the return type of a gcc2
26001 builtin and then its argument prototype would still apply. */
26003 /* The GNU C library defines this for functions which it implements
26004 to always fail with ENOSYS. Some functions are actually named
26005 something starting with __ and the normal name is an alias. */
26006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26009 char (*f) () = $ac_func;
26018 return f != $ac_func;
26023 rm -f conftest.
$ac_objext conftest
$ac_exeext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26025 (eval $ac_link) 2>conftest.er1
26027 grep -v '^ *+' conftest.er1
>conftest.err
26029 cat conftest.err
>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try
='test -z "$ac_c_werror_flag"
26033 || test ! -s conftest.err'
26034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035 (eval $ac_try) 2>&5
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); }; } &&
26039 { ac_try
='test -s conftest$ac_exeext'
26040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26041 (eval $ac_try) 2>&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); }; }; then
26045 eval "$as_ac_var=yes"
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.
$ac_ext >&5
26050 eval "$as_ac_var=no"
26052 rm -f conftest.err conftest.
$ac_objext \
26053 conftest
$ac_exeext conftest.
$ac_ext
26055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26057 if test `eval echo '${'$as_ac_var'}'` = yes; then
26058 cat >>confdefs.h
<<_ACEOF
26059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26065 CFLAGS
="$save_CFLAGS"
26069 wxUSE_UNIVERSAL
="yes"
26071 if test "$wxUSE_NANOX" = "yes"; then
26072 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26073 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"
26074 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26083 if test "$wxUSE_MOTIF" = 1; then
26084 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26085 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26088 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26090 if test -f "$ac_dir/Xm/Xm.h"; then
26091 ac_find_includes
=$ac_dir
26096 if test "$ac_find_includes" != "" ; then
26097 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26098 echo "${ECHO_T}found in $ac_find_includes" >&6
26100 if test "x$ac_find_includes" = "x/usr/include"; then
26101 ac_path_to_include
=""
26103 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26105 if test $result = 0; then
26106 ac_path_to_include
=""
26108 ac_path_to_include
=" -I$ac_find_includes"
26112 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26114 cat >conftest.
$ac_ext <<_ACEOF
26117 cat confdefs.h
>>conftest.
$ac_ext
26118 cat >>conftest.
$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26128 version = xmUseVersion;
26134 rm -f conftest.
$ac_objext
26135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26136 (eval $ac_compile) 2>conftest.er1
26138 grep -v '^ *+' conftest.er1
>conftest.err
26140 cat conftest.err
>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } &&
26143 { ac_try
='test -z "$ac_c_werror_flag"
26144 || test ! -s conftest.err'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; } &&
26150 { ac_try
='test -s conftest.$ac_objext'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; }; then
26157 echo "$as_me:$LINENO: result: found in default search path" >&5
26158 echo "${ECHO_T}found in default search path" >&6
26159 COMPILED_X_PROGRAM
=1
26162 echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.
$ac_ext >&5
26166 echo "$as_me:$LINENO: result: no" >&5
26167 echo "${ECHO_T}no" >&6
26168 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26169 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26170 { (exit 1); exit 1; }; }
26174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26177 if test "$COMPILED_X_PROGRAM" = 0; then
26178 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26179 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26182 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26184 for ac_extension
in a so sl dylib
; do
26185 if test -f "$ac_dir/libXm.$ac_extension"; then
26186 ac_find_libraries
=$ac_dir
26192 if test "$ac_find_libraries" != "" ; then
26193 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26194 echo "${ECHO_T}found at $ac_find_libraries" >&6
26197 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26199 if test $result = 0; then
26202 ac_path_to_link
=" -L$ac_find_libraries"
26205 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26207 save_CFLAGS
=$CFLAGS
26208 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26210 cat >conftest.
$ac_ext <<_ACEOF
26213 cat confdefs.h
>>conftest.
$ac_ext
26214 cat >>conftest.
$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26224 version = xmUseVersion;
26230 rm -f conftest.
$ac_objext
26231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26232 (eval $ac_compile) 2>conftest.er1
26234 grep -v '^ *+' conftest.er1
>conftest.err
26236 cat conftest.err
>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } &&
26239 { ac_try
='test -z "$ac_c_werror_flag"
26240 || test ! -s conftest.err'
26241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242 (eval $ac_try) 2>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); }; } &&
26246 { ac_try
='test -s conftest.$ac_objext'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; }; then
26253 echo "$as_me:$LINENO: result: found in default search path" >&5
26254 echo "${ECHO_T}found in default search path" >&6
26255 COMPILED_X_PROGRAM
=1
26258 echo "$as_me: failed program was:" >&5
26259 sed 's/^/| /' conftest.
$ac_ext >&5
26262 echo "$as_me:$LINENO: result: no" >&5
26263 echo "${ECHO_T}no" >&6
26264 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26265 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26266 { (exit 1); exit 1; }; }
26270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26272 CFLAGS
=$save_CFLAGS
26276 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26277 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26281 for libp
in "" " -lXp"; do
26282 if test "$libs_found" = "0"; then
26283 for libsm_ice
in "" " -lSM -lICE"; do
26284 if test "$libs_found" = "0"; then
26286 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26287 save_CFLAGS
=$CFLAGS
26288 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26290 cat >conftest.
$ac_ext <<_ACEOF
26293 cat confdefs.h
>>conftest.
$ac_ext
26294 cat >>conftest.
$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26298 #include <Xm/List.h>
26304 XmString string = NULL;
26307 XmListAddItem(w, string, position);
26313 rm -f conftest.
$ac_objext conftest
$ac_exeext
26314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26315 (eval $ac_link) 2>conftest.er1
26317 grep -v '^ *+' conftest.er1
>conftest.err
26319 cat conftest.err
>&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } &&
26322 { ac_try
='test -z "$ac_c_werror_flag"
26323 || test ! -s conftest.err'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; } &&
26329 { ac_try
='test -s conftest$ac_exeext'
26330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26331 (eval $ac_try) 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); }; }; then
26337 libsm_ice_link
="$libsm_ice"
26338 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26339 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.
$ac_ext >&5
26349 rm -f conftest.err conftest.
$ac_objext \
26350 conftest
$ac_exeext conftest.
$ac_ext
26353 CFLAGS
=$save_CFLAGS
26359 if test "$libs_found" = "0"; then
26360 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26361 echo "${ECHO_T}can't find the right libraries" >&6
26362 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26363 echo "$as_me: error: can't link a simple motif program" >&2;}
26364 { (exit 1); exit 1; }; }
26367 save_CFLAGS
=$CFLAGS
26368 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26369 echo "$as_me:$LINENO: checking for Motif 2" >&5
26370 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26371 cat >conftest.
$ac_ext <<_ACEOF
26374 cat confdefs.h
>>conftest.
$ac_ext
26375 cat >>conftest.
$ac_ext <<_ACEOF
26376 /* end confdefs.h. */
26384 #if XmVersion < 2000
26385 #error "Not Motif 2"
26392 rm -f conftest.
$ac_objext
26393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26394 (eval $ac_compile) 2>conftest.er1
26396 grep -v '^ *+' conftest.er1
>conftest.err
26398 cat conftest.err
>&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } &&
26401 { ac_try
='test -z "$ac_c_werror_flag"
26402 || test ! -s conftest.err'
26403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404 (eval $ac_try) 2>&5
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); }; } &&
26408 { ac_try
='test -s conftest.$ac_objext'
26409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26410 (eval $ac_try) 2>&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; }; then
26415 cat >>confdefs.h
<<\_ACEOF
26416 #define __WXMOTIF20__ 1
26419 echo "$as_me:$LINENO: result: found" >&5
26420 echo "${ECHO_T}found" >&6
26423 echo "$as_me: failed program was:" >&5
26424 sed 's/^/| /' conftest.
$ac_ext >&5
26427 cat >>confdefs.h
<<\_ACEOF
26428 #define __WXMOTIF20__ 0
26431 echo "$as_me:$LINENO: result: not found" >&5
26432 echo "${ECHO_T}not found" >&6
26435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26436 CFLAGS
=$save_CFLAGS
26438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26443 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26444 if test "$wxUSE_LIBXPM" = "sys"; then
26445 echo "$as_me:$LINENO: checking for Xpm library" >&5
26446 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26449 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26451 for ac_extension
in a so sl dylib
; do
26452 if test -f "$ac_dir/libXpm.$ac_extension"; then
26453 ac_find_libraries
=$ac_dir
26459 if test "$ac_find_libraries" != "" ; then
26461 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26463 if test $result = 0; then
26466 ac_path_to_link
=" -L$ac_find_libraries"
26469 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26470 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26471 echo "${ECHO_T}found at $ac_find_libraries" >&6
26473 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26474 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26475 if test "${wx_cv_x11_xpm_h+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 save_CFLAGS
=$CFLAGS
26480 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26482 cat >conftest.
$ac_ext <<_ACEOF
26485 cat confdefs.h
>>conftest.
$ac_ext
26486 cat >>conftest.
$ac_ext <<_ACEOF
26487 /* end confdefs.h. */
26489 #include <X11/xpm.h>
26496 version = XpmLibraryVersion();
26502 rm -f conftest.
$ac_objext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26504 (eval $ac_compile) 2>conftest.er1
26506 grep -v '^ *+' conftest.er1
>conftest.err
26508 cat conftest.err
>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } &&
26511 { ac_try
='test -z "$ac_c_werror_flag"
26512 || test ! -s conftest.err'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; } &&
26518 { ac_try
='test -s conftest.$ac_objext'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; }; then
26524 wx_cv_x11_xpm_h
=yes
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.
$ac_ext >&5
26532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26534 CFLAGS
=$save_CFLAGS
26538 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26539 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26541 if test $wx_cv_x11_xpm_h = "yes"; then
26542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26543 cat >>confdefs.h
<<\_ACEOF
26544 #define wxHAVE_LIB_XPM 1
26548 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26549 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26555 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26556 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26557 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 ac_check_lib_save_LIBS
=$LIBS
26561 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26562 cat >conftest.
$ac_ext <<_ACEOF
26565 cat confdefs.h
>>conftest.
$ac_ext
26566 cat >>conftest.
$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26569 /* Override any gcc2 internal prototype to avoid an error. */
26573 /* We use char because int might match the return type of a gcc2
26574 builtin and then its argument prototype would still apply. */
26575 char XShapeQueryExtension ();
26579 XShapeQueryExtension ();
26584 rm -f conftest.
$ac_objext conftest
$ac_exeext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26586 (eval $ac_link) 2>conftest.er1
26588 grep -v '^ *+' conftest.er1
>conftest.err
26590 cat conftest.err
>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } &&
26593 { ac_try
='test -z "$ac_c_werror_flag"
26594 || test ! -s conftest.err'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; } &&
26600 { ac_try
='test -s conftest$ac_exeext'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.
$ac_ext >&5
26611 ac_cv_lib_Xext_XShapeQueryExtension
=no
26613 rm -f conftest.err conftest.
$ac_objext \
26614 conftest
$ac_exeext conftest.
$ac_ext
26615 LIBS
=$ac_check_lib_save_LIBS
26617 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26618 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26619 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26621 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26627 if test "$wxHAVE_XEXT_LIB" = 1; then
26628 save_CFLAGS
="$CFLAGS"
26629 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26631 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26632 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26633 cat >conftest.
$ac_ext <<_ACEOF
26636 cat confdefs.h
>>conftest.
$ac_ext
26637 cat >>conftest.
$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26640 #include <X11/Xlib.h>
26641 #include <X11/extensions/shape.h>
26647 int dummy1, dummy2;
26648 XShapeQueryExtension((Display*)NULL,
26649 (int*)NULL, (int*)NULL);
26655 rm -f conftest.
$ac_objext
26656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26657 (eval $ac_compile) 2>conftest.er1
26659 grep -v '^ *+' conftest.er1
>conftest.err
26661 cat conftest.err
>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } &&
26664 { ac_try
='test -z "$ac_c_werror_flag"
26665 || test ! -s conftest.err'
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); }; } &&
26671 { ac_try
='test -s conftest.$ac_objext'
26672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673 (eval $ac_try) 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; }; then
26678 cat >>confdefs.h
<<\_ACEOF
26679 #define HAVE_XSHAPE 1
26682 echo "$as_me:$LINENO: result: found" >&5
26683 echo "${ECHO_T}found" >&6
26686 echo "$as_me: failed program was:" >&5
26687 sed 's/^/| /' conftest.
$ac_ext >&5
26690 echo "$as_me:$LINENO: result: not found" >&5
26691 echo "${ECHO_T}not found" >&6
26694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26695 CFLAGS
="$save_CFLAGS"
26700 if test "$wxUSE_MAC" = 1; then
26701 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26702 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26703 if test "$GCC" = yes; then
26704 echo "$as_me:$LINENO: result: gcc" >&5
26705 echo "${ECHO_T}gcc" >&6
26706 CPPFLAGS_PASCAL
="-fpascal-strings"
26707 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26708 echo "$as_me:$LINENO: result: xlc" >&5
26709 echo "${ECHO_T}xlc" >&6
26710 CPPFLAGS_PASCAL
="-qmacpstr"
26712 echo "$as_me:$LINENO: result: none" >&5
26713 echo "${ECHO_T}none" >&6
26716 if test "x$wxUSE_UNIX" = "xyes"; then
26717 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26719 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26724 WXBASEPORT
="_carbon"
26727 if test "$wxUSE_COCOA" = 1; then
26732 if test "$wxUSE_PM" = 1; then
26735 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26736 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26737 if test "${wx_cv_spbcdata+set}" = set; then
26738 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 cat >conftest.
$ac_ext <<_ACEOF
26744 cat confdefs.h
>>conftest.
$ac_ext
26745 cat >>conftest.
$ac_ext <<_ACEOF
26746 /* end confdefs.h. */
26761 rm -f conftest.
$ac_objext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26763 (eval $ac_compile) 2>conftest.er1
26765 grep -v '^ *+' conftest.er1
>conftest.err
26767 cat conftest.err
>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try
='test -z "$ac_c_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try
='test -s conftest.$ac_objext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.
$ac_ext >&5
26791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26795 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26796 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26798 if test $wx_cv_spbcdata = "yes"; then
26799 cat >>confdefs.h
<<\_ACEOF
26800 #define HAVE_SPBCDATA 1
26806 if test "$TOOLKIT" = "PM" ; then
26809 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26812 if test "$wxUSE_UNIVERSAL" = "yes"; then
26813 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26817 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26818 DISTDIR
="wx\$(TOOLKIT)"
26824 if test "$USE_WIN32" = 1 ; then
26828 GUIDIST
="BASE_DIST"
26838 if test "$TOOLKIT" != "MSW" ; then
26840 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26842 if test "${ac_cv_header_sql_h+set}" = set; then
26843 echo "$as_me:$LINENO: checking for sql.h" >&5
26844 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26845 if test "${ac_cv_header_sql_h+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26849 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26851 # Is the header compilable?
26852 echo "$as_me:$LINENO: checking sql.h usability" >&5
26853 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26854 cat >conftest.
$ac_ext <<_ACEOF
26857 cat confdefs.h
>>conftest.
$ac_ext
26858 cat >>conftest.
$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 $ac_includes_default
26863 rm -f conftest.
$ac_objext
26864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26865 (eval $ac_compile) 2>conftest.er1
26867 grep -v '^ *+' conftest.er1
>conftest.err
26869 cat conftest.err
>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try
='test -z "$ac_c_werror_flag"
26873 || test ! -s conftest.err'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; } &&
26879 { ac_try
='test -s conftest.$ac_objext'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; }; then
26885 ac_header_compiler
=yes
26887 echo "$as_me: failed program was:" >&5
26888 sed 's/^/| /' conftest.
$ac_ext >&5
26890 ac_header_compiler
=no
26892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26894 echo "${ECHO_T}$ac_header_compiler" >&6
26896 # Is the header present?
26897 echo "$as_me:$LINENO: checking sql.h presence" >&5
26898 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26899 cat >conftest.
$ac_ext <<_ACEOF
26902 cat confdefs.h
>>conftest.
$ac_ext
26903 cat >>conftest.
$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26910 grep -v '^ *+' conftest.er1
>conftest.err
26912 cat conftest.err
>&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); } >/dev
/null
; then
26915 if test -s conftest.err
; then
26916 ac_cpp_err
=$ac_c_preproc_warn_flag
26917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26924 if test -z "$ac_cpp_err"; then
26925 ac_header_preproc
=yes
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.
$ac_ext >&5
26930 ac_header_preproc
=no
26932 rm -f conftest.err conftest.
$ac_ext
26933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26934 echo "${ECHO_T}$ac_header_preproc" >&6
26936 # So? What about this header?
26937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26939 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26940 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26941 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26942 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26943 ac_header_preproc
=yes
26946 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26947 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26948 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26949 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26950 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26951 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26952 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26953 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26954 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26955 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26956 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26957 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26960 ## ----------------------------------------- ##
26961 ## Report this to wx-dev@lists.wxwidgets.org ##
26962 ## ----------------------------------------- ##
26965 sed "s/^/$as_me: WARNING: /" >&2
26968 echo "$as_me:$LINENO: checking for sql.h" >&5
26969 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26970 if test "${ac_cv_header_sql_h+set}" = set; then
26971 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 ac_cv_header_sql_h
=$ac_header_preproc
26975 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26976 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26979 if test $ac_cv_header_sql_h = yes; then
26984 if test "x$found_sql_h" = "x1" ; then
26985 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26986 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26987 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 ac_check_lib_save_LIBS
=$LIBS
26991 LIBS
="-liodbc $LIBS"
26992 cat >conftest.
$ac_ext <<_ACEOF
26995 cat confdefs.h
>>conftest.
$ac_ext
26996 cat >>conftest.
$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26999 /* Override any gcc2 internal prototype to avoid an error. */
27003 /* We use char because int might match the return type of a gcc2
27004 builtin and then its argument prototype would still apply. */
27005 char SQLAllocEnv ();
27014 rm -f conftest.
$ac_objext conftest
$ac_exeext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27016 (eval $ac_link) 2>conftest.er1
27018 grep -v '^ *+' conftest.er1
>conftest.err
27020 cat conftest.err
>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } &&
27023 { ac_try
='test -z "$ac_c_werror_flag"
27024 || test ! -s conftest.err'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; } &&
27030 { ac_try
='test -s conftest$ac_exeext'
27031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032 (eval $ac_try) 2>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); }; }; then
27036 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.
$ac_ext >&5
27041 ac_cv_lib_iodbc_SQLAllocEnv
=no
27043 rm -f conftest.err conftest.
$ac_objext \
27044 conftest
$ac_exeext conftest.
$ac_ext
27045 LIBS
=$ac_check_lib_save_LIBS
27047 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27048 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27049 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27050 ODBC_LINK
=" -liodbc"
27053 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27054 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27055 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27056 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 ac_check_lib_save_LIBS
=$LIBS
27059 LIBS
="-lunixodbc $LIBS"
27060 cat >conftest.
$ac_ext <<_ACEOF
27063 cat confdefs.h
>>conftest.
$ac_ext
27064 cat >>conftest.
$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27067 /* Override any gcc2 internal prototype to avoid an error. */
27071 /* We use char because int might match the return type of a gcc2
27072 builtin and then its argument prototype would still apply. */
27073 char SQLAllocEnv ();
27082 rm -f conftest.
$ac_objext conftest
$ac_exeext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27084 (eval $ac_link) 2>conftest.er1
27086 grep -v '^ *+' conftest.er1
>conftest.err
27088 cat conftest.err
>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); } &&
27091 { ac_try
='test -z "$ac_c_werror_flag"
27092 || test ! -s conftest.err'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; } &&
27098 { ac_try
='test -s conftest$ac_exeext'
27099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27100 (eval $ac_try) 2>&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); }; }; then
27104 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.
$ac_ext >&5
27109 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27111 rm -f conftest.err conftest.
$ac_objext \
27112 conftest
$ac_exeext conftest.
$ac_ext
27113 LIBS
=$ac_check_lib_save_LIBS
27115 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27116 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27117 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27118 ODBC_LINK
=" -lunixodbc"
27121 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27122 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27123 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 ac_check_lib_save_LIBS
=$LIBS
27127 LIBS
="-lodbc $LIBS"
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 /* Override any gcc2 internal prototype to avoid an error. */
27139 /* We use char because int might match the return type of a gcc2
27140 builtin and then its argument prototype would still apply. */
27141 char SQLAllocEnv ();
27150 rm -f conftest.
$ac_objext conftest
$ac_exeext
27151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27152 (eval $ac_link) 2>conftest.er1
27154 grep -v '^ *+' conftest.er1
>conftest.err
27156 cat conftest.err
>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } &&
27159 { ac_try
='test -z "$ac_c_werror_flag"
27160 || test ! -s conftest.err'
27161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27162 (eval $ac_try) 2>&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); }; } &&
27166 { ac_try
='test -s conftest$ac_exeext'
27167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27168 (eval $ac_try) 2>&5
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); }; }; then
27172 ac_cv_lib_odbc_SQLAllocEnv
=yes
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.
$ac_ext >&5
27177 ac_cv_lib_odbc_SQLAllocEnv
=no
27179 rm -f conftest.err conftest.
$ac_objext \
27180 conftest
$ac_exeext conftest.
$ac_ext
27181 LIBS
=$ac_check_lib_save_LIBS
27183 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27184 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27185 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27186 ODBC_LINK
=" -lodbc"
27196 if test "x$ODBC_LINK" = "x" ; then
27197 if test "$wxUSE_ODBC" = "sys" ; then
27198 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27199 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27200 { (exit 1); exit 1; }; }
27202 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27203 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27210 if test "$wxUSE_ODBC" != "no" ; then
27211 cat >>confdefs.h
<<\_ACEOF
27212 #define wxUSE_ODBC 1
27215 if test "$wxUSE_ODBC" = "builtin" ; then
27216 cat >>confdefs.h
<<\_ACEOF
27217 #define wxUSE_BUILTIN_IODBC 1
27221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27223 WXODBCFLAG
="-D_IODBC_"
27229 if test "$wxUSE_DISPLAY" = "yes"; then
27230 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27231 echo "$as_me:$LINENO: checking for Xinerama" >&5
27232 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27235 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27237 for ac_extension
in a so sl dylib
; do
27238 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27239 ac_find_libraries
=$ac_dir
27245 if test "$ac_find_libraries" != "" ; then
27247 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27249 if test $result = 0; then
27252 ac_path_to_link
=" -L$ac_find_libraries"
27255 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27256 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27258 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27259 echo "$as_me:$LINENO: result: yes" >&5
27260 echo "${ECHO_T}yes" >&6
27262 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27263 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27266 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27268 for ac_extension
in a so sl dylib
; do
27269 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27270 ac_find_libraries
=$ac_dir
27276 if test "$ac_find_libraries" != "" ; then
27277 echo "$as_me:$LINENO: result: yes" >&5
27278 echo "${ECHO_T}yes" >&6
27280 for ac_header
in X
11/extensions
/xf86vmode.h
27282 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27283 echo "$as_me:$LINENO: checking for $ac_header" >&5
27284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 cat >conftest.
$ac_ext <<_ACEOF
27291 cat confdefs.h
>>conftest.
$ac_ext
27292 cat >>conftest.
$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27295 #if HAVE_X11_XLIB_H
27296 #include <X11/Xlib.h>
27300 #include <$ac_header>
27302 rm -f conftest.
$ac_objext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27304 (eval $ac_compile) 2>conftest.er1
27306 grep -v '^ *+' conftest.er1
>conftest.err
27308 cat conftest.err
>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try
='test -z "$ac_c_werror_flag"
27312 || test ! -s conftest.err'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; } &&
27318 { ac_try
='test -s conftest.$ac_objext'
27319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320 (eval $ac_try) 2>&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); }; }; then
27324 eval "$as_ac_Header=yes"
27326 echo "$as_me: failed program was:" >&5
27327 sed 's/^/| /' conftest.
$ac_ext >&5
27329 eval "$as_ac_Header=no"
27331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27336 cat >>confdefs.h
<<_ACEOF
27337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27340 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27347 echo "$as_me:$LINENO: result: no" >&5
27348 echo "${ECHO_T}no" >&6
27352 echo "$as_me:$LINENO: result: no" >&5
27353 echo "${ECHO_T}no" >&6
27354 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27355 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27358 elif test "$wxUSE_MSW" = 1; then
27361 for ac_header
in multimon.h ddraw.h
27363 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27365 echo "$as_me:$LINENO: checking for $ac_header" >&5
27366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27373 # Is the header compilable?
27374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27376 cat >conftest.
$ac_ext <<_ACEOF
27379 cat confdefs.h
>>conftest.
$ac_ext
27380 cat >>conftest.
$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 $ac_includes_default
27383 #include <$ac_header>
27385 rm -f conftest.
$ac_objext
27386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27387 (eval $ac_compile) 2>conftest.er1
27389 grep -v '^ *+' conftest.er1
>conftest.err
27391 cat conftest.err
>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } &&
27394 { ac_try
='test -z "$ac_c_werror_flag"
27395 || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try
='test -s conftest.$ac_objext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407 ac_header_compiler
=yes
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.
$ac_ext >&5
27412 ac_header_compiler
=no
27414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27416 echo "${ECHO_T}$ac_header_compiler" >&6
27418 # Is the header present?
27419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27421 cat >conftest.
$ac_ext <<_ACEOF
27424 cat confdefs.h
>>conftest.
$ac_ext
27425 cat >>conftest.
$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27427 #include <$ac_header>
27429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27432 grep -v '^ *+' conftest.er1
>conftest.err
27434 cat conftest.err
>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); } >/dev
/null
; then
27437 if test -s conftest.err
; then
27438 ac_cpp_err
=$ac_c_preproc_warn_flag
27439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27446 if test -z "$ac_cpp_err"; then
27447 ac_header_preproc
=yes
27449 echo "$as_me: failed program was:" >&5
27450 sed 's/^/| /' conftest.
$ac_ext >&5
27452 ac_header_preproc
=no
27454 rm -f conftest.err conftest.
$ac_ext
27455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27456 echo "${ECHO_T}$ac_header_preproc" >&6
27458 # So? What about this header?
27459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27465 ac_header_preproc
=yes
27468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27482 ## ----------------------------------------- ##
27483 ## Report this to wx-dev@lists.wxwidgets.org ##
27484 ## ----------------------------------------- ##
27487 sed "s/^/$as_me: WARNING: /" >&2
27490 echo "$as_me:$LINENO: checking for $ac_header" >&5
27491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 eval "$as_ac_Header=\$ac_header_preproc"
27497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27502 cat >>confdefs.h
<<_ACEOF
27503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27509 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27510 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27520 if test "$wxUSE_MEDIACTRL" = "yes"; then
27521 if test "$wxUSE_MSW" = 1; then
27522 wxUSE_DIRECTSHOW
="yes"
27524 for ac_header
in dshow.h
27526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27528 echo "$as_me:$LINENO: checking for $ac_header" >&5
27529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27536 # Is the header compilable?
27537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27539 cat >conftest.
$ac_ext <<_ACEOF
27542 cat confdefs.h
>>conftest.
$ac_ext
27543 cat >>conftest.
$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27545 $ac_includes_default
27546 #include <$ac_header>
27548 rm -f conftest.
$ac_objext
27549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27550 (eval $ac_compile) 2>conftest.er1
27552 grep -v '^ *+' conftest.er1
>conftest.err
27554 cat conftest.err
>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } &&
27557 { ac_try
='test -z "$ac_c_werror_flag"
27558 || test ! -s conftest.err'
27559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560 (eval $ac_try) 2>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); }; } &&
27564 { ac_try
='test -s conftest.$ac_objext'
27565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27566 (eval $ac_try) 2>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); }; }; then
27570 ac_header_compiler
=yes
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.
$ac_ext >&5
27575 ac_header_compiler
=no
27577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27579 echo "${ECHO_T}$ac_header_compiler" >&6
27581 # Is the header present?
27582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27584 cat >conftest.
$ac_ext <<_ACEOF
27587 cat confdefs.h
>>conftest.
$ac_ext
27588 cat >>conftest.
$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <$ac_header>
27592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27595 grep -v '^ *+' conftest.er1
>conftest.err
27597 cat conftest.err
>&5
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); } >/dev
/null
; then
27600 if test -s conftest.err
; then
27601 ac_cpp_err
=$ac_c_preproc_warn_flag
27602 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27609 if test -z "$ac_cpp_err"; then
27610 ac_header_preproc
=yes
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.
$ac_ext >&5
27615 ac_header_preproc
=no
27617 rm -f conftest.err conftest.
$ac_ext
27618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27619 echo "${ECHO_T}$ac_header_preproc" >&6
27621 # So? What about this header?
27622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27628 ac_header_preproc
=yes
27631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27645 ## ----------------------------------------- ##
27646 ## Report this to wx-dev@lists.wxwidgets.org ##
27647 ## ----------------------------------------- ##
27650 sed "s/^/$as_me: WARNING: /" >&2
27653 echo "$as_me:$LINENO: checking for $ac_header" >&5
27654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27656 echo $ECHO_N "(cached) $ECHO_C" >&6
27658 eval "$as_ac_Header=\$ac_header_preproc"
27660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27665 cat >>confdefs.h
<<_ACEOF
27666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27671 wxUSE_DIRECTSHOW
="no"
27672 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27673 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27680 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27681 cat >>confdefs.h
<<\_ACEOF
27682 #define wxUSE_DIRECTSHOW 1
27685 LIBS
="$LIBS -lstrmiids"
27689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27690 cat >>confdefs.h
<<\_ACEOF
27691 #define wxUSE_MEDIACTRL 1
27698 if test "$wxUSE_OPENGL" = "yes"; then
27699 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27700 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27701 elif test "$wxUSE_MSW" = 1; then
27702 OPENGL_LIBS
="-lopengl32 -lglu32"
27707 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27709 if test -f "$ac_dir/GL/gl.h"; then
27710 ac_find_includes
=$ac_dir
27715 if test "$ac_find_includes" != "" ; then
27716 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27717 echo "${ECHO_T}found in $ac_find_includes" >&6
27719 if test "x$ac_find_includes" = "x/usr/include"; then
27720 ac_path_to_include
=""
27722 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27724 if test $result = 0; then
27725 ac_path_to_include
=""
27727 ac_path_to_include
=" -I$ac_find_includes"
27731 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27734 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27735 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27736 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27737 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27743 # Is the header compilable?
27744 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27745 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27746 cat >conftest.
$ac_ext <<_ACEOF
27749 cat confdefs.h
>>conftest.
$ac_ext
27750 cat >>conftest.
$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27752 $ac_includes_default
27755 rm -f conftest.
$ac_objext
27756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27757 (eval $ac_compile) 2>conftest.er1
27759 grep -v '^ *+' conftest.er1
>conftest.err
27761 cat conftest.err
>&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } &&
27764 { ac_try
='test -z "$ac_c_werror_flag"
27765 || test ! -s conftest.err'
27766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27767 (eval $ac_try) 2>&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); }; } &&
27771 { ac_try
='test -s conftest.$ac_objext'
27772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773 (eval $ac_try) 2>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; }; then
27777 ac_header_compiler
=yes
27779 echo "$as_me: failed program was:" >&5
27780 sed 's/^/| /' conftest.
$ac_ext >&5
27782 ac_header_compiler
=no
27784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27786 echo "${ECHO_T}$ac_header_compiler" >&6
27788 # Is the header present?
27789 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27790 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27791 cat >conftest.
$ac_ext <<_ACEOF
27794 cat confdefs.h
>>conftest.
$ac_ext
27795 cat >>conftest.
$ac_ext <<_ACEOF
27796 /* end confdefs.h. */
27799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27802 grep -v '^ *+' conftest.er1
>conftest.err
27804 cat conftest.err
>&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } >/dev
/null
; then
27807 if test -s conftest.err
; then
27808 ac_cpp_err
=$ac_c_preproc_warn_flag
27809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27816 if test -z "$ac_cpp_err"; then
27817 ac_header_preproc
=yes
27819 echo "$as_me: failed program was:" >&5
27820 sed 's/^/| /' conftest.
$ac_ext >&5
27822 ac_header_preproc
=no
27824 rm -f conftest.err conftest.
$ac_ext
27825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27826 echo "${ECHO_T}$ac_header_preproc" >&6
27828 # So? What about this header?
27829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27831 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27832 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27833 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27834 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27835 ac_header_preproc
=yes
27838 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27839 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27840 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27841 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27842 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27843 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27844 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27845 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27846 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27847 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27848 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27849 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27852 ## ----------------------------------------- ##
27853 ## Report this to wx-dev@lists.wxwidgets.org ##
27854 ## ----------------------------------------- ##
27857 sed "s/^/$as_me: WARNING: /" >&2
27860 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27861 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27862 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 ac_cv_header_GL_gl_h
=$ac_header_preproc
27867 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27868 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27871 if test $ac_cv_header_GL_gl_h = yes; then
27875 echo "$as_me:$LINENO: checking for -lGL" >&5
27876 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27879 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27881 for ac_extension
in a so sl dylib
; do
27882 if test -f "$ac_dir/libGL.$ac_extension"; then
27883 ac_find_libraries
=$ac_dir
27889 if test "$ac_find_libraries" != "" ; then
27891 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27893 if test $result = 0; then
27896 ac_path_to_link
=" -L$ac_find_libraries"
27899 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27900 LDFLAGS_GL
="$ac_path_to_link"
27905 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27907 for ac_extension
in a so sl dylib
; do
27908 if test -f "$ac_dir/libGLU.$ac_extension"; then
27909 ac_find_libraries
=$ac_dir
27915 if test "$ac_find_libraries" != "" ; then
27917 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27919 if test $result = 0; then
27922 ac_path_to_link
=" -L$ac_find_libraries"
27925 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27926 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27927 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27931 OPENGL_LIBS
="-lGL -lGLU"
27932 echo "$as_me:$LINENO: result: yes" >&5
27933 echo "${ECHO_T}yes" >&6
27937 if test "$found_gl" != 1; then
27938 echo "$as_me:$LINENO: result: no" >&5
27939 echo "${ECHO_T}no" >&6
27940 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27941 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27944 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27946 for ac_extension
in a so sl dylib
; do
27947 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27948 ac_find_libraries
=$ac_dir
27954 if test "$ac_find_libraries" != "" ; then
27956 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27958 if test $result = 0; then
27961 ac_path_to_link
=" -L$ac_find_libraries"
27964 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27965 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27966 echo "$as_me:$LINENO: result: yes" >&5
27967 echo "${ECHO_T}yes" >&6
27969 echo "$as_me:$LINENO: result: no" >&5
27970 echo "${ECHO_T}no" >&6
27978 if test "x$OPENGL_LIBS" = "x"; then
27979 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27980 echo "$as_me: error: OpenGL libraries not available" >&2;}
27981 { (exit 1); exit 1; }; }
27985 if test "$wxUSE_OPENGL" = "yes"; then
27987 cat >>confdefs.h
<<\_ACEOF
27988 #define wxUSE_OPENGL 1
27991 cat >>confdefs.h
<<\_ACEOF
27992 #define wxUSE_GLCANVAS 1
27995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28000 if test -n "$TOOLKIT" ; then
28001 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28006 if test "$wxUSE_SHARED" = "yes"; then
28010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28016 if test "$wxUSE_SHARED" = "yes"; then
28019 found_versioning
=no
28022 if test $found_versioning = no
; then
28023 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28024 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28025 if test "${wx_cv_version_script+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 echo "VER_1 { *; };" >conftest.sym
28030 echo "int main() { return 0; }" >conftest.cpp
28033 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28034 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; } ; then
28040 if test -s conftest.stderr
; then
28041 wx_cv_version_script
=no
28043 wx_cv_version_script
=yes
28046 wx_cv_version_script
=no
28048 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28051 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28052 echo "${ECHO_T}$wx_cv_version_script" >&6
28053 if test $wx_cv_version_script = yes ; then
28054 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28060 *-*-linux* | *-*-gnu* )
28061 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28062 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28066 if test "$GCC" = yes ; then
28067 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28069 saveLdflags
="$LDFLAGS"
28070 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28071 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28072 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28073 cat >conftest.
$ac_ext <<_ACEOF
28076 cat confdefs.h
>>conftest.
$ac_ext
28077 cat >>conftest.
$ac_ext <<_ACEOF
28078 /* end confdefs.h. */
28088 rm -f conftest.
$ac_objext conftest
$ac_exeext
28089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28090 (eval $ac_link) 2>conftest.er1
28092 grep -v '^ *+' conftest.er1
>conftest.err
28094 cat conftest.err
>&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); } &&
28097 { ac_try
='test -z "$ac_c_werror_flag"
28098 || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try
='test -s conftest$ac_exeext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28111 echo "$as_me:$LINENO: result: yes" >&5
28112 echo "${ECHO_T}yes" >&6
28113 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28114 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28117 echo "$as_me: failed program was:" >&5
28118 sed 's/^/| /' conftest.
$ac_ext >&5
28121 echo "$as_me:$LINENO: result: no" >&5
28122 echo "${ECHO_T}no" >&6
28123 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28124 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28125 LDFLAGS
="$saveLdflags -Wl,-R,/"
28126 cat >conftest.
$ac_ext <<_ACEOF
28129 cat confdefs.h
>>conftest.
$ac_ext
28130 cat >>conftest.
$ac_ext <<_ACEOF
28131 /* end confdefs.h. */
28141 rm -f conftest.
$ac_objext conftest
$ac_exeext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28143 (eval $ac_link) 2>conftest.er1
28145 grep -v '^ *+' conftest.er1
>conftest.err
28147 cat conftest.err
>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } &&
28150 { ac_try
='test -z "$ac_c_werror_flag"
28151 || test ! -s conftest.err'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; } &&
28157 { ac_try
='test -s conftest$ac_exeext'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; }; then
28164 echo "$as_me:$LINENO: result: yes" >&5
28165 echo "${ECHO_T}yes" >&6
28166 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28167 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.
$ac_ext >&5
28174 echo "$as_me:$LINENO: result: no" >&5
28175 echo "${ECHO_T}no" >&6
28178 rm -f conftest.err conftest.
$ac_objext \
28179 conftest
$ac_exeext conftest.
$ac_ext
28182 rm -f conftest.err conftest.
$ac_objext \
28183 conftest
$ac_exeext conftest.
$ac_ext
28184 LDFLAGS
="$saveLdflags"
28186 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28187 WXCONFIG_RPATH
="-R\$libdir"
28191 powerpc
-*-darwin* )
28192 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28193 cat <<EOF >change-install-names
28195 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28196 inst_cmd="install_name_tool "
28197 for i in \${libnames} ; do
28198 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28202 chmod +x change
-install-names
28205 *-*-cygwin* | *-*-mingw32* )
28206 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28211 if test $wxUSE_RPATH = "no"; then
28212 SAMPLES_RPATH_FLAG
=''
28213 SAMPLES_RPATH_POSTLINK
=''
28221 config_linkage_component
="-static"
28228 lib_unicode_suffix
=
28230 if test "$wxUSE_UNICODE" = "yes"; then
28231 lib_unicode_suffix
=u
28232 WX_CHARTYPE
="unicode"
28237 WX_DEBUGTYPE
="release"
28239 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28241 WX_DEBUGTYPE
="debug"
28245 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28246 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28249 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28253 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28255 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28257 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28259 if test "$cross_compiling" = "yes"; then
28260 HOST_SUFFIX
="-$host_alias"
28261 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28262 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28265 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28266 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28271 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28272 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28274 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28276 # Extract the first word of "Rez", so it can be a program name with args.
28277 set dummy Rez
; ac_word
=$2
28278 echo "$as_me:$LINENO: checking for $ac_word" >&5
28279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28280 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 if test -n "$RESCOMP"; then
28284 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28287 for as_dir
in $PATH
28290 test -z "$as_dir" && as_dir
=.
28291 for ac_exec_ext
in '' $ac_executable_extensions; do
28292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28293 ac_cv_prog_RESCOMP
="Rez"
28294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28300 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28303 RESCOMP
=$ac_cv_prog_RESCOMP
28304 if test -n "$RESCOMP"; then
28305 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28306 echo "${ECHO_T}$RESCOMP" >&6
28308 echo "$as_me:$LINENO: result: no" >&5
28309 echo "${ECHO_T}no" >&6
28312 # Extract the first word of "DeRez", so it can be a program name with args.
28313 set dummy DeRez
; ac_word
=$2
28314 echo "$as_me:$LINENO: checking for $ac_word" >&5
28315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28316 if test "${ac_cv_prog_DEREZ+set}" = set; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 if test -n "$DEREZ"; then
28320 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28323 for as_dir
in $PATH
28326 test -z "$as_dir" && as_dir
=.
28327 for ac_exec_ext
in '' $ac_executable_extensions; do
28328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28329 ac_cv_prog_DEREZ
="DeRez"
28330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28336 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28339 DEREZ
=$ac_cv_prog_DEREZ
28340 if test -n "$DEREZ"; then
28341 echo "$as_me:$LINENO: result: $DEREZ" >&5
28342 echo "${ECHO_T}$DEREZ" >&6
28344 echo "$as_me:$LINENO: result: no" >&5
28345 echo "${ECHO_T}no" >&6
28348 # Extract the first word of "SetFile", so it can be a program name with args.
28349 set dummy SetFile
; ac_word
=$2
28350 echo "$as_me:$LINENO: checking for $ac_word" >&5
28351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28352 if test "${ac_cv_prog_SETFILE+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 if test -n "$SETFILE"; then
28356 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28359 for as_dir
in $PATH
28362 test -z "$as_dir" && as_dir
=.
28363 for ac_exec_ext
in '' $ac_executable_extensions; do
28364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28365 ac_cv_prog_SETFILE
="SetFile"
28366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28372 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28375 SETFILE
=$ac_cv_prog_SETFILE
28376 if test -n "$SETFILE"; then
28377 echo "$as_me:$LINENO: result: $SETFILE" >&5
28378 echo "${ECHO_T}$SETFILE" >&6
28380 echo "$as_me:$LINENO: result: no" >&5
28381 echo "${ECHO_T}no" >&6
28385 MACSETFILE
="\$(SETFILE)"
28387 if test "$wxUSE_MAC" = 1; then
28388 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28390 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28392 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28393 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28397 MACRESWXCONFIG
="@true"
28399 if test "$wxUSE_PM" = 1; then
28400 MACRESCOMP
="emxbind -ep"
28408 echo "$as_me:$LINENO: checking for mode_t" >&5
28409 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28410 if test "${ac_cv_type_mode_t+set}" = set; then
28411 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 cat >conftest.
$ac_ext <<_ACEOF
28416 cat confdefs.h
>>conftest.
$ac_ext
28417 cat >>conftest.
$ac_ext <<_ACEOF
28418 /* end confdefs.h. */
28419 $ac_includes_default
28425 if (sizeof (mode_t))
28431 rm -f conftest.
$ac_objext
28432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28433 (eval $ac_compile) 2>conftest.er1
28435 grep -v '^ *+' conftest.er1
>conftest.err
28437 cat conftest.err
>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } &&
28440 { ac_try
='test -z "$ac_c_werror_flag"
28441 || test ! -s conftest.err'
28442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443 (eval $ac_try) 2>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); }; } &&
28447 { ac_try
='test -s conftest.$ac_objext'
28448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28449 (eval $ac_try) 2>&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); }; }; then
28453 ac_cv_type_mode_t
=yes
28455 echo "$as_me: failed program was:" >&5
28456 sed 's/^/| /' conftest.
$ac_ext >&5
28458 ac_cv_type_mode_t
=no
28460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28462 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28463 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28464 if test $ac_cv_type_mode_t = yes; then
28468 cat >>confdefs.h
<<_ACEOF
28474 echo "$as_me:$LINENO: checking for off_t" >&5
28475 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28476 if test "${ac_cv_type_off_t+set}" = set; then
28477 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 cat >conftest.
$ac_ext <<_ACEOF
28482 cat confdefs.h
>>conftest.
$ac_ext
28483 cat >>conftest.
$ac_ext <<_ACEOF
28484 /* end confdefs.h. */
28485 $ac_includes_default
28491 if (sizeof (off_t))
28497 rm -f conftest.
$ac_objext
28498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28499 (eval $ac_compile) 2>conftest.er1
28501 grep -v '^ *+' conftest.er1
>conftest.err
28503 cat conftest.err
>&5
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); } &&
28506 { ac_try
='test -z "$ac_c_werror_flag"
28507 || test ! -s conftest.err'
28508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28509 (eval $ac_try) 2>&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); }; } &&
28513 { ac_try
='test -s conftest.$ac_objext'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 ac_cv_type_off_t
=yes
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.
$ac_ext >&5
28524 ac_cv_type_off_t
=no
28526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28528 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28529 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28530 if test $ac_cv_type_off_t = yes; then
28534 cat >>confdefs.h
<<_ACEOF
28540 echo "$as_me:$LINENO: checking for pid_t" >&5
28541 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28542 if test "${ac_cv_type_pid_t+set}" = set; then
28543 echo $ECHO_N "(cached) $ECHO_C" >&6
28545 cat >conftest.
$ac_ext <<_ACEOF
28548 cat confdefs.h
>>conftest.
$ac_ext
28549 cat >>conftest.
$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28551 $ac_includes_default
28557 if (sizeof (pid_t))
28563 rm -f conftest.
$ac_objext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28565 (eval $ac_compile) 2>conftest.er1
28567 grep -v '^ *+' conftest.er1
>conftest.err
28569 cat conftest.err
>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try
='test -z "$ac_c_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try
='test -s conftest.$ac_objext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 ac_cv_type_pid_t
=yes
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.
$ac_ext >&5
28590 ac_cv_type_pid_t
=no
28592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28594 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28595 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28596 if test $ac_cv_type_pid_t = yes; then
28600 cat >>confdefs.h
<<_ACEOF
28606 echo "$as_me:$LINENO: checking for size_t" >&5
28607 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28608 if test "${ac_cv_type_size_t+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 cat >conftest.
$ac_ext <<_ACEOF
28614 cat confdefs.h
>>conftest.
$ac_ext
28615 cat >>conftest.
$ac_ext <<_ACEOF
28616 /* end confdefs.h. */
28617 $ac_includes_default
28623 if (sizeof (size_t))
28629 rm -f conftest.
$ac_objext
28630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28631 (eval $ac_compile) 2>conftest.er1
28633 grep -v '^ *+' conftest.er1
>conftest.err
28635 cat conftest.err
>&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } &&
28638 { ac_try
='test -z "$ac_c_werror_flag"
28639 || test ! -s conftest.err'
28640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28641 (eval $ac_try) 2>&5
28643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28644 (exit $ac_status); }; } &&
28645 { ac_try
='test -s conftest.$ac_objext'
28646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28647 (eval $ac_try) 2>&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); }; }; then
28651 ac_cv_type_size_t
=yes
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.
$ac_ext >&5
28656 ac_cv_type_size_t
=no
28658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28660 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28661 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28662 if test $ac_cv_type_size_t = yes; then
28666 cat >>confdefs.h
<<_ACEOF
28667 #define size_t unsigned
28672 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28673 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28674 if test "${ac_cv_type_uid_t+set}" = set; then
28675 echo $ECHO_N "(cached) $ECHO_C" >&6
28677 cat >conftest.
$ac_ext <<_ACEOF
28680 cat confdefs.h
>>conftest.
$ac_ext
28681 cat >>conftest.
$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28683 #include <sys/types.h>
28686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28687 $EGREP "uid_t" >/dev
/null
2>&1; then
28688 ac_cv_type_uid_t
=yes
28690 ac_cv_type_uid_t
=no
28695 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28696 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28697 if test $ac_cv_type_uid_t = no
; then
28699 cat >>confdefs.h
<<\_ACEOF
28704 cat >>confdefs.h
<<\_ACEOF
28711 echo "$as_me:$LINENO: checking for ssize_t" >&5
28712 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28713 if test "${ac_cv_type_ssize_t+set}" = set; then
28714 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 cat >conftest.
$ac_ext <<_ACEOF
28719 cat confdefs.h
>>conftest.
$ac_ext
28720 cat >>conftest.
$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 $ac_includes_default
28728 if (sizeof (ssize_t))
28734 rm -f conftest.
$ac_objext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28736 (eval $ac_compile) 2>conftest.er1
28738 grep -v '^ *+' conftest.er1
>conftest.err
28740 cat conftest.err
>&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try
='test -z "$ac_c_werror_flag"
28744 || test ! -s conftest.err'
28745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28746 (eval $ac_try) 2>&5
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); }; } &&
28750 { ac_try
='test -s conftest.$ac_objext'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; }; then
28756 ac_cv_type_ssize_t
=yes
28758 echo "$as_me: failed program was:" >&5
28759 sed 's/^/| /' conftest.
$ac_ext >&5
28761 ac_cv_type_ssize_t
=no
28763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28765 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28766 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28767 if test $ac_cv_type_ssize_t = yes; then
28769 cat >>confdefs.h
<<_ACEOF
28770 #define HAVE_SSIZE_T 1
28780 ac_cpp
='$CXXCPP $CPPFLAGS'
28781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28785 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28786 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28787 if test "${wx_cv_size_t_is_uint+set}" = set; then
28788 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 cat >conftest.
$ac_ext <<_ACEOF
28794 cat confdefs.h
>>conftest.
$ac_ext
28795 cat >>conftest.
$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28797 #include <stddef.h>
28804 struct Foo { void foo(size_t); void foo(unsigned int); };
28812 rm -f conftest.
$ac_objext
28813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28814 (eval $ac_compile) 2>conftest.er1
28816 grep -v '^ *+' conftest.er1
>conftest.err
28818 cat conftest.err
>&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } &&
28821 { ac_try
='test -z "$ac_cxx_werror_flag"
28822 || test ! -s conftest.err'
28823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824 (eval $ac_try) 2>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); }; } &&
28828 { ac_try
='test -s conftest.$ac_objext'
28829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28830 (eval $ac_try) 2>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28834 wx_cv_size_t_is_uint
=no
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.
$ac_ext >&5
28839 wx_cv_size_t_is_uint
=yes
28842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28846 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28847 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28849 if test "$wx_cv_size_t_is_uint" = "yes"; then
28850 cat >>confdefs.h
<<\_ACEOF
28851 #define wxSIZE_T_IS_UINT 1
28855 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28856 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28857 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 cat >conftest.
$ac_ext <<_ACEOF
28863 cat confdefs.h
>>conftest.
$ac_ext
28864 cat >>conftest.
$ac_ext <<_ACEOF
28865 /* end confdefs.h. */
28866 #include <stddef.h>
28873 struct Foo { void foo(size_t); void foo(unsigned long); };
28881 rm -f conftest.
$ac_objext
28882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28883 (eval $ac_compile) 2>conftest.er1
28885 grep -v '^ *+' conftest.er1
>conftest.err
28887 cat conftest.err
>&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try
='test -z "$ac_cxx_werror_flag"
28891 || test ! -s conftest.err'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; } &&
28897 { ac_try
='test -s conftest.$ac_objext'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; }; then
28903 wx_cv_size_t_is_ulong
=no
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.
$ac_ext >&5
28908 wx_cv_size_t_is_ulong
=yes
28911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28914 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28915 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28917 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28918 cat >>confdefs.h
<<\_ACEOF
28919 #define wxSIZE_T_IS_ULONG 1
28926 ac_cpp
='$CPP $CPPFLAGS'
28927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28933 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28934 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28935 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28936 echo $ECHO_N "(cached) $ECHO_C" >&6
28939 cat >conftest.
$ac_ext <<_ACEOF
28942 cat confdefs.h
>>conftest.
$ac_ext
28943 cat >>conftest.
$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28958 rm -f conftest.
$ac_objext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28960 (eval $ac_compile) 2>conftest.er1
28962 grep -v '^ *+' conftest.er1
>conftest.err
28964 cat conftest.err
>&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } &&
28967 { ac_try
='test -z "$ac_c_werror_flag"
28968 || test ! -s conftest.err'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; } &&
28974 { ac_try
='test -s conftest.$ac_objext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28981 wx_cv_struct_pw_gecos
=yes
28984 echo "$as_me: failed program was:" >&5
28985 sed 's/^/| /' conftest.
$ac_ext >&5
28988 wx_cv_struct_pw_gecos
=no
28992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28996 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28997 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28999 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29000 cat >>confdefs.h
<<\_ACEOF
29001 #define HAVE_PW_GECOS 1
29007 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29008 cat >>confdefs.h
<<\_ACEOF
29009 #define wxUSE_WCHAR_T 1
29016 for ac_func
in wcslen
29018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29019 echo "$as_me:$LINENO: checking for $ac_func" >&5
29020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29021 if eval "test \"\${$as_ac_var+set}\" = set"; then
29022 echo $ECHO_N "(cached) $ECHO_C" >&6
29024 cat >conftest.
$ac_ext <<_ACEOF
29027 cat confdefs.h
>>conftest.
$ac_ext
29028 cat >>conftest.
$ac_ext <<_ACEOF
29029 /* end confdefs.h. */
29030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29032 #define $ac_func innocuous_$ac_func
29034 /* System header to define __stub macros and hopefully few prototypes,
29035 which can conflict with char $ac_func (); below.
29036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29037 <limits.h> exists even on freestanding compilers. */
29040 # include <limits.h>
29042 # include <assert.h>
29047 /* Override any gcc2 internal prototype to avoid an error. */
29052 /* We use char because int might match the return type of a gcc2
29053 builtin and then its argument prototype would still apply. */
29055 /* The GNU C library defines this for functions which it implements
29056 to always fail with ENOSYS. Some functions are actually named
29057 something starting with __ and the normal name is an alias. */
29058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29061 char (*f) () = $ac_func;
29070 return f != $ac_func;
29075 rm -f conftest.
$ac_objext conftest
$ac_exeext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29077 (eval $ac_link) 2>conftest.er1
29079 grep -v '^ *+' conftest.er1
>conftest.err
29081 cat conftest.err
>&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } &&
29084 { ac_try
='test -z "$ac_c_werror_flag"
29085 || test ! -s conftest.err'
29086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087 (eval $ac_try) 2>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); }; } &&
29091 { ac_try
='test -s conftest$ac_exeext'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; }; then
29097 eval "$as_ac_var=yes"
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.
$ac_ext >&5
29102 eval "$as_ac_var=no"
29104 rm -f conftest.err conftest.
$ac_objext \
29105 conftest
$ac_exeext conftest.
$ac_ext
29107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29109 if test `eval echo '${'$as_ac_var'}'` = yes; then
29110 cat >>confdefs.h
<<_ACEOF
29111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29118 if test "$WCSLEN_FOUND" = 0; then
29119 if test "$TOOLKIT" = "MSW"; then
29120 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29121 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29122 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29123 echo $ECHO_N "(cached) $ECHO_C" >&6
29125 ac_check_lib_save_LIBS
=$LIBS
29126 LIBS
="-lmsvcrt $LIBS"
29127 cat >conftest.
$ac_ext <<_ACEOF
29130 cat confdefs.h
>>conftest.
$ac_ext
29131 cat >>conftest.
$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29134 /* Override any gcc2 internal prototype to avoid an error. */
29138 /* We use char because int might match the return type of a gcc2
29139 builtin and then its argument prototype would still apply. */
29149 rm -f conftest.
$ac_objext conftest
$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151 (eval $ac_link) 2>conftest.er1
29153 grep -v '^ *+' conftest.er1
>conftest.err
29155 cat conftest.err
>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try
='test -z "$ac_c_werror_flag"
29159 || test ! -s conftest.err'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; } &&
29165 { ac_try
='test -s conftest$ac_exeext'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; }; then
29171 ac_cv_lib_msvcrt_wcslen
=yes
29173 echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.
$ac_ext >&5
29176 ac_cv_lib_msvcrt_wcslen
=no
29178 rm -f conftest.err conftest.
$ac_objext \
29179 conftest
$ac_exeext conftest.
$ac_ext
29180 LIBS
=$ac_check_lib_save_LIBS
29182 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29183 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29184 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29189 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29190 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29191 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 ac_check_lib_save_LIBS
=$LIBS
29196 cat >conftest.
$ac_ext <<_ACEOF
29199 cat confdefs.h
>>conftest.
$ac_ext
29200 cat >>conftest.
$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29203 /* Override any gcc2 internal prototype to avoid an error. */
29207 /* We use char because int might match the return type of a gcc2
29208 builtin and then its argument prototype would still apply. */
29218 rm -f conftest.
$ac_objext conftest
$ac_exeext
29219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29220 (eval $ac_link) 2>conftest.er1
29222 grep -v '^ *+' conftest.er1
>conftest.err
29224 cat conftest.err
>&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } &&
29227 { ac_try
='test -z "$ac_c_werror_flag"
29228 || test ! -s conftest.err'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; } &&
29234 { ac_try
='test -s conftest$ac_exeext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 ac_cv_lib_w_wcslen
=yes
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.
$ac_ext >&5
29245 ac_cv_lib_w_wcslen
=no
29247 rm -f conftest.err conftest.
$ac_objext \
29248 conftest
$ac_exeext conftest.
$ac_ext
29249 LIBS
=$ac_check_lib_save_LIBS
29251 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29252 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29253 if test $ac_cv_lib_w_wcslen = yes; then
29263 if test "$WCSLEN_FOUND" = 1; then
29264 cat >>confdefs.h
<<\_ACEOF
29265 #define HAVE_WCSLEN 1
29270 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29271 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29275 for ac_func
in wcsrtombs
29277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29278 echo "$as_me:$LINENO: checking for $ac_func" >&5
29279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29280 if eval "test \"\${$as_ac_var+set}\" = set"; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 cat >conftest.
$ac_ext <<_ACEOF
29286 cat confdefs.h
>>conftest.
$ac_ext
29287 cat >>conftest.
$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29291 #define $ac_func innocuous_$ac_func
29293 /* System header to define __stub macros and hopefully few prototypes,
29294 which can conflict with char $ac_func (); below.
29295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29296 <limits.h> exists even on freestanding compilers. */
29299 # include <limits.h>
29301 # include <assert.h>
29306 /* Override any gcc2 internal prototype to avoid an error. */
29311 /* We use char because int might match the return type of a gcc2
29312 builtin and then its argument prototype would still apply. */
29314 /* The GNU C library defines this for functions which it implements
29315 to always fail with ENOSYS. Some functions are actually named
29316 something starting with __ and the normal name is an alias. */
29317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29320 char (*f) () = $ac_func;
29329 return f != $ac_func;
29334 rm -f conftest.
$ac_objext conftest
$ac_exeext
29335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29336 (eval $ac_link) 2>conftest.er1
29338 grep -v '^ *+' conftest.er1
>conftest.err
29340 cat conftest.err
>&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } &&
29343 { ac_try
='test -z "$ac_c_werror_flag"
29344 || test ! -s conftest.err'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; } &&
29350 { ac_try
='test -s conftest$ac_exeext'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; }; then
29356 eval "$as_ac_var=yes"
29358 echo "$as_me: failed program was:" >&5
29359 sed 's/^/| /' conftest.
$ac_ext >&5
29361 eval "$as_ac_var=no"
29363 rm -f conftest.err conftest.
$ac_objext \
29364 conftest
$ac_exeext conftest.
$ac_ext
29366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29368 if test `eval echo '${'$as_ac_var'}'` = yes; then
29369 cat >>confdefs.h
<<_ACEOF
29370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29377 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29378 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29384 ac_cpp
='$CXXCPP $CPPFLAGS'
29385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29391 for ac_func
in vsnprintf
29393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29394 echo "$as_me:$LINENO: checking for $ac_func" >&5
29395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29396 if eval "test \"\${$as_ac_var+set}\" = set"; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 cat >conftest.
$ac_ext <<_ACEOF
29402 cat confdefs.h
>>conftest.
$ac_ext
29403 cat >>conftest.
$ac_ext <<_ACEOF
29404 /* end confdefs.h. */
29405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29407 #define $ac_func innocuous_$ac_func
29409 /* System header to define __stub macros and hopefully few prototypes,
29410 which can conflict with char $ac_func (); below.
29411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29412 <limits.h> exists even on freestanding compilers. */
29415 # include <limits.h>
29417 # include <assert.h>
29422 /* Override any gcc2 internal prototype to avoid an error. */
29427 /* We use char because int might match the return type of a gcc2
29428 builtin and then its argument prototype would still apply. */
29430 /* The GNU C library defines this for functions which it implements
29431 to always fail with ENOSYS. Some functions are actually named
29432 something starting with __ and the normal name is an alias. */
29433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29436 char (*f) () = $ac_func;
29445 return f != $ac_func;
29450 rm -f conftest.
$ac_objext conftest
$ac_exeext
29451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29452 (eval $ac_link) 2>conftest.er1
29454 grep -v '^ *+' conftest.er1
>conftest.err
29456 cat conftest.err
>&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); } &&
29459 { ac_try
='test -z "$ac_cxx_werror_flag"
29460 || test ! -s conftest.err'
29461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29462 (eval $ac_try) 2>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); }; } &&
29466 { ac_try
='test -s conftest$ac_exeext'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; }; then
29472 eval "$as_ac_var=yes"
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.
$ac_ext >&5
29477 eval "$as_ac_var=no"
29479 rm -f conftest.err conftest.
$ac_objext \
29480 conftest
$ac_exeext conftest.
$ac_ext
29482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29484 if test `eval echo '${'$as_ac_var'}'` = yes; then
29485 cat >>confdefs.h
<<_ACEOF
29486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29493 if test "$ac_cv_func_vsnprintf" = "yes"; then
29494 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29495 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29496 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29497 echo $ECHO_N "(cached) $ECHO_C" >&6
29500 cat >conftest.
$ac_ext <<_ACEOF
29503 cat confdefs.h
>>conftest.
$ac_ext
29504 cat >>conftest.
$ac_ext <<_ACEOF
29505 /* end confdefs.h. */
29508 #include <stdarg.h>
29516 vsnprintf(buf, 10u, "%s", ap);
29522 rm -f conftest.
$ac_objext
29523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29524 (eval $ac_compile) 2>conftest.er1
29526 grep -v '^ *+' conftest.er1
>conftest.err
29528 cat conftest.err
>&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } &&
29531 { ac_try
='test -z "$ac_cxx_werror_flag"
29532 || test ! -s conftest.err'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; } &&
29538 { ac_try
='test -s conftest.$ac_objext'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; }; then
29544 wx_cv_func_vsnprintf_decl
=yes
29546 echo "$as_me: failed program was:" >&5
29547 sed 's/^/| /' conftest.
$ac_ext >&5
29549 wx_cv_func_vsnprintf_decl
=no
29552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29556 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29557 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29559 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29560 cat >>confdefs.h
<<\_ACEOF
29561 #define HAVE_VSNPRINTF_DECL 1
29567 if test "$wxUSE_UNICODE" = yes; then
29574 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29577 echo "$as_me:$LINENO: checking for $ac_func" >&5
29578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29579 if eval "test \"\${$as_ac_var+set}\" = set"; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 cat >conftest.
$ac_ext <<_ACEOF
29585 cat confdefs.h
>>conftest.
$ac_ext
29586 cat >>conftest.
$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29590 #define $ac_func innocuous_$ac_func
29592 /* System header to define __stub macros and hopefully few prototypes,
29593 which can conflict with char $ac_func (); below.
29594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29595 <limits.h> exists even on freestanding compilers. */
29598 # include <limits.h>
29600 # include <assert.h>
29605 /* Override any gcc2 internal prototype to avoid an error. */
29610 /* We use char because int might match the return type of a gcc2
29611 builtin and then its argument prototype would still apply. */
29613 /* The GNU C library defines this for functions which it implements
29614 to always fail with ENOSYS. Some functions are actually named
29615 something starting with __ and the normal name is an alias. */
29616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29619 char (*f) () = $ac_func;
29628 return f != $ac_func;
29633 rm -f conftest.
$ac_objext conftest
$ac_exeext
29634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29635 (eval $ac_link) 2>conftest.er1
29637 grep -v '^ *+' conftest.er1
>conftest.err
29639 cat conftest.err
>&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); } &&
29642 { ac_try
='test -z "$ac_cxx_werror_flag"
29643 || test ! -s conftest.err'
29644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29645 (eval $ac_try) 2>&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); }; } &&
29649 { ac_try
='test -s conftest$ac_exeext'
29650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29651 (eval $ac_try) 2>&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); }; }; then
29655 eval "$as_ac_var=yes"
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.
$ac_ext >&5
29660 eval "$as_ac_var=no"
29662 rm -f conftest.err conftest.
$ac_objext \
29663 conftest
$ac_exeext conftest.
$ac_ext
29665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29667 if test `eval echo '${'$as_ac_var'}'` = yes; then
29668 cat >>confdefs.h
<<_ACEOF
29669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29676 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29677 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29678 cat >conftest.
$ac_ext <<_ACEOF
29681 cat confdefs.h
>>conftest.
$ac_ext
29682 cat >>conftest.
$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29693 rm -f conftest.
$ac_objext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29695 (eval $ac_compile) 2>conftest.er1
29697 grep -v '^ *+' conftest.er1
>conftest.err
29699 cat conftest.err
>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try
='test -z "$ac_cxx_werror_flag"
29703 || test ! -s conftest.err'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; } &&
29709 { ac_try
='test -s conftest.$ac_objext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29715 echo "$as_me:$LINENO: result: yes" >&5
29716 echo "${ECHO_T}yes" >&6
29717 cat >>confdefs.h
<<\_ACEOF
29718 #define HAVE__VSNWPRINTF 1
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.
$ac_ext >&5
29725 echo "$as_me:$LINENO: result: no" >&5
29726 echo "${ECHO_T}no" >&6
29728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29732 ac_cpp
='$CPP $CPPFLAGS'
29733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29740 if test "$TOOLKIT" != "MSW"; then
29746 ac_cpp
='$CXXCPP $CPPFLAGS'
29747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29754 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29755 if test "${with_libiconv_prefix+set}" = set; then
29756 withval
="$with_libiconv_prefix"
29758 for dir
in `echo "$withval" | tr : ' '`; do
29759 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29760 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29765 echo "$as_me:$LINENO: checking for iconv" >&5
29766 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29767 if test "${am_cv_func_iconv+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 am_cv_func_iconv
="no, consider installing GNU libiconv"
29773 cat >conftest.
$ac_ext <<_ACEOF
29776 cat confdefs.h
>>conftest.
$ac_ext
29777 cat >>conftest.
$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29779 #include <stdlib.h>
29784 iconv_t cd = iconv_open("","");
29785 iconv(cd,NULL,NULL,NULL,NULL);
29791 rm -f conftest.
$ac_objext conftest
$ac_exeext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29793 (eval $ac_link) 2>conftest.er1
29795 grep -v '^ *+' conftest.er1
>conftest.err
29797 cat conftest.err
>&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); } &&
29800 { ac_try
='test -z "$ac_cxx_werror_flag"
29801 || test ! -s conftest.err'
29802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29803 (eval $ac_try) 2>&5
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); }; } &&
29807 { ac_try
='test -s conftest$ac_exeext'
29808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809 (eval $ac_try) 2>&5
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 (exit $ac_status); }; }; then
29813 am_cv_func_iconv
=yes
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.
$ac_ext >&5
29819 rm -f conftest.err conftest.
$ac_objext \
29820 conftest
$ac_exeext conftest.
$ac_ext
29821 if test "$am_cv_func_iconv" != yes; then
29822 am_save_LIBS
="$LIBS"
29823 LIBS
="$LIBS -liconv"
29824 cat >conftest.
$ac_ext <<_ACEOF
29827 cat confdefs.h
>>conftest.
$ac_ext
29828 cat >>conftest.
$ac_ext <<_ACEOF
29829 /* end confdefs.h. */
29830 #include <stdlib.h>
29835 iconv_t cd = iconv_open("","");
29836 iconv(cd,NULL,NULL,NULL,NULL);
29842 rm -f conftest.
$ac_objext conftest
$ac_exeext
29843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29844 (eval $ac_link) 2>conftest.er1
29846 grep -v '^ *+' conftest.er1
>conftest.err
29848 cat conftest.err
>&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); } &&
29851 { ac_try
='test -z "$ac_cxx_werror_flag"
29852 || test ! -s conftest.err'
29853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29854 (eval $ac_try) 2>&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); }; } &&
29858 { ac_try
='test -s conftest$ac_exeext'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; }; then
29864 am_cv_lib_iconv
=yes
29865 am_cv_func_iconv
=yes
29867 echo "$as_me: failed program was:" >&5
29868 sed 's/^/| /' conftest.
$ac_ext >&5
29871 rm -f conftest.err conftest.
$ac_objext \
29872 conftest
$ac_exeext conftest.
$ac_ext
29873 LIBS
="$am_save_LIBS"
29877 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29878 echo "${ECHO_T}$am_cv_func_iconv" >&6
29879 if test "$am_cv_func_iconv" = yes; then
29881 cat >>confdefs.h
<<\_ACEOF
29882 #define HAVE_ICONV 1
29885 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29886 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29887 if test "${wx_cv_func_iconv_const+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29890 cat >conftest.
$ac_ext <<_ACEOF
29893 cat confdefs.h
>>conftest.
$ac_ext
29894 cat >>conftest.
$ac_ext <<_ACEOF
29895 /* end confdefs.h. */
29897 #include <stdlib.h>
29903 #if defined(__STDC__) || defined(__cplusplus)
29904 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29917 rm -f conftest.
$ac_objext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29919 (eval $ac_compile) 2>conftest.er1
29921 grep -v '^ *+' conftest.er1
>conftest.err
29923 cat conftest.err
>&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); } &&
29926 { ac_try
='test -z "$ac_cxx_werror_flag"
29927 || test ! -s conftest.err'
29928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29929 (eval $ac_try) 2>&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; } &&
29933 { ac_try
='test -s conftest.$ac_objext'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; }; then
29939 wx_cv_func_iconv_const
="no"
29941 echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.
$ac_ext >&5
29944 wx_cv_func_iconv_const
="yes"
29947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29950 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29951 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29954 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29955 iconv_const
="const"
29959 cat >>confdefs.h
<<_ACEOF
29960 #define ICONV_CONST $iconv_const
29965 if test "$am_cv_lib_iconv" = yes; then
29970 LIBS
="$LIBICONV $LIBS"
29972 ac_cpp
='$CPP $CPPFLAGS'
29973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29978 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29980 for ac_func
in sigaction
29982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29983 echo "$as_me:$LINENO: checking for $ac_func" >&5
29984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29985 if eval "test \"\${$as_ac_var+set}\" = set"; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 cat >conftest.
$ac_ext <<_ACEOF
29991 cat confdefs.h
>>conftest.
$ac_ext
29992 cat >>conftest.
$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29996 #define $ac_func innocuous_$ac_func
29998 /* System header to define __stub macros and hopefully few prototypes,
29999 which can conflict with char $ac_func (); below.
30000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30001 <limits.h> exists even on freestanding compilers. */
30004 # include <limits.h>
30006 # include <assert.h>
30011 /* Override any gcc2 internal prototype to avoid an error. */
30016 /* We use char because int might match the return type of a gcc2
30017 builtin and then its argument prototype would still apply. */
30019 /* The GNU C library defines this for functions which it implements
30020 to always fail with ENOSYS. Some functions are actually named
30021 something starting with __ and the normal name is an alias. */
30022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30025 char (*f) () = $ac_func;
30034 return f != $ac_func;
30039 rm -f conftest.
$ac_objext conftest
$ac_exeext
30040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30041 (eval $ac_link) 2>conftest.er1
30043 grep -v '^ *+' conftest.er1
>conftest.err
30045 cat conftest.err
>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } &&
30048 { ac_try
='test -z "$ac_c_werror_flag"
30049 || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest$ac_exeext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 eval "$as_ac_var=yes"
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30066 eval "$as_ac_var=no"
30068 rm -f conftest.err conftest.
$ac_objext \
30069 conftest
$ac_exeext conftest.
$ac_ext
30071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30073 if test `eval echo '${'$as_ac_var'}'` = yes; then
30074 cat >>confdefs.h
<<_ACEOF
30075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30082 if test "$ac_cv_func_sigaction" = "no"; then
30083 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30084 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30085 wxUSE_ON_FATAL_EXCEPTION
=no
30088 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30092 ac_cpp
='$CXXCPP $CPPFLAGS'
30093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30098 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30099 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30100 if test "${wx_cv_type_sa_handler+set}" = set; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30104 cat >conftest.
$ac_ext <<_ACEOF
30107 cat confdefs.h
>>conftest.
$ac_ext
30108 cat >>conftest.
$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30110 #include <signal.h>
30115 extern void testSigHandler(int);
30117 struct sigaction sa;
30118 sa.sa_handler = testSigHandler;
30124 rm -f conftest.
$ac_objext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30126 (eval $ac_compile) 2>conftest.er1
30128 grep -v '^ *+' conftest.er1
>conftest.err
30130 cat conftest.err
>&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try
='test -z "$ac_cxx_werror_flag"
30134 || test ! -s conftest.err'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; } &&
30140 { ac_try
='test -s conftest.$ac_objext'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; }; then
30147 wx_cv_type_sa_handler
=int
30150 echo "$as_me: failed program was:" >&5
30151 sed 's/^/| /' conftest.
$ac_ext >&5
30154 wx_cv_type_sa_handler
=void
30157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30160 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30161 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30164 ac_cpp
='$CPP $CPPFLAGS'
30165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30170 cat >>confdefs.h
<<_ACEOF
30171 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30179 for ac_func
in mkstemp mktemp
30181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30182 echo "$as_me:$LINENO: checking for $ac_func" >&5
30183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30184 if eval "test \"\${$as_ac_var+set}\" = set"; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 cat >conftest.
$ac_ext <<_ACEOF
30190 cat confdefs.h
>>conftest.
$ac_ext
30191 cat >>conftest.
$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30195 #define $ac_func innocuous_$ac_func
30197 /* System header to define __stub macros and hopefully few prototypes,
30198 which can conflict with char $ac_func (); below.
30199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30200 <limits.h> exists even on freestanding compilers. */
30203 # include <limits.h>
30205 # include <assert.h>
30210 /* Override any gcc2 internal prototype to avoid an error. */
30215 /* We use char because int might match the return type of a gcc2
30216 builtin and then its argument prototype would still apply. */
30218 /* The GNU C library defines this for functions which it implements
30219 to always fail with ENOSYS. Some functions are actually named
30220 something starting with __ and the normal name is an alias. */
30221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30224 char (*f) () = $ac_func;
30233 return f != $ac_func;
30238 rm -f conftest.
$ac_objext conftest
$ac_exeext
30239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30240 (eval $ac_link) 2>conftest.er1
30242 grep -v '^ *+' conftest.er1
>conftest.err
30244 cat conftest.err
>&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); } &&
30247 { ac_try
='test -z "$ac_c_werror_flag"
30248 || test ! -s conftest.err'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; } &&
30254 { ac_try
='test -s conftest$ac_exeext'
30255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30256 (eval $ac_try) 2>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; }; then
30260 eval "$as_ac_var=yes"
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.
$ac_ext >&5
30265 eval "$as_ac_var=no"
30267 rm -f conftest.err conftest.
$ac_objext \
30268 conftest
$ac_exeext conftest.
$ac_ext
30270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30272 if test `eval echo '${'$as_ac_var'}'` = yes; then
30273 cat >>confdefs.h
<<_ACEOF
30274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30281 echo "$as_me:$LINENO: checking for statfs" >&5
30282 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30283 if test "${wx_cv_func_statfs+set}" = set; then
30284 echo $ECHO_N "(cached) $ECHO_C" >&6
30286 cat >conftest.
$ac_ext <<_ACEOF
30289 cat confdefs.h
>>conftest.
$ac_ext
30290 cat >>conftest.
$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30293 #if defined(__BSD__)
30294 #include <sys/param.h>
30295 #include <sys/mount.h>
30297 #include <sys/vfs.h>
30315 rm -f conftest.
$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>conftest.er1
30319 grep -v '^ *+' conftest.er1
>conftest.err
30321 cat conftest.err
>&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } &&
30324 { ac_try
='test -z "$ac_c_werror_flag"
30325 || test ! -s conftest.err'
30326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30327 (eval $ac_try) 2>&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); }; } &&
30331 { ac_try
='test -s conftest.$ac_objext'
30332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30333 (eval $ac_try) 2>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); }; }; then
30338 wx_cv_func_statfs
=yes
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.
$ac_ext >&5
30345 wx_cv_func_statfs
=no
30349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30352 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30353 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30355 if test "$wx_cv_func_statfs" = "yes"; then
30356 wx_cv_type_statvfs_t
="struct statfs"
30357 cat >>confdefs.h
<<\_ACEOF
30358 #define HAVE_STATFS 1
30362 echo "$as_me:$LINENO: checking for statvfs" >&5
30363 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30364 if test "${wx_cv_func_statvfs+set}" = set; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 cat >conftest.
$ac_ext <<_ACEOF
30370 cat confdefs.h
>>conftest.
$ac_ext
30371 cat >>conftest.
$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30374 #include <stddef.h>
30375 #include <sys/statvfs.h>
30381 statvfs("/", NULL);
30387 rm -f conftest.
$ac_objext
30388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30389 (eval $ac_compile) 2>conftest.er1
30391 grep -v '^ *+' conftest.er1
>conftest.err
30393 cat conftest.err
>&5
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); } &&
30396 { ac_try
='test -z "$ac_c_werror_flag"
30397 || test ! -s conftest.err'
30398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399 (eval $ac_try) 2>&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); }; } &&
30403 { ac_try
='test -s conftest.$ac_objext'
30404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30405 (eval $ac_try) 2>&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; }; then
30409 wx_cv_func_statvfs
=yes
30411 echo "$as_me: failed program was:" >&5
30412 sed 's/^/| /' conftest.
$ac_ext >&5
30414 wx_cv_func_statvfs
=no
30417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30420 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30421 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30423 if test "$wx_cv_func_statvfs" = "yes"; then
30427 ac_cpp
='$CXXCPP $CPPFLAGS'
30428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30433 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30434 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30435 if test "${wx_cv_type_statvfs_t+set}" = set; then
30436 echo $ECHO_N "(cached) $ECHO_C" >&6
30438 cat >conftest.
$ac_ext <<_ACEOF
30441 cat confdefs.h
>>conftest.
$ac_ext
30442 cat >>conftest.
$ac_ext <<_ACEOF
30443 /* end confdefs.h. */
30445 #include <sys/statvfs.h>
30462 rm -f conftest.
$ac_objext
30463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30464 (eval $ac_compile) 2>conftest.er1
30466 grep -v '^ *+' conftest.er1
>conftest.err
30468 cat conftest.err
>&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } &&
30471 { ac_try
='test -z "$ac_cxx_werror_flag"
30472 || test ! -s conftest.err'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; } &&
30478 { ac_try
='test -s conftest.$ac_objext'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; }; then
30484 wx_cv_type_statvfs_t
=statvfs_t
30486 echo "$as_me: failed program was:" >&5
30487 sed 's/^/| /' conftest.
$ac_ext >&5
30490 cat >conftest.
$ac_ext <<_ACEOF
30493 cat confdefs.h
>>conftest.
$ac_ext
30494 cat >>conftest.
$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30497 #include <sys/statvfs.h>
30514 rm -f conftest.
$ac_objext
30515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30516 (eval $ac_compile) 2>conftest.er1
30518 grep -v '^ *+' conftest.er1
>conftest.err
30520 cat conftest.err
>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); } &&
30523 { ac_try
='test -z "$ac_cxx_werror_flag"
30524 || test ! -s conftest.err'
30525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 (eval $ac_try) 2>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; } &&
30530 { ac_try
='test -s conftest.$ac_objext'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; }; then
30536 wx_cv_type_statvfs_t
="struct statvfs"
30538 echo "$as_me: failed program was:" >&5
30539 sed 's/^/| /' conftest.
$ac_ext >&5
30541 wx_cv_type_statvfs_t
="unknown"
30544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30551 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30552 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30555 ac_cpp
='$CPP $CPPFLAGS'
30556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30561 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30562 cat >>confdefs.h
<<\_ACEOF
30563 #define HAVE_STATVFS 1
30568 wx_cv_type_statvfs_t
="unknown"
30572 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30573 cat >>confdefs.h
<<_ACEOF
30574 #define WX_STATFS_T $wx_cv_type_statvfs_t
30578 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30579 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30582 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30585 for ac_func
in fcntl flock
30587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30588 echo "$as_me:$LINENO: checking for $ac_func" >&5
30589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30590 if eval "test \"\${$as_ac_var+set}\" = set"; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 cat >conftest.
$ac_ext <<_ACEOF
30596 cat confdefs.h
>>conftest.
$ac_ext
30597 cat >>conftest.
$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30601 #define $ac_func innocuous_$ac_func
30603 /* System header to define __stub macros and hopefully few prototypes,
30604 which can conflict with char $ac_func (); below.
30605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30606 <limits.h> exists even on freestanding compilers. */
30609 # include <limits.h>
30611 # include <assert.h>
30616 /* Override any gcc2 internal prototype to avoid an error. */
30621 /* We use char because int might match the return type of a gcc2
30622 builtin and then its argument prototype would still apply. */
30624 /* The GNU C library defines this for functions which it implements
30625 to always fail with ENOSYS. Some functions are actually named
30626 something starting with __ and the normal name is an alias. */
30627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30630 char (*f) () = $ac_func;
30639 return f != $ac_func;
30644 rm -f conftest.
$ac_objext conftest
$ac_exeext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30646 (eval $ac_link) 2>conftest.er1
30648 grep -v '^ *+' conftest.er1
>conftest.err
30650 cat conftest.err
>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try
='test -z "$ac_c_werror_flag"
30654 || test ! -s conftest.err'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; } &&
30660 { ac_try
='test -s conftest$ac_exeext'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; }; then
30666 eval "$as_ac_var=yes"
30668 echo "$as_me: failed program was:" >&5
30669 sed 's/^/| /' conftest.
$ac_ext >&5
30671 eval "$as_ac_var=no"
30673 rm -f conftest.err conftest.
$ac_objext \
30674 conftest
$ac_exeext conftest.
$ac_ext
30676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30678 if test `eval echo '${'$as_ac_var'}'` = yes; then
30679 cat >>confdefs.h
<<_ACEOF
30680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30687 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30688 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30689 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30690 wxUSE_SNGLINST_CHECKER
=no
30695 for ac_func
in timegm
30697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30698 echo "$as_me:$LINENO: checking for $ac_func" >&5
30699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30700 if eval "test \"\${$as_ac_var+set}\" = set"; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 cat >conftest.
$ac_ext <<_ACEOF
30706 cat confdefs.h
>>conftest.
$ac_ext
30707 cat >>conftest.
$ac_ext <<_ACEOF
30708 /* end confdefs.h. */
30709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30711 #define $ac_func innocuous_$ac_func
30713 /* System header to define __stub macros and hopefully few prototypes,
30714 which can conflict with char $ac_func (); below.
30715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30716 <limits.h> exists even on freestanding compilers. */
30719 # include <limits.h>
30721 # include <assert.h>
30726 /* Override any gcc2 internal prototype to avoid an error. */
30731 /* We use char because int might match the return type of a gcc2
30732 builtin and then its argument prototype would still apply. */
30734 /* The GNU C library defines this for functions which it implements
30735 to always fail with ENOSYS. Some functions are actually named
30736 something starting with __ and the normal name is an alias. */
30737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30740 char (*f) () = $ac_func;
30749 return f != $ac_func;
30754 rm -f conftest.
$ac_objext conftest
$ac_exeext
30755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30756 (eval $ac_link) 2>conftest.er1
30758 grep -v '^ *+' conftest.er1
>conftest.err
30760 cat conftest.err
>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); } &&
30763 { ac_try
='test -z "$ac_c_werror_flag"
30764 || test ! -s conftest.err'
30765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30766 (eval $ac_try) 2>&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); }; } &&
30770 { ac_try
='test -s conftest$ac_exeext'
30771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30772 (eval $ac_try) 2>&5
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); }; }; then
30776 eval "$as_ac_var=yes"
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.
$ac_ext >&5
30781 eval "$as_ac_var=no"
30783 rm -f conftest.err conftest.
$ac_objext \
30784 conftest
$ac_exeext conftest.
$ac_ext
30786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30788 if test `eval echo '${'$as_ac_var'}'` = yes; then
30789 cat >>confdefs.h
<<_ACEOF
30790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30799 for ac_func
in putenv setenv
30801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30802 echo "$as_me:$LINENO: checking for $ac_func" >&5
30803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30804 if eval "test \"\${$as_ac_var+set}\" = set"; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 cat >conftest.
$ac_ext <<_ACEOF
30810 cat confdefs.h
>>conftest.
$ac_ext
30811 cat >>conftest.
$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30815 #define $ac_func innocuous_$ac_func
30817 /* System header to define __stub macros and hopefully few prototypes,
30818 which can conflict with char $ac_func (); below.
30819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30820 <limits.h> exists even on freestanding compilers. */
30823 # include <limits.h>
30825 # include <assert.h>
30830 /* Override any gcc2 internal prototype to avoid an error. */
30835 /* We use char because int might match the return type of a gcc2
30836 builtin and then its argument prototype would still apply. */
30838 /* The GNU C library defines this for functions which it implements
30839 to always fail with ENOSYS. Some functions are actually named
30840 something starting with __ and the normal name is an alias. */
30841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30844 char (*f) () = $ac_func;
30853 return f != $ac_func;
30858 rm -f conftest.
$ac_objext conftest
$ac_exeext
30859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30860 (eval $ac_link) 2>conftest.er1
30862 grep -v '^ *+' conftest.er1
>conftest.err
30864 cat conftest.err
>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } &&
30867 { ac_try
='test -z "$ac_c_werror_flag"
30868 || test ! -s conftest.err'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; } &&
30874 { ac_try
='test -s conftest$ac_exeext'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; }; then
30880 eval "$as_ac_var=yes"
30882 echo "$as_me: failed program was:" >&5
30883 sed 's/^/| /' conftest.
$ac_ext >&5
30885 eval "$as_ac_var=no"
30887 rm -f conftest.err conftest.
$ac_objext \
30888 conftest
$ac_exeext conftest.
$ac_ext
30890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30892 if test `eval echo '${'$as_ac_var'}'` = yes; then
30893 cat >>confdefs.h
<<_ACEOF
30894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30901 HAVE_SOME_SLEEP_FUNC
=0
30902 if test "$USE_BEOS" = 1; then
30903 cat >>confdefs.h
<<\_ACEOF
30904 #define HAVE_SLEEP 1
30907 HAVE_SOME_SLEEP_FUNC
=1
30910 if test "$USE_DARWIN" = 1; then
30911 cat >>confdefs.h
<<\_ACEOF
30912 #define HAVE_USLEEP 1
30915 HAVE_SOME_SLEEP_FUNC
=1
30918 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30921 for ac_func
in nanosleep
30923 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30924 echo "$as_me:$LINENO: checking for $ac_func" >&5
30925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30926 if eval "test \"\${$as_ac_var+set}\" = set"; then
30927 echo $ECHO_N "(cached) $ECHO_C" >&6
30929 cat >conftest.
$ac_ext <<_ACEOF
30932 cat confdefs.h
>>conftest.
$ac_ext
30933 cat >>conftest.
$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30937 #define $ac_func innocuous_$ac_func
30939 /* System header to define __stub macros and hopefully few prototypes,
30940 which can conflict with char $ac_func (); below.
30941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30942 <limits.h> exists even on freestanding compilers. */
30945 # include <limits.h>
30947 # include <assert.h>
30952 /* Override any gcc2 internal prototype to avoid an error. */
30957 /* We use char because int might match the return type of a gcc2
30958 builtin and then its argument prototype would still apply. */
30960 /* The GNU C library defines this for functions which it implements
30961 to always fail with ENOSYS. Some functions are actually named
30962 something starting with __ and the normal name is an alias. */
30963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30966 char (*f) () = $ac_func;
30975 return f != $ac_func;
30980 rm -f conftest.
$ac_objext conftest
$ac_exeext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30982 (eval $ac_link) 2>conftest.er1
30984 grep -v '^ *+' conftest.er1
>conftest.err
30986 cat conftest.err
>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } &&
30989 { ac_try
='test -z "$ac_c_werror_flag"
30990 || test ! -s conftest.err'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; } &&
30996 { ac_try
='test -s conftest$ac_exeext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 eval "$as_ac_var=yes"
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.
$ac_ext >&5
31007 eval "$as_ac_var=no"
31009 rm -f conftest.err conftest.
$ac_objext \
31010 conftest
$ac_exeext conftest.
$ac_ext
31012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31014 if test `eval echo '${'$as_ac_var'}'` = yes; then
31015 cat >>confdefs.h
<<_ACEOF
31016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31018 cat >>confdefs.h
<<\_ACEOF
31019 #define HAVE_NANOSLEEP 1
31024 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31025 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31026 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31029 ac_check_lib_save_LIBS
=$LIBS
31030 LIBS
="-lposix4 $LIBS"
31031 cat >conftest.
$ac_ext <<_ACEOF
31034 cat confdefs.h
>>conftest.
$ac_ext
31035 cat >>conftest.
$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31038 /* Override any gcc2 internal prototype to avoid an error. */
31042 /* We use char because int might match the return type of a gcc2
31043 builtin and then its argument prototype would still apply. */
31053 rm -f conftest.
$ac_objext conftest
$ac_exeext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31055 (eval $ac_link) 2>conftest.er1
31057 grep -v '^ *+' conftest.er1
>conftest.err
31059 cat conftest.err
>&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } &&
31062 { ac_try
='test -z "$ac_c_werror_flag"
31063 || test ! -s conftest.err'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; } &&
31069 { ac_try
='test -s conftest$ac_exeext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 ac_cv_lib_posix4_nanosleep
=yes
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.
$ac_ext >&5
31080 ac_cv_lib_posix4_nanosleep
=no
31082 rm -f conftest.err conftest.
$ac_objext \
31083 conftest
$ac_exeext conftest.
$ac_ext
31084 LIBS
=$ac_check_lib_save_LIBS
31086 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31087 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31088 if test $ac_cv_lib_posix4_nanosleep = yes; then
31090 cat >>confdefs.h
<<\_ACEOF
31091 #define HAVE_NANOSLEEP 1
31094 POSIX4_LINK
=" -lposix4"
31099 for ac_func
in usleep
31101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31102 echo "$as_me:$LINENO: checking for $ac_func" >&5
31103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31104 if eval "test \"\${$as_ac_var+set}\" = set"; then
31105 echo $ECHO_N "(cached) $ECHO_C" >&6
31107 cat >conftest.
$ac_ext <<_ACEOF
31110 cat confdefs.h
>>conftest.
$ac_ext
31111 cat >>conftest.
$ac_ext <<_ACEOF
31112 /* end confdefs.h. */
31113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31115 #define $ac_func innocuous_$ac_func
31117 /* System header to define __stub macros and hopefully few prototypes,
31118 which can conflict with char $ac_func (); below.
31119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31120 <limits.h> exists even on freestanding compilers. */
31123 # include <limits.h>
31125 # include <assert.h>
31130 /* Override any gcc2 internal prototype to avoid an error. */
31135 /* We use char because int might match the return type of a gcc2
31136 builtin and then its argument prototype would still apply. */
31138 /* The GNU C library defines this for functions which it implements
31139 to always fail with ENOSYS. Some functions are actually named
31140 something starting with __ and the normal name is an alias. */
31141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31144 char (*f) () = $ac_func;
31153 return f != $ac_func;
31158 rm -f conftest.
$ac_objext conftest
$ac_exeext
31159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31160 (eval $ac_link) 2>conftest.er1
31162 grep -v '^ *+' conftest.er1
>conftest.err
31164 cat conftest.err
>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try
='test -z "$ac_c_werror_flag"
31168 || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try
='test -s conftest$ac_exeext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 eval "$as_ac_var=yes"
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.
$ac_ext >&5
31185 eval "$as_ac_var=no"
31187 rm -f conftest.err conftest.
$ac_objext \
31188 conftest
$ac_exeext conftest.
$ac_ext
31190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31192 if test `eval echo '${'$as_ac_var'}'` = yes; then
31193 cat >>confdefs.h
<<_ACEOF
31194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31196 cat >>confdefs.h
<<\_ACEOF
31197 #define HAVE_USLEEP 1
31201 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31202 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31220 for ac_func
in uname gethostname
31222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31223 echo "$as_me:$LINENO: checking for $ac_func" >&5
31224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31225 if eval "test \"\${$as_ac_var+set}\" = set"; then
31226 echo $ECHO_N "(cached) $ECHO_C" >&6
31228 cat >conftest.
$ac_ext <<_ACEOF
31231 cat confdefs.h
>>conftest.
$ac_ext
31232 cat >>conftest.
$ac_ext <<_ACEOF
31233 /* end confdefs.h. */
31234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31236 #define $ac_func innocuous_$ac_func
31238 /* System header to define __stub macros and hopefully few prototypes,
31239 which can conflict with char $ac_func (); below.
31240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31241 <limits.h> exists even on freestanding compilers. */
31244 # include <limits.h>
31246 # include <assert.h>
31251 /* Override any gcc2 internal prototype to avoid an error. */
31256 /* We use char because int might match the return type of a gcc2
31257 builtin and then its argument prototype would still apply. */
31259 /* The GNU C library defines this for functions which it implements
31260 to always fail with ENOSYS. Some functions are actually named
31261 something starting with __ and the normal name is an alias. */
31262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31265 char (*f) () = $ac_func;
31274 return f != $ac_func;
31279 rm -f conftest.
$ac_objext conftest
$ac_exeext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31281 (eval $ac_link) 2>conftest.er1
31283 grep -v '^ *+' conftest.er1
>conftest.err
31285 cat conftest.err
>&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } &&
31288 { ac_try
='test -z "$ac_c_werror_flag"
31289 || test ! -s conftest.err'
31290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291 (eval $ac_try) 2>&5
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); }; } &&
31295 { ac_try
='test -s conftest$ac_exeext'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; }; then
31301 eval "$as_ac_var=yes"
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.
$ac_ext >&5
31306 eval "$as_ac_var=no"
31308 rm -f conftest.err conftest.
$ac_objext \
31309 conftest
$ac_exeext conftest.
$ac_ext
31311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31313 if test `eval echo '${'$as_ac_var'}'` = yes; then
31314 cat >>confdefs.h
<<_ACEOF
31315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31325 ac_cpp
='$CXXCPP $CPPFLAGS'
31326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31332 for ac_func
in strtok_r
31334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31335 echo "$as_me:$LINENO: checking for $ac_func" >&5
31336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31337 if eval "test \"\${$as_ac_var+set}\" = set"; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31340 cat >conftest.
$ac_ext <<_ACEOF
31343 cat confdefs.h
>>conftest.
$ac_ext
31344 cat >>conftest.
$ac_ext <<_ACEOF
31345 /* end confdefs.h. */
31346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31348 #define $ac_func innocuous_$ac_func
31350 /* System header to define __stub macros and hopefully few prototypes,
31351 which can conflict with char $ac_func (); below.
31352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31353 <limits.h> exists even on freestanding compilers. */
31356 # include <limits.h>
31358 # include <assert.h>
31363 /* Override any gcc2 internal prototype to avoid an error. */
31368 /* We use char because int might match the return type of a gcc2
31369 builtin and then its argument prototype would still apply. */
31371 /* The GNU C library defines this for functions which it implements
31372 to always fail with ENOSYS. Some functions are actually named
31373 something starting with __ and the normal name is an alias. */
31374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31377 char (*f) () = $ac_func;
31386 return f != $ac_func;
31391 rm -f conftest.
$ac_objext conftest
$ac_exeext
31392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31393 (eval $ac_link) 2>conftest.er1
31395 grep -v '^ *+' conftest.er1
>conftest.err
31397 cat conftest.err
>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); } &&
31400 { ac_try
='test -z "$ac_cxx_werror_flag"
31401 || test ! -s conftest.err'
31402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 (eval $ac_try) 2>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; } &&
31407 { ac_try
='test -s conftest$ac_exeext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31413 eval "$as_ac_var=yes"
31415 echo "$as_me: failed program was:" >&5
31416 sed 's/^/| /' conftest.
$ac_ext >&5
31418 eval "$as_ac_var=no"
31420 rm -f conftest.err conftest.
$ac_objext \
31421 conftest
$ac_exeext conftest.
$ac_ext
31423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31425 if test `eval echo '${'$as_ac_var'}'` = yes; then
31426 cat >>confdefs.h
<<_ACEOF
31427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31435 ac_cpp
='$CPP $CPPFLAGS'
31436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31443 for ac_func
in inet_addr
31445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31446 echo "$as_me:$LINENO: checking for $ac_func" >&5
31447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31448 if eval "test \"\${$as_ac_var+set}\" = set"; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 cat >conftest.
$ac_ext <<_ACEOF
31454 cat confdefs.h
>>conftest.
$ac_ext
31455 cat >>conftest.
$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31459 #define $ac_func innocuous_$ac_func
31461 /* System header to define __stub macros and hopefully few prototypes,
31462 which can conflict with char $ac_func (); below.
31463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31464 <limits.h> exists even on freestanding compilers. */
31467 # include <limits.h>
31469 # include <assert.h>
31474 /* Override any gcc2 internal prototype to avoid an error. */
31479 /* We use char because int might match the return type of a gcc2
31480 builtin and then its argument prototype would still apply. */
31482 /* The GNU C library defines this for functions which it implements
31483 to always fail with ENOSYS. Some functions are actually named
31484 something starting with __ and the normal name is an alias. */
31485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31488 char (*f) () = $ac_func;
31497 return f != $ac_func;
31502 rm -f conftest.
$ac_objext conftest
$ac_exeext
31503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31504 (eval $ac_link) 2>conftest.er1
31506 grep -v '^ *+' conftest.er1
>conftest.err
31508 cat conftest.err
>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); } &&
31511 { ac_try
='test -z "$ac_c_werror_flag"
31512 || test ! -s conftest.err'
31513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31514 (eval $ac_try) 2>&5
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); }; } &&
31518 { ac_try
='test -s conftest$ac_exeext'
31519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31520 (eval $ac_try) 2>&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; }; then
31524 eval "$as_ac_var=yes"
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.
$ac_ext >&5
31529 eval "$as_ac_var=no"
31531 rm -f conftest.err conftest.
$ac_objext \
31532 conftest
$ac_exeext conftest.
$ac_ext
31534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31536 if test `eval echo '${'$as_ac_var'}'` = yes; then
31537 cat >>confdefs.h
<<_ACEOF
31538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31540 cat >>confdefs.h
<<\_ACEOF
31541 #define HAVE_INET_ADDR 1
31546 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31547 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31548 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 ac_check_lib_save_LIBS
=$LIBS
31553 cat >conftest.
$ac_ext <<_ACEOF
31556 cat confdefs.h
>>conftest.
$ac_ext
31557 cat >>conftest.
$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31560 /* Override any gcc2 internal prototype to avoid an error. */
31564 /* We use char because int might match the return type of a gcc2
31565 builtin and then its argument prototype would still apply. */
31575 rm -f conftest.
$ac_objext conftest
$ac_exeext
31576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31577 (eval $ac_link) 2>conftest.er1
31579 grep -v '^ *+' conftest.er1
>conftest.err
31581 cat conftest.err
>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try
='test -z "$ac_c_werror_flag"
31585 || test ! -s conftest.err'
31586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31587 (eval $ac_try) 2>&5
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); }; } &&
31591 { ac_try
='test -s conftest$ac_exeext'
31592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31593 (eval $ac_try) 2>&5
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); }; }; then
31597 ac_cv_lib_nsl_inet_addr
=yes
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.
$ac_ext >&5
31602 ac_cv_lib_nsl_inet_addr
=no
31604 rm -f conftest.err conftest.
$ac_objext \
31605 conftest
$ac_exeext conftest.
$ac_ext
31606 LIBS
=$ac_check_lib_save_LIBS
31608 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31609 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31610 if test $ac_cv_lib_nsl_inet_addr = yes; then
31614 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31615 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31616 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31617 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 ac_check_lib_save_LIBS
=$LIBS
31620 LIBS
="-lresolv $LIBS"
31621 cat >conftest.
$ac_ext <<_ACEOF
31624 cat confdefs.h
>>conftest.
$ac_ext
31625 cat >>conftest.
$ac_ext <<_ACEOF
31626 /* end confdefs.h. */
31628 /* Override any gcc2 internal prototype to avoid an error. */
31632 /* We use char because int might match the return type of a gcc2
31633 builtin and then its argument prototype would still apply. */
31643 rm -f conftest.
$ac_objext conftest
$ac_exeext
31644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31645 (eval $ac_link) 2>conftest.er1
31647 grep -v '^ *+' conftest.er1
>conftest.err
31649 cat conftest.err
>&5
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); } &&
31652 { ac_try
='test -z "$ac_c_werror_flag"
31653 || test ! -s conftest.err'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; } &&
31659 { ac_try
='test -s conftest$ac_exeext'
31660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31661 (eval $ac_try) 2>&5
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; }; then
31665 ac_cv_lib_resolv_inet_addr
=yes
31667 echo "$as_me: failed program was:" >&5
31668 sed 's/^/| /' conftest.
$ac_ext >&5
31670 ac_cv_lib_resolv_inet_addr
=no
31672 rm -f conftest.err conftest.
$ac_objext \
31673 conftest
$ac_exeext conftest.
$ac_ext
31674 LIBS
=$ac_check_lib_save_LIBS
31676 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31677 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31678 if test $ac_cv_lib_resolv_inet_addr = yes; then
31682 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31683 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31684 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31685 echo $ECHO_N "(cached) $ECHO_C" >&6
31687 ac_check_lib_save_LIBS
=$LIBS
31688 LIBS
="-lsocket $LIBS"
31689 cat >conftest.
$ac_ext <<_ACEOF
31692 cat confdefs.h
>>conftest.
$ac_ext
31693 cat >>conftest.
$ac_ext <<_ACEOF
31694 /* end confdefs.h. */
31696 /* Override any gcc2 internal prototype to avoid an error. */
31700 /* We use char because int might match the return type of a gcc2
31701 builtin and then its argument prototype would still apply. */
31711 rm -f conftest.
$ac_objext conftest
$ac_exeext
31712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31713 (eval $ac_link) 2>conftest.er1
31715 grep -v '^ *+' conftest.er1
>conftest.err
31717 cat conftest.err
>&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } &&
31720 { ac_try
='test -z "$ac_c_werror_flag"
31721 || test ! -s conftest.err'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; } &&
31727 { ac_try
='test -s conftest$ac_exeext'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; }; then
31733 ac_cv_lib_socket_inet_addr
=yes
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.
$ac_ext >&5
31738 ac_cv_lib_socket_inet_addr
=no
31740 rm -f conftest.err conftest.
$ac_objext \
31741 conftest
$ac_exeext conftest.
$ac_ext
31742 LIBS
=$ac_check_lib_save_LIBS
31744 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31745 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31746 if test $ac_cv_lib_socket_inet_addr = yes; then
31766 for ac_func
in inet_aton
31768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31769 echo "$as_me:$LINENO: checking for $ac_func" >&5
31770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31771 if eval "test \"\${$as_ac_var+set}\" = set"; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 cat >conftest.
$ac_ext <<_ACEOF
31777 cat confdefs.h
>>conftest.
$ac_ext
31778 cat >>conftest.
$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31782 #define $ac_func innocuous_$ac_func
31784 /* System header to define __stub macros and hopefully few prototypes,
31785 which can conflict with char $ac_func (); below.
31786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31787 <limits.h> exists even on freestanding compilers. */
31790 # include <limits.h>
31792 # include <assert.h>
31797 /* Override any gcc2 internal prototype to avoid an error. */
31802 /* We use char because int might match the return type of a gcc2
31803 builtin and then its argument prototype would still apply. */
31805 /* The GNU C library defines this for functions which it implements
31806 to always fail with ENOSYS. Some functions are actually named
31807 something starting with __ and the normal name is an alias. */
31808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31811 char (*f) () = $ac_func;
31820 return f != $ac_func;
31825 rm -f conftest.
$ac_objext conftest
$ac_exeext
31826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31827 (eval $ac_link) 2>conftest.er1
31829 grep -v '^ *+' conftest.er1
>conftest.err
31831 cat conftest.err
>&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); } &&
31834 { ac_try
='test -z "$ac_c_werror_flag"
31835 || test ! -s conftest.err'
31836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31837 (eval $ac_try) 2>&5
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); }; } &&
31841 { ac_try
='test -s conftest$ac_exeext'
31842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31843 (eval $ac_try) 2>&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); }; }; then
31847 eval "$as_ac_var=yes"
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.
$ac_ext >&5
31852 eval "$as_ac_var=no"
31854 rm -f conftest.err conftest.
$ac_objext \
31855 conftest
$ac_exeext conftest.
$ac_ext
31857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31859 if test `eval echo '${'$as_ac_var'}'` = yes; then
31860 cat >>confdefs.h
<<_ACEOF
31861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31863 cat >>confdefs.h
<<\_ACEOF
31864 #define HAVE_INET_ATON 1
31869 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31870 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31871 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31872 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31873 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 ac_check_lib_save_LIBS
=$LIBS
31876 LIBS
="-l$INET_LINK $LIBS"
31877 cat >conftest.
$ac_ext <<_ACEOF
31880 cat confdefs.h
>>conftest.
$ac_ext
31881 cat >>conftest.
$ac_ext <<_ACEOF
31882 /* end confdefs.h. */
31884 /* Override any gcc2 internal prototype to avoid an error. */
31888 /* We use char because int might match the return type of a gcc2
31889 builtin and then its argument prototype would still apply. */
31899 rm -f conftest.
$ac_objext conftest
$ac_exeext
31900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31901 (eval $ac_link) 2>conftest.er1
31903 grep -v '^ *+' conftest.er1
>conftest.err
31905 cat conftest.err
>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } &&
31908 { ac_try
='test -z "$ac_c_werror_flag"
31909 || test ! -s conftest.err'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; } &&
31915 { ac_try
='test -s conftest$ac_exeext'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; }; then
31921 eval "$as_ac_Lib=yes"
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.
$ac_ext >&5
31926 eval "$as_ac_Lib=no"
31928 rm -f conftest.err conftest.
$ac_objext \
31929 conftest
$ac_exeext conftest.
$ac_ext
31930 LIBS
=$ac_check_lib_save_LIBS
31932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31933 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31934 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31935 cat >>confdefs.h
<<\_ACEOF
31936 #define HAVE_INET_ATON 1
31946 if test "x$INET_LINK" != "x"; then
31947 cat >>confdefs.h
<<\_ACEOF
31948 #define HAVE_INET_ADDR 1
31951 INET_LINK
=" -l$INET_LINK"
31959 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31960 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31961 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 ac_check_lib_save_LIBS
=$LIBS
31966 cat >conftest.
$ac_ext <<_ACEOF
31969 cat confdefs.h
>>conftest.
$ac_ext
31970 cat >>conftest.
$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31973 /* Override any gcc2 internal prototype to avoid an error. */
31977 /* We use char because int might match the return type of a gcc2
31978 builtin and then its argument prototype would still apply. */
31988 rm -f conftest.
$ac_objext conftest
$ac_exeext
31989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31990 (eval $ac_link) 2>conftest.er1
31992 grep -v '^ *+' conftest.er1
>conftest.err
31994 cat conftest.err
>&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } &&
31997 { ac_try
='test -z "$ac_c_werror_flag"
31998 || test ! -s conftest.err'
31999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000 (eval $ac_try) 2>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); }; } &&
32004 { ac_try
='test -s conftest$ac_exeext'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; }; then
32010 ac_cv_lib_esd_esd_close
=yes
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.
$ac_ext >&5
32015 ac_cv_lib_esd_esd_close
=no
32017 rm -f conftest.err conftest.
$ac_objext \
32018 conftest
$ac_exeext conftest.
$ac_ext
32019 LIBS
=$ac_check_lib_save_LIBS
32021 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32022 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32023 if test $ac_cv_lib_esd_esd_close = yes; then
32026 for ac_header
in esd.h
32028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32030 echo "$as_me:$LINENO: checking for $ac_header" >&5
32031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32033 echo $ECHO_N "(cached) $ECHO_C" >&6
32035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32038 # Is the header compilable?
32039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32041 cat >conftest.
$ac_ext <<_ACEOF
32044 cat confdefs.h
>>conftest.
$ac_ext
32045 cat >>conftest.
$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32047 $ac_includes_default
32048 #include <$ac_header>
32050 rm -f conftest.
$ac_objext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32052 (eval $ac_compile) 2>conftest.er1
32054 grep -v '^ *+' conftest.er1
>conftest.err
32056 cat conftest.err
>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try
='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try
='test -s conftest.$ac_objext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 ac_header_compiler
=yes
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.
$ac_ext >&5
32077 ac_header_compiler
=no
32079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32081 echo "${ECHO_T}$ac_header_compiler" >&6
32083 # Is the header present?
32084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32086 cat >conftest.
$ac_ext <<_ACEOF
32089 cat confdefs.h
>>conftest.
$ac_ext
32090 cat >>conftest.
$ac_ext <<_ACEOF
32091 /* end confdefs.h. */
32092 #include <$ac_header>
32094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32095 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
32102 if test -s conftest.err
; then
32103 ac_cpp_err
=$ac_c_preproc_warn_flag
32104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32111 if test -z "$ac_cpp_err"; then
32112 ac_header_preproc
=yes
32114 echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.
$ac_ext >&5
32117 ac_header_preproc
=no
32119 rm -f conftest.err conftest.
$ac_ext
32120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32121 echo "${ECHO_T}$ac_header_preproc" >&6
32123 # So? What about this header?
32124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32130 ac_header_preproc
=yes
32133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32147 ## ----------------------------------------- ##
32148 ## Report this to wx-dev@lists.wxwidgets.org ##
32149 ## ----------------------------------------- ##
32152 sed "s/^/$as_me: WARNING: /" >&2
32155 echo "$as_me:$LINENO: checking for $ac_header" >&5
32156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 eval "$as_ac_Header=\$ac_header_preproc"
32162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32167 cat >>confdefs.h
<<_ACEOF
32168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32171 EXTRALIBS_ESD
="-lesd"
32182 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32183 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32184 cat >conftest.
$ac_ext <<_ACEOF
32187 cat confdefs.h
>>conftest.
$ac_ext
32188 cat >>conftest.
$ac_ext <<_ACEOF
32189 /* end confdefs.h. */
32191 #include <linux/cdrom.h>
32194 #include <sys/cdio.h>
32200 struct cdrom_tocentry entry, old_entry;
32205 rm -f conftest.
$ac_objext
32206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32207 (eval $ac_compile) 2>conftest.er1
32209 grep -v '^ *+' conftest.er1
>conftest.err
32211 cat conftest.err
>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } &&
32214 { ac_try
='test -z "$ac_c_werror_flag"
32215 || test ! -s conftest.err'
32216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32217 (eval $ac_try) 2>&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); }; } &&
32221 { ac_try
='test -s conftest.$ac_objext'
32222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32223 (eval $ac_try) 2>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); }; }; then
32227 echo "$as_me:$LINENO: result: yes" >&5
32228 echo "${ECHO_T}yes" >&6
32229 cat >>confdefs.h
<<\_ACEOF
32230 #define HAVE_KNOWN_CDROM_INTERFACE 1
32234 echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.
$ac_ext >&5
32237 echo "$as_me:$LINENO: result: no" >&5
32238 echo "${ECHO_T}no" >&6
32240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32243 cat >confcache
<<\_ACEOF
32244 # This file is a shell script that caches the results of configure
32245 # tests run on this system so they can be shared between configure
32246 # scripts and configure runs, see configure's option --config-cache.
32247 # It is not useful on other systems. If it contains results you don't
32248 # want to keep, you may remove or edit it.
32250 # config.status only pays attention to the cache file if you give it
32251 # the --recheck option to rerun configure.
32253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32255 # following values.
32259 # The following way of writing the cache mishandles newlines in values,
32260 # but we know of no workaround that is simple, portable, and efficient.
32261 # So, don't put newlines in cache variables' values.
32262 # Ultrix sh set writes to stderr and can't be redirected directly,
32263 # and sets the high bit in the cache file unless we assign to the vars.
32266 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32268 # `set' does not quote correctly, so add quotes (double-quote
32269 # substitution turns \\\\ into \\, and sed turns \\ into \).
32272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32275 # `set' quotes correctly as required by POSIX, so do not add quotes.
32277 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32286 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32288 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32289 if test -w $cache_file; then
32290 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32291 cat confcache
>$cache_file
32293 echo "not updating unwritable cache $cache_file"
32300 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32306 if test "$wxUSE_THREADS" = "yes" ; then
32307 if test "$USE_BEOS" = 1; then
32308 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32309 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32314 if test "$wxUSE_THREADS" = "yes" ; then
32317 THREAD_OPTS
="-pthread"
32319 *-*-solaris2* | *-*-sunos4* )
32320 if test "x$GCC" = "xyes"; then
32321 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32323 THREAD_OPTS
="-mt $THREAD_OPTS"
32327 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32329 *-*-darwin* | *-*-cygwin* )
32333 THREAD_OPTS
="pthreads"
32336 if test "x$GCC" != "xyes"; then
32342 if test "x$GCC" = "xyes"; then
32348 if test "x$GCC" != "xyes"; then
32349 THREAD_OPTS
="-Ethread"
32354 THREAD_OPTS
="$THREAD_OPTS pthread none"
32357 for flag
in $THREAD_OPTS; do
32360 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32361 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32365 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32366 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32367 THREADS_CFLAGS
="$flag"
32371 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32372 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32373 THREADS_LINK
="-l$flag"
32378 save_CFLAGS
="$CFLAGS"
32379 LIBS
="$THREADS_LINK $LIBS"
32380 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32382 cat >conftest.
$ac_ext <<_ACEOF
32385 cat confdefs.h
>>conftest.
$ac_ext
32386 cat >>conftest.
$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32388 #include <pthread.h>
32392 pthread_create(0,0,0,0);
32397 rm -f conftest.
$ac_objext conftest
$ac_exeext
32398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32399 (eval $ac_link) 2>conftest.er1
32401 grep -v '^ *+' conftest.er1
>conftest.err
32403 cat conftest.err
>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } &&
32406 { ac_try
='test -z "$ac_c_werror_flag"
32407 || test ! -s conftest.err'
32408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409 (eval $ac_try) 2>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); }; } &&
32413 { ac_try
='test -s conftest$ac_exeext'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; }; then
32421 echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.
$ac_ext >&5
32425 rm -f conftest.err conftest.
$ac_objext \
32426 conftest
$ac_exeext conftest.
$ac_ext
32429 CFLAGS
="$save_CFLAGS"
32431 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32432 echo "${ECHO_T}$THREADS_OK" >&6
32433 if test "x$THREADS_OK" = "xyes"; then
32441 if test "x$THREADS_OK" != "xyes"; then
32443 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32444 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32446 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32447 LIBS
="$THREADS_LINK $LIBS"
32449 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32450 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32454 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32455 flag
="-D_THREAD_SAFE"
32458 flag
="-D_THREAD_SAFE"
32461 flag
="-D_REENTRANT"
32462 if test "x$GCC" != "xyes"; then
32463 flag
="$flag -D_RWSTD_MULTI_THREAD"
32468 *solaris
* | alpha
*-osf*)
32469 flag
="-D_REENTRANT"
32472 echo "$as_me:$LINENO: result: ${flag}" >&5
32473 echo "${ECHO_T}${flag}" >&6
32474 if test "x$flag" != xno
; then
32475 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32478 if test "x$THREADS_CFLAGS" != "x"; then
32479 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32480 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32485 if test "$wxUSE_THREADS" = "yes" ; then
32487 for ac_func
in thr_setconcurrency
32489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32490 echo "$as_me:$LINENO: checking for $ac_func" >&5
32491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32492 if eval "test \"\${$as_ac_var+set}\" = set"; then
32493 echo $ECHO_N "(cached) $ECHO_C" >&6
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32503 #define $ac_func innocuous_$ac_func
32505 /* System header to define __stub macros and hopefully few prototypes,
32506 which can conflict with char $ac_func (); below.
32507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32508 <limits.h> exists even on freestanding compilers. */
32511 # include <limits.h>
32513 # include <assert.h>
32518 /* Override any gcc2 internal prototype to avoid an error. */
32523 /* We use char because int might match the return type of a gcc2
32524 builtin and then its argument prototype would still apply. */
32526 /* The GNU C library defines this for functions which it implements
32527 to always fail with ENOSYS. Some functions are actually named
32528 something starting with __ and the normal name is an alias. */
32529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32532 char (*f) () = $ac_func;
32541 return f != $ac_func;
32546 rm -f conftest.
$ac_objext conftest
$ac_exeext
32547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32548 (eval $ac_link) 2>conftest.er1
32550 grep -v '^ *+' conftest.er1
>conftest.err
32552 cat conftest.err
>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } &&
32555 { ac_try
='test -z "$ac_c_werror_flag"
32556 || test ! -s conftest.err'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; } &&
32562 { ac_try
='test -s conftest$ac_exeext'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }; then
32568 eval "$as_ac_var=yes"
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.
$ac_ext >&5
32573 eval "$as_ac_var=no"
32575 rm -f conftest.err conftest.
$ac_objext \
32576 conftest
$ac_exeext conftest.
$ac_ext
32578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32580 if test `eval echo '${'$as_ac_var'}'` = yes; then
32581 cat >>confdefs.h
<<_ACEOF
32582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32590 for ac_header
in sched.h
32592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32594 echo "$as_me:$LINENO: checking for $ac_header" >&5
32595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32597 echo $ECHO_N "(cached) $ECHO_C" >&6
32599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32602 # Is the header compilable?
32603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32605 cat >conftest.
$ac_ext <<_ACEOF
32608 cat confdefs.h
>>conftest.
$ac_ext
32609 cat >>conftest.
$ac_ext <<_ACEOF
32610 /* end confdefs.h. */
32611 $ac_includes_default
32612 #include <$ac_header>
32614 rm -f conftest.
$ac_objext
32615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32616 (eval $ac_compile) 2>conftest.er1
32618 grep -v '^ *+' conftest.er1
>conftest.err
32620 cat conftest.err
>&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); } &&
32623 { ac_try
='test -z "$ac_c_werror_flag"
32624 || test ! -s conftest.err'
32625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626 (eval $ac_try) 2>&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); }; } &&
32630 { ac_try
='test -s conftest.$ac_objext'
32631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32632 (eval $ac_try) 2>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); }; }; then
32636 ac_header_compiler
=yes
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.
$ac_ext >&5
32641 ac_header_compiler
=no
32643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32645 echo "${ECHO_T}$ac_header_compiler" >&6
32647 # Is the header present?
32648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32650 cat >conftest.
$ac_ext <<_ACEOF
32653 cat confdefs.h
>>conftest.
$ac_ext
32654 cat >>conftest.
$ac_ext <<_ACEOF
32655 /* end confdefs.h. */
32656 #include <$ac_header>
32658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32661 grep -v '^ *+' conftest.er1
>conftest.err
32663 cat conftest.err
>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } >/dev
/null
; then
32666 if test -s conftest.err
; then
32667 ac_cpp_err
=$ac_c_preproc_warn_flag
32668 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32675 if test -z "$ac_cpp_err"; then
32676 ac_header_preproc
=yes
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.
$ac_ext >&5
32681 ac_header_preproc
=no
32683 rm -f conftest.err conftest.
$ac_ext
32684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32685 echo "${ECHO_T}$ac_header_preproc" >&6
32687 # So? What about this header?
32688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32694 ac_header_preproc
=yes
32697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32711 ## ----------------------------------------- ##
32712 ## Report this to wx-dev@lists.wxwidgets.org ##
32713 ## ----------------------------------------- ##
32716 sed "s/^/$as_me: WARNING: /" >&2
32719 echo "$as_me:$LINENO: checking for $ac_header" >&5
32720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32722 echo $ECHO_N "(cached) $ECHO_C" >&6
32724 eval "$as_ac_Header=\$ac_header_preproc"
32726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32731 cat >>confdefs.h
<<_ACEOF
32732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32739 if test "$ac_cv_header_sched_h" = "yes"; then
32740 echo "$as_me:$LINENO: checking for sched_yield" >&5
32741 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32742 if test "${ac_cv_func_sched_yield+set}" = set; then
32743 echo $ECHO_N "(cached) $ECHO_C" >&6
32745 cat >conftest.
$ac_ext <<_ACEOF
32748 cat confdefs.h
>>conftest.
$ac_ext
32749 cat >>conftest.
$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32753 #define sched_yield innocuous_sched_yield
32755 /* System header to define __stub macros and hopefully few prototypes,
32756 which can conflict with char sched_yield (); below.
32757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32758 <limits.h> exists even on freestanding compilers. */
32761 # include <limits.h>
32763 # include <assert.h>
32768 /* Override any gcc2 internal prototype to avoid an error. */
32773 /* We use char because int might match the return type of a gcc2
32774 builtin and then its argument prototype would still apply. */
32775 char sched_yield ();
32776 /* The GNU C library defines this for functions which it implements
32777 to always fail with ENOSYS. Some functions are actually named
32778 something starting with __ and the normal name is an alias. */
32779 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32782 char (*f) () = sched_yield;
32791 return f != sched_yield;
32796 rm -f conftest.
$ac_objext conftest
$ac_exeext
32797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32798 (eval $ac_link) 2>conftest.er1
32800 grep -v '^ *+' conftest.er1
>conftest.err
32802 cat conftest.err
>&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } &&
32805 { ac_try
='test -z "$ac_c_werror_flag"
32806 || test ! -s conftest.err'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; } &&
32812 { ac_try
='test -s conftest$ac_exeext'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }; then
32818 ac_cv_func_sched_yield
=yes
32820 echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.
$ac_ext >&5
32823 ac_cv_func_sched_yield
=no
32825 rm -f conftest.err conftest.
$ac_objext \
32826 conftest
$ac_exeext conftest.
$ac_ext
32828 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32829 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32830 if test $ac_cv_func_sched_yield = yes; then
32831 cat >>confdefs.h
<<\_ACEOF
32832 #define HAVE_SCHED_YIELD 1
32837 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32838 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32839 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 ac_check_lib_save_LIBS
=$LIBS
32843 LIBS
="-lposix4 $LIBS"
32844 cat >conftest.
$ac_ext <<_ACEOF
32847 cat confdefs.h
>>conftest.
$ac_ext
32848 cat >>conftest.
$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32851 /* Override any gcc2 internal prototype to avoid an error. */
32855 /* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32857 char sched_yield ();
32866 rm -f conftest.
$ac_objext conftest
$ac_exeext
32867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32868 (eval $ac_link) 2>conftest.er1
32870 grep -v '^ *+' conftest.er1
>conftest.err
32872 cat conftest.err
>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try
='test -z "$ac_c_werror_flag"
32876 || test ! -s conftest.err'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; } &&
32882 { ac_try
='test -s conftest$ac_exeext'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; }; then
32888 ac_cv_lib_posix4_sched_yield
=yes
32890 echo "$as_me: failed program was:" >&5
32891 sed 's/^/| /' conftest.
$ac_ext >&5
32893 ac_cv_lib_posix4_sched_yield
=no
32895 rm -f conftest.err conftest.
$ac_objext \
32896 conftest
$ac_exeext conftest.
$ac_ext
32897 LIBS
=$ac_check_lib_save_LIBS
32899 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32900 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32901 if test $ac_cv_lib_posix4_sched_yield = yes; then
32902 cat >>confdefs.h
<<\_ACEOF
32903 #define HAVE_SCHED_YIELD 1
32905 POSIX4_LINK
=" -lposix4"
32907 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32908 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32919 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32920 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32921 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32922 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 cat >conftest.
$ac_ext <<_ACEOF
32927 cat confdefs.h
>>conftest.
$ac_ext
32928 cat >>conftest.
$ac_ext <<_ACEOF
32929 /* end confdefs.h. */
32930 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32932 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32934 /* System header to define __stub macros and hopefully few prototypes,
32935 which can conflict with char pthread_attr_getschedpolicy (); below.
32936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32937 <limits.h> exists even on freestanding compilers. */
32940 # include <limits.h>
32942 # include <assert.h>
32945 #undef pthread_attr_getschedpolicy
32947 /* Override any gcc2 internal prototype to avoid an error. */
32952 /* We use char because int might match the return type of a gcc2
32953 builtin and then its argument prototype would still apply. */
32954 char pthread_attr_getschedpolicy ();
32955 /* The GNU C library defines this for functions which it implements
32956 to always fail with ENOSYS. Some functions are actually named
32957 something starting with __ and the normal name is an alias. */
32958 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32961 char (*f) () = pthread_attr_getschedpolicy;
32970 return f != pthread_attr_getschedpolicy;
32975 rm -f conftest.
$ac_objext conftest
$ac_exeext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32977 (eval $ac_link) 2>conftest.er1
32979 grep -v '^ *+' conftest.er1
>conftest.err
32981 cat conftest.err
>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try
='test -z "$ac_c_werror_flag"
32985 || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try
='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_func_pthread_attr_getschedpolicy
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 ac_cv_func_pthread_attr_getschedpolicy
=no
33004 rm -f conftest.err conftest.
$ac_objext \
33005 conftest
$ac_exeext conftest.
$ac_ext
33007 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33008 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33009 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33010 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33011 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33012 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 cat >conftest.
$ac_ext <<_ACEOF
33018 cat confdefs.h
>>conftest.
$ac_ext
33019 cat >>conftest.
$ac_ext <<_ACEOF
33020 /* end confdefs.h. */
33021 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33023 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33025 /* System header to define __stub macros and hopefully few prototypes,
33026 which can conflict with char pthread_attr_setschedparam (); below.
33027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33028 <limits.h> exists even on freestanding compilers. */
33031 # include <limits.h>
33033 # include <assert.h>
33036 #undef pthread_attr_setschedparam
33038 /* Override any gcc2 internal prototype to avoid an error. */
33043 /* We use char because int might match the return type of a gcc2
33044 builtin and then its argument prototype would still apply. */
33045 char pthread_attr_setschedparam ();
33046 /* The GNU C library defines this for functions which it implements
33047 to always fail with ENOSYS. Some functions are actually named
33048 something starting with __ and the normal name is an alias. */
33049 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33052 char (*f) () = pthread_attr_setschedparam;
33061 return f != pthread_attr_setschedparam;
33066 rm -f conftest.
$ac_objext conftest
$ac_exeext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33068 (eval $ac_link) 2>conftest.er1
33070 grep -v '^ *+' conftest.er1
>conftest.err
33072 cat conftest.err
>&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try
='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try
='test -s conftest$ac_exeext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 ac_cv_func_pthread_attr_setschedparam
=yes
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.
$ac_ext >&5
33093 ac_cv_func_pthread_attr_setschedparam
=no
33095 rm -f conftest.err conftest.
$ac_objext \
33096 conftest
$ac_exeext conftest.
$ac_ext
33098 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33099 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33100 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33101 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33102 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33103 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define sched_get_priority_max innocuous_sched_get_priority_max
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char sched_get_priority_max (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33122 # include <limits.h>
33124 # include <assert.h>
33127 #undef sched_get_priority_max
33129 /* Override any gcc2 internal prototype to avoid an error. */
33134 /* We use char because int might match the return type of a gcc2
33135 builtin and then its argument prototype would still apply. */
33136 char sched_get_priority_max ();
33137 /* The GNU C library defines this for functions which it implements
33138 to always fail with ENOSYS. Some functions are actually named
33139 something starting with __ and the normal name is an alias. */
33140 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33143 char (*f) () = sched_get_priority_max;
33152 return f != sched_get_priority_max;
33157 rm -f conftest.
$ac_objext conftest
$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159 (eval $ac_link) 2>conftest.er1
33161 grep -v '^ *+' conftest.er1
>conftest.err
33163 cat conftest.err
>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try
='test -z "$ac_c_werror_flag"
33167 || test ! -s conftest.err'
33168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33169 (eval $ac_try) 2>&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); }; } &&
33173 { ac_try
='test -s conftest$ac_exeext'
33174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175 (eval $ac_try) 2>&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); }; }; then
33179 ac_cv_func_sched_get_priority_max
=yes
33181 echo "$as_me: failed program was:" >&5
33182 sed 's/^/| /' conftest.
$ac_ext >&5
33184 ac_cv_func_sched_get_priority_max
=no
33186 rm -f conftest.err conftest.
$ac_objext \
33187 conftest
$ac_exeext conftest.
$ac_ext
33189 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33190 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33191 if test $ac_cv_func_sched_get_priority_max = yes; then
33194 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33195 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33196 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33197 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 ac_check_lib_save_LIBS
=$LIBS
33200 LIBS
="-lposix4 $LIBS"
33201 cat >conftest.
$ac_ext <<_ACEOF
33204 cat confdefs.h
>>conftest.
$ac_ext
33205 cat >>conftest.
$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33208 /* Override any gcc2 internal prototype to avoid an error. */
33212 /* We use char because int might match the return type of a gcc2
33213 builtin and then its argument prototype would still apply. */
33214 char sched_get_priority_max ();
33218 sched_get_priority_max ();
33223 rm -f conftest.
$ac_objext conftest
$ac_exeext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33225 (eval $ac_link) 2>conftest.er1
33227 grep -v '^ *+' conftest.er1
>conftest.err
33229 cat conftest.err
>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } &&
33232 { ac_try
='test -z "$ac_c_werror_flag"
33233 || test ! -s conftest.err'
33234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33235 (eval $ac_try) 2>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); }; } &&
33239 { ac_try
='test -s conftest$ac_exeext'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; }; then
33245 ac_cv_lib_posix4_sched_get_priority_max
=yes
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.
$ac_ext >&5
33250 ac_cv_lib_posix4_sched_get_priority_max
=no
33252 rm -f conftest.err conftest.
$ac_objext \
33253 conftest
$ac_exeext conftest.
$ac_ext
33254 LIBS
=$ac_check_lib_save_LIBS
33256 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33257 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33258 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33261 POSIX4_LINK
=" -lposix4"
33275 if test "$HAVE_PRIOR_FUNCS" = 1; then
33276 cat >>confdefs.h
<<\_ACEOF
33277 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33281 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33282 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33285 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33286 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33287 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33290 cat >conftest.
$ac_ext <<_ACEOF
33293 cat confdefs.h
>>conftest.
$ac_ext
33294 cat >>conftest.
$ac_ext <<_ACEOF
33295 /* end confdefs.h. */
33296 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33298 #define pthread_cancel innocuous_pthread_cancel
33300 /* System header to define __stub macros and hopefully few prototypes,
33301 which can conflict with char pthread_cancel (); below.
33302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33303 <limits.h> exists even on freestanding compilers. */
33306 # include <limits.h>
33308 # include <assert.h>
33311 #undef pthread_cancel
33313 /* Override any gcc2 internal prototype to avoid an error. */
33318 /* We use char because int might match the return type of a gcc2
33319 builtin and then its argument prototype would still apply. */
33320 char pthread_cancel ();
33321 /* The GNU C library defines this for functions which it implements
33322 to always fail with ENOSYS. Some functions are actually named
33323 something starting with __ and the normal name is an alias. */
33324 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33327 char (*f) () = pthread_cancel;
33336 return f != pthread_cancel;
33341 rm -f conftest.
$ac_objext conftest
$ac_exeext
33342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33343 (eval $ac_link) 2>conftest.er1
33345 grep -v '^ *+' conftest.er1
>conftest.err
33347 cat conftest.err
>&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); } &&
33350 { ac_try
='test -z "$ac_c_werror_flag"
33351 || test ! -s conftest.err'
33352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33353 (eval $ac_try) 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); }; } &&
33357 { ac_try
='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 ac_cv_func_pthread_cancel
=yes
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.
$ac_ext >&5
33368 ac_cv_func_pthread_cancel
=no
33370 rm -f conftest.err conftest.
$ac_objext \
33371 conftest
$ac_exeext conftest.
$ac_ext
33373 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33374 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33375 if test $ac_cv_func_pthread_cancel = yes; then
33376 cat >>confdefs.h
<<\_ACEOF
33377 #define HAVE_PTHREAD_CANCEL 1
33381 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33382 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33388 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33389 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33390 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33391 echo $ECHO_N "(cached) $ECHO_C" >&6
33394 cat >conftest.
$ac_ext <<_ACEOF
33397 cat confdefs.h
>>conftest.
$ac_ext
33398 cat >>conftest.
$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400 #include <pthread.h>
33405 pthread_mutexattr_t attr;
33406 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33412 rm -f conftest.
$ac_objext
33413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33414 (eval $ac_compile) 2>conftest.er1
33416 grep -v '^ *+' conftest.er1
>conftest.err
33418 cat conftest.err
>&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); } &&
33421 { ac_try
='test -z "$ac_c_werror_flag"
33422 || test ! -s conftest.err'
33423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33424 (eval $ac_try) 2>&5
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); }; } &&
33428 { ac_try
='test -s conftest.$ac_objext'
33429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430 (eval $ac_try) 2>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); }; }; then
33435 wx_cv_type_pthread_mutexattr_t
=yes
33438 echo "$as_me: failed program was:" >&5
33439 sed 's/^/| /' conftest.
$ac_ext >&5
33442 wx_cv_type_pthread_mutexattr_t
=no
33446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33449 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33450 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33452 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33453 cat >>confdefs.h
<<\_ACEOF
33454 #define HAVE_PTHREAD_MUTEXATTR_T 1
33458 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33459 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33460 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 cat >conftest.
$ac_ext <<_ACEOF
33467 cat confdefs.h
>>conftest.
$ac_ext
33468 cat >>conftest.
$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 #include <pthread.h>
33475 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33481 rm -f conftest.
$ac_objext
33482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33483 (eval $ac_compile) 2>conftest.er1
33485 grep -v '^ *+' conftest.er1
>conftest.err
33487 cat conftest.err
>&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } &&
33490 { ac_try
='test -z "$ac_c_werror_flag"
33491 || test ! -s conftest.err'
33492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493 (eval $ac_try) 2>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); }; } &&
33497 { ac_try
='test -s conftest.$ac_objext'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; }; then
33504 wx_cv_type_pthread_rec_mutex_init
=yes
33507 echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.
$ac_ext >&5
33511 wx_cv_type_pthread_rec_mutex_init
=no
33515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33518 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33519 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33520 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33521 cat >>confdefs.h
<<\_ACEOF
33522 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33526 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33527 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33533 if test "$wxUSE_THREADS" = "yes" ; then
33536 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33537 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33538 if test "${wx_cv_cflags_mthread+set}" = set; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33542 CFLAGS_OLD
="$CFLAGS"
33543 CFLAGS
="$CFLAGS -mthreads"
33544 cat >conftest.
$ac_ext <<_ACEOF
33547 cat confdefs.h
>>conftest.
$ac_ext
33548 cat >>conftest.
$ac_ext <<_ACEOF
33549 /* end confdefs.h. */
33559 rm -f conftest.
$ac_objext
33560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33561 (eval $ac_compile) 2>conftest.er1
33563 grep -v '^ *+' conftest.er1
>conftest.err
33565 cat conftest.err
>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } &&
33568 { ac_try
='test -z "$ac_c_werror_flag"
33569 || test ! -s conftest.err'
33570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571 (eval $ac_try) 2>&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try
='test -s conftest.$ac_objext'
33576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577 (eval $ac_try) 2>&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; }; then
33581 wx_cv_cflags_mthread
=yes
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.
$ac_ext >&5
33586 wx_cv_cflags_mthread
=no
33589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33593 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33594 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33596 if test "$wx_cv_cflags_mthread" = "yes"; then
33597 CXXFLAGS
="$CXXFLAGS -mthreads"
33598 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33599 LDFLAGS
="$LDFLAGS -mthreads"
33601 CFLAGS
="$CFLAGS_OLD"
33605 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33606 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33607 LDFLAGS
="$LDFLAGS -Zmt"
33613 if test "$wxUSE_THREADS" = "yes"; then
33614 cat >>confdefs.h
<<\_ACEOF
33615 #define wxUSE_THREADS 1
33619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33621 if test "$ac_cv_func_strtok_r" = "yes"; then
33622 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33623 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33624 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33625 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33626 echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6
33629 echo "$as_me:$LINENO: result: no" >&5
33630 echo "${ECHO_T}no" >&6
33635 if test "$WXGTK20" = 1 ; then
33636 cat >>confdefs.h
<<_ACEOF
33637 #define __WXGTK20__ $WXGTK20
33643 if test "$WXGTK12" = 1 ; then
33644 cat >>confdefs.h
<<_ACEOF
33645 #define __WXGTK12__ $WXGTK12
33650 if test "$WXGTK127" = 1 ; then
33651 cat >>confdefs.h
<<_ACEOF
33652 #define __WXGTK127__ $WXGTK127
33657 if test "$WXGPE" = 1 ; then
33658 cat >>confdefs.h
<<_ACEOF
33659 #define __WXGPE__ $WXGPE
33666 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33671 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33672 wxUSE_DEBUG_INFO
=yes
33676 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33677 cat >>confdefs.h
<<\_ACEOF
33681 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33683 if test "$wxUSE_GTK" = 1 ; then
33684 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33688 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33689 cat >>confdefs.h
<<\_ACEOF
33690 #define wxUSE_MEMORY_TRACING 1
33693 cat >>confdefs.h
<<\_ACEOF
33694 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33697 cat >>confdefs.h
<<\_ACEOF
33698 #define wxUSE_DEBUG_NEW_ALWAYS 1
33701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33704 if test "$wxUSE_DMALLOC" = "yes" ; then
33705 DMALLOC_LIBS
="-ldmalloc"
33709 if test "$wxUSE_PROFILE" = "yes" ; then
33714 CODE_GEN_FLAGS_CXX
=
33715 if test "$GCC" = "yes" ; then
33716 if test "$wxUSE_NO_RTTI" = "yes" ; then
33717 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33719 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33720 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33722 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33723 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33728 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33731 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33737 if test "$wxUSE_OPTIMISE" = "no" ; then
33738 if test "$GCC" = yes ; then
33742 if test "$GCC" = yes ; then
33746 i586
-*-*|i686
-*-* )
33747 OPTIMISE
="${OPTIMISE} "
33756 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33757 cat >>confdefs.h
<<\_ACEOF
33758 #define WXWIN_COMPATIBILITY_2_2 1
33762 WXWIN_COMPATIBILITY_2_4
="yes"
33765 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33766 cat >>confdefs.h
<<\_ACEOF
33767 #define WXWIN_COMPATIBILITY_2_4 1
33773 if test "$wxUSE_GUI" = "yes"; then
33774 cat >>confdefs.h
<<\_ACEOF
33775 #define wxUSE_GUI 1
33780 cat >>confdefs.h
<<\_ACEOF
33781 #define wxUSE_NOGUI 1
33787 if test "$wxUSE_UNIX" = "yes"; then
33788 cat >>confdefs.h
<<\_ACEOF
33789 #define wxUSE_UNIX 1
33795 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33799 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33800 if test "$USE_DARWIN" = 1; then
33804 for ac_func
in dlopen
33806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33807 echo "$as_me:$LINENO: checking for $ac_func" >&5
33808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33809 if eval "test \"\${$as_ac_var+set}\" = set"; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33812 cat >conftest.
$ac_ext <<_ACEOF
33815 cat confdefs.h
>>conftest.
$ac_ext
33816 cat >>conftest.
$ac_ext <<_ACEOF
33817 /* end confdefs.h. */
33818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33820 #define $ac_func innocuous_$ac_func
33822 /* System header to define __stub macros and hopefully few prototypes,
33823 which can conflict with char $ac_func (); below.
33824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33825 <limits.h> exists even on freestanding compilers. */
33828 # include <limits.h>
33830 # include <assert.h>
33835 /* Override any gcc2 internal prototype to avoid an error. */
33840 /* We use char because int might match the return type of a gcc2
33841 builtin and then its argument prototype would still apply. */
33843 /* The GNU C library defines this for functions which it implements
33844 to always fail with ENOSYS. Some functions are actually named
33845 something starting with __ and the normal name is an alias. */
33846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33849 char (*f) () = $ac_func;
33858 return f != $ac_func;
33863 rm -f conftest.
$ac_objext conftest
$ac_exeext
33864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33865 (eval $ac_link) 2>conftest.er1
33867 grep -v '^ *+' conftest.er1
>conftest.err
33869 cat conftest.err
>&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); } &&
33872 { ac_try
='test -z "$ac_c_werror_flag"
33873 || test ! -s conftest.err'
33874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33875 (eval $ac_try) 2>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); }; } &&
33879 { ac_try
='test -s conftest$ac_exeext'
33880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33881 (eval $ac_try) 2>&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); }; }; then
33885 eval "$as_ac_var=yes"
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.
$ac_ext >&5
33890 eval "$as_ac_var=no"
33892 rm -f conftest.err conftest.
$ac_objext \
33893 conftest
$ac_exeext conftest.
$ac_ext
33895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33897 if test `eval echo '${'$as_ac_var'}'` = yes; then
33898 cat >>confdefs.h
<<_ACEOF
33899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33902 cat >>confdefs.h
<<\_ACEOF
33903 #define HAVE_DLOPEN 1
33910 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33911 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33912 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 ac_check_lib_save_LIBS
=$LIBS
33917 cat >conftest.
$ac_ext <<_ACEOF
33920 cat confdefs.h
>>conftest.
$ac_ext
33921 cat >>conftest.
$ac_ext <<_ACEOF
33922 /* end confdefs.h. */
33924 /* Override any gcc2 internal prototype to avoid an error. */
33928 /* We use char because int might match the return type of a gcc2
33929 builtin and then its argument prototype would still apply. */
33939 rm -f conftest.
$ac_objext conftest
$ac_exeext
33940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33941 (eval $ac_link) 2>conftest.er1
33943 grep -v '^ *+' conftest.er1
>conftest.err
33945 cat conftest.err
>&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } &&
33948 { ac_try
='test -z "$ac_c_werror_flag"
33949 || test ! -s conftest.err'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; } &&
33955 { ac_try
='test -s conftest$ac_exeext'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; }; then
33961 ac_cv_lib_dl_dlopen
=yes
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.
$ac_ext >&5
33966 ac_cv_lib_dl_dlopen
=no
33968 rm -f conftest.err conftest.
$ac_objext \
33969 conftest
$ac_exeext conftest.
$ac_ext
33970 LIBS
=$ac_check_lib_save_LIBS
33972 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33973 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33974 if test $ac_cv_lib_dl_dlopen = yes; then
33976 cat >>confdefs.h
<<\_ACEOF
33977 #define HAVE_DLOPEN 1
33981 DL_LINK
=" -ldl$DL_LINK"
33986 for ac_func
in shl_load
33988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33989 echo "$as_me:$LINENO: checking for $ac_func" >&5
33990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33991 if eval "test \"\${$as_ac_var+set}\" = set"; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 cat >conftest.
$ac_ext <<_ACEOF
33997 cat confdefs.h
>>conftest.
$ac_ext
33998 cat >>conftest.
$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34002 #define $ac_func innocuous_$ac_func
34004 /* System header to define __stub macros and hopefully few prototypes,
34005 which can conflict with char $ac_func (); below.
34006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34007 <limits.h> exists even on freestanding compilers. */
34010 # include <limits.h>
34012 # include <assert.h>
34017 /* Override any gcc2 internal prototype to avoid an error. */
34022 /* We use char because int might match the return type of a gcc2
34023 builtin and then its argument prototype would still apply. */
34025 /* The GNU C library defines this for functions which it implements
34026 to always fail with ENOSYS. Some functions are actually named
34027 something starting with __ and the normal name is an alias. */
34028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34031 char (*f) () = $ac_func;
34040 return f != $ac_func;
34045 rm -f conftest.
$ac_objext conftest
$ac_exeext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34047 (eval $ac_link) 2>conftest.er1
34049 grep -v '^ *+' conftest.er1
>conftest.err
34051 cat conftest.err
>&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try
='test -z "$ac_c_werror_flag"
34055 || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try
='test -s conftest$ac_exeext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 eval "$as_ac_var=yes"
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.
$ac_ext >&5
34072 eval "$as_ac_var=no"
34074 rm -f conftest.err conftest.
$ac_objext \
34075 conftest
$ac_exeext conftest.
$ac_ext
34077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34079 if test `eval echo '${'$as_ac_var'}'` = yes; then
34080 cat >>confdefs.h
<<_ACEOF
34081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34084 cat >>confdefs.h
<<\_ACEOF
34085 #define HAVE_SHL_LOAD 1
34092 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34093 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34094 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34095 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 ac_check_lib_save_LIBS
=$LIBS
34098 LIBS
="-lshl_load $LIBS"
34099 cat >conftest.
$ac_ext <<_ACEOF
34102 cat confdefs.h
>>conftest.
$ac_ext
34103 cat >>conftest.
$ac_ext <<_ACEOF
34104 /* end confdefs.h. */
34106 /* Override any gcc2 internal prototype to avoid an error. */
34110 /* We use char because int might match the return type of a gcc2
34111 builtin and then its argument prototype would still apply. */
34121 rm -f conftest.
$ac_objext conftest
$ac_exeext
34122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34123 (eval $ac_link) 2>conftest.er1
34125 grep -v '^ *+' conftest.er1
>conftest.err
34127 cat conftest.err
>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try
='test -z "$ac_c_werror_flag"
34131 || test ! -s conftest.err'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; } &&
34137 { ac_try
='test -s conftest$ac_exeext'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; }; then
34143 ac_cv_lib_shl_load_dld
=yes
34145 echo "$as_me: failed program was:" >&5
34146 sed 's/^/| /' conftest.
$ac_ext >&5
34148 ac_cv_lib_shl_load_dld
=no
34150 rm -f conftest.err conftest.
$ac_objext \
34151 conftest
$ac_exeext conftest.
$ac_ext
34152 LIBS
=$ac_check_lib_save_LIBS
34154 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34155 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34156 if test $ac_cv_lib_shl_load_dld = yes; then
34159 DL_LINK
=" -ldld$DL_LINK"
34175 if test "$HAVE_DL_FUNCS" = 1; then
34177 for ac_func
in dlerror
34179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34180 echo "$as_me:$LINENO: checking for $ac_func" >&5
34181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34182 if eval "test \"\${$as_ac_var+set}\" = set"; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 cat >conftest.
$ac_ext <<_ACEOF
34188 cat confdefs.h
>>conftest.
$ac_ext
34189 cat >>conftest.
$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34193 #define $ac_func innocuous_$ac_func
34195 /* System header to define __stub macros and hopefully few prototypes,
34196 which can conflict with char $ac_func (); below.
34197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34198 <limits.h> exists even on freestanding compilers. */
34201 # include <limits.h>
34203 # include <assert.h>
34208 /* Override any gcc2 internal prototype to avoid an error. */
34213 /* We use char because int might match the return type of a gcc2
34214 builtin and then its argument prototype would still apply. */
34216 /* The GNU C library defines this for functions which it implements
34217 to always fail with ENOSYS. Some functions are actually named
34218 something starting with __ and the normal name is an alias. */
34219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34222 char (*f) () = $ac_func;
34231 return f != $ac_func;
34236 rm -f conftest.
$ac_objext conftest
$ac_exeext
34237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34238 (eval $ac_link) 2>conftest.er1
34240 grep -v '^ *+' conftest.er1
>conftest.err
34242 cat conftest.err
>&5
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); } &&
34245 { ac_try
='test -z "$ac_c_werror_flag"
34246 || test ! -s conftest.err'
34247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34248 (eval $ac_try) 2>&5
34250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34251 (exit $ac_status); }; } &&
34252 { ac_try
='test -s conftest$ac_exeext'
34253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254 (eval $ac_try) 2>&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); }; }; then
34258 eval "$as_ac_var=yes"
34260 echo "$as_me: failed program was:" >&5
34261 sed 's/^/| /' conftest.
$ac_ext >&5
34263 eval "$as_ac_var=no"
34265 rm -f conftest.err conftest.
$ac_objext \
34266 conftest
$ac_exeext conftest.
$ac_ext
34268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34270 if test `eval echo '${'$as_ac_var'}'` = yes; then
34271 cat >>confdefs.h
<<_ACEOF
34272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34274 cat >>confdefs.h
<<\_ACEOF
34275 #define HAVE_DLERROR 1
34280 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34281 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34282 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 ac_check_lib_save_LIBS
=$LIBS
34287 cat >conftest.
$ac_ext <<_ACEOF
34290 cat confdefs.h
>>conftest.
$ac_ext
34291 cat >>conftest.
$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34294 /* Override any gcc2 internal prototype to avoid an error. */
34298 /* We use char because int might match the return type of a gcc2
34299 builtin and then its argument prototype would still apply. */
34309 rm -f conftest.
$ac_objext conftest
$ac_exeext
34310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34311 (eval $ac_link) 2>conftest.er1
34313 grep -v '^ *+' conftest.er1
>conftest.err
34315 cat conftest.err
>&5
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); } &&
34318 { ac_try
='test -z "$ac_c_werror_flag"
34319 || test ! -s conftest.err'
34320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34321 (eval $ac_try) 2>&5
34323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34324 (exit $ac_status); }; } &&
34325 { ac_try
='test -s conftest$ac_exeext'
34326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327 (eval $ac_try) 2>&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); }; }; then
34331 ac_cv_lib_dl_dlerror
=yes
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.
$ac_ext >&5
34336 ac_cv_lib_dl_dlerror
=no
34338 rm -f conftest.err conftest.
$ac_objext \
34339 conftest
$ac_exeext conftest.
$ac_ext
34340 LIBS
=$ac_check_lib_save_LIBS
34342 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34343 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34344 if test $ac_cv_lib_dl_dlerror = yes; then
34345 cat >>confdefs.h
<<\_ACEOF
34346 #define HAVE_DLERROR 1
34359 if test "$HAVE_DL_FUNCS" = 0; then
34360 if test "$HAVE_SHL_FUNCS" = 0; then
34361 if test "$USE_UNIX" = 1; then
34362 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34363 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34364 wxUSE_DYNAMIC_LOADER
=no
34365 wxUSE_DYNLIB_CLASS
=no
34367 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34368 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34375 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34376 cat >>confdefs.h
<<\_ACEOF
34377 #define wxUSE_DYNAMIC_LOADER 1
34381 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34382 cat >>confdefs.h
<<\_ACEOF
34383 #define wxUSE_DYNLIB_CLASS 1
34390 if test "$wxUSE_PLUGINS" = "yes" ; then
34391 if test "$wxUSE_SHARED" = "no" ; then
34392 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34393 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34396 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34397 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34398 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34401 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34402 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34403 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34406 if test "$wxUSE_PLUGINS" = "yes" ; then
34407 cat >>confdefs.h
<<\_ACEOF
34408 #define wxUSE_PLUGINS 1
34415 if test "$wxUSE_STL" = "yes"; then
34416 cat >>confdefs.h
<<\_ACEOF
34417 #define wxUSE_STL 1
34422 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34423 cat >>confdefs.h
<<\_ACEOF
34424 #define wxUSE_APPLE_IEEE 1
34429 if test "$wxUSE_TIMER" = "yes"; then
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_TIMER 1
34437 if test "$wxUSE_SOUND" = "yes"; then
34438 if test "$USE_UNIX" = "1" ; then
34440 for ac_header
in sys
/soundcard.h
34442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34444 echo "$as_me:$LINENO: checking for $ac_header" >&5
34445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34447 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34452 # Is the header compilable?
34453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34455 cat >conftest.
$ac_ext <<_ACEOF
34458 cat confdefs.h
>>conftest.
$ac_ext
34459 cat >>conftest.
$ac_ext <<_ACEOF
34460 /* end confdefs.h. */
34461 $ac_includes_default
34462 #include <$ac_header>
34464 rm -f conftest.
$ac_objext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34466 (eval $ac_compile) 2>conftest.er1
34468 grep -v '^ *+' conftest.er1
>conftest.err
34470 cat conftest.err
>&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } &&
34473 { ac_try
='test -z "$ac_c_werror_flag"
34474 || test ! -s conftest.err'
34475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476 (eval $ac_try) 2>&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); }; } &&
34480 { ac_try
='test -s conftest.$ac_objext'
34481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482 (eval $ac_try) 2>&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); }; }; then
34486 ac_header_compiler
=yes
34488 echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.
$ac_ext >&5
34491 ac_header_compiler
=no
34493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34495 echo "${ECHO_T}$ac_header_compiler" >&6
34497 # Is the header present?
34498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34500 cat >conftest.
$ac_ext <<_ACEOF
34503 cat confdefs.h
>>conftest.
$ac_ext
34504 cat >>conftest.
$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34506 #include <$ac_header>
34508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } >/dev
/null
; then
34516 if test -s conftest.err
; then
34517 ac_cpp_err
=$ac_c_preproc_warn_flag
34518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34525 if test -z "$ac_cpp_err"; then
34526 ac_header_preproc
=yes
34528 echo "$as_me: failed program was:" >&5
34529 sed 's/^/| /' conftest.
$ac_ext >&5
34531 ac_header_preproc
=no
34533 rm -f conftest.err conftest.
$ac_ext
34534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34535 echo "${ECHO_T}$ac_header_preproc" >&6
34537 # So? What about this header?
34538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34544 ac_header_preproc
=yes
34547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34561 ## ----------------------------------------- ##
34562 ## Report this to wx-dev@lists.wxwidgets.org ##
34563 ## ----------------------------------------- ##
34566 sed "s/^/$as_me: WARNING: /" >&2
34569 echo "$as_me:$LINENO: checking for $ac_header" >&5
34570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 eval "$as_ac_Header=\$ac_header_preproc"
34576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34581 cat >>confdefs.h
<<_ACEOF
34582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34590 if test "$wxUSE_LIBSDL" != "no"; then
34592 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34593 if test "${with_sdl_prefix+set}" = set; then
34594 withval
="$with_sdl_prefix"
34595 sdl_prefix
="$withval"
34600 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34601 if test "${with_sdl_exec_prefix+set}" = set; then
34602 withval
="$with_sdl_exec_prefix"
34603 sdl_exec_prefix
="$withval"
34607 # Check whether --enable-sdltest or --disable-sdltest was given.
34608 if test "${enable_sdltest+set}" = set; then
34609 enableval
="$enable_sdltest"
34615 if test x
$sdl_exec_prefix != x
; then
34616 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34617 if test x
${SDL_CONFIG+set} != xset
; then
34618 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34621 if test x
$sdl_prefix != x
; then
34622 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34623 if test x
${SDL_CONFIG+set} != xset
; then
34624 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34629 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34630 # Extract the first word of "sdl-config", so it can be a program name with args.
34631 set dummy sdl
-config; ac_word
=$2
34632 echo "$as_me:$LINENO: checking for $ac_word" >&5
34633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34634 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 case $SDL_CONFIG in
34639 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34643 for as_dir
in $PATH
34646 test -z "$as_dir" && as_dir
=.
34647 for ac_exec_ext
in '' $ac_executable_extensions; do
34648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34649 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34656 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34660 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34662 if test -n "$SDL_CONFIG"; then
34663 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34664 echo "${ECHO_T}$SDL_CONFIG" >&6
34666 echo "$as_me:$LINENO: result: no" >&5
34667 echo "${ECHO_T}no" >&6
34670 min_sdl_version
=1.2.0
34671 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34672 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34674 if test "$SDL_CONFIG" = "no" ; then
34677 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34678 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34680 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34682 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34684 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34686 if test "x$enable_sdltest" = "xyes" ; then
34687 ac_save_CFLAGS
="$CFLAGS"
34688 ac_save_CXXFLAGS
="$CXXFLAGS"
34689 ac_save_LIBS
="$LIBS"
34690 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34691 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34692 LIBS
="$LIBS $SDL_LIBS"
34694 if test "$cross_compiling" = yes; then
34695 echo $ac_n "cross compiling; assumed OK... $ac_c"
34697 cat >conftest.
$ac_ext <<_ACEOF
34700 cat confdefs.h
>>conftest.
$ac_ext
34701 cat >>conftest.
$ac_ext <<_ACEOF
34702 /* end confdefs.h. */
34705 #include <stdlib.h>
34706 #include <string.h>
34710 my_strdup (char *str)
34716 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34717 strcpy (new_str, str);
34725 int main (int argc, char *argv[])
34727 int major, minor, micro;
34730 /* This hangs on some systems (?)
34731 system ("touch conf.sdltest");
34733 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34735 /* HP/UX 9 (%@#!) writes to sscanf strings */
34736 tmp_version = my_strdup("$min_sdl_version");
34737 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34738 printf("%s, bad version string\n", "$min_sdl_version");
34742 if (($sdl_major_version > major) ||
34743 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34744 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34750 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34751 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34752 printf("*** best to upgrade to the required version.\n");
34753 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34754 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34755 printf("*** config.cache before re-running configure\n");
34762 rm -f conftest
$ac_exeext
34763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34764 (eval $ac_link) 2>&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34775 echo "$as_me: program exited with status $ac_status" >&5
34776 echo "$as_me: failed program was:" >&5
34777 sed 's/^/| /' conftest.
$ac_ext >&5
34779 ( exit $ac_status )
34782 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34784 CFLAGS
="$ac_save_CFLAGS"
34785 CXXFLAGS
="$ac_save_CXXFLAGS"
34786 LIBS
="$ac_save_LIBS"
34789 if test "x$no_sdl" = x
; then
34790 echo "$as_me:$LINENO: result: yes" >&5
34791 echo "${ECHO_T}yes" >&6
34793 EXTRALIBS_SDL
="$SDL_LIBS"
34794 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34795 cat >>confdefs.h
<<\_ACEOF
34796 #define wxUSE_LIBSDL 1
34801 echo "$as_me:$LINENO: result: no" >&5
34802 echo "${ECHO_T}no" >&6
34803 if test "$SDL_CONFIG" = "no" ; then
34804 echo "*** The sdl-config script installed by SDL could not be found"
34805 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34806 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34807 echo "*** full path to sdl-config."
34809 if test -f conf.sdltest
; then
34812 echo "*** Could not run SDL test program, checking why..."
34813 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34814 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34815 LIBS
="$LIBS $SDL_LIBS"
34816 cat >conftest.
$ac_ext <<_ACEOF
34819 cat confdefs.h
>>conftest.
$ac_ext
34820 cat >>conftest.
$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34826 int main(int argc, char *argv[])
34829 #define main K_and_R_C_main
34839 rm -f conftest.
$ac_objext conftest
$ac_exeext
34840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34841 (eval $ac_link) 2>conftest.er1
34843 grep -v '^ *+' conftest.er1
>conftest.err
34845 cat conftest.err
>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } &&
34848 { ac_try
='test -z "$ac_c_werror_flag"
34849 || test ! -s conftest.err'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; } &&
34855 { ac_try
='test -s conftest$ac_exeext'
34856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34857 (eval $ac_try) 2>&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); }; }; then
34861 echo "*** The test program compiled, but did not run. This usually means"
34862 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34863 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34864 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34865 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34866 echo "*** is required on your system"
34868 echo "*** If you have an old version installed, it is best to remove it, although"
34869 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34871 echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.
$ac_ext >&5
34874 echo "*** The test program failed to compile or link. See the file config.log for the"
34875 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34876 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34877 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34879 rm -f conftest.err conftest.
$ac_objext \
34880 conftest
$ac_exeext conftest.
$ac_ext
34881 CFLAGS
="$ac_save_CFLAGS"
34882 CXXFLAGS
="$ac_save_CXXFLAGS"
34883 LIBS
="$ac_save_LIBS"
34894 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34900 cat >>confdefs.h
<<\_ACEOF
34901 #define wxUSE_SOUND 1
34904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34907 if test "$WXGTK20" = 1; then
34908 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34909 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34914 if test -z "$PKG_CONFIG"; then
34915 # Extract the first word of "pkg-config", so it can be a program name with args.
34916 set dummy pkg
-config; ac_word
=$2
34917 echo "$as_me:$LINENO: checking for $ac_word" >&5
34918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34919 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34920 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 case $PKG_CONFIG in
34924 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34928 for as_dir
in $PATH
34931 test -z "$as_dir" && as_dir
=.
34932 for ac_exec_ext
in '' $ac_executable_extensions; do
34933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34934 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34941 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34945 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34947 if test -n "$PKG_CONFIG"; then
34948 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34949 echo "${ECHO_T}$PKG_CONFIG" >&6
34951 echo "$as_me:$LINENO: result: no" >&5
34952 echo "${ECHO_T}no" >&6
34957 if test "$PKG_CONFIG" = "no" ; then
34958 echo "*** The pkg-config script could not be found. Make sure it is"
34959 echo "*** in your path, or set the PKG_CONFIG environment variable"
34960 echo "*** to the full path to pkg-config."
34961 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34963 PKG_CONFIG_MIN_VERSION
=0.9.0
34964 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34965 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
34966 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
34968 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
34969 echo "$as_me:$LINENO: result: yes" >&5
34970 echo "${ECHO_T}yes" >&6
34973 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34974 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34975 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
34976 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34977 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34979 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34980 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34981 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
34982 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34983 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34985 LIBGNOMEPRINTUI_CFLAGS
=""
34986 LIBGNOMEPRINTUI_LIBS
=""
34987 ## If we have a custom action on failure, don't print errors, but
34988 ## do set a variable so people can do so.
34989 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34996 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34997 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35001 if test $succeeded = yes; then
35003 EXTRALIBS_GNOMEPRINT
="$LIBGNOMEPRINTUI_LIBS"
35004 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35005 cat >>confdefs.h
<<\_ACEOF
35006 #define wxUSE_LIBGNOMEPRINT 1
35012 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35013 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35014 wxUSE_LIBGNOMEPRINT
="no"
35024 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35025 cat >>confdefs.h
<<\_ACEOF
35026 #define wxUSE_CMDLINE_PARSER 1
35031 if test "$wxUSE_STOPWATCH" = "yes"; then
35032 cat >>confdefs.h
<<\_ACEOF
35033 #define wxUSE_STOPWATCH 1
35038 if test "$wxUSE_DATETIME" = "yes"; then
35039 cat >>confdefs.h
<<\_ACEOF
35040 #define wxUSE_DATETIME 1
35045 if test "$wxUSE_FILE" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define wxUSE_FILE 1
35052 if test "$wxUSE_FFILE" = "yes"; then
35053 cat >>confdefs.h
<<\_ACEOF
35054 #define wxUSE_FFILE 1
35059 if test "$wxUSE_FILESYSTEM" = "yes"; then
35060 cat >>confdefs.h
<<\_ACEOF
35061 #define wxUSE_FILESYSTEM 1
35066 if test "$wxUSE_FS_ZIP" = "yes"; then
35067 cat >>confdefs.h
<<\_ACEOF
35068 #define wxUSE_FS_ZIP 1
35073 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35074 cat >>confdefs.h
<<\_ACEOF
35075 #define wxUSE_ZIPSTREAM 1
35080 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35081 cat >>confdefs.h
<<\_ACEOF
35082 #define wxUSE_ON_FATAL_EXCEPTION 1
35087 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35088 cat >>confdefs.h
<<\_ACEOF
35089 #define wxUSE_SNGLINST_CHECKER 1
35094 if test "$wxUSE_BUSYINFO" = "yes"; then
35095 cat >>confdefs.h
<<\_ACEOF
35096 #define wxUSE_BUSYINFO 1
35101 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35102 cat >>confdefs.h
<<\_ACEOF
35103 #define wxUSE_STD_IOSTREAM 1
35108 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35109 cat >>confdefs.h
<<\_ACEOF
35110 #define wxUSE_TEXTBUFFER 1
35115 if test "$wxUSE_TEXTFILE" = "yes"; then
35116 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35117 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35118 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35120 cat >>confdefs.h
<<\_ACEOF
35121 #define wxUSE_TEXTFILE 1
35127 if test "$wxUSE_CONFIG" = "yes" ; then
35128 if test "$wxUSE_TEXTFILE" != "yes"; then
35129 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35130 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35132 cat >>confdefs.h
<<\_ACEOF
35133 #define wxUSE_CONFIG 1
35136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35140 if test "$wxUSE_INTL" = "yes" ; then
35141 if test "$wxUSE_FILE" != "yes"; then
35142 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35143 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35145 cat >>confdefs.h
<<\_ACEOF
35146 #define wxUSE_INTL 1
35149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35150 GUIDIST
="$GUIDIST INTL_DIST"
35154 if test "$wxUSE_LOG" = "yes"; then
35155 cat >>confdefs.h
<<\_ACEOF
35156 #define wxUSE_LOG 1
35160 if test "$wxUSE_LOGGUI" = "yes"; then
35161 cat >>confdefs.h
<<\_ACEOF
35162 #define wxUSE_LOGGUI 1
35167 if test "$wxUSE_LOGWINDOW" = "yes"; then
35168 cat >>confdefs.h
<<\_ACEOF
35169 #define wxUSE_LOGWINDOW 1
35174 if test "$wxUSE_LOGDIALOG" = "yes"; then
35175 cat >>confdefs.h
<<\_ACEOF
35176 #define wxUSE_LOG_DIALOG 1
35182 if test "$wxUSE_LONGLONG" = "yes"; then
35183 cat >>confdefs.h
<<\_ACEOF
35184 #define wxUSE_LONGLONG 1
35189 if test "$wxUSE_GEOMETRY" = "yes"; then
35190 cat >>confdefs.h
<<\_ACEOF
35191 #define wxUSE_GEOMETRY 1
35196 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35197 cat >>confdefs.h
<<\_ACEOF
35198 #define wxUSE_DIALUP_MANAGER 1
35201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35204 if test "$wxUSE_STREAMS" = "yes" ; then
35205 cat >>confdefs.h
<<\_ACEOF
35206 #define wxUSE_STREAMS 1
35212 if test "$wxUSE_DATETIME" = "yes"; then
35214 for ac_func
in strptime
35216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35217 echo "$as_me:$LINENO: checking for $ac_func" >&5
35218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35219 if eval "test \"\${$as_ac_var+set}\" = set"; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 cat >conftest.
$ac_ext <<_ACEOF
35225 cat confdefs.h
>>conftest.
$ac_ext
35226 cat >>conftest.
$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35230 #define $ac_func innocuous_$ac_func
35232 /* System header to define __stub macros and hopefully few prototypes,
35233 which can conflict with char $ac_func (); below.
35234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35235 <limits.h> exists even on freestanding compilers. */
35238 # include <limits.h>
35240 # include <assert.h>
35245 /* Override any gcc2 internal prototype to avoid an error. */
35250 /* We use char because int might match the return type of a gcc2
35251 builtin and then its argument prototype would still apply. */
35253 /* The GNU C library defines this for functions which it implements
35254 to always fail with ENOSYS. Some functions are actually named
35255 something starting with __ and the normal name is an alias. */
35256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35259 char (*f) () = $ac_func;
35268 return f != $ac_func;
35273 rm -f conftest.
$ac_objext conftest
$ac_exeext
35274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35275 (eval $ac_link) 2>conftest.er1
35277 grep -v '^ *+' conftest.er1
>conftest.err
35279 cat conftest.err
>&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } &&
35282 { ac_try
='test -z "$ac_c_werror_flag"
35283 || test ! -s conftest.err'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; } &&
35289 { ac_try
='test -s conftest$ac_exeext'
35290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35291 (eval $ac_try) 2>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; }; then
35295 eval "$as_ac_var=yes"
35297 echo "$as_me: failed program was:" >&5
35298 sed 's/^/| /' conftest.
$ac_ext >&5
35300 eval "$as_ac_var=no"
35302 rm -f conftest.err conftest.
$ac_objext \
35303 conftest
$ac_exeext conftest.
$ac_ext
35305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35307 if test `eval echo '${'$as_ac_var'}'` = yes; then
35308 cat >>confdefs.h
<<_ACEOF
35309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35316 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35317 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35318 if test "${wx_cv_var_timezone+set}" = set; then
35319 echo $ECHO_N "(cached) $ECHO_C" >&6
35322 cat >conftest.
$ac_ext <<_ACEOF
35325 cat confdefs.h
>>conftest.
$ac_ext
35326 cat >>conftest.
$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35342 rm -f conftest.
$ac_objext
35343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35344 (eval $ac_compile) 2>conftest.er1
35346 grep -v '^ *+' conftest.er1
>conftest.err
35348 cat conftest.err
>&5
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); } &&
35351 { ac_try
='test -z "$ac_c_werror_flag"
35352 || test ! -s conftest.err'
35353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354 (eval $ac_try) 2>&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); }; } &&
35358 { ac_try
='test -s conftest.$ac_objext'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; }; then
35365 wx_cv_var_timezone
=timezone
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.
$ac_ext >&5
35372 cat >conftest.
$ac_ext <<_ACEOF
35375 cat confdefs.h
>>conftest.
$ac_ext
35376 cat >>conftest.
$ac_ext <<_ACEOF
35377 /* end confdefs.h. */
35392 rm -f conftest.
$ac_objext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35394 (eval $ac_compile) 2>conftest.er1
35396 grep -v '^ *+' conftest.er1
>conftest.err
35398 cat conftest.err
>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try
='test -z "$ac_c_werror_flag"
35402 || test ! -s conftest.err'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; } &&
35408 { ac_try
='test -s conftest.$ac_objext'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; }; then
35415 wx_cv_var_timezone
=_timezone
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.
$ac_ext >&5
35422 cat >conftest.
$ac_ext <<_ACEOF
35425 cat confdefs.h
>>conftest.
$ac_ext
35426 cat >>conftest.
$ac_ext <<_ACEOF
35427 /* end confdefs.h. */
35442 rm -f conftest.
$ac_objext
35443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35444 (eval $ac_compile) 2>conftest.er1
35446 grep -v '^ *+' conftest.er1
>conftest.err
35448 cat conftest.err
>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); } &&
35451 { ac_try
='test -z "$ac_c_werror_flag"
35452 || test ! -s conftest.err'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; } &&
35458 { ac_try
='test -s conftest.$ac_objext'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; }; then
35465 wx_cv_var_timezone
=__timezone
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.
$ac_ext >&5
35472 if test "$USE_DOS" = 0 ; then
35473 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35474 echo "$as_me: WARNING: no timezone variable" >&2;}
35479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35491 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35492 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35494 if test "x$wx_cv_var_timezone" != x
; then
35495 cat >>confdefs.h
<<_ACEOF
35496 #define WX_TIMEZONE $wx_cv_var_timezone
35502 for ac_func
in localtime
35504 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35505 echo "$as_me:$LINENO: checking for $ac_func" >&5
35506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35507 if eval "test \"\${$as_ac_var+set}\" = set"; then
35508 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 cat >conftest.
$ac_ext <<_ACEOF
35513 cat confdefs.h
>>conftest.
$ac_ext
35514 cat >>conftest.
$ac_ext <<_ACEOF
35515 /* end confdefs.h. */
35516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35518 #define $ac_func innocuous_$ac_func
35520 /* System header to define __stub macros and hopefully few prototypes,
35521 which can conflict with char $ac_func (); below.
35522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35523 <limits.h> exists even on freestanding compilers. */
35526 # include <limits.h>
35528 # include <assert.h>
35533 /* Override any gcc2 internal prototype to avoid an error. */
35538 /* We use char because int might match the return type of a gcc2
35539 builtin and then its argument prototype would still apply. */
35541 /* The GNU C library defines this for functions which it implements
35542 to always fail with ENOSYS. Some functions are actually named
35543 something starting with __ and the normal name is an alias. */
35544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35547 char (*f) () = $ac_func;
35556 return f != $ac_func;
35561 rm -f conftest.
$ac_objext conftest
$ac_exeext
35562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35563 (eval $ac_link) 2>conftest.er1
35565 grep -v '^ *+' conftest.er1
>conftest.err
35567 cat conftest.err
>&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); } &&
35570 { ac_try
='test -z "$ac_c_werror_flag"
35571 || test ! -s conftest.err'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; } &&
35577 { ac_try
='test -s conftest$ac_exeext'
35578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35579 (eval $ac_try) 2>&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; }; then
35583 eval "$as_ac_var=yes"
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.
$ac_ext >&5
35588 eval "$as_ac_var=no"
35590 rm -f conftest.err conftest.
$ac_objext \
35591 conftest
$ac_exeext conftest.
$ac_ext
35593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35595 if test `eval echo '${'$as_ac_var'}'` = yes; then
35596 cat >>confdefs.h
<<_ACEOF
35597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35604 if test "$ac_cv_func_localtime" = "yes"; then
35605 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35606 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35607 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 cat >conftest.
$ac_ext <<_ACEOF
35614 cat confdefs.h
>>conftest.
$ac_ext
35615 cat >>conftest.
$ac_ext <<_ACEOF
35616 /* end confdefs.h. */
35631 rm -f conftest.
$ac_objext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35633 (eval $ac_compile) 2>conftest.er1
35635 grep -v '^ *+' conftest.er1
>conftest.err
35637 cat conftest.err
>&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } &&
35640 { ac_try
='test -z "$ac_c_werror_flag"
35641 || test ! -s conftest.err'
35642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35643 (eval $ac_try) 2>&5
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); }; } &&
35647 { ac_try
='test -s conftest.$ac_objext'
35648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649 (eval $ac_try) 2>&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); }; }; then
35654 wx_cv_struct_tm_has_gmtoff
=yes
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.
$ac_ext >&5
35660 wx_cv_struct_tm_has_gmtoff
=no
35663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35666 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35667 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35670 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35671 cat >>confdefs.h
<<\_ACEOF
35672 #define WX_GMTOFF_IN_TM 1
35679 for ac_func
in gettimeofday ftime
35681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35682 echo "$as_me:$LINENO: checking for $ac_func" >&5
35683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35684 if eval "test \"\${$as_ac_var+set}\" = set"; then
35685 echo $ECHO_N "(cached) $ECHO_C" >&6
35687 cat >conftest.
$ac_ext <<_ACEOF
35690 cat confdefs.h
>>conftest.
$ac_ext
35691 cat >>conftest.
$ac_ext <<_ACEOF
35692 /* end confdefs.h. */
35693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35695 #define $ac_func innocuous_$ac_func
35697 /* System header to define __stub macros and hopefully few prototypes,
35698 which can conflict with char $ac_func (); below.
35699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35700 <limits.h> exists even on freestanding compilers. */
35703 # include <limits.h>
35705 # include <assert.h>
35710 /* Override any gcc2 internal prototype to avoid an error. */
35715 /* We use char because int might match the return type of a gcc2
35716 builtin and then its argument prototype would still apply. */
35718 /* The GNU C library defines this for functions which it implements
35719 to always fail with ENOSYS. Some functions are actually named
35720 something starting with __ and the normal name is an alias. */
35721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35724 char (*f) () = $ac_func;
35733 return f != $ac_func;
35738 rm -f conftest.
$ac_objext conftest
$ac_exeext
35739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35740 (eval $ac_link) 2>conftest.er1
35742 grep -v '^ *+' conftest.er1
>conftest.err
35744 cat conftest.err
>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } &&
35747 { ac_try
='test -z "$ac_c_werror_flag"
35748 || test ! -s conftest.err'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; } &&
35754 { ac_try
='test -s conftest$ac_exeext'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; }; then
35760 eval "$as_ac_var=yes"
35762 echo "$as_me: failed program was:" >&5
35763 sed 's/^/| /' conftest.
$ac_ext >&5
35765 eval "$as_ac_var=no"
35767 rm -f conftest.err conftest.
$ac_objext \
35768 conftest
$ac_exeext conftest.
$ac_ext
35770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35772 if test `eval echo '${'$as_ac_var'}'` = yes; then
35773 cat >>confdefs.h
<<_ACEOF
35774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35781 if test "$ac_cv_func_gettimeofday" = "yes"; then
35782 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35783 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35784 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35785 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 ac_cpp
='$CXXCPP $CPPFLAGS'
35792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35797 cat >conftest.
$ac_ext <<_ACEOF
35800 cat confdefs.h
>>conftest.
$ac_ext
35801 cat >>conftest.
$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35804 #include <sys/time.h>
35805 #include <unistd.h>
35812 gettimeofday(&tv, NULL);
35818 rm -f conftest.
$ac_objext
35819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35820 (eval $ac_compile) 2>conftest.er1
35822 grep -v '^ *+' conftest.er1
>conftest.err
35824 cat conftest.err
>&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); } &&
35827 { ac_try
='test -z "$ac_cxx_werror_flag"
35828 || test ! -s conftest.err'
35829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35830 (eval $ac_try) 2>&5
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); }; } &&
35834 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
35840 wx_cv_func_gettimeofday_has_2_args
=yes
35842 echo "$as_me: failed program was:" >&5
35843 sed 's/^/| /' conftest.
$ac_ext >&5
35845 cat >conftest.
$ac_ext <<_ACEOF
35848 cat confdefs.h
>>conftest.
$ac_ext
35849 cat >>conftest.
$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35852 #include <sys/time.h>
35853 #include <unistd.h>
35866 rm -f conftest.
$ac_objext
35867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35868 (eval $ac_compile) 2>conftest.er1
35870 grep -v '^ *+' conftest.er1
>conftest.err
35872 cat conftest.err
>&5
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); } &&
35875 { ac_try
='test -z "$ac_cxx_werror_flag"
35876 || test ! -s conftest.err'
35877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35878 (eval $ac_try) 2>&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); }; } &&
35882 { ac_try
='test -s conftest.$ac_objext'
35883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35884 (eval $ac_try) 2>&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; }; then
35888 wx_cv_func_gettimeofday_has_2_args
=no
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.
$ac_ext >&5
35894 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35895 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35896 wx_cv_func_gettimeofday_has_2_args
=unknown
35900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35905 ac_cpp
='$CPP $CPPFLAGS'
35906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35912 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35913 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35915 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35916 cat >>confdefs.h
<<\_ACEOF
35917 #define WX_GETTIMEOFDAY_NO_TZ 1
35923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35927 if test "$wxUSE_SOCKETS" = "yes"; then
35928 if test "$wxUSE_MGL" = "1"; then
35929 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35930 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35935 if test "$wxUSE_SOCKETS" = "yes"; then
35936 if test "$TOOLKIT" != "MSW"; then
35937 echo "$as_me:$LINENO: checking for socket" >&5
35938 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35939 if test "${ac_cv_func_socket+set}" = set; then
35940 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 cat >conftest.
$ac_ext <<_ACEOF
35945 cat confdefs.h
>>conftest.
$ac_ext
35946 cat >>conftest.
$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35948 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35950 #define socket innocuous_socket
35952 /* System header to define __stub macros and hopefully few prototypes,
35953 which can conflict with char socket (); below.
35954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35955 <limits.h> exists even on freestanding compilers. */
35958 # include <limits.h>
35960 # include <assert.h>
35965 /* Override any gcc2 internal prototype to avoid an error. */
35970 /* We use char because int might match the return type of a gcc2
35971 builtin and then its argument prototype would still apply. */
35973 /* The GNU C library defines this for functions which it implements
35974 to always fail with ENOSYS. Some functions are actually named
35975 something starting with __ and the normal name is an alias. */
35976 #if defined (__stub_socket) || defined (__stub___socket)
35979 char (*f) () = socket;
35988 return f != socket;
35993 rm -f conftest.
$ac_objext conftest
$ac_exeext
35994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35995 (eval $ac_link) 2>conftest.er1
35997 grep -v '^ *+' conftest.er1
>conftest.err
35999 cat conftest.err
>&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); } &&
36002 { ac_try
='test -z "$ac_c_werror_flag"
36003 || test ! -s conftest.err'
36004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36005 (eval $ac_try) 2>&5
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); }; } &&
36009 { ac_try
='test -s conftest$ac_exeext'
36010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011 (eval $ac_try) 2>&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); }; }; then
36015 ac_cv_func_socket
=yes
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.
$ac_ext >&5
36020 ac_cv_func_socket
=no
36022 rm -f conftest.err conftest.
$ac_objext \
36023 conftest
$ac_exeext conftest.
$ac_ext
36025 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36026 echo "${ECHO_T}$ac_cv_func_socket" >&6
36027 if test $ac_cv_func_socket = yes; then
36031 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36032 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36033 if test "${ac_cv_lib_socket_socket+set}" = set; then
36034 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 ac_check_lib_save_LIBS
=$LIBS
36037 LIBS
="-lsocket $LIBS"
36038 cat >conftest.
$ac_ext <<_ACEOF
36041 cat confdefs.h
>>conftest.
$ac_ext
36042 cat >>conftest.
$ac_ext <<_ACEOF
36043 /* end confdefs.h. */
36045 /* Override any gcc2 internal prototype to avoid an error. */
36049 /* We use char because int might match the return type of a gcc2
36050 builtin and then its argument prototype would still apply. */
36060 rm -f conftest.
$ac_objext conftest
$ac_exeext
36061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36062 (eval $ac_link) 2>conftest.er1
36064 grep -v '^ *+' conftest.er1
>conftest.err
36066 cat conftest.err
>&5
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); } &&
36069 { ac_try
='test -z "$ac_c_werror_flag"
36070 || test ! -s conftest.err'
36071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36072 (eval $ac_try) 2>&5
36074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36075 (exit $ac_status); }; } &&
36076 { ac_try
='test -s conftest$ac_exeext'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; }; then
36082 ac_cv_lib_socket_socket
=yes
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.
$ac_ext >&5
36087 ac_cv_lib_socket_socket
=no
36089 rm -f conftest.err conftest.
$ac_objext \
36090 conftest
$ac_exeext conftest.
$ac_ext
36091 LIBS
=$ac_check_lib_save_LIBS
36093 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36094 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36095 if test $ac_cv_lib_socket_socket = yes; then
36096 if test "$INET_LINK" != " -lsocket"; then
36097 INET_LINK
="$INET_LINK -lsocket"
36101 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36102 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36115 if test "$wxUSE_SOCKETS" = "yes" ; then
36116 if test "$TOOLKIT" != "MSW"; then
36118 ac_cpp
='$CXXCPP $CPPFLAGS'
36119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36123 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36124 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36125 if test "${wx_cv_type_getsockname3+set}" = set; then
36126 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 cat >conftest.
$ac_ext <<_ACEOF
36132 cat confdefs.h
>>conftest.
$ac_ext
36133 cat >>conftest.
$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36136 #include <sys/types.h>
36137 #include <sys/socket.h>
36144 getsockname(0, 0, &len);
36150 rm -f conftest.
$ac_objext
36151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36152 (eval $ac_compile) 2>conftest.er1
36154 grep -v '^ *+' conftest.er1
>conftest.err
36156 cat conftest.err
>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } &&
36159 { ac_try
='test -z "$ac_cxx_werror_flag"
36160 || test ! -s conftest.err'
36161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36162 (eval $ac_try) 2>&5
36164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165 (exit $ac_status); }; } &&
36166 { ac_try
='test -s conftest.$ac_objext'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; }; then
36172 wx_cv_type_getsockname3
=socklen_t
36174 echo "$as_me: failed program was:" >&5
36175 sed 's/^/| /' conftest.
$ac_ext >&5
36178 CFLAGS_OLD
="$CFLAGS"
36179 if test "$GCC" = yes ; then
36180 CFLAGS
="$CFLAGS -Werror"
36183 cat >conftest.
$ac_ext <<_ACEOF
36186 cat confdefs.h
>>conftest.
$ac_ext
36187 cat >>conftest.
$ac_ext <<_ACEOF
36188 /* end confdefs.h. */
36190 #include <sys/types.h>
36191 #include <sys/socket.h>
36198 getsockname(0, 0, &len);
36204 rm -f conftest.
$ac_objext
36205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36206 (eval $ac_compile) 2>conftest.er1
36208 grep -v '^ *+' conftest.er1
>conftest.err
36210 cat conftest.err
>&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } &&
36213 { ac_try
='test -z "$ac_cxx_werror_flag"
36214 || test ! -s conftest.err'
36215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36216 (eval $ac_try) 2>&5
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); }; } &&
36220 { ac_try
='test -s conftest.$ac_objext'
36221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36222 (eval $ac_try) 2>&5
36224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36225 (exit $ac_status); }; }; then
36226 wx_cv_type_getsockname3
=size_t
36228 echo "$as_me: failed program was:" >&5
36229 sed 's/^/| /' conftest.
$ac_ext >&5
36231 cat >conftest.
$ac_ext <<_ACEOF
36234 cat confdefs.h
>>conftest.
$ac_ext
36235 cat >>conftest.
$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36238 #include <sys/types.h>
36239 #include <sys/socket.h>
36246 getsockname(0, 0, &len);
36252 rm -f conftest.
$ac_objext
36253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36254 (eval $ac_compile) 2>conftest.er1
36256 grep -v '^ *+' conftest.er1
>conftest.err
36258 cat conftest.err
>&5
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); } &&
36261 { ac_try
='test -z "$ac_cxx_werror_flag"
36262 || 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
36308 ac_cpp
='$CPP $CPPFLAGS'
36309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36316 if test "$wxUSE_SOCKETS" = "yes" ; then
36317 cat >>confdefs.h
<<\_ACEOF
36318 #define wxUSE_SOCKETS 1
36321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36324 if test "$wxUSE_PROTOCOL" = "yes"; then
36325 if test "$wxUSE_SOCKETS" != "yes"; then
36326 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36327 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36332 if test "$wxUSE_PROTOCOL" = "yes"; then
36333 cat >>confdefs.h
<<\_ACEOF
36334 #define wxUSE_PROTOCOL 1
36338 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36339 cat >>confdefs.h
<<\_ACEOF
36340 #define wxUSE_PROTOCOL_HTTP 1
36344 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36345 cat >>confdefs.h
<<\_ACEOF
36346 #define wxUSE_PROTOCOL_FTP 1
36350 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36351 cat >>confdefs.h
<<\_ACEOF
36352 #define wxUSE_PROTOCOL_FILE 1
36357 if test "$wxUSE_FS_INET" = "yes"; then
36358 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36359 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36364 if test "$wxUSE_URL" = "yes"; then
36365 if test "$wxUSE_PROTOCOL" != "yes"; then
36366 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36367 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36370 if test "$wxUSE_URL" = "yes"; then
36371 cat >>confdefs.h
<<\_ACEOF
36372 #define wxUSE_URL 1
36378 if test "$wxUSE_FS_INET" = "yes"; then
36379 cat >>confdefs.h
<<\_ACEOF
36380 #define wxUSE_FS_INET 1
36386 if test "$wxUSE_GUI" = "yes"; then
36388 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36389 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36390 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36394 if test "$TOOLKIT" != "MSW"; then
36395 if test "$wxUSE_JOYSTICK" = "yes"; then
36397 for ac_header
in linux
/joystick.h
36399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36401 echo "$as_me:$LINENO: checking for $ac_header" >&5
36402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36409 # Is the header compilable?
36410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36412 cat >conftest.
$ac_ext <<_ACEOF
36415 cat confdefs.h
>>conftest.
$ac_ext
36416 cat >>conftest.
$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 $ac_includes_default
36419 #include <$ac_header>
36421 rm -f conftest.
$ac_objext
36422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36423 (eval $ac_compile) 2>conftest.er1
36425 grep -v '^ *+' conftest.er1
>conftest.err
36427 cat conftest.err
>&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } &&
36430 { ac_try
='test -z "$ac_c_werror_flag"
36431 || test ! -s conftest.err'
36432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36433 (eval $ac_try) 2>&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); }; } &&
36437 { ac_try
='test -s conftest.$ac_objext'
36438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36439 (eval $ac_try) 2>&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); }; }; then
36443 ac_header_compiler
=yes
36445 echo "$as_me: failed program was:" >&5
36446 sed 's/^/| /' conftest.
$ac_ext >&5
36448 ac_header_compiler
=no
36450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36452 echo "${ECHO_T}$ac_header_compiler" >&6
36454 # Is the header present?
36455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36457 cat >conftest.
$ac_ext <<_ACEOF
36460 cat confdefs.h
>>conftest.
$ac_ext
36461 cat >>conftest.
$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <$ac_header>
36465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36468 grep -v '^ *+' conftest.er1
>conftest.err
36470 cat conftest.err
>&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } >/dev
/null
; then
36473 if test -s conftest.err
; then
36474 ac_cpp_err
=$ac_c_preproc_warn_flag
36475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36482 if test -z "$ac_cpp_err"; then
36483 ac_header_preproc
=yes
36485 echo "$as_me: failed program was:" >&5
36486 sed 's/^/| /' conftest.
$ac_ext >&5
36488 ac_header_preproc
=no
36490 rm -f conftest.err conftest.
$ac_ext
36491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36492 echo "${ECHO_T}$ac_header_preproc" >&6
36494 # So? What about this header?
36495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36501 ac_header_preproc
=yes
36504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36518 ## ----------------------------------------- ##
36519 ## Report this to wx-dev@lists.wxwidgets.org ##
36520 ## ----------------------------------------- ##
36523 sed "s/^/$as_me: WARNING: /" >&2
36526 echo "$as_me:$LINENO: checking for $ac_header" >&5
36527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36529 echo $ECHO_N "(cached) $ECHO_C" >&6
36531 eval "$as_ac_Header=\$ac_header_preproc"
36533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36538 cat >>confdefs.h
<<_ACEOF
36539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36546 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36548 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36549 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36554 if test "$wxUSE_JOYSTICK" = "yes"; then
36555 cat >>confdefs.h
<<\_ACEOF
36556 #define wxUSE_JOYSTICK 1
36559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36565 if test "$wxUSE_FONTMAP" = "yes" ; then
36566 cat >>confdefs.h
<<\_ACEOF
36567 #define wxUSE_FONTMAP 1
36572 if test "$wxUSE_UNICODE" = "yes" ; then
36573 cat >>confdefs.h
<<\_ACEOF
36574 #define wxUSE_UNICODE 1
36578 if test "$USE_WIN32" != 1; then
36579 wxUSE_UNICODE_MSLU
=no
36582 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36583 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36584 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36585 if test "${ac_cv_lib_unicows_main+set}" = set; then
36586 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 ac_check_lib_save_LIBS
=$LIBS
36589 LIBS
="-lunicows $LIBS"
36590 cat >conftest.
$ac_ext <<_ACEOF
36593 cat confdefs.h
>>conftest.
$ac_ext
36594 cat >>conftest.
$ac_ext <<_ACEOF
36595 /* end confdefs.h. */
36606 rm -f conftest.
$ac_objext conftest
$ac_exeext
36607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36608 (eval $ac_link) 2>conftest.er1
36610 grep -v '^ *+' conftest.er1
>conftest.err
36612 cat conftest.err
>&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } &&
36615 { ac_try
='test -z "$ac_c_werror_flag"
36616 || test ! -s conftest.err'
36617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36618 (eval $ac_try) 2>&5
36620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36621 (exit $ac_status); }; } &&
36622 { ac_try
='test -s conftest$ac_exeext'
36623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36624 (eval $ac_try) 2>&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); }; }; then
36628 ac_cv_lib_unicows_main
=yes
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.
$ac_ext >&5
36633 ac_cv_lib_unicows_main
=no
36635 rm -f conftest.err conftest.
$ac_objext \
36636 conftest
$ac_exeext conftest.
$ac_ext
36637 LIBS
=$ac_check_lib_save_LIBS
36639 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36640 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36641 if test $ac_cv_lib_unicows_main = yes; then
36643 cat >>confdefs.h
<<\_ACEOF
36644 #define wxUSE_UNICODE_MSLU 1
36650 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36651 Applications will only run on Windows NT/2000/XP!" >&5
36652 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36653 Applications will only run on Windows NT/2000/XP!" >&2;}
36654 wxUSE_UNICODE_MSLU
=no
36661 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_EXPERIMENTAL_PRINTF 1
36669 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_POSTSCRIPT 1
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36681 cat >>confdefs.h
<<\_ACEOF
36682 #define wxUSE_NORMALIZED_PS_FONTS 1
36687 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36688 cat >>confdefs.h
<<\_ACEOF
36689 #define wxUSE_CONSTRAINTS 1
36692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36695 if test "$wxUSE_MDI" = "yes"; then
36696 cat >>confdefs.h
<<\_ACEOF
36697 #define wxUSE_MDI 1
36701 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_MDI_ARCHITECTURE 1
36706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36710 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36716 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36721 if test "$wxUSE_HELP" = "yes"; then
36722 cat >>confdefs.h
<<\_ACEOF
36723 #define wxUSE_HELP 1
36726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36728 if test "$wxUSE_MSW" = 1; then
36729 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36730 cat >>confdefs.h
<<\_ACEOF
36731 #define wxUSE_MS_HTML_HELP 1
36737 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36738 if test "$wxUSE_HTML" = "yes"; then
36739 cat >>confdefs.h
<<\_ACEOF
36740 #define wxUSE_WXHTML_HELP 1
36744 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36745 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36746 wxUSE_WXHTML_HELP
=no
36751 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36752 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36753 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36754 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36756 cat >>confdefs.h
<<\_ACEOF
36757 #define wxUSE_PRINTING_ARCHITECTURE 1
36761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36764 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36765 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36766 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36767 { (exit 1); exit 1; }; }
36771 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36772 -o "$wxUSE_CLIPBOARD" = "yes" \
36773 -o "$wxUSE_OLE" = "yes" \
36774 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36776 for ac_header
in ole2.h
36778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36780 echo "$as_me:$LINENO: checking for $ac_header" >&5
36781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36783 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36788 # Is the header compilable?
36789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36791 cat >conftest.
$ac_ext <<_ACEOF
36794 cat confdefs.h
>>conftest.
$ac_ext
36795 cat >>conftest.
$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 $ac_includes_default
36798 #include <$ac_header>
36800 rm -f conftest.
$ac_objext
36801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36802 (eval $ac_compile) 2>conftest.er1
36804 grep -v '^ *+' conftest.er1
>conftest.err
36806 cat conftest.err
>&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } &&
36809 { ac_try
='test -z "$ac_c_werror_flag"
36810 || test ! -s conftest.err'
36811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36812 (eval $ac_try) 2>&5
36814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36815 (exit $ac_status); }; } &&
36816 { ac_try
='test -s conftest.$ac_objext'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; }; then
36822 ac_header_compiler
=yes
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.
$ac_ext >&5
36827 ac_header_compiler
=no
36829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36831 echo "${ECHO_T}$ac_header_compiler" >&6
36833 # Is the header present?
36834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36836 cat >conftest.
$ac_ext <<_ACEOF
36839 cat confdefs.h
>>conftest.
$ac_ext
36840 cat >>conftest.
$ac_ext <<_ACEOF
36841 /* end confdefs.h. */
36842 #include <$ac_header>
36844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36847 grep -v '^ *+' conftest.er1
>conftest.err
36849 cat conftest.err
>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } >/dev
/null
; then
36852 if test -s conftest.err
; then
36853 ac_cpp_err
=$ac_c_preproc_warn_flag
36854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36861 if test -z "$ac_cpp_err"; then
36862 ac_header_preproc
=yes
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.
$ac_ext >&5
36867 ac_header_preproc
=no
36869 rm -f conftest.err conftest.
$ac_ext
36870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36871 echo "${ECHO_T}$ac_header_preproc" >&6
36873 # So? What about this header?
36874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36880 ac_header_preproc
=yes
36883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36897 ## ----------------------------------------- ##
36898 ## Report this to wx-dev@lists.wxwidgets.org ##
36899 ## ----------------------------------------- ##
36902 sed "s/^/$as_me: WARNING: /" >&2
36905 echo "$as_me:$LINENO: checking for $ac_header" >&5
36906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 eval "$as_ac_Header=\$ac_header_preproc"
36912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36917 cat >>confdefs.h
<<_ACEOF
36918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36926 if test "$ac_cv_header_ole2_h" = "yes" ; then
36927 if test "$GCC" = yes ; then
36931 ac_cpp
='$CXXCPP $CPPFLAGS'
36932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36937 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36938 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36939 cat >conftest.
$ac_ext <<_ACEOF
36942 cat confdefs.h
>>conftest.
$ac_ext
36943 cat >>conftest.
$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36945 #include <windows.h>
36955 rm -f conftest.
$ac_objext
36956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36957 (eval $ac_compile) 2>conftest.er1
36959 grep -v '^ *+' conftest.er1
>conftest.err
36961 cat conftest.err
>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } &&
36964 { ac_try
='test -z "$ac_cxx_werror_flag"
36965 || test ! -s conftest.err'
36966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967 (eval $ac_try) 2>&5
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); }; } &&
36971 { ac_try
='test -s conftest.$ac_objext'
36972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36973 (eval $ac_try) 2>&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); }; }; then
36977 echo "$as_me:$LINENO: result: no" >&5
36978 echo "${ECHO_T}no" >&6
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.
$ac_ext >&5
36983 echo "$as_me:$LINENO: result: yes" >&5
36984 echo "${ECHO_T}yes" >&6
36985 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36989 ac_cpp
='$CPP $CPPFLAGS'
36990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36994 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36995 if test "$wxUSE_OLE" = "yes" ; then
36996 cat >>confdefs.h
<<\_ACEOF
36997 #define wxUSE_OLE 1
37003 if test "$wxUSE_DATAOBJ" = "yes" ; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_DATAOBJ 1
37010 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37011 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37014 wxUSE_DRAG_AND_DROP
=no
37019 if test "$wxUSE_METAFILE" = "yes"; then
37020 cat >>confdefs.h
<<\_ACEOF
37021 #define wxUSE_METAFILE 1
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_ENH_METAFILE 1
37032 if test "$wxUSE_IPC" = "yes"; then
37033 if test "$wxUSE_SOCKETS" != "yes"; then
37034 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37035 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxUSE_IPC 1
37044 if test "$wxUSE_CLIPBOARD" = "yes"; then
37045 if test "$wxUSE_MGL" = 1; then
37046 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37047 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37051 if test "$wxUSE_CLIPBOARD" = "yes"; then
37052 cat >>confdefs.h
<<\_ACEOF
37053 #define wxUSE_CLIPBOARD 1
37057 cat >>confdefs.h
<<\_ACEOF
37058 #define wxUSE_DATAOBJ 1
37064 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37065 if test "$wxUSE_GTK" = 1; then
37066 if test "$WXGTK12" != 1; then
37067 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37068 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37069 wxUSE_DRAG_AND_DROP
=no
37073 if test "$wxUSE_MOTIF" = 1; then
37074 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37075 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37076 wxUSE_DRAG_AND_DROP
=no
37079 if test "$wxUSE_X11" = 1; then
37080 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37081 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37082 wxUSE_DRAG_AND_DROP
=no
37085 if test "$wxUSE_MGL" = 1; then
37086 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37087 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37088 wxUSE_DRAG_AND_DROP
=no
37091 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37092 cat >>confdefs.h
<<\_ACEOF
37093 #define wxUSE_DRAG_AND_DROP 1
37100 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37104 if test "$wxUSE_SPLINES" = "yes" ; then
37105 cat >>confdefs.h
<<\_ACEOF
37106 #define wxUSE_SPLINES 1
37113 if test "$wxUSE_CONTROLS" = "yes"; then
37117 if test "$wxUSE_ACCEL" = "yes"; then
37118 cat >>confdefs.h
<<\_ACEOF
37119 #define wxUSE_ACCEL 1
37125 if test "$wxUSE_BUTTON" = "yes"; then
37126 cat >>confdefs.h
<<\_ACEOF
37127 #define wxUSE_BUTTON 1
37133 if test "$wxUSE_BMPBUTTON" = "yes"; then
37134 cat >>confdefs.h
<<\_ACEOF
37135 #define wxUSE_BMPBUTTON 1
37141 if test "$wxUSE_CALCTRL" = "yes"; then
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_CALENDARCTRL 1
37147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37150 if test "$wxUSE_CARET" = "yes"; then
37151 cat >>confdefs.h
<<\_ACEOF
37152 #define wxUSE_CARET 1
37156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37159 if test "$wxUSE_COMBOBOX" = "yes"; then
37160 cat >>confdefs.h
<<\_ACEOF
37161 #define wxUSE_COMBOBOX 1
37167 if test "$wxUSE_CHOICE" = "yes"; then
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define wxUSE_CHOICE 1
37175 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37176 cat >>confdefs.h
<<\_ACEOF
37177 #define wxUSE_CHOICEBOOK 1
37183 if test "$wxUSE_CHECKBOX" = "yes"; then
37184 cat >>confdefs.h
<<\_ACEOF
37185 #define wxUSE_CHECKBOX 1
37191 if test "$wxUSE_CHECKLST" = "yes"; then
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_CHECKLISTBOX 1
37197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37200 if test "$wxUSE_DISPLAY" = "yes"; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define wxUSE_DISPLAY 1
37205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37208 if test "$wxUSE_GAUGE" = "yes"; then
37209 cat >>confdefs.h
<<\_ACEOF
37210 #define wxUSE_GAUGE 1
37216 if test "$wxUSE_GRID" = "yes"; then
37217 cat >>confdefs.h
<<\_ACEOF
37218 #define wxUSE_GRID 1
37222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37225 if test "$wxUSE_IMAGLIST" = "yes"; then
37226 cat >>confdefs.h
<<\_ACEOF
37227 #define wxUSE_IMAGLIST 1
37232 if test "$wxUSE_LISTBOOK" = "yes"; then
37233 cat >>confdefs.h
<<\_ACEOF
37234 #define wxUSE_LISTBOOK 1
37240 if test "$wxUSE_LISTBOX" = "yes"; then
37241 cat >>confdefs.h
<<\_ACEOF
37242 #define wxUSE_LISTBOX 1
37248 if test "$wxUSE_LISTCTRL" = "yes"; then
37249 if test "$wxUSE_IMAGLIST" = "yes"; then
37250 cat >>confdefs.h
<<\_ACEOF
37251 #define wxUSE_LISTCTRL 1
37255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37257 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37258 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37262 if test "$wxUSE_NOTEBOOK" = "yes"; then
37263 cat >>confdefs.h
<<\_ACEOF
37264 #define wxUSE_NOTEBOOK 1
37268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37272 if test "$wxUSE_RADIOBOX" = "yes"; then
37273 cat >>confdefs.h
<<\_ACEOF
37274 #define wxUSE_RADIOBOX 1
37280 if test "$wxUSE_RADIOBTN" = "yes"; then
37281 cat >>confdefs.h
<<\_ACEOF
37282 #define wxUSE_RADIOBTN 1
37288 if test "$wxUSE_SASH" = "yes"; then
37289 cat >>confdefs.h
<<\_ACEOF
37290 #define wxUSE_SASH 1
37293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37296 if test "$wxUSE_SCROLLBAR" = "yes"; then
37297 cat >>confdefs.h
<<\_ACEOF
37298 #define wxUSE_SCROLLBAR 1
37302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37305 if test "$wxUSE_SLIDER" = "yes"; then
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define wxUSE_SLIDER 1
37313 if test "$wxUSE_SPINBTN" = "yes"; then
37314 cat >>confdefs.h
<<\_ACEOF
37315 #define wxUSE_SPINBTN 1
37321 if test "$wxUSE_SPINCTRL" = "yes"; then
37322 cat >>confdefs.h
<<\_ACEOF
37323 #define wxUSE_SPINCTRL 1
37329 if test "$wxUSE_SPLITTER" = "yes"; then
37330 cat >>confdefs.h
<<\_ACEOF
37331 #define wxUSE_SPLITTER 1
37334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37337 if test "$wxUSE_STATBMP" = "yes"; then
37338 cat >>confdefs.h
<<\_ACEOF
37339 #define wxUSE_STATBMP 1
37345 if test "$wxUSE_STATBOX" = "yes"; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxUSE_STATBOX 1
37353 if test "$wxUSE_STATTEXT" = "yes"; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_STATTEXT 1
37361 if test "$wxUSE_STATLINE" = "yes"; then
37362 cat >>confdefs.h
<<\_ACEOF
37363 #define wxUSE_STATLINE 1
37369 if test "$wxUSE_STATUSBAR" = "yes"; then
37370 cat >>confdefs.h
<<\_ACEOF
37371 #define wxUSE_STATUSBAR 1
37376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37379 if test "$wxUSE_TABDIALOG" = "yes"; then
37380 cat >>confdefs.h
<<\_ACEOF
37381 #define wxUSE_TAB_DIALOG 1
37384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37387 if test "$wxUSE_TEXTCTRL" = "yes"; then
37388 cat >>confdefs.h
<<\_ACEOF
37389 #define wxUSE_TEXTCTRL 1
37393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37396 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37397 if test "$wxUSE_COCOA" = 1 ; then
37398 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37399 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37402 if test "$wxUSE_PM" = 1; then
37403 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37404 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37408 if test "$wxUSE_UNIVERSAL" = "yes"; then
37409 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37410 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37414 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37415 cat >>confdefs.h
<<\_ACEOF
37416 #define wxUSE_TOGGLEBTN 1
37423 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37424 cat >>confdefs.h
<<\_ACEOF
37425 #define wxUSE_TOOLBAR_SIMPLE 1
37428 wxUSE_TOOLBAR
="yes"
37432 if test "$wxUSE_TOOLBAR" = "yes"; then
37433 cat >>confdefs.h
<<\_ACEOF
37434 #define wxUSE_TOOLBAR 1
37439 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37440 wxUSE_TOOLBAR_NATIVE
="yes"
37443 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37444 cat >>confdefs.h
<<\_ACEOF
37445 #define wxUSE_TOOLBAR_NATIVE 1
37451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37454 if test "$wxUSE_TOOLTIPS" = "yes"; then
37455 if test "$wxUSE_MOTIF" = 1; then
37456 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37457 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37459 if test "$wxUSE_UNIVERSAL" = "yes"; then
37460 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37461 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_TOOLTIPS 1
37471 if test "$wxUSE_TREECTRL" = "yes"; then
37472 if test "$wxUSE_IMAGLIST" = "yes"; then
37473 cat >>confdefs.h
<<\_ACEOF
37474 #define wxUSE_TREECTRL 1
37478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37480 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37481 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37485 if test "$wxUSE_POPUPWIN" = "yes"; then
37486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37487 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37488 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37490 if test "$wxUSE_PM" = 1; then
37491 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37492 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37494 cat >>confdefs.h
<<\_ACEOF
37495 #define wxUSE_POPUPWIN 1
37504 if test "$wxUSE_TIPWINDOW" = "yes"; then
37505 if test "$wxUSE_PM" = 1; then
37506 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37507 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37509 cat >>confdefs.h
<<\_ACEOF
37510 #define wxUSE_TIPWINDOW 1
37516 if test "$USES_CONTROLS" = 1; then
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define wxUSE_CONTROLS 1
37524 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37525 cat >>confdefs.h
<<\_ACEOF
37526 #define wxUSE_ACCESSIBILITY 1
37529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37532 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37533 cat >>confdefs.h
<<\_ACEOF
37534 #define wxUSE_DRAGIMAGE 1
37537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37540 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37541 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37542 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37543 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37545 cat >>confdefs.h
<<\_ACEOF
37546 #define wxUSE_EXCEPTIONS 1
37549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37554 if test "$wxUSE_HTML" = "yes"; then
37555 cat >>confdefs.h
<<\_ACEOF
37556 #define wxUSE_HTML 1
37560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37561 if test "$wxUSE_MAC" = 1; then
37562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37565 if test "$wxUSE_WEBKIT" = "yes"; then
37566 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37567 old_CPPFLAGS
="$CPPFLAGS"
37568 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37569 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37570 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37571 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37572 echo $ECHO_N "(cached) $ECHO_C" >&6
37574 cat >conftest.
$ac_ext <<_ACEOF
37577 cat confdefs.h
>>conftest.
$ac_ext
37578 cat >>conftest.
$ac_ext <<_ACEOF
37579 /* end confdefs.h. */
37580 #include <Carbon/Carbon.h>
37582 #include <WebKit/HIWebView.h>
37584 rm -f conftest.
$ac_objext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37586 (eval $ac_compile) 2>conftest.er1
37588 grep -v '^ *+' conftest.er1
>conftest.err
37590 cat conftest.err
>&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try
='test -z "$ac_c_werror_flag"
37594 || test ! -s conftest.err'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; } &&
37600 { ac_try
='test -s conftest.$ac_objext'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; }; then
37606 ac_cv_header_WebKit_HIWebView_h
=yes
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.
$ac_ext >&5
37611 ac_cv_header_WebKit_HIWebView_h
=no
37613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37615 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37616 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37617 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37619 cat >>confdefs.h
<<\_ACEOF
37620 #define wxUSE_WEBKIT 1
37623 WEBKIT_LINK
="-framework WebKit"
37627 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37628 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37634 CPPFLAGS
="$old_CPPFLAGS"
37635 elif test "$wxUSE_COCOA" = 1; then
37636 cat >>confdefs.h
<<\_ACEOF
37637 #define wxUSE_WEBKIT 1
37646 if test "$wxUSE_XRC" = "yes"; then
37647 if test "$wxUSE_XML" != "yes"; then
37648 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37649 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37652 cat >>confdefs.h
<<\_ACEOF
37653 #define wxUSE_XRC 1
37657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37661 if test "$wxUSE_MENUS" = "yes"; then
37662 cat >>confdefs.h
<<\_ACEOF
37663 #define wxUSE_MENUS 1
37666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37669 if test "$wxUSE_METAFILE" = "yes"; then
37670 cat >>confdefs.h
<<\_ACEOF
37671 #define wxUSE_METAFILE 1
37676 if test "$wxUSE_MIMETYPE" = "yes"; then
37677 cat >>confdefs.h
<<\_ACEOF
37678 #define wxUSE_MIMETYPE 1
37683 if test "$wxUSE_MINIFRAME" = "yes"; then
37684 cat >>confdefs.h
<<\_ACEOF
37685 #define wxUSE_MINIFRAME 1
37688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37691 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37692 cat >>confdefs.h
<<\_ACEOF
37693 #define wxUSE_SYSTEM_OPTIONS 1
37696 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37697 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37703 if test "$wxUSE_VALIDATORS" = "yes"; then
37704 cat >>confdefs.h
<<\_ACEOF
37705 #define wxUSE_VALIDATORS 1
37708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37711 if test "$wxUSE_PALETTE" = "yes" ; then
37712 cat >>confdefs.h
<<\_ACEOF
37713 #define wxUSE_PALETTE 1
37718 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37719 LIBS
=" -lunicows $LIBS"
37723 if test "$wxUSE_IMAGE" = "yes" ; then
37724 cat >>confdefs.h
<<\_ACEOF
37725 #define wxUSE_IMAGE 1
37729 if test "$wxUSE_GIF" = "yes" ; then
37730 cat >>confdefs.h
<<\_ACEOF
37731 #define wxUSE_GIF 1
37736 if test "$wxUSE_PCX" = "yes" ; then
37737 cat >>confdefs.h
<<\_ACEOF
37738 #define wxUSE_PCX 1
37743 if test "$wxUSE_IFF" = "yes" ; then
37744 cat >>confdefs.h
<<\_ACEOF
37745 #define wxUSE_IFF 1
37750 if test "$wxUSE_PNM" = "yes" ; then
37751 cat >>confdefs.h
<<\_ACEOF
37752 #define wxUSE_PNM 1
37757 if test "$wxUSE_XPM" = "yes" ; then
37758 cat >>confdefs.h
<<\_ACEOF
37759 #define wxUSE_XPM 1
37764 if test "$wxUSE_ICO_CUR" = "yes" ; then
37765 cat >>confdefs.h
<<\_ACEOF
37766 #define wxUSE_ICO_CUR 1
37773 if test "$wxUSE_CHOICEDLG" = "yes"; then
37774 cat >>confdefs.h
<<\_ACEOF
37775 #define wxUSE_CHOICEDLG 1
37780 if test "$wxUSE_COLOURDLG" = "yes"; then
37781 cat >>confdefs.h
<<\_ACEOF
37782 #define wxUSE_COLOURDLG 1
37787 if test "$wxUSE_FILEDLG" = "yes"; then
37788 cat >>confdefs.h
<<\_ACEOF
37789 #define wxUSE_FILEDLG 1
37794 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37795 cat >>confdefs.h
<<\_ACEOF
37796 #define wxUSE_FINDREPLDLG 1
37801 if test "$wxUSE_FONTDLG" = "yes"; then
37802 cat >>confdefs.h
<<\_ACEOF
37803 #define wxUSE_FONTDLG 1
37808 if test "$wxUSE_DIRDLG" = "yes"; then
37809 if test "$wxUSE_TREECTRL" != "yes"; then
37810 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37811 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37813 cat >>confdefs.h
<<\_ACEOF
37814 #define wxUSE_DIRDLG 1
37820 if test "$wxUSE_MSGDLG" = "yes"; then
37821 cat >>confdefs.h
<<\_ACEOF
37822 #define wxUSE_MSGDLG 1
37827 if test "$wxUSE_NUMBERDLG" = "yes"; then
37828 cat >>confdefs.h
<<\_ACEOF
37829 #define wxUSE_NUMBERDLG 1
37834 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37835 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37836 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37837 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37839 cat >>confdefs.h
<<\_ACEOF
37840 #define wxUSE_PROGRESSDLG 1
37846 if test "$wxUSE_SPLASH" = "yes"; then
37847 cat >>confdefs.h
<<\_ACEOF
37848 #define wxUSE_SPLASH 1
37851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37854 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37855 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37856 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37857 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37859 cat >>confdefs.h
<<\_ACEOF
37860 #define wxUSE_STARTUP_TIPS 1
37866 if test "$wxUSE_TEXTDLG" = "yes"; then
37867 cat >>confdefs.h
<<\_ACEOF
37868 #define wxUSE_TEXTDLG 1
37873 if test "$wxUSE_WIZARDDLG" = "yes"; then
37874 cat >>confdefs.h
<<\_ACEOF
37875 #define wxUSE_WIZARDDLG 1
37878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37882 if test "$cross_compiling" = "yes"; then
37885 OSINFO
=`uname -s -r -m`
37886 OSINFO
="\"$OSINFO\""
37889 cat >>confdefs.h
<<_ACEOF
37890 #define WXWIN_OS_DESCRIPTION $OSINFO
37895 if test "x$prefix" != "xNONE"; then
37898 wxPREFIX
=$ac_default_prefix
37901 cat >>confdefs.h
<<_ACEOF
37902 #define wxINSTALL_PREFIX "$wxPREFIX"
37908 CORE_BASE_LIBS
="net base"
37909 CORE_GUI_LIBS
="adv core"
37911 if test "$wxUSE_XML" = "yes" ; then
37912 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37914 if test "$wxUSE_ODBC" != "no" ; then
37915 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37916 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37918 if test "$wxUSE_HTML" = "yes" ; then
37919 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37921 if test "$wxUSE_XRC" = "yes" ; then
37922 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37925 if test "$wxUSE_GUI" != "yes"; then
37936 if test "$wxUSE_MAC" = 1 ; then
37937 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37938 if test "$USE_DARWIN" = 1; then
37939 LDFLAGS
="$LDFLAGS -framework QuickTime"
37941 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
37944 if test "$USE_DARWIN" = 1; then
37945 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
37947 LDFLAGS
="$LDFLAGS -lCarbonLib"
37950 if test "$wxUSE_COCOA" = 1 ; then
37951 LDFLAGS
="$LDFLAGS -framework Cocoa"
37955 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37963 echo "$as_me:$LINENO: checking for $ac_func" >&5
37964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37965 if eval "test \"\${$as_ac_var+set}\" = set"; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37968 cat >conftest.
$ac_ext <<_ACEOF
37971 cat confdefs.h
>>conftest.
$ac_ext
37972 cat >>conftest.
$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37976 #define $ac_func innocuous_$ac_func
37978 /* System header to define __stub macros and hopefully few prototypes,
37979 which can conflict with char $ac_func (); below.
37980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37981 <limits.h> exists even on freestanding compilers. */
37984 # include <limits.h>
37986 # include <assert.h>
37991 /* Override any gcc2 internal prototype to avoid an error. */
37996 /* We use char because int might match the return type of a gcc2
37997 builtin and then its argument prototype would still apply. */
37999 /* The GNU C library defines this for functions which it implements
38000 to always fail with ENOSYS. Some functions are actually named
38001 something starting with __ and the normal name is an alias. */
38002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38005 char (*f) () = $ac_func;
38014 return f != $ac_func;
38019 rm -f conftest.
$ac_objext conftest
$ac_exeext
38020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38021 (eval $ac_link) 2>conftest.er1
38023 grep -v '^ *+' conftest.er1
>conftest.err
38025 cat conftest.err
>&5
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); } &&
38028 { ac_try
='test -z "$ac_c_werror_flag"
38029 || test ! -s conftest.err'
38030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38031 (eval $ac_try) 2>&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); }; } &&
38035 { ac_try
='test -s conftest$ac_exeext'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; }; then
38041 eval "$as_ac_var=yes"
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.
$ac_ext >&5
38046 eval "$as_ac_var=no"
38048 rm -f conftest.err conftest.
$ac_objext \
38049 conftest
$ac_exeext conftest.
$ac_ext
38051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38053 if test `eval echo '${'$as_ac_var'}'` = yes; then
38054 cat >>confdefs.h
<<_ACEOF
38055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38062 for ac_func
in floor
38064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38065 echo "$as_me:$LINENO: checking for $ac_func" >&5
38066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38067 if eval "test \"\${$as_ac_var+set}\" = set"; then
38068 echo $ECHO_N "(cached) $ECHO_C" >&6
38070 cat >conftest.
$ac_ext <<_ACEOF
38073 cat confdefs.h
>>conftest.
$ac_ext
38074 cat >>conftest.
$ac_ext <<_ACEOF
38075 /* end confdefs.h. */
38076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38078 #define $ac_func innocuous_$ac_func
38080 /* System header to define __stub macros and hopefully few prototypes,
38081 which can conflict with char $ac_func (); below.
38082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38083 <limits.h> exists even on freestanding compilers. */
38086 # include <limits.h>
38088 # include <assert.h>
38093 /* Override any gcc2 internal prototype to avoid an error. */
38098 /* We use char because int might match the return type of a gcc2
38099 builtin and then its argument prototype would still apply. */
38101 /* The GNU C library defines this for functions which it implements
38102 to always fail with ENOSYS. Some functions are actually named
38103 something starting with __ and the normal name is an alias. */
38104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38107 char (*f) () = $ac_func;
38116 return f != $ac_func;
38121 rm -f conftest.
$ac_objext conftest
$ac_exeext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38123 (eval $ac_link) 2>conftest.er1
38125 grep -v '^ *+' conftest.er1
>conftest.err
38127 cat conftest.err
>&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try
='test -z "$ac_c_werror_flag"
38131 || test ! -s conftest.err'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; } &&
38137 { ac_try
='test -s conftest$ac_exeext'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; }; then
38143 eval "$as_ac_var=yes"
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.
$ac_ext >&5
38148 eval "$as_ac_var=no"
38150 rm -f conftest.err conftest.
$ac_objext \
38151 conftest
$ac_exeext conftest.
$ac_ext
38153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38155 if test `eval echo '${'$as_ac_var'}'` = yes; then
38156 cat >>confdefs.h
<<_ACEOF
38157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38163 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38164 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38165 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38166 echo "$as_me:$LINENO: result: yes" >&5
38167 echo "${ECHO_T}yes" >&6
38169 echo "$as_me:$LINENO: result: no" >&5
38170 echo "${ECHO_T}no" >&6
38172 # use different functions to avoid configure caching
38178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38179 echo "$as_me:$LINENO: checking for $ac_func" >&5
38180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38181 if eval "test \"\${$as_ac_var+set}\" = set"; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38184 cat >conftest.
$ac_ext <<_ACEOF
38187 cat confdefs.h
>>conftest.
$ac_ext
38188 cat >>conftest.
$ac_ext <<_ACEOF
38189 /* end confdefs.h. */
38190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38192 #define $ac_func innocuous_$ac_func
38194 /* System header to define __stub macros and hopefully few prototypes,
38195 which can conflict with char $ac_func (); below.
38196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38197 <limits.h> exists even on freestanding compilers. */
38200 # include <limits.h>
38202 # include <assert.h>
38207 /* Override any gcc2 internal prototype to avoid an error. */
38212 /* We use char because int might match the return type of a gcc2
38213 builtin and then its argument prototype would still apply. */
38215 /* The GNU C library defines this for functions which it implements
38216 to always fail with ENOSYS. Some functions are actually named
38217 something starting with __ and the normal name is an alias. */
38218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38221 char (*f) () = $ac_func;
38230 return f != $ac_func;
38235 rm -f conftest.
$ac_objext conftest
$ac_exeext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38237 (eval $ac_link) 2>conftest.er1
38239 grep -v '^ *+' conftest.er1
>conftest.err
38241 cat conftest.err
>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } &&
38244 { ac_try
='test -z "$ac_c_werror_flag"
38245 || test ! -s conftest.err'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; } &&
38251 { ac_try
='test -s conftest$ac_exeext'
38252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38253 (eval $ac_try) 2>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); }; }; then
38257 eval "$as_ac_var=yes"
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.
$ac_ext >&5
38262 eval "$as_ac_var=no"
38264 rm -f conftest.err conftest.
$ac_objext \
38265 conftest
$ac_exeext conftest.
$ac_ext
38267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38269 if test `eval echo '${'$as_ac_var'}'` = yes; then
38270 cat >>confdefs.h
<<_ACEOF
38271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38278 for ac_func
in ceil
38280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38281 echo "$as_me:$LINENO: checking for $ac_func" >&5
38282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38283 if eval "test \"\${$as_ac_var+set}\" = set"; then
38284 echo $ECHO_N "(cached) $ECHO_C" >&6
38286 cat >conftest.
$ac_ext <<_ACEOF
38289 cat confdefs.h
>>conftest.
$ac_ext
38290 cat >>conftest.
$ac_ext <<_ACEOF
38291 /* end confdefs.h. */
38292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38294 #define $ac_func innocuous_$ac_func
38296 /* System header to define __stub macros and hopefully few prototypes,
38297 which can conflict with char $ac_func (); below.
38298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38299 <limits.h> exists even on freestanding compilers. */
38302 # include <limits.h>
38304 # include <assert.h>
38309 /* Override any gcc2 internal prototype to avoid an error. */
38314 /* We use char because int might match the return type of a gcc2
38315 builtin and then its argument prototype would still apply. */
38317 /* The GNU C library defines this for functions which it implements
38318 to always fail with ENOSYS. Some functions are actually named
38319 something starting with __ and the normal name is an alias. */
38320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38323 char (*f) () = $ac_func;
38332 return f != $ac_func;
38337 rm -f conftest.
$ac_objext conftest
$ac_exeext
38338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38339 (eval $ac_link) 2>conftest.er1
38341 grep -v '^ *+' conftest.er1
>conftest.err
38343 cat conftest.err
>&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); } &&
38346 { ac_try
='test -z "$ac_c_werror_flag"
38347 || test ! -s conftest.err'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; } &&
38353 { ac_try
='test -s conftest$ac_exeext'
38354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38355 (eval $ac_try) 2>&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); }; }; then
38359 eval "$as_ac_var=yes"
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.
$ac_ext >&5
38364 eval "$as_ac_var=no"
38366 rm -f conftest.err conftest.
$ac_objext \
38367 conftest
$ac_exeext conftest.
$ac_ext
38369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38371 if test `eval echo '${'$as_ac_var'}'` = yes; then
38372 cat >>confdefs.h
<<_ACEOF
38373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38379 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38380 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38381 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38382 echo "$as_me:$LINENO: result: yes" >&5
38383 echo "${ECHO_T}yes" >&6
38385 echo "$as_me:$LINENO: result: no" >&5
38386 echo "${ECHO_T}no" >&6
38387 # not sure we should warn the user, crash, etc.
38391 if test "$wxUSE_GUI" = "yes"; then
38394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38395 drawing dynamic erase event exec font image \
38396 minimal propsize rotate shaped widgets render"
38398 if test "$wxUSE_MONOLITHIC" != "yes"; then
38399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38402 SAMPLES_SUBDIRS
="console"
38406 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38407 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38409 if test "$GXX" = yes ; then
38410 CXXWARNINGS
="-Wall"
38413 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38415 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38416 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38417 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38421 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38422 EXTRALIBS_XML
="$EXPAT_LINK"
38423 EXTRALIBS_HTML
="$MSPACK_LINK"
38424 EXTRALIBS_ODBC
="$ODBC_LINK"
38425 if test "$wxUSE_GUI" = "yes"; then
38426 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38428 if test "$wxUSE_OPENGL" = "yes"; then
38429 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38432 LDFLAGS
="$LDFLAGS $PROFILE"
38434 if test "$wxUSE_GTK" = 1; then
38437 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38440 WXCONFIG_EXTRALIBS
="$LIBS"
38442 if test "$wxUSE_REGEX" = "builtin" ; then
38443 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38445 if test "$wxUSE_EXPAT" = "builtin" ; then
38446 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38448 if test "$wxUSE_ODBC" = "builtin" ; then
38449 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38451 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38452 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38454 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38455 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38457 if test "$wxUSE_LIBPNG" = "builtin" ; then
38458 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38460 if test "$wxUSE_ZLIB" = "builtin" ; then
38461 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38463 if test "$wxUSE_ODBC" = "builtin" ; then
38464 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38467 for i
in $wxconfig_3rdparty ; do
38468 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38472 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38486 if test $wxUSE_MONOLITHIC = "yes" ; then
38492 if test $wxUSE_PLUGINS = "yes" ; then
38498 if test $wxUSE_ODBC != "no" ; then
38504 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38532 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38543 TOOLKIT_USER
="GTK+"
38544 if test "$WXGTK20" = 1; then
38545 TOOLKIT_USER
="$TOOLKIT_USER 2"
38550 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38557 if test "x$BAKEFILE_HOST" = "x"; then
38558 BAKEFILE_HOST
="${host}"
38561 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38563 if test -n "$ac_tool_prefix"; then
38564 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38565 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38566 echo "$as_me:$LINENO: checking for $ac_word" >&5
38567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38568 if test "${ac_cv_prog_RANLIB+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 if test -n "$RANLIB"; then
38572 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38575 for as_dir
in $PATH
38578 test -z "$as_dir" && as_dir
=.
38579 for ac_exec_ext
in '' $ac_executable_extensions; do
38580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38581 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38590 RANLIB
=$ac_cv_prog_RANLIB
38591 if test -n "$RANLIB"; then
38592 echo "$as_me:$LINENO: result: $RANLIB" >&5
38593 echo "${ECHO_T}$RANLIB" >&6
38595 echo "$as_me:$LINENO: result: no" >&5
38596 echo "${ECHO_T}no" >&6
38600 if test -z "$ac_cv_prog_RANLIB"; then
38601 ac_ct_RANLIB
=$RANLIB
38602 # Extract the first word of "ranlib", so it can be a program name with args.
38603 set dummy ranlib
; ac_word
=$2
38604 echo "$as_me:$LINENO: checking for $ac_word" >&5
38605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38606 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 if test -n "$ac_ct_RANLIB"; then
38610 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38613 for as_dir
in $PATH
38616 test -z "$as_dir" && as_dir
=.
38617 for ac_exec_ext
in '' $ac_executable_extensions; do
38618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38619 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38626 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38629 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38630 if test -n "$ac_ct_RANLIB"; then
38631 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38632 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38634 echo "$as_me:$LINENO: result: no" >&5
38635 echo "${ECHO_T}no" >&6
38638 RANLIB
=$ac_ct_RANLIB
38640 RANLIB
="$ac_cv_prog_RANLIB"
38643 # Find a good install program. We prefer a C program (faster),
38644 # so one script is as good as another. But avoid the broken or
38645 # incompatible versions:
38646 # SysV /etc/install, /usr/sbin/install
38647 # SunOS /usr/etc/install
38648 # IRIX /sbin/install
38650 # AmigaOS /C/install, which installs bootblocks on floppy discs
38651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38654 # OS/2's system install, which has a completely different semantic
38655 # ./install, which can be erroneously created by make from ./install.sh.
38656 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38657 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38658 if test -z "$INSTALL"; then
38659 if test "${ac_cv_path_install+set}" = set; then
38660 echo $ECHO_N "(cached) $ECHO_C" >&6
38662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38663 for as_dir
in $PATH
38666 test -z "$as_dir" && as_dir
=.
38667 # Account for people who put trailing slashes in PATH elements.
38669 .
/ | .
// | /cC
/* | \
38670 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38671 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38674 # OSF1 and SCO ODT 3.0 have their own names for install.
38675 # Don't use installbsd from OSF since it installs stuff as root
38677 for ac_prog
in ginstall scoinst
install; do
38678 for ac_exec_ext
in '' $ac_executable_extensions; do
38679 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38680 if test $ac_prog = install &&
38681 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38682 # AIX install. It has an incompatible calling convention.
38684 elif test $ac_prog = install &&
38685 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38686 # program-specific install script used by HP pwplus--don't use.
38689 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38701 if test "${ac_cv_path_install+set}" = set; then
38702 INSTALL
=$ac_cv_path_install
38704 # As a last resort, use the slow shell script. We don't cache a
38705 # path for INSTALL within a source directory, because that will
38706 # break other packages using the cache if that directory is
38707 # removed, or if the path is relative.
38708 INSTALL
=$ac_install_sh
38711 echo "$as_me:$LINENO: result: $INSTALL" >&5
38712 echo "${ECHO_T}$INSTALL" >&6
38714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38715 # It thinks the first close brace ends the variable substitution.
38716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38720 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38722 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38723 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38725 if test "$LN_S" = "ln -s"; then
38726 echo "$as_me:$LINENO: result: yes" >&5
38727 echo "${ECHO_T}yes" >&6
38729 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38730 echo "${ECHO_T}no, using $LN_S" >&6
38734 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38735 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38736 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38737 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38738 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 cat >conftest.
make <<\_ACEOF
38742 @
echo 'ac_maketemp="$(MAKE)"'
38744 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38745 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38746 if test -n "$ac_maketemp"; then
38747 eval ac_cv_prog_make_
${ac_make}_set
=yes
38749 eval ac_cv_prog_make_
${ac_make}_set
=no
38751 rm -f conftest.
make
38753 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38754 echo "$as_me:$LINENO: result: yes" >&5
38755 echo "${ECHO_T}yes" >&6
38758 echo "$as_me:$LINENO: result: no" >&5
38759 echo "${ECHO_T}no" >&6
38760 SET_MAKE
="MAKE=${MAKE-make}"
38765 if test -n "$ac_tool_prefix"; then
38766 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38767 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38768 echo "$as_me:$LINENO: checking for $ac_word" >&5
38769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38770 if test "${ac_cv_prog_AR+set}" = set; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38773 if test -n "$AR"; then
38774 ac_cv_prog_AR
="$AR" # Let the user override the test.
38776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38777 for as_dir
in $PATH
38780 test -z "$as_dir" && as_dir
=.
38781 for ac_exec_ext
in '' $ac_executable_extensions; do
38782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38783 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38793 if test -n "$AR"; then
38794 echo "$as_me:$LINENO: result: $AR" >&5
38795 echo "${ECHO_T}$AR" >&6
38797 echo "$as_me:$LINENO: result: no" >&5
38798 echo "${ECHO_T}no" >&6
38802 if test -z "$ac_cv_prog_AR"; then
38804 # Extract the first word of "ar", so it can be a program name with args.
38805 set dummy
ar; ac_word
=$2
38806 echo "$as_me:$LINENO: checking for $ac_word" >&5
38807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38808 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38809 echo $ECHO_N "(cached) $ECHO_C" >&6
38811 if test -n "$ac_ct_AR"; then
38812 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38815 for as_dir
in $PATH
38818 test -z "$as_dir" && as_dir
=.
38819 for ac_exec_ext
in '' $ac_executable_extensions; do
38820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38821 ac_cv_prog_ac_ct_AR
="ar"
38822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38828 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38831 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38832 if test -n "$ac_ct_AR"; then
38833 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38834 echo "${ECHO_T}$ac_ct_AR" >&6
38836 echo "$as_me:$LINENO: result: no" >&5
38837 echo "${ECHO_T}no" >&6
38842 AR
="$ac_cv_prog_AR"
38845 if test -n "$ac_tool_prefix"; then
38846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38847 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38848 echo "$as_me:$LINENO: checking for $ac_word" >&5
38849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38850 if test "${ac_cv_prog_STRIP+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 if test -n "$STRIP"; then
38854 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38857 for as_dir
in $PATH
38860 test -z "$as_dir" && as_dir
=.
38861 for ac_exec_ext
in '' $ac_executable_extensions; do
38862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38863 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38872 STRIP
=$ac_cv_prog_STRIP
38873 if test -n "$STRIP"; then
38874 echo "$as_me:$LINENO: result: $STRIP" >&5
38875 echo "${ECHO_T}$STRIP" >&6
38877 echo "$as_me:$LINENO: result: no" >&5
38878 echo "${ECHO_T}no" >&6
38882 if test -z "$ac_cv_prog_STRIP"; then
38884 # Extract the first word of "strip", so it can be a program name with args.
38885 set dummy strip
; ac_word
=$2
38886 echo "$as_me:$LINENO: checking for $ac_word" >&5
38887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 if test -n "$ac_ct_STRIP"; then
38892 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38895 for as_dir
in $PATH
38898 test -z "$as_dir" && as_dir
=.
38899 for ac_exec_ext
in '' $ac_executable_extensions; do
38900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38901 ac_cv_prog_ac_ct_STRIP
="strip"
38902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38911 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38912 if test -n "$ac_ct_STRIP"; then
38913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38914 echo "${ECHO_T}$ac_ct_STRIP" >&6
38916 echo "$as_me:$LINENO: result: no" >&5
38917 echo "${ECHO_T}no" >&6
38922 STRIP
="$ac_cv_prog_STRIP"
38925 if test -n "$ac_tool_prefix"; then
38926 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38927 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38928 echo "$as_me:$LINENO: checking for $ac_word" >&5
38929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38930 if test "${ac_cv_prog_NM+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 if test -n "$NM"; then
38934 ac_cv_prog_NM
="$NM" # Let the user override the test.
38936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38937 for as_dir
in $PATH
38940 test -z "$as_dir" && as_dir
=.
38941 for ac_exec_ext
in '' $ac_executable_extensions; do
38942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38943 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38953 if test -n "$NM"; then
38954 echo "$as_me:$LINENO: result: $NM" >&5
38955 echo "${ECHO_T}$NM" >&6
38957 echo "$as_me:$LINENO: result: no" >&5
38958 echo "${ECHO_T}no" >&6
38962 if test -z "$ac_cv_prog_NM"; then
38964 # Extract the first word of "nm", so it can be a program name with args.
38965 set dummy nm
; ac_word
=$2
38966 echo "$as_me:$LINENO: checking for $ac_word" >&5
38967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38968 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38969 echo $ECHO_N "(cached) $ECHO_C" >&6
38971 if test -n "$ac_ct_NM"; then
38972 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38975 for as_dir
in $PATH
38978 test -z "$as_dir" && as_dir
=.
38979 for ac_exec_ext
in '' $ac_executable_extensions; do
38980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38981 ac_cv_prog_ac_ct_NM
="nm"
38982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38988 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38991 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38992 if test -n "$ac_ct_NM"; then
38993 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38994 echo "${ECHO_T}$ac_ct_NM" >&6
38996 echo "$as_me:$LINENO: result: no" >&5
38997 echo "${ECHO_T}no" >&6
39002 NM
="$ac_cv_prog_NM"
39006 case ${BAKEFILE_HOST} in
39008 INSTALL_DIR
="mkdir -p"
39010 *) INSTALL_DIR
="$INSTALL -d"
39016 case ${BAKEFILE_HOST} in
39017 *-*-cygwin* | *-*-mingw32* )
39018 LDFLAGS_GUI
="-mwindows"
39024 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39025 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39026 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39027 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39031 egrep -s GNU
> /dev
/null
); then
39032 bakefile_cv_prog_makeisgnu
="yes"
39034 bakefile_cv_prog_makeisgnu
="no"
39038 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39039 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39041 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39058 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39059 case "${BAKEFILE_HOST}" in
39060 *-*-cygwin* | *-*-mingw32* )
39066 *-pc-os2_emx | *-pc-os2-emx )
39069 powerpc
-*-darwin* )
39076 powerpc
-apple-macos* )
39085 case "$BAKEFILE_FORCE_PLATFORM" in
39106 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39107 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39108 { (exit 1); exit 1; }; }
39123 # Check whether --enable-omf or --disable-omf was given.
39124 if test "${enable_omf+set}" = set; then
39125 enableval
="$enable_omf"
39126 bk_os2_use_omf
="$enableval"
39129 case "${BAKEFILE_HOST}" in
39131 CFLAGS
="$CFLAGS -fno-common"
39132 CXXFLAGS
="$CXXFLAGS -fno-common"
39135 *-pc-os2_emx | *-pc-os2-emx )
39136 if test "x$bk_os2_use_omf" = "xyes" ; then
39139 LDFLAGS
="-Zomf $LDFLAGS"
39140 CFLAGS
="-Zomf $CFLAGS"
39141 CXXFLAGS
="-Zomf $CXXFLAGS"
39149 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39155 SO_SUFFIX_MODULE
="so"
39160 DLLPREFIX_MODULE
=""
39163 case "${BAKEFILE_HOST}" in
39166 SO_SUFFIX_MODULE
="sl"
39170 SO_SUFFIX_MODULE
="a"
39172 *-*-cygwin* | *-*-mingw32* )
39174 SO_SUFFIX_MODULE
="dll"
39175 DLLIMP_SUFFIX
="dll.a"
39183 *-pc-os2_emx | *-pc-os2-emx )
39185 SO_SUFFIX_MODULE
="dll"
39186 DLLIMP_SUFFIX
=$OS2_LIBEXT
39190 LIBEXT
=".$OS2_LIBEXT"
39192 powerpc
-*-darwin* )
39194 SO_SUFFIX_MODULE
="bundle"
39198 if test "x$DLLIMP_SUFFIX" = "x" ; then
39199 DLLIMP_SUFFIX
="$SO_SUFFIX"
39213 if test "x$GCC" = "xyes"; then
39217 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39218 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39220 case "${BAKEFILE_HOST}" in
39222 if test "x$GCC" != "xyes"; then
39223 LDFLAGS
="$LDFLAGS -L/usr/lib"
39225 SHARED_LD_CC
="${CC} -b -o"
39226 SHARED_LD_CXX
="${CXX} -b -o"
39232 if test "x$GCC" != "xyes"; then
39233 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39234 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39235 if test "${bakefile_cv_prog_icc+set}" = set; then
39236 echo $ECHO_N "(cached) $ECHO_C" >&6
39239 cat >conftest.
$ac_ext <<_ACEOF
39242 cat confdefs.h
>>conftest.
$ac_ext
39243 cat >>conftest.
$ac_ext <<_ACEOF
39244 /* end confdefs.h. */
39250 #ifndef __INTEL_COMPILER
39258 rm -f conftest.
$ac_objext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39260 (eval $ac_compile) 2>conftest.er1
39262 grep -v '^ *+' conftest.er1
>conftest.err
39264 cat conftest.err
>&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try
='test -z "$ac_c_werror_flag"
39268 || test ! -s conftest.err'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; } &&
39274 { ac_try
='test -s conftest.$ac_objext'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; }; then
39280 bakefile_cv_prog_icc
=yes
39282 echo "$as_me: failed program was:" >&5
39283 sed 's/^/| /' conftest.
$ac_ext >&5
39285 bakefile_cv_prog_icc
=no
39288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39291 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39292 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39293 if test "$bakefile_cv_prog_icc" = "yes"; then
39300 if test "x$GCC" != xyes
; then
39301 SHARED_LD_CC
="${CC} -G -o"
39302 SHARED_LD_CXX
="${CXX} -G -o"
39309 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39310 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39311 if test "${wx_cv_gcc31+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 cat >conftest.
$ac_ext <<_ACEOF
39318 cat confdefs.h
>>conftest.
$ac_ext
39319 cat >>conftest.
$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39326 #if (__GNUC__ < 3) || \
39327 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39335 rm -f conftest.
$ac_objext
39336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39337 (eval $ac_compile) 2>conftest.er1
39339 grep -v '^ *+' conftest.er1
>conftest.err
39341 cat conftest.err
>&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } &&
39344 { ac_try
='test -z "$ac_c_werror_flag"
39345 || test ! -s conftest.err'
39346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39347 (eval $ac_try) 2>&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); }; } &&
39351 { ac_try
='test -s conftest.$ac_objext'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; }; then
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.
$ac_ext >&5
39369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39372 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39373 echo "${ECHO_T}$wx_cv_gcc31" >&6
39374 if test "$wx_cv_gcc31" = "no"; then
39377 cat <<EOF >shared-ld-sh
39379 #-----------------------------------------------------------------------------
39380 #-- Name: distrib/mac/shared-ld-sh
39381 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39382 #-- Author: Gilles Depeyrot
39383 #-- Copyright: (c) 2002 Gilles Depeyrot
39384 #-- Licence: any use permitted
39385 #-----------------------------------------------------------------------------
39390 linking_flag="-dynamiclib"
39392 while test ${D}# -gt 0; do
39399 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39400 # collect these options and values
39401 args="${D}{args} ${D}1 ${D}2"
39405 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39406 # collect these options
39407 args="${D}{args} ${D}1"
39410 -dynamiclib|-bundle)
39411 linking_flag="${D}1"
39415 echo "shared-ld: unhandled option '${D}1'"
39419 *.o | *.a | *.dylib)
39420 # collect object files
39421 objects="${D}{objects} ${D}1"
39425 echo "shared-ld: unhandled argument '${D}1'"
39434 # Link one module containing all the others
39436 if test ${D}{verbose} = 1; then
39437 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39439 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39441 if test ${D}{status} != 0; then
39446 # Link the shared library from the single module created
39448 if test ${D}{verbose} = 1; then
39449 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39451 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39453 if test ${D}{status} != 0; then
39458 # Remove intermediate module
39460 rm -f master.${D}${D}.o
39465 chmod +x shared
-ld-sh
39467 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39468 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39469 SHARED_LD_CXX
="$SHARED_LD_CC"
39470 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39472 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39473 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39474 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39475 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39478 PIC_FLAG
="-dynamic -fPIC"
39482 if test "x$GCC" != "xyes"; then
39483 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39484 set dummy makeC
++SharedLib
; ac_word
=$2
39485 echo "$as_me:$LINENO: checking for $ac_word" >&5
39486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39487 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39490 if test -n "$AIX_CXX_LD"; then
39491 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39494 for as_dir
in $PATH
39497 test -z "$as_dir" && as_dir
=.
39498 for ac_exec_ext
in '' $ac_executable_extensions; do
39499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39500 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39507 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39510 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39511 if test -n "$AIX_CXX_LD"; then
39512 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39513 echo "${ECHO_T}$AIX_CXX_LD" >&6
39515 echo "$as_me:$LINENO: result: no" >&5
39516 echo "${ECHO_T}no" >&6
39519 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39520 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39525 SHARED_LD_CC
="${LD} -nostart -o"
39526 SHARED_LD_CXX
="${LD} -nostart -o"
39530 if test "x$GCC" != "xyes"; then
39535 *-*-cygwin* | *-*-mingw32* )
39537 SHARED_LD_CC
="\$(CC) -shared -o"
39538 SHARED_LD_CXX
="\$(CXX) -shared -o"
39541 *-pc-os2_emx | *-pc-os2-emx )
39542 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39543 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39547 cat <<EOF >dllar.sh
39550 # dllar - a tool to build both a .dll and an .a file
39551 # from a set of object (.o) files for EMX/OS2.
39553 # Written by Andrew Zabolotny, bit@freya.etu.ru
39554 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39556 # This script will accept a set of files on the command line.
39557 # All the public symbols from the .o files will be exported into
39558 # a .DEF file, then linker will be run (through gcc) against them to
39559 # build a shared library consisting of all given .o files. All libraries
39560 # (.a) will be first decompressed into component .o files then act as
39561 # described above. You can optionally give a description (-d "description")
39562 # which will be put into .DLL. To see the list of accepted options (as well
39563 # as command-line format) simply run this program without options. The .DLL
39564 # is built to be imported by name (there is no guarantee that new versions
39565 # of the library you build will have same ordinals for same symbols).
39567 # dllar is free software; you can redistribute it and/or modify
39568 # it under the terms of the GNU General Public License as published by
39569 # the Free Software Foundation; either version 2, or (at your option)
39570 # any later version.
39572 # dllar is distributed in the hope that it will be useful,
39573 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39574 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39575 # GNU General Public License for more details.
39577 # You should have received a copy of the GNU General Public License
39578 # along with dllar; see the file COPYING. If not, write to the Free
39579 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39582 # To successfuly run this program you will need:
39583 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39584 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39586 # (used to build the .dll)
39588 # (used to create .def file from .o files)
39590 # (used to create .a file from .def file)
39591 # - GNU text utilites (cat, sort, uniq)
39592 # used to process emxexp output
39593 # - GNU file utilities (mv, rm)
39595 # - lxlite (optional, see flag below)
39596 # (used for general .dll cleanup)
39603 # basnam, variant of basename, which does _not_ remove the path, _iff_
39604 # second argument (suffix to remove) is given
39608 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39611 echo ${D}1 | sed 's/'${D}2'${D}//'
39614 echo "error in basnam ${D}*"
39620 # Cleanup temporary files and output
39623 for i in ${D}inputFiles ; do
39626 rm -rf \`basnam ${D}i !\`
39633 # Kill result in case of failure as there is just to many stupid make/nmake
39634 # things out there which doesn't do this.
39635 if [ ${D}# -eq 0 ]; then
39636 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39640 # Print usage and exit script with rc=1.
39642 echo 'Usage: dllar [-o@<:${utput}:>@ output_file] [-i@<:${mport}:>@ importlib_name]'
39643 echo ' [-d@<:${escription}:>@ "dll descrption"] [-cc "CC"] [-f@<:${lags}:>@ "CFLAGS"]'
39644 echo ' [-ord@<:${inals}:>@] -ex@<:${clude}:>@ "symbol(s)"'
39645 echo ' [-libf@<:${lags}:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt@<:${dll}:>@] [-nolxl@<:${ite}:>@]'
39646 echo ' [*.o] [*.a]'
39647 echo '*> "output_file" should have no extension.'
39648 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39649 echo ' The import library name is derived from this and is set to "name".a,'
39650 echo ' unless overridden by -import'
39651 echo '*> "importlib_name" should have no extension.'
39652 echo ' If it has the .o, or .a extension, it is automatically removed.'
39653 echo ' This name is used as the import library name and may be longer and'
39654 echo ' more descriptive than the DLL name which has to follow the old '
39655 echo ' 8.3 convention of FAT.'
39656 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39657 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39658 echo ' These flags will be put at the start of GCC command line.'
39659 echo '*> -ord@<:${inals}:>@ tells dllar to export entries by ordinals. Be careful.'
39660 echo '*> -ex@<:${clude}:>@ defines symbols which will not be exported. You can define'
39661 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39662 echo ' If the last character of a symbol is "*", all symbols beginning'
39663 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39664 echo '*> -libf@<:${lags}:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
39665 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39666 echo '*> -nocrt@<:${dll}:>@ switch will disable linking the library against emx''s'
39667 echo ' C runtime DLLs.'
39668 echo '*> -nolxl@<:${ite}:>@ switch will disable running lxlite on the resulting DLL.'
39669 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39670 echo ' unchanged to GCC at the end of command line.'
39671 echo '*> If you create a DLL from a library and you do not specify -o,'
39672 echo ' the basename for DLL and import library will be set to library name,'
39673 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39674 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39675 echo ' library will be renamed into gcc_s.a.'
39678 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39679 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39684 # Execute a command.
39685 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39686 # @Uses Whatever CleanUp() uses.
39692 if [ ${D}rcCmd -ne 0 ]; then
39693 echo "command failed, exit code="${D}rcCmd
39707 CFLAGS="-s -Zcrtdll"
39709 EXPORT_BY_ORDINALS=0
39714 case ${D}curDirS in
39718 curDirS=${D}{curDirS}"/"
39721 # Parse commandline
39723 while [ ${D}1 ]; do
39726 EXPORT_BY_ORDINALS=1;
39753 exclude_symbols=${D}{exclude_symbols}${D}1" "
39757 library_flags=${D}{library_flags}${D}1" "
39773 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39777 if [ ${D}libsToLink -ne 0 ]; then
39778 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39780 for file in ${D}1 ; do
39781 if [ -f ${D}file ]; then
39782 inputFiles="${D}{inputFiles} ${D}file"
39786 if [ ${D}found -eq 0 ]; then
39787 echo "ERROR: No file(s) found: "${D}1
39794 done # iterate cmdline words
39797 if [ -z "${D}inputFiles" ]; then
39798 echo "dllar: no input files"
39802 # Now extract all .o files from .a files
39804 for file in ${D}inputFiles ; do
39815 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39820 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39822 if [ ${D}? -ne 0 ]; then
39823 echo "Failed to create subdirectory ./${D}dirname"
39827 # Append '!' to indicate archive
39828 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39829 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39832 for subfile in ${D}dirname/*.o* ; do
39833 if [ -f ${D}subfile ]; then
39835 if [ -s ${D}subfile ]; then
39836 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39837 newInputFiles="${D}newInputFiles ${D}subfile"
39841 if [ ${D}found -eq 0 ]; then
39842 echo "WARNING: there are no files in archive \\'${D}file\\'"
39846 newInputFiles="${D}{newInputFiles} ${D}file"
39850 inputFiles="${D}newInputFiles"
39852 # Output filename(s).
39854 if [ -z ${D}outFile ]; then
39856 set outFile ${D}inputFiles; outFile=${D}2
39859 # If it is an archive, remove the '!' and the '_%' suffixes
39860 case ${D}outFile in
39862 outFile=\`basnam ${D}outFile _%!\`
39867 case ${D}outFile in
39869 outFile=\`basnam ${D}outFile .dll\`
39872 outFile=\`basnam ${D}outFile .DLL\`
39875 outFile=\`basnam ${D}outFile .o\`
39878 outFile=\`basnam ${D}outFile .obj\`
39881 outFile=\`basnam ${D}outFile .a\`
39884 outFile=\`basnam ${D}outFile .lib\`
39889 case ${D}outimpFile in
39891 outimpFile=\`basnam ${D}outimpFile .a\`
39894 outimpFile=\`basnam ${D}outimpFile .lib\`
39899 if [ -z ${D}outimpFile ]; then
39900 outimpFile=${D}outFile
39902 defFile="${D}{outFile}.def"
39903 arcFile="${D}{outimpFile}.a"
39904 arcFile2="${D}{outimpFile}.lib"
39905 dllFile="${D}outFile"
39906 # Add suffix to dllFile later, first we need a version to use as
39907 # name in .def file.
39909 if [ ${D}do_backup -ne 0 ] ; then
39910 if [ -f ${D}arcFile ] ; then
39911 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39913 if [ -f ${D}arcFile2 ] ; then
39914 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39918 # Extract public symbols from all the object files.
39919 tmpdefFile=${D}{defFile}_%
39920 rm -f ${D}tmpdefFile
39921 for file in ${D}inputFiles ; do
39926 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39931 # Create the def file.
39933 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39934 dllFile="${D}dllFile.dll"
39935 if [ -n ${D}description ]; then
39936 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39938 echo "EXPORTS" >> ${D}defFile
39940 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39941 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39943 # Checks if the export is ok or not.
39944 for word in ${D}exclude_symbols; do
39945 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39946 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39950 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39951 sed "=" < ${D}tmpdefFile | \\
39955 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39957 ' > ${D}{tmpdefFile}%
39958 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39960 rm -f ${D}{tmpdefFile}%
39962 cat ${D}tmpdefFile >> ${D}defFile
39963 rm -f ${D}tmpdefFile
39965 # Do linking, create implib, and apply lxlite.
39967 for file in ${D}inputFiles ; do
39972 gccCmdl="${D}gccCmdl ${D}file"
39976 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39977 touch "${D}{outFile}.dll"
39979 doCommand "emximp -o ${D}arcFile ${D}defFile"
39980 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39982 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39985 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39987 doCommand "emxomf -s -l ${D}arcFile"
39997 powerpc
-apple-macos* | \
39998 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40006 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40007 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40008 { (exit 1); exit 1; }; }
40011 if test "x$PIC_FLAG" != "x" ; then
40012 PIC_FLAG
="$PIC_FLAG -DPIC"
40015 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40016 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40018 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40019 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40036 case "${BAKEFILE_HOST}" in
40038 SONAME_FLAG
="-Wl,-soname,"
40066 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40067 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40070 if test "x$GCC" = "xyes"; then
40073 case "${BAKEFILE_HOST}" in
40074 powerpc
-*-darwin* )
40075 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40078 DEPSFLAG_GCC
="-MMD"
40081 echo "$as_me:$LINENO: result: gcc" >&5
40082 echo "${ECHO_T}gcc" >&6
40084 echo "$as_me:$LINENO: result: none" >&5
40085 echo "${ECHO_T}none" >&6
40088 if test $DEPS_TRACKING = 1 ; then
40094 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40095 # script. It is used to track C/C++ files dependencies in portable way.
40097 # Permission is given to use this file in any way.
40099 DEPSMODE=${DEPSMODE}
40101 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40103 mkdir -p ${D}DEPSDIR
40105 if test ${D}DEPSMODE = gcc ; then
40106 ${D}* ${D}{DEPSFLAG_GCC}
40108 if test ${D}{status} != 0 ; then
40111 # move created file to the location we want it in:
40112 while test ${D}# -gt 0; do
40126 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40127 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40128 if test -f ${D}depfile ; then
40129 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40132 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40133 if test -f ${D}depfile ; then
40134 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40154 case ${BAKEFILE_HOST} in
40155 *-*-cygwin* | *-*-mingw32* )
40156 if test "$build" != "$host" ; then
40157 RESCOMP
=$host_alias-windres
40159 # Extract the first word of "windres", so it can be a program name with args.
40160 set dummy windres
; ac_word
=$2
40161 echo "$as_me:$LINENO: checking for $ac_word" >&5
40162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40163 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40164 echo $ECHO_N "(cached) $ECHO_C" >&6
40166 if test -n "$RESCOMP"; then
40167 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40170 for as_dir
in $PATH
40173 test -z "$as_dir" && as_dir
=.
40174 for ac_exec_ext
in '' $ac_executable_extensions; do
40175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40176 ac_cv_prog_RESCOMP
="windres"
40177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40183 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40186 RESCOMP
=$ac_cv_prog_RESCOMP
40187 if test -n "$RESCOMP"; then
40188 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40189 echo "${ECHO_T}$RESCOMP" >&6
40191 echo "$as_me:$LINENO: result: no" >&5
40192 echo "${ECHO_T}no" >&6
40198 *-*-darwin* | powerpc
-apple-macos* )
40199 # Extract the first word of "Rez", so it can be a program name with args.
40200 set dummy Rez
; ac_word
=$2
40201 echo "$as_me:$LINENO: checking for $ac_word" >&5
40202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40203 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 if test -n "$RESCOMP"; then
40207 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40210 for as_dir
in $PATH
40213 test -z "$as_dir" && as_dir
=.
40214 for ac_exec_ext
in '' $ac_executable_extensions; do
40215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40216 ac_cv_prog_RESCOMP
="Rez"
40217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40223 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40226 RESCOMP
=$ac_cv_prog_RESCOMP
40227 if test -n "$RESCOMP"; then
40228 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40229 echo "${ECHO_T}$RESCOMP" >&6
40231 echo "$as_me:$LINENO: result: no" >&5
40232 echo "${ECHO_T}no" >&6
40235 # Extract the first word of "SetFile", so it can be a program name with args.
40236 set dummy SetFile
; ac_word
=$2
40237 echo "$as_me:$LINENO: checking for $ac_word" >&5
40238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40239 if test "${ac_cv_prog_SETFILE+set}" = set; then
40240 echo $ECHO_N "(cached) $ECHO_C" >&6
40242 if test -n "$SETFILE"; then
40243 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40246 for as_dir
in $PATH
40249 test -z "$as_dir" && as_dir
=.
40250 for ac_exec_ext
in '' $ac_executable_extensions; do
40251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40252 ac_cv_prog_SETFILE
="SetFile"
40253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40259 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40262 SETFILE
=$ac_cv_prog_SETFILE
40263 if test -n "$SETFILE"; then
40264 echo "$as_me:$LINENO: result: $SETFILE" >&5
40265 echo "${ECHO_T}$SETFILE" >&6
40267 echo "$as_me:$LINENO: result: no" >&5
40268 echo "${ECHO_T}no" >&6
40278 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
40282 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40286 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40287 if test "${enable_precomp_headers+set}" = set; then
40288 enableval
="$enable_precomp_headers"
40289 bk_use_pch
="$enableval"
40294 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40295 if test "x$GCC" = "xyes"; then
40296 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40297 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40298 cat >conftest.
$ac_ext <<_ACEOF
40301 cat confdefs.h
>>conftest.
$ac_ext
40302 cat >>conftest.
$ac_ext <<_ACEOF
40303 /* end confdefs.h. */
40309 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40310 #error "no pch support"
40313 #error "no pch support"
40315 #if (__GNUC__ == 3) && \
40316 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40317 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40318 #error "no pch support"
40325 rm -f conftest.
$ac_objext
40326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40327 (eval $ac_compile) 2>conftest.er1
40329 grep -v '^ *+' conftest.er1
>conftest.err
40331 cat conftest.err
>&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); } &&
40334 { ac_try
='test -z "$ac_c_werror_flag"
40335 || test ! -s conftest.err'
40336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40337 (eval $ac_try) 2>&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); }; } &&
40341 { ac_try
='test -s conftest.$ac_objext'
40342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40343 (eval $ac_try) 2>&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); }; }; then
40348 echo "$as_me:$LINENO: result: yes" >&5
40349 echo "${ECHO_T}yes" >&6
40353 echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.
$ac_ext >&5
40357 echo "$as_me:$LINENO: result: no" >&5
40358 echo "${ECHO_T}no" >&6
40361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40362 if test $GCC_PCH = 1 ; then
40365 cat <<EOF >bk-make-pch
40368 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40369 # script. It is used to generated precompiled headers.
40371 # Permission is given to use this file in any way.
40380 while test ${D}{#} -gt 0; do
40383 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40384 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40385 headerfile="${D}{incdir}/${D}{header}"
40389 compiler="${D}{compiler} ${D}{1}"
40393 if test "x${D}{headerfile}" = "x" ; then
40394 echo "error: can't find header ${D}{header} in include paths" >2
40396 if test -f ${D}{outfile} ; then
40397 rm -f ${D}{outfile}
40399 mkdir -p \`dirname ${D}{outfile}\`
40401 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40403 # can do this because gcc is >= 3.4:
40404 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40409 chmod +x bk
-make-pch
40420 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40421 if test "${enable_precomp_headers+set}" = set; then
40422 enableval
="$enable_precomp_headers"
40423 bk_use_pch
="$enableval"
40428 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40429 if test "x$GCC" = "xyes"; then
40430 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40431 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40432 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40443 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40444 #error "no pch support"
40447 #error "no pch support"
40449 #if (__GNUC__ == 3) && \
40450 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40451 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40452 #error "no pch support"
40459 rm -f conftest.
$ac_objext
40460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40461 (eval $ac_compile) 2>conftest.er1
40463 grep -v '^ *+' conftest.er1
>conftest.err
40465 cat conftest.err
>&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } &&
40468 { ac_try
='test -z "$ac_c_werror_flag"
40469 || test ! -s conftest.err'
40470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40471 (eval $ac_try) 2>&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); }; } &&
40475 { ac_try
='test -s conftest.$ac_objext'
40476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40477 (eval $ac_try) 2>&5
40479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40480 (exit $ac_status); }; }; then
40482 echo "$as_me:$LINENO: result: yes" >&5
40483 echo "${ECHO_T}yes" >&6
40487 echo "$as_me: failed program was:" >&5
40488 sed 's/^/| /' conftest.
$ac_ext >&5
40491 echo "$as_me:$LINENO: result: no" >&5
40492 echo "${ECHO_T}no" >&6
40495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40496 if test $GCC_PCH = 1 ; then
40499 cat <<EOF >bk-make-pch
40502 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40503 # script. It is used to generated precompiled headers.
40505 # Permission is given to use this file in any way.
40514 while test ${D}{#} -gt 0; do
40517 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40518 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40519 headerfile="${D}{incdir}/${D}{header}"
40523 compiler="${D}{compiler} ${D}{1}"
40527 if test "x${D}{headerfile}" = "x" ; then
40528 echo "error: can't find header ${D}{header} in include paths" >2
40530 if test -f ${D}{outfile} ; then
40531 rm -f ${D}{outfile}
40533 mkdir -p \`dirname ${D}{outfile}\`
40535 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40537 # can do this because gcc is >= 3.4:
40538 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40543 chmod +x bk
-make-pch
40550 COND_BUILD_DEBUG
="#"
40551 if test "x$BUILD" = "xdebug" ; then
40552 COND_BUILD_DEBUG
=""
40555 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40556 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40557 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40560 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40561 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40562 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40565 COND_BUILD_DEBUG_UNICODE_0
="#"
40566 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40567 COND_BUILD_DEBUG_UNICODE_0
=""
40570 COND_BUILD_DEBUG_UNICODE_1
="#"
40571 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40572 COND_BUILD_DEBUG_UNICODE_1
=""
40575 COND_BUILD_RELEASE
="#"
40576 if test "x$BUILD" = "xrelease" ; then
40577 COND_BUILD_RELEASE
=""
40580 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40581 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40582 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40585 COND_BUILD_RELEASE_UNICODE_0
="#"
40586 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40587 COND_BUILD_RELEASE_UNICODE_0
=""
40590 COND_BUILD_RELEASE_UNICODE_1
="#"
40591 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40592 COND_BUILD_RELEASE_UNICODE_1
=""
40595 COND_DEBUG_FLAG_1
="#"
40596 if test "x$DEBUG_FLAG" = "x1" ; then
40597 COND_DEBUG_FLAG_1
=""
40600 COND_DEBUG_INFO_0
="#"
40601 if test "x$DEBUG_INFO" = "x0" ; then
40602 COND_DEBUG_INFO_0
=""
40605 COND_DEBUG_INFO_1
="#"
40606 if test "x$DEBUG_INFO" = "x1" ; then
40607 COND_DEBUG_INFO_1
=""
40610 COND_DEPS_TRACKING_0
="#"
40611 if test "x$DEPS_TRACKING" = "x0" ; then
40612 COND_DEPS_TRACKING_0
=""
40615 COND_DEPS_TRACKING_1
="#"
40616 if test "x$DEPS_TRACKING" = "x1" ; then
40617 COND_DEPS_TRACKING_1
=""
40621 if test "x$GCC_PCH" = "x1" ; then
40625 COND_MONOLITHIC_0
="#"
40626 if test "x$MONOLITHIC" = "x0" ; then
40627 COND_MONOLITHIC_0
=""
40630 COND_MONOLITHIC_0_SHARED_0
="#"
40631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40632 COND_MONOLITHIC_0_SHARED_0
=""
40635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40640 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40645 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40647 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40650 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40652 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40655 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40657 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40660 COND_MONOLITHIC_0_SHARED_1
="#"
40661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40662 COND_MONOLITHIC_0_SHARED_1
=""
40665 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40675 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40677 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40680 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40682 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40685 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40687 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40690 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40691 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40692 COND_MONOLITHIC_0_USE_ODBC_1
=""
40695 COND_MONOLITHIC_1
="#"
40696 if test "x$MONOLITHIC" = "x1" ; then
40697 COND_MONOLITHIC_1
=""
40700 COND_MONOLITHIC_1_SHARED_0
="#"
40701 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40702 COND_MONOLITHIC_1_SHARED_0
=""
40705 COND_MONOLITHIC_1_SHARED_1
="#"
40706 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40707 COND_MONOLITHIC_1_SHARED_1
=""
40710 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40711 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40712 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40715 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40716 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40717 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40720 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40721 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40722 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40725 COND_PLATFORM_MACOSX_1
="#"
40726 if test "x$PLATFORM_MACOSX" = "x1" ; then
40727 COND_PLATFORM_MACOSX_1
=""
40730 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40732 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40735 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40737 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40740 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40742 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40745 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40747 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40750 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
40751 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40752 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
40755 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40756 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40757 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40760 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40762 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40765 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40767 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40770 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40772 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40775 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40776 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40777 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40780 COND_PLATFORM_MACOS_1
="#"
40781 if test "x$PLATFORM_MACOS" = "x1" ; then
40782 COND_PLATFORM_MACOS_1
=""
40785 COND_PLATFORM_MAC_1
="#"
40786 if test "x$PLATFORM_MAC" = "x1" ; then
40787 COND_PLATFORM_MAC_1
=""
40790 COND_PLATFORM_OS2_1
="#"
40791 if test "x$PLATFORM_OS2" = "x1" ; then
40792 COND_PLATFORM_OS2_1
=""
40795 COND_PLATFORM_UNIX_0
="#"
40796 if test "x$PLATFORM_UNIX" = "x0" ; then
40797 COND_PLATFORM_UNIX_0
=""
40800 COND_PLATFORM_UNIX_1
="#"
40801 if test "x$PLATFORM_UNIX" = "x1" ; then
40802 COND_PLATFORM_UNIX_1
=""
40805 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40806 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40807 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40810 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40811 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40812 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40815 COND_PLATFORM_WIN32_0
="#"
40816 if test "x$PLATFORM_WIN32" = "x0" ; then
40817 COND_PLATFORM_WIN32_0
=""
40820 COND_PLATFORM_WIN32_1
="#"
40821 if test "x$PLATFORM_WIN32" = "x1" ; then
40822 COND_PLATFORM_WIN32_1
=""
40826 if test "x$SHARED" = "x0" ; then
40830 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40831 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40832 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40835 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40836 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40837 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40840 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40841 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40842 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40845 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40846 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40847 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40850 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40851 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40852 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40855 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40856 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40857 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40860 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40861 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40862 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40865 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40866 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40867 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40870 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40871 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40872 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40875 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40876 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40877 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40880 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40881 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40882 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40886 if test "x$SHARED" = "x1" ; then
40890 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40891 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40892 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40896 if test "x$TOOLKIT" = "x" ; then
40900 COND_TOOLKIT_COCOA
="#"
40901 if test "x$TOOLKIT" = "xCOCOA" ; then
40902 COND_TOOLKIT_COCOA
=""
40905 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40906 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40907 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40910 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40911 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40915 COND_TOOLKIT_GTK
="#"
40916 if test "x$TOOLKIT" = "xGTK" ; then
40917 COND_TOOLKIT_GTK
=""
40920 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40921 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40922 COND_TOOLKIT_GTK_USE_GUI_1
=""
40925 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40926 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40927 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40930 COND_TOOLKIT_MAC
="#"
40931 if test "x$TOOLKIT" = "xMAC" ; then
40932 COND_TOOLKIT_MAC
=""
40935 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40936 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40937 COND_TOOLKIT_MAC_USE_GUI_1
=""
40940 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40941 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40942 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40945 COND_TOOLKIT_MGL
="#"
40946 if test "x$TOOLKIT" = "xMGL" ; then
40947 COND_TOOLKIT_MGL
=""
40950 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40951 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40952 COND_TOOLKIT_MGL_USE_GUI_1
=""
40955 COND_TOOLKIT_MOTIF
="#"
40956 if test "x$TOOLKIT" = "xMOTIF" ; then
40957 COND_TOOLKIT_MOTIF
=""
40960 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40961 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40962 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40965 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40966 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40967 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40970 COND_TOOLKIT_MSW
="#"
40971 if test "x$TOOLKIT" = "xMSW" ; then
40972 COND_TOOLKIT_MSW
=""
40975 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40976 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40977 COND_TOOLKIT_MSW_USE_GUI_1
=""
40980 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40981 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40982 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40985 COND_TOOLKIT_PM
="#"
40986 if test "x$TOOLKIT" = "xPM" ; then
40990 COND_TOOLKIT_PM_USE_GUI_1
="#"
40991 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40992 COND_TOOLKIT_PM_USE_GUI_1
=""
40995 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40996 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40997 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41000 COND_TOOLKIT_WINCE
="#"
41001 if test "x$TOOLKIT" = "xWINCE" ; then
41002 COND_TOOLKIT_WINCE
=""
41005 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41006 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41007 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41010 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41011 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41012 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41015 COND_TOOLKIT_X11
="#"
41016 if test "x$TOOLKIT" = "xX11" ; then
41017 COND_TOOLKIT_X11
=""
41020 COND_TOOLKIT_X11_USE_GUI_1
="#"
41021 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41022 COND_TOOLKIT_X11_USE_GUI_1
=""
41026 if test "x$UNICODE" = "x1" ; then
41030 COND_USE_EXCEPTIONS_0
="#"
41031 if test "x$USE_EXCEPTIONS" = "x0" ; then
41032 COND_USE_EXCEPTIONS_0
=""
41035 COND_USE_EXCEPTIONS_1
="#"
41036 if test "x$USE_EXCEPTIONS" = "x1" ; then
41037 COND_USE_EXCEPTIONS_1
=""
41041 if test "x$USE_GUI" = "x0" ; then
41046 if test "x$USE_GUI" = "x1" ; then
41050 COND_USE_GUI_1_WXUNIV_0
="#"
41051 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41052 COND_USE_GUI_1_WXUNIV_0
=""
41055 COND_USE_GUI_1_WXUNIV_1
="#"
41056 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41057 COND_USE_GUI_1_WXUNIV_1
=""
41060 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41061 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41062 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41065 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41066 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41067 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41070 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41071 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41072 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41075 COND_USE_ODBC_1
="#"
41076 if test "x$USE_ODBC" = "x1" ; then
41080 COND_USE_OPENGL_1
="#"
41081 if test "x$USE_OPENGL" = "x1" ; then
41082 COND_USE_OPENGL_1
=""
41085 COND_USE_PLUGINS_0
="#"
41086 if test "x$USE_PLUGINS" = "x0" ; then
41087 COND_USE_PLUGINS_0
=""
41090 COND_USE_SOSYMLINKS_1
="#"
41091 if test "x$USE_SOSYMLINKS" = "x1" ; then
41092 COND_USE_SOSYMLINKS_1
=""
41095 COND_USE_SOVERLINUX_1
="#"
41096 if test "x$USE_SOVERLINUX" = "x1" ; then
41097 COND_USE_SOVERLINUX_1
=""
41100 COND_USE_SOVERSION_0
="#"
41101 if test "x$USE_SOVERSION" = "x0" ; then
41102 COND_USE_SOVERSION_0
=""
41105 COND_USE_SOVERSOLARIS_1
="#"
41106 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41107 COND_USE_SOVERSOLARIS_1
=""
41111 if test "x$USE_XRC" = "x1" ; then
41115 COND_WITH_PLUGIN_SDL_1
="#"
41116 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41117 COND_WITH_PLUGIN_SDL_1
=""
41121 if test "x$WXUNIV" = "x1" ; then
41125 COND_WXUSE_EXPAT_BUILTIN
="#"
41126 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41127 COND_WXUSE_EXPAT_BUILTIN
=""
41130 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41131 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41132 COND_WXUSE_LIBJPEG_BUILTIN
=""
41135 COND_WXUSE_LIBPNG_BUILTIN
="#"
41136 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41137 COND_WXUSE_LIBPNG_BUILTIN
=""
41140 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41141 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41142 COND_WXUSE_LIBTIFF_BUILTIN
=""
41145 COND_WXUSE_ODBC_BUILTIN
="#"
41146 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41147 COND_WXUSE_ODBC_BUILTIN
=""
41150 COND_WXUSE_REGEX_BUILTIN
="#"
41151 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41152 COND_WXUSE_REGEX_BUILTIN
=""
41155 COND_WXUSE_ZLIB_BUILTIN
="#"
41156 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41157 COND_WXUSE_ZLIB_BUILTIN
=""
41160 COND_BUILD_DEBUG
="#"
41161 if test "x$BUILD" = "xdebug" ; then
41162 COND_BUILD_DEBUG
=""
41165 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41166 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41167 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41170 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41171 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41172 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41175 COND_BUILD_DEBUG_UNICODE_0
="#"
41176 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41177 COND_BUILD_DEBUG_UNICODE_0
=""
41180 COND_BUILD_DEBUG_UNICODE_1
="#"
41181 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41182 COND_BUILD_DEBUG_UNICODE_1
=""
41185 COND_BUILD_RELEASE
="#"
41186 if test "x$BUILD" = "xrelease" ; then
41187 COND_BUILD_RELEASE
=""
41190 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41191 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41192 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41195 COND_BUILD_RELEASE_UNICODE_0
="#"
41196 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41197 COND_BUILD_RELEASE_UNICODE_0
=""
41200 COND_BUILD_RELEASE_UNICODE_1
="#"
41201 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41202 COND_BUILD_RELEASE_UNICODE_1
=""
41205 COND_DEBUG_FLAG_1
="#"
41206 if test "x$DEBUG_FLAG" = "x1" ; then
41207 COND_DEBUG_FLAG_1
=""
41210 COND_DEBUG_INFO_0
="#"
41211 if test "x$DEBUG_INFO" = "x0" ; then
41212 COND_DEBUG_INFO_0
=""
41215 COND_DEBUG_INFO_1
="#"
41216 if test "x$DEBUG_INFO" = "x1" ; then
41217 COND_DEBUG_INFO_1
=""
41220 COND_DEPS_TRACKING_0
="#"
41221 if test "x$DEPS_TRACKING" = "x0" ; then
41222 COND_DEPS_TRACKING_0
=""
41225 COND_DEPS_TRACKING_1
="#"
41226 if test "x$DEPS_TRACKING" = "x1" ; then
41227 COND_DEPS_TRACKING_1
=""
41231 if test "x$GCC_PCH" = "x1" ; then
41235 COND_MONOLITHIC_0
="#"
41236 if test "x$MONOLITHIC" = "x0" ; then
41237 COND_MONOLITHIC_0
=""
41240 COND_MONOLITHIC_0_SHARED_0
="#"
41241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41242 COND_MONOLITHIC_0_SHARED_0
=""
41245 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41247 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41250 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41252 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41255 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41257 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41260 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41262 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41265 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
41266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41267 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
41270 COND_MONOLITHIC_0_SHARED_1
="#"
41271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41272 COND_MONOLITHIC_0_SHARED_1
=""
41275 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41280 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41285 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41287 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41290 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41292 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41295 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
41296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41297 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
41300 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41301 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41302 COND_MONOLITHIC_0_USE_ODBC_1
=""
41305 COND_MONOLITHIC_1
="#"
41306 if test "x$MONOLITHIC" = "x1" ; then
41307 COND_MONOLITHIC_1
=""
41310 COND_MONOLITHIC_1_SHARED_0
="#"
41311 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41312 COND_MONOLITHIC_1_SHARED_0
=""
41315 COND_MONOLITHIC_1_SHARED_1
="#"
41316 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41317 COND_MONOLITHIC_1_SHARED_1
=""
41320 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41321 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41322 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41325 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41326 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41327 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41330 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41331 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41332 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41335 COND_PLATFORM_MACOSX_1
="#"
41336 if test "x$PLATFORM_MACOSX" = "x1" ; then
41337 COND_PLATFORM_MACOSX_1
=""
41340 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41341 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41342 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41345 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41346 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41347 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41350 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41351 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41352 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41355 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41356 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41357 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41360 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41361 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41362 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41365 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41366 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41367 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41370 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41371 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41372 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41375 COND_PLATFORM_MAC_1
="#"
41376 if test "x$PLATFORM_MAC" = "x1" ; then
41377 COND_PLATFORM_MAC_1
=""
41380 COND_PLATFORM_OS2_1
="#"
41381 if test "x$PLATFORM_OS2" = "x1" ; then
41382 COND_PLATFORM_OS2_1
=""
41385 COND_PLATFORM_UNIX_0
="#"
41386 if test "x$PLATFORM_UNIX" = "x0" ; then
41387 COND_PLATFORM_UNIX_0
=""
41390 COND_PLATFORM_UNIX_1
="#"
41391 if test "x$PLATFORM_UNIX" = "x1" ; then
41392 COND_PLATFORM_UNIX_1
=""
41395 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41396 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41397 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41400 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41401 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41402 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41405 COND_PLATFORM_WIN32_0
="#"
41406 if test "x$PLATFORM_WIN32" = "x0" ; then
41407 COND_PLATFORM_WIN32_0
=""
41410 COND_PLATFORM_WIN32_1
="#"
41411 if test "x$PLATFORM_WIN32" = "x1" ; then
41412 COND_PLATFORM_WIN32_1
=""
41416 if test "x$SHARED" = "x0" ; then
41420 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41421 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41422 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41425 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41426 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41427 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41430 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41431 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41432 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41435 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41436 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41437 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41440 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41441 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41442 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41445 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41446 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41447 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41450 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41451 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41452 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41455 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41456 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41457 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41461 if test "x$SHARED" = "x1" ; then
41465 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41466 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41467 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41470 COND_TOOLKIT_COCOA
="#"
41471 if test "x$TOOLKIT" = "xCOCOA" ; then
41472 COND_TOOLKIT_COCOA
=""
41475 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41476 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41477 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41480 COND_TOOLKIT_GTK
="#"
41481 if test "x$TOOLKIT" = "xGTK" ; then
41482 COND_TOOLKIT_GTK
=""
41485 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41486 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41487 COND_TOOLKIT_GTK_USE_GUI_1
=""
41490 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41491 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41492 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41495 COND_TOOLKIT_MAC
="#"
41496 if test "x$TOOLKIT" = "xMAC" ; then
41497 COND_TOOLKIT_MAC
=""
41500 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41501 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41502 COND_TOOLKIT_MAC_USE_GUI_1
=""
41505 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41506 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41507 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41510 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41511 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41512 COND_TOOLKIT_MAC_WXUNIV_0
=""
41515 COND_TOOLKIT_MGL
="#"
41516 if test "x$TOOLKIT" = "xMGL" ; then
41517 COND_TOOLKIT_MGL
=""
41520 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41521 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41522 COND_TOOLKIT_MGL_USE_GUI_1
=""
41525 COND_TOOLKIT_MOTIF
="#"
41526 if test "x$TOOLKIT" = "xMOTIF" ; then
41527 COND_TOOLKIT_MOTIF
=""
41530 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41531 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41532 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41535 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41536 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41537 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41540 COND_TOOLKIT_MSW
="#"
41541 if test "x$TOOLKIT" = "xMSW" ; then
41542 COND_TOOLKIT_MSW
=""
41545 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41546 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41547 COND_TOOLKIT_MSW_USE_GUI_1
=""
41550 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41551 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41552 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41555 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41556 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41557 COND_TOOLKIT_MSW_WXUNIV_0
=""
41560 COND_TOOLKIT_PM
="#"
41561 if test "x$TOOLKIT" = "xPM" ; then
41565 COND_TOOLKIT_PM_USE_GUI_1
="#"
41566 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41567 COND_TOOLKIT_PM_USE_GUI_1
=""
41570 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41571 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41572 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41575 COND_TOOLKIT_PM_WXUNIV_0
="#"
41576 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41577 COND_TOOLKIT_PM_WXUNIV_0
=""
41580 COND_TOOLKIT_WINCE
="#"
41581 if test "x$TOOLKIT" = "xWINCE" ; then
41582 COND_TOOLKIT_WINCE
=""
41585 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41586 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41587 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41590 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41591 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41592 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41595 COND_TOOLKIT_X11
="#"
41596 if test "x$TOOLKIT" = "xX11" ; then
41597 COND_TOOLKIT_X11
=""
41600 COND_TOOLKIT_X11_USE_GUI_1
="#"
41601 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41602 COND_TOOLKIT_X11_USE_GUI_1
=""
41606 if test "x$UNICODE" = "x1" ; then
41610 COND_USE_EXCEPTIONS_0
="#"
41611 if test "x$USE_EXCEPTIONS" = "x0" ; then
41612 COND_USE_EXCEPTIONS_0
=""
41615 COND_USE_EXCEPTIONS_1
="#"
41616 if test "x$USE_EXCEPTIONS" = "x1" ; then
41617 COND_USE_EXCEPTIONS_1
=""
41621 if test "x$USE_GUI" = "x0" ; then
41626 if test "x$USE_GUI" = "x1" ; then
41630 COND_USE_GUI_1_WXUNIV_0
="#"
41631 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41632 COND_USE_GUI_1_WXUNIV_0
=""
41635 COND_USE_GUI_1_WXUNIV_1
="#"
41636 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41637 COND_USE_GUI_1_WXUNIV_1
=""
41640 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41641 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41642 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41645 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41646 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41647 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41650 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41651 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41652 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41655 COND_USE_ODBC_1
="#"
41656 if test "x$USE_ODBC" = "x1" ; then
41660 COND_USE_PLUGINS_0
="#"
41661 if test "x$USE_PLUGINS" = "x0" ; then
41662 COND_USE_PLUGINS_0
=""
41665 COND_USE_SOSYMLINKS_1
="#"
41666 if test "x$USE_SOSYMLINKS" = "x1" ; then
41667 COND_USE_SOSYMLINKS_1
=""
41670 COND_USE_SOVERLINUX_1
="#"
41671 if test "x$USE_SOVERLINUX" = "x1" ; then
41672 COND_USE_SOVERLINUX_1
=""
41675 COND_USE_SOVERSION_0
="#"
41676 if test "x$USE_SOVERSION" = "x0" ; then
41677 COND_USE_SOVERSION_0
=""
41680 COND_USE_SOVERSOLARIS_1
="#"
41681 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41682 COND_USE_SOVERSOLARIS_1
=""
41685 COND_WITH_PLUGIN_SDL_1
="#"
41686 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41687 COND_WITH_PLUGIN_SDL_1
=""
41691 if test "x$WXUNIV" = "x1" ; then
41695 COND_WXUSE_EXPAT_BUILTIN
="#"
41696 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41697 COND_WXUSE_EXPAT_BUILTIN
=""
41700 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41701 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41702 COND_WXUSE_LIBJPEG_BUILTIN
=""
41705 COND_WXUSE_LIBPNG_BUILTIN
="#"
41706 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41707 COND_WXUSE_LIBPNG_BUILTIN
=""
41710 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41711 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41712 COND_WXUSE_LIBTIFF_BUILTIN
=""
41715 COND_WXUSE_ODBC_BUILTIN
="#"
41716 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41717 COND_WXUSE_ODBC_BUILTIN
=""
41720 COND_WXUSE_REGEX_BUILTIN
="#"
41721 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41722 COND_WXUSE_REGEX_BUILTIN
=""
41725 COND_WXUSE_ZLIB_BUILTIN
="#"
41726 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41727 COND_WXUSE_ZLIB_BUILTIN
=""
41732 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41733 { { 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
41734 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;}
41735 { (exit 1); exit 1; }; }
41739 if test "$wxUSE_SHARED" = "yes"; then
41741 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41742 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41746 EXE_LINKER
="$CXX -o"
41750 GCC_PRAGMA_FLAGS
=""
41751 if test $GCC_PCH = 1 ; then
41752 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41755 powerpc
-*-darwin* )
41756 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41759 if test "$wxUSE_STL" = "yes" -o \
41760 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41761 "$wxUSE_NO_RTTI" != "yes"; then
41762 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41763 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41764 cat >conftest.
$ac_ext <<_ACEOF
41767 cat confdefs.h
>>conftest.
$ac_ext
41768 cat >>conftest.
$ac_ext <<_ACEOF
41769 /* end confdefs.h. */
41774 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41775 #error "Not GCC 3.2 or greater"
41782 rm -f conftest.
$ac_objext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41784 (eval $ac_compile) 2>conftest.er1
41786 grep -v '^ *+' conftest.er1
>conftest.err
41788 cat conftest.err
>&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } &&
41791 { ac_try
='test -z "$ac_c_werror_flag"
41792 || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try
='test -s conftest.$ac_objext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41804 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41805 echo "$as_me:$LINENO: result: yes" >&5
41806 echo "${ECHO_T}yes" >&6
41808 echo "$as_me: failed program was:" >&5
41809 sed 's/^/| /' conftest.
$ac_ext >&5
41811 echo "$as_me:$LINENO: result: no" >&5
41812 echo "${ECHO_T}no" >&6
41814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41819 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41822 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41886 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41887 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41888 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41889 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41890 echo $ECHO_N "(cached) $ECHO_C" >&6
41892 cat >conftest.
make <<\_ACEOF
41894 @
echo 'ac_maketemp="$(MAKE)"'
41896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41897 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41898 if test -n "$ac_maketemp"; then
41899 eval ac_cv_prog_make_
${ac_make}_set
=yes
41901 eval ac_cv_prog_make_
${ac_make}_set
=no
41903 rm -f conftest.
make
41905 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41906 echo "$as_me:$LINENO: result: yes" >&5
41907 echo "${ECHO_T}yes" >&6
41910 echo "$as_me:$LINENO: result: no" >&5
41911 echo "${ECHO_T}no" >&6
41912 SET_MAKE
="MAKE=${MAKE-make}"
41917 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41920 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41923 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41926 ac_config_files
="$ac_config_files version-script Makefile"
41929 ac_config_commands
="$ac_config_commands wx-config
41935 if test "$wxUSE_GUI" = "yes"; then
41936 SUBDIRS
="samples demos utils contrib"
41937 else SUBDIRS
="samples utils"
41942 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41943 if test "${with_cppunit_prefix+set}" = set; then
41944 withval
="$with_cppunit_prefix"
41945 cppunit_config_prefix
="$withval"
41947 cppunit_config_prefix
=""
41950 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41951 if test "${with_cppunit_exec_prefix+set}" = set; then
41952 withval
="$with_cppunit_exec_prefix"
41953 cppunit_config_exec_prefix
="$withval"
41955 cppunit_config_exec_prefix
=""
41958 if test x
$cppunit_config_exec_prefix != x
; then
41959 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41960 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41961 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41964 if test x
$cppunit_config_prefix != x
; then
41965 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41966 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41967 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41971 # Extract the first word of "cppunit-config", so it can be a program name with args.
41972 set dummy cppunit
-config; ac_word
=$2
41973 echo "$as_me:$LINENO: checking for $ac_word" >&5
41974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41975 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 case $CPPUNIT_CONFIG in
41980 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41984 for as_dir
in $PATH
41987 test -z "$as_dir" && as_dir
=.
41988 for ac_exec_ext
in '' $ac_executable_extensions; do
41989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41990 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41997 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42001 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42003 if test -n "$CPPUNIT_CONFIG"; then
42004 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42005 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42007 echo "$as_me:$LINENO: result: no" >&5
42008 echo "${ECHO_T}no" >&6
42011 cppunit_version_min
=1.8.0
42013 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42014 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42016 if test "$CPPUNIT_CONFIG" = "no" ; then
42019 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42020 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42021 cppunit_version
=`$CPPUNIT_CONFIG --version`
42023 cppunit_major_version
=`echo $cppunit_version | \
42024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42025 cppunit_minor_version
=`echo $cppunit_version | \
42026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42027 cppunit_micro_version
=`echo $cppunit_version | \
42028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42030 cppunit_major_min
=`echo $cppunit_version_min | \
42031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42032 cppunit_minor_min
=`echo $cppunit_version_min | \
42033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42034 cppunit_micro_min
=`echo $cppunit_version_min | \
42035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42037 cppunit_version_proper
=`expr \
42038 $cppunit_major_version \> $cppunit_major_min \| \
42039 $cppunit_major_version \= $cppunit_major_min \& \
42040 $cppunit_minor_version \> $cppunit_minor_min \| \
42041 $cppunit_major_version \= $cppunit_major_min \& \
42042 $cppunit_minor_version \= $cppunit_minor_min \& \
42043 $cppunit_micro_version \>= $cppunit_micro_min `
42045 if test "$cppunit_version_proper" = "1" ; then
42046 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42047 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42049 echo "$as_me:$LINENO: result: no" >&5
42050 echo "${ECHO_T}no" >&6
42055 if test "x$no_cppunit" = x
; then
42056 SUBDIRS
="$SUBDIRS tests"
42067 for subdir
in `echo $SUBDIRS`; do
42068 if test -d ${srcdir}/${subdir} ; then
42069 if test "$wxUSE_GUI" = "yes"; then
42070 if test ${subdir} = "samples"; then
42071 makefiles
="samples/Makefile.in $makefiles"
42072 for sample
in `echo $SAMPLES_SUBDIRS`; do
42073 if test -d $srcdir/samples
/$sample; then
42074 makefiles
="samples/$sample/Makefile.in $makefiles"
42077 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42079 else if test ${subdir} = "samples"; then
42080 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42081 elif test ${subdir} = "utils"; then
42083 for util
in HelpGen tex2rtf
; do
42084 if test -d $srcdir/utils
/$util ; then
42085 makefiles
="utils/$util/Makefile.in \
42086 utils/$util/src/Makefile.in \
42090 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42094 for mkin
in $makefiles ; do
42095 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42096 ac_config_files
="$ac_config_files $mk"
42103 cat >confcache
<<\_ACEOF
42104 # This file is a shell script that caches the results of configure
42105 # tests run on this system so they can be shared between configure
42106 # scripts and configure runs, see configure's option --config-cache.
42107 # It is not useful on other systems. If it contains results you don't
42108 # want to keep, you may remove or edit it.
42110 # config.status only pays attention to the cache file if you give it
42111 # the --recheck option to rerun configure.
42113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42115 # following values.
42119 # The following way of writing the cache mishandles newlines in values,
42120 # but we know of no workaround that is simple, portable, and efficient.
42121 # So, don't put newlines in cache variables' values.
42122 # Ultrix sh set writes to stderr and can't be redirected directly,
42123 # and sets the high bit in the cache file unless we assign to the vars.
42126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42128 # `set' does not quote correctly, so add quotes (double-quote
42129 # substitution turns \\\\ into \\, and sed turns \\ into \).
42132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42135 # `set' quotes correctly as required by POSIX, so do not add quotes.
42137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42148 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42149 if test -w $cache_file; then
42150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42151 cat confcache
>$cache_file
42153 echo "not updating unwritable cache $cache_file"
42158 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42159 # Let make expand exec_prefix.
42160 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42162 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42163 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42164 # trailing colons and then remove the whole line if VPATH becomes empty
42165 # (actually we leave an empty line to preserve line numbers).
42166 if test "x$srcdir" = x.
; then
42167 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42168 s/:*\$(srcdir):*/:/;
42169 s/:*\${srcdir}:*/:/;
42171 s/^\([^=]*=[ ]*\):*/\1/;
42177 DEFS
=-DHAVE_CONFIG_H
42181 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42182 # 1. Remove the extension, and $U if already installed.
42183 ac_i
=`echo "$ac_i" |
42184 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42186 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42187 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42189 LIBOBJS
=$ac_libobjs
42191 LTLIBOBJS
=$ac_ltlibobjs
42195 : ${CONFIG_STATUS=./config.status}
42196 ac_clean_files_save
=$ac_clean_files
42197 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42198 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42199 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42200 cat >$CONFIG_STATUS <<_ACEOF
42202 # Generated by $as_me.
42203 # Run this file to recreate the current configuration.
42204 # Compiler output produced by configure, useful for debugging
42205 # configure, is in config.log if it exists.
42208 ac_cs_recheck=false
42210 SHELL=\${CONFIG_SHELL-$SHELL}
42213 cat >>$CONFIG_STATUS <<\_ACEOF
42214 ## --------------------- ##
42215 ## M4sh Initialization. ##
42216 ## --------------------- ##
42218 # Be Bourne compatible
42219 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42222 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42223 # is contrary to our usage. Disable this feature.
42224 alias -g '${1+"$@"}'='"$@"'
42225 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42228 DUALCASE
=1; export DUALCASE
# for MKS sh
42230 # Support unset when possible.
42231 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42238 # Work around bugs in pre-3.0 UWIN ksh.
42239 $as_unset ENV MAIL MAILPATH
42246 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42247 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42248 LC_TELEPHONE LC_TIME
42250 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42251 eval $as_var=C
; export $as_var
42257 # Required to use basename.
42258 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42264 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42265 as_basename
=basename
42271 # Name of the executable.
42272 as_me
=`$as_basename "$0" ||
42273 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42274 X"$0" : 'X\(//\)$' \| \
42275 X"$0" : 'X\(/\)$' \| \
42276 . : '\(.\)' 2>/dev/null ||
42278 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42279 /^X\/\(\/\/\)$/{ s//\1/; q; }
42280 /^X\/\(\/\).*/{ s//\1/; q; }
42284 # PATH needs CR, and LINENO needs CR and PATH.
42285 # Avoid depending upon Character Ranges.
42286 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42287 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42288 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42289 as_cr_digits
='0123456789'
42290 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42292 # The user is always right.
42293 if test "${PATH_SEPARATOR+set}" != set; then
42294 echo "#! /bin/sh" >conf$$.sh
42295 echo "exit 0" >>conf$$.sh
42297 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42306 as_lineno_1
=$LINENO
42307 as_lineno_2
=$LINENO
42308 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42309 test "x$as_lineno_1" != "x$as_lineno_2" &&
42310 test "x$as_lineno_3" = "x$as_lineno_2" || {
42311 # Find who we are. Look in the path if we contain no path at all
42314 *[\\/]* ) as_myself
=$0 ;;
42315 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42316 for as_dir
in $PATH
42319 test -z "$as_dir" && as_dir
=.
42320 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42325 # We did not find ourselves, most probably we were run as `sh COMMAND'
42326 # in which case we are not to be found in the path.
42327 if test "x$as_myself" = x
; then
42330 if test ! -f "$as_myself"; then
42331 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42332 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42333 { (exit 1); exit 1; }; }
42335 case $CONFIG_SHELL in
42337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42338 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42341 test -z "$as_dir" && as_dir
=.
42342 for as_base
in sh bash ksh sh5
; do
42345 if ("$as_dir/$as_base" -c '
42346 as_lineno_1=$LINENO
42347 as_lineno_2=$LINENO
42348 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42349 test "x$as_lineno_1" != "x$as_lineno_2" &&
42350 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42351 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42352 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42353 CONFIG_SHELL
=$as_dir/$as_base
42354 export CONFIG_SHELL
42355 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42363 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42364 # uniformly replaced by the line number. The first 'sed' inserts a
42365 # line-number line before each line; the second 'sed' does the real
42366 # work. The second script uses 'N' to pair each line-number line
42367 # with the numbered line, and appends trailing '-' during
42368 # substitution so that $LINENO is not a special case at line end.
42369 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42370 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42371 sed '=' <$as_myself |
42376 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42379 s,^['$as_cr_digits']*\n,,
42380 ' >$as_me.lineno
&&
42381 chmod +x
$as_me.lineno
||
42382 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42383 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42384 { (exit 1); exit 1; }; }
42386 # Don't try to exec as it changes $[0], causing all sort of problems
42387 # (the dirname of $[0] is not the place where we might find the
42388 # original and so on. Autoconf is especially sensible to this).
42390 # Exit status is that of the last command.
42395 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42396 *c
*,-n*) ECHO_N
= ECHO_C
='
42398 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42399 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42402 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42408 rm -f conf$$ conf$$.exe conf$$.
file
42410 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42411 # We could just check for DJGPP; but this test a) works b) is more generic
42412 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42413 if test -f conf$$.exe
; then
42414 # Don't use ln at all; we don't have any links
42419 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42424 rm -f conf$$ conf$$.exe conf$$.
file
42426 if mkdir -p .
2>/dev
/null
; then
42429 test -d .
/-p && rmdir .
/-p
42433 as_executable_p
="test -f"
42435 # Sed expression to map a string onto a valid CPP name.
42436 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42438 # Sed expression to map a string onto a valid variable name.
42439 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42443 # We need space, tab and new line, in precisely that order.
42453 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42454 # report actual input values of CONFIG_FILES etc. instead of their
42455 # values after options handling. Logging --version etc. is OK.
42459 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42460 ## Running $as_me. ##
42465 This file was extended by wxWidgets $as_me 2.5.3, which was
42466 generated by GNU Autoconf 2.59. Invocation command line was
42468 CONFIG_FILES = $CONFIG_FILES
42469 CONFIG_HEADERS = $CONFIG_HEADERS
42470 CONFIG_LINKS = $CONFIG_LINKS
42471 CONFIG_COMMANDS = $CONFIG_COMMANDS
42475 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42479 # Files that config.status was made for.
42480 if test -n "$ac_config_files"; then
42481 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42484 if test -n "$ac_config_headers"; then
42485 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42488 if test -n "$ac_config_links"; then
42489 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42492 if test -n "$ac_config_commands"; then
42493 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42496 cat >>$CONFIG_STATUS <<\_ACEOF
42499 \`$as_me' instantiates files from templates according to the
42500 current configuration.
42502 Usage: $0 [OPTIONS] [FILE]...
42504 -h, --help print this help, then exit
42505 -V, --version print version number, then exit
42506 -q, --quiet do not print progress messages
42507 -d, --debug don't remove temporary files
42508 --recheck update $as_me by reconfiguring in the same conditions
42509 --file=FILE[:TEMPLATE]
42510 instantiate the configuration file FILE
42511 --header=FILE[:TEMPLATE]
42512 instantiate the configuration header FILE
42514 Configuration files:
42517 Configuration headers:
42520 Configuration commands:
42523 Report bugs to <bug-autoconf@gnu.org>."
42526 cat >>$CONFIG_STATUS <<_ACEOF
42528 wxWidgets config.status 2.5.3
42529 configured by $0, generated by GNU Autoconf 2.59,
42530 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42532 Copyright (C) 2003 Free Software Foundation, Inc.
42533 This config.status script is free software; the Free Software Foundation
42534 gives unlimited permission to copy, distribute and modify it."
42539 cat >>$CONFIG_STATUS <<\_ACEOF
42540 # If no file are specified by the user, then we need to provide default
42541 # value. By we need to know if files were specified by the user.
42547 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42548 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42556 *) # This is not an option, so the user has probably given explicit
42559 ac_need_defaults
=false
;;
42563 # Handling of the options.
42565 cat >>$CONFIG_STATUS <<\_ACEOF
42566 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42568 --version | --vers* | -V )
42569 echo "$ac_cs_version"; exit 0 ;;
42571 # Conflict between --help and --header
42572 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42573 Try \`$0 --help' for more information." >&5
42574 echo "$as_me: error: ambiguous option: $1
42575 Try \`$0 --help' for more information." >&2;}
42576 { (exit 1); exit 1; }; };;
42577 --help | --hel | -h )
42578 echo "$ac_cs_usage"; exit 0 ;;
42579 --debug | --d* | -d )
42581 --file | --fil | --fi | --f )
42583 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42584 ac_need_defaults
=false
;;
42585 --header | --heade | --head | --hea )
42587 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42588 ac_need_defaults
=false
;;
42589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42590 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42593 # This is an error.
42594 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42595 Try \`$0 --help' for more information." >&5
42596 echo "$as_me: error: unrecognized option: $1
42597 Try \`$0 --help' for more information." >&2;}
42598 { (exit 1); exit 1; }; } ;;
42600 *) ac_config_targets
="$ac_config_targets $1" ;;
42606 ac_configure_extra_args
=
42608 if $ac_cs_silent; then
42610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42614 cat >>$CONFIG_STATUS <<_ACEOF
42615 if \$ac_cs_recheck; then
42616 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42617 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42622 cat >>$CONFIG_STATUS <<_ACEOF
42624 # INIT-COMMANDS section.
42627 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42628 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42629 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42637 cat >>$CONFIG_STATUS <<\_ACEOF
42638 for ac_config_target
in $ac_config_targets
42640 case "$ac_config_target" in
42641 # Handling of arguments.
42642 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42643 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42644 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42645 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42646 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42647 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42648 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42649 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42650 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42651 { (exit 1); exit 1; }; };;
42655 # If the user did not use the arguments to specify the items to instantiate,
42656 # then the envvar interface is used. Set only those that are not.
42657 # We use the long form for the default assignment because of an extremely
42658 # bizarre bug on SunOS 4.1.3.
42659 if $ac_need_defaults; then
42660 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42661 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42662 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42665 # Have a temporary directory for convenience. Make it in the build tree
42666 # simply because there is no reason to put it here, and in addition,
42667 # creating and moving files from /tmp can sometimes cause problems.
42668 # Create a temporary directory, and hook for its removal unless debugging.
42671 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42672 trap '{ (exit 1); exit 1; }' 1 2 13 15
42675 # Create a (secure) tmp directory for tmp files.
42678 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42679 test -n "$tmp" && test -d "$tmp"
42682 tmp
=.
/confstat$$
-$RANDOM
42683 (umask 077 && mkdir $tmp)
42686 echo "$me: cannot create a temporary directory in ." >&2
42687 { (exit 1); exit 1; }
42692 cat >>$CONFIG_STATUS <<_ACEOF
42695 # CONFIG_FILES section.
42698 # No need to generate the scripts if there are no CONFIG_FILES.
42699 # This happens for instance when ./config.status config.h
42700 if test -n "\$CONFIG_FILES"; then
42701 # Protect against being on the right side of a sed subst in config.status.
42702 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42703 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42704 s,@SHELL@,$SHELL,;t t
42705 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42706 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42707 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42708 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42709 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42710 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42711 s,@exec_prefix@,$exec_prefix,;t t
42712 s,@prefix@,$prefix,;t t
42713 s,@program_transform_name@,$program_transform_name,;t t
42714 s,@bindir@,$bindir,;t t
42715 s,@sbindir@,$sbindir,;t t
42716 s,@libexecdir@,$libexecdir,;t t
42717 s,@datadir@,$datadir,;t t
42718 s,@sysconfdir@,$sysconfdir,;t t
42719 s,@sharedstatedir@,$sharedstatedir,;t t
42720 s,@localstatedir@,$localstatedir,;t t
42721 s,@libdir@,$libdir,;t t
42722 s,@includedir@,$includedir,;t t
42723 s,@oldincludedir@,$oldincludedir,;t t
42724 s,@infodir@,$infodir,;t t
42725 s,@mandir@,$mandir,;t t
42726 s,@build_alias@,$build_alias,;t t
42727 s,@host_alias@,$host_alias,;t t
42728 s,@target_alias@,$target_alias,;t t
42729 s,@DEFS@,$DEFS,;t t
42730 s,@ECHO_C@,$ECHO_C,;t t
42731 s,@ECHO_N@,$ECHO_N,;t t
42732 s,@ECHO_T@,$ECHO_T,;t t
42733 s,@LIBS@,$LIBS,;t t
42734 s,@build@,$build,;t t
42735 s,@build_cpu@,$build_cpu,;t t
42736 s,@build_vendor@,$build_vendor,;t t
42737 s,@build_os@,$build_os,;t t
42738 s,@host@,$host,;t t
42739 s,@host_cpu@,$host_cpu,;t t
42740 s,@host_vendor@,$host_vendor,;t t
42741 s,@host_os@,$host_os,;t t
42742 s,@target@,$target,;t t
42743 s,@target_cpu@,$target_cpu,;t t
42744 s,@target_vendor@,$target_vendor,;t t
42745 s,@target_os@,$target_os,;t t
42747 s,@CFLAGS@,$CFLAGS,;t t
42748 s,@LDFLAGS@,$LDFLAGS,;t t
42749 s,@CPPFLAGS@,$CPPFLAGS,;t t
42750 s,@ac_ct_CC@,$ac_ct_CC,;t t
42751 s,@EXEEXT@,$EXEEXT,;t t
42752 s,@OBJEXT@,$OBJEXT,;t t
42754 s,@EGREP@,$EGREP,;t t
42756 s,@CXXFLAGS@,$CXXFLAGS,;t t
42757 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42758 s,@RANLIB@,$RANLIB,;t t
42759 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42761 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42762 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42763 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42764 s,@STRIP@,$STRIP,;t t
42765 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42766 s,@LN_S@,$LN_S,;t t
42767 s,@CXXCPP@,$CXXCPP,;t t
42768 s,@subdirs@,$subdirs,;t t
42769 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42770 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42771 s,@GTK_LIBS@,$GTK_LIBS,;t t
42772 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42773 s,@X_CFLAGS@,$X_CFLAGS,;t t
42774 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42775 s,@X_LIBS@,$X_LIBS,;t t
42776 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42777 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42778 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42779 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42780 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42781 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42782 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42783 s,@RESCOMP@,$RESCOMP,;t t
42784 s,@DEREZ@,$DEREZ,;t t
42785 s,@SETFILE@,$SETFILE,;t t
42786 s,@LIBICONV@,$LIBICONV,;t t
42787 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42788 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42789 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42790 s,@SDL_LIBS@,$SDL_LIBS,;t t
42791 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42792 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42793 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42794 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42795 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42796 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42797 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42798 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42799 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42800 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42801 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42802 s,@VENDOR@,$VENDOR,;t t
42803 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42804 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42805 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42806 s,@WXUNIV@,$WXUNIV,;t t
42807 s,@MONOLITHIC@,$MONOLITHIC,;t t
42808 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42809 s,@EXTRALIBS@,$EXTRALIBS,;t t
42810 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42811 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42812 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42813 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42814 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42815 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42816 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42817 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42818 s,@UNICODE@,$UNICODE,;t t
42819 s,@BUILD@,$BUILD,;t t
42820 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42821 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42822 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42823 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42824 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42825 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42826 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42827 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42828 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42829 s,@SET_MAKE@,$SET_MAKE,;t t
42830 s,@MAKE_SET@,$MAKE_SET,;t t
42831 s,@ac_ct_AR@,$ac_ct_AR,;t t
42832 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42834 s,@ac_ct_NM@,$ac_ct_NM,;t t
42835 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42836 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42837 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42838 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42839 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42840 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42841 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42842 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42843 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42844 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42845 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42846 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42847 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42848 s,@LIBPREFIX@,$LIBPREFIX,;t t
42849 s,@LIBEXT@,$LIBEXT,;t t
42850 s,@DLLPREFIX@,$DLLPREFIX,;t t
42851 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42852 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42853 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42854 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42855 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42856 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42857 s,@PIC_FLAG@,$PIC_FLAG,;t t
42858 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42859 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42860 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42861 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42862 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42863 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42864 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42865 s,@GCC_PCH@,$GCC_PCH,;t t
42866 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42867 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42868 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42869 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42870 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42871 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42872 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42873 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42874 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42875 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42876 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42877 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42878 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42879 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42880 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42881 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42882 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42883 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42884 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
42885 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42886 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42887 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42888 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42889 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42890 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
42891 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42892 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42893 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42894 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42895 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42896 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42897 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42898 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42899 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42900 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42901 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42902 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42903 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42904 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42905 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42906 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42907 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
42908 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42909 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42910 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42911 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42912 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42913 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42914 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42915 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42916 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42917 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42918 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42919 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42920 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42921 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42922 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42923 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42924 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42925 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42926 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42927 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42928 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42929 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42930 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42931 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42932 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42933 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42934 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42935 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42936 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42937 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42938 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42939 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42940 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42941 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42942 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42943 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42944 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42945 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42946 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42947 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42948 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42949 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42950 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42951 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42952 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42953 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42954 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42955 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42956 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42957 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42958 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42959 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42960 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42961 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42962 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42963 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42964 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42965 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42966 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42967 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42968 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42969 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42970 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42971 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42972 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42973 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42974 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42975 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42976 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42977 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42978 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42979 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42980 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42981 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42982 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42983 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42984 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42985 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42986 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42987 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42988 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42989 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42990 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42991 s,@SHARED@,$SHARED,;t t
42992 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42993 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42994 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42995 s,@USE_GUI@,$USE_GUI,;t t
42996 s,@AFMINSTALL@,$AFMINSTALL,;t t
42997 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42998 s,@TOOLKIT@,$TOOLKIT,;t t
42999 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43000 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43001 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43002 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43003 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43004 s,@cross_compiling@,$cross_compiling,;t t
43005 s,@WIDGET_SET@,$WIDGET_SET,;t t
43006 s,@WX_RELEASE@,$WX_RELEASE,;t t
43007 s,@WX_VERSION@,$WX_VERSION,;t t
43008 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43009 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43010 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43011 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43012 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43013 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43014 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43015 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43016 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43017 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43018 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43019 s,@EXE_LINKER@,$EXE_LINKER,;t t
43020 s,@GUIDIST@,$GUIDIST,;t t
43021 s,@DISTDIR@,$DISTDIR,;t t
43022 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43023 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43024 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43025 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43026 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43027 s,@RESFLAGS@,$RESFLAGS,;t t
43028 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43029 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43030 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43031 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43032 s,@MACRESCOMP@,$MACRESCOMP,;t t
43033 s,@MACSETFILE@,$MACSETFILE,;t t
43034 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43036 s,@DLLTOOL@,$DLLTOOL,;t t
43037 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43038 s,@LIBOBJS@,$LIBOBJS,;t t
43039 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43044 cat >>$CONFIG_STATUS <<\_ACEOF
43045 # Split the substitutions into bite-sized pieces for seds with
43046 # small command number limits, like on Digital OSF/1 and HP-UX.
43047 ac_max_sed_lines
=48
43048 ac_sed_frag
=1 # Number of current file.
43049 ac_beg
=1 # First line for current file.
43050 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43053 while $ac_more_lines; do
43054 if test $ac_beg -gt 1; then
43055 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43057 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43059 if test ! -s $tmp/subs.frag
; then
43060 ac_more_lines
=false
43062 # The purpose of the label and of the branching condition is to
43063 # speed up the sed processing (if there are no `@' at all, there
43064 # is no need to browse any of the substitutions).
43065 # These are the two extra sed commands mentioned above.
43067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43068 if test -z "$ac_sed_cmds"; then
43069 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43071 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43073 ac_sed_frag
=`expr $ac_sed_frag + 1`
43075 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43078 if test -z "$ac_sed_cmds"; then
43081 fi # test -n "$CONFIG_FILES"
43084 cat >>$CONFIG_STATUS <<\_ACEOF
43085 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43088 - | *:- | *:-:* ) # input from stdin
43090 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43091 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43092 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43094 * ) ac_file_in
=$ac_file.
in ;;
43097 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43098 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43100 X"$ac_file" : 'X\(//\)[^/]' \| \
43101 X"$ac_file" : 'X\(//\)$' \| \
43102 X"$ac_file" : 'X\(/\)' \| \
43103 . : '\(.\)' 2>/dev/null ||
43105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43107 /^X\(\/\/\)$/{ s//\1/; q; }
43108 /^X\(\/\).*/{ s//\1/; q; }
43110 { if $as_mkdir_p; then
43115 while test ! -d "$as_dir"; do
43116 as_dirs
="$as_dir $as_dirs"
43117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43119 X"$as_dir" : 'X\(//\)[^/]' \| \
43120 X"$as_dir" : 'X\(//\)$' \| \
43121 X"$as_dir" : 'X\(/\)' \| \
43122 . : '\(.\)' 2>/dev/null ||
43124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43126 /^X\(\/\/\)$/{ s//\1/; q; }
43127 /^X\(\/\).*/{ s//\1/; q; }
43130 test ! -n "$as_dirs" || mkdir $as_dirs
43131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43133 { (exit 1); exit 1; }; }; }
43137 if test "$ac_dir" != .
; then
43138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43139 # A "../" for each directory in $ac_dir_suffix.
43140 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43142 ac_dir_suffix
= ac_top_builddir
=
43146 .
) # No --srcdir option. We are building in place.
43148 if test -z "$ac_top_builddir"; then
43151 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43153 [\\/]* | ?
:[\\/]* ) # Absolute path.
43154 ac_srcdir
=$srcdir$ac_dir_suffix;
43155 ac_top_srcdir
=$srcdir ;;
43156 *) # Relative path.
43157 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43158 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43161 # Do not use `cd foo && pwd` to compute absolute paths, because
43162 # the directories may not exist.
43164 .
) ac_abs_builddir
="$ac_dir";;
43167 .
) ac_abs_builddir
=`pwd`;;
43168 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43169 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43172 case $ac_abs_builddir in
43173 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43175 case ${ac_top_builddir}.
in
43176 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43177 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43178 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43181 case $ac_abs_builddir in
43182 .
) ac_abs_srcdir
=$ac_srcdir;;
43185 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43186 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43187 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43190 case $ac_abs_builddir in
43191 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43193 case $ac_top_srcdir in
43194 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43195 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43196 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43202 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43203 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43206 if test x
"$ac_file" != x
-; then
43207 { echo "$as_me:$LINENO: creating $ac_file" >&5
43208 echo "$as_me: creating $ac_file" >&6;}
43211 # Let's still pretend it is `configure' which instantiates (i.e., don't
43212 # use $as_me), people would be surprised to read:
43213 # /* config.h. Generated by config.status. */
43214 if test x
"$ac_file" = x
-; then
43217 configure_input
="$ac_file. "
43219 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43220 sed 's,.*/,,'` by configure."
43222 # First look for the input files in the build tree, otherwise in the
43224 ac_file_inputs
=`IFS=:
43225 for f in $ac_file_in; do
43227 -) echo $tmp/stdin ;;
43229 # Absolute (can't be DOS-style, as IFS=:)
43230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43231 echo "$as_me: error: cannot find input file: $f" >&2;}
43232 { (exit 1); exit 1; }; }
43235 if test -f "$f"; then
43238 elif test -f "$srcdir/$f"; then
43243 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43244 echo "$as_me: error: cannot find input file: $f" >&2;}
43245 { (exit 1); exit 1; }; }
43248 done` || { (exit 1); exit 1; }
43250 cat >>$CONFIG_STATUS <<_ACEOF
43254 cat >>$CONFIG_STATUS <<\_ACEOF
43256 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43257 s
,@configure_input@
,$configure_input,;t t
43258 s
,@srcdir@
,$ac_srcdir,;t t
43259 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43260 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43261 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43262 s
,@builddir@
,$ac_builddir,;t t
43263 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43264 s
,@top_builddir@
,$ac_top_builddir,;t t
43265 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43266 s
,@INSTALL@
,$ac_INSTALL,;t t
43267 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43269 if test x"$ac_file" != x-; then
43270 mv $tmp/out $ac_file
43276 # Run the commands associated with the file.
43278 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43279 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43283 cat >>$CONFIG_STATUS <<\_ACEOF
43286 # CONFIG_HEADER section.
43289 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43290 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43292 # ac_d sets the value in "#define NAME VALUE" lines.
43293 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43294 ac_dB
='[ ].*$,\1#\2'
43297 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43298 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43299 ac_uB
='$,\1#\2define\3'
43303 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43306 - | *:- | *:-:* ) # input from stdin
43308 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43309 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43310 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43311 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43312 * ) ac_file_in
=$ac_file.
in ;;
43315 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43316 echo "$as_me: creating $ac_file" >&6;}
43318 # First look for the input files in the build tree, otherwise in the
43320 ac_file_inputs
=`IFS=:
43321 for f in $ac_file_in; do
43323 -) echo $tmp/stdin ;;
43325 # Absolute (can't be DOS-style, as IFS=:)
43326 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43327 echo "$as_me: error: cannot find input file: $f" >&2;}
43328 { (exit 1); exit 1; }; }
43329 # Do quote $f, to prevent DOS paths from being IFS'd.
43332 if test -f "$f"; then
43335 elif test -f "$srcdir/$f"; then
43340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43341 echo "$as_me: error: cannot find input file: $f" >&2;}
43342 { (exit 1); exit 1; }; }
43345 done` || { (exit 1); exit 1; }
43346 # Remove the trailing spaces.
43347 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43351 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43352 # `conftest.undefs', that substitutes the proper values into
43353 # config.h.in to produce config.h. The first handles `#define'
43354 # templates, and the second `#undef' templates.
43355 # And first: Protect against being on the right side of a sed subst in
43356 # config.status. Protect against being in an unquoted here document
43357 # in config.status.
43358 rm -f conftest.defines conftest.undefs
43359 # Using a here document instead of a string reduces the quoting nightmare.
43360 # Putting comments in sed scripts is not portable.
43362 # `end' is used to avoid that the second main sed command (meant for
43363 # 0-ary CPP macros) applies to n-ary macro definitions.
43364 # See the Autoconf documentation for `clear'.
43365 cat >confdef2sed.
sed <<\_ACEOF
43370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43375 # If some macros were called several times there might be several times
43376 # the same #defines, which is useless. Nevertheless, we may not want to
43377 # sort them, since we want the *last* AC-DEFINE to be honored.
43378 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43379 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43380 rm -f confdef2sed.sed
43382 # This sed command replaces #undef with comments. This is necessary, for
43383 # example, in the case of _POSIX_SOURCE, which is predefined and required
43384 # on some systems where configure will not decide to define it.
43385 cat >>conftest.undefs <<\_ACEOF
43386 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43389 # Break up conftest.defines because some shells have a limit on the size
43390 # of here documents, and old seds have small limits too (100 cmds).
43391 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43392 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43393 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43394 echo ' :' >>$CONFIG_STATUS
43395 rm -f conftest.tail
43396 while grep . conftest.defines >/dev/null
43398 # Write a limited-size here document to $tmp/defines.sed.
43399 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43400 # Speed up: don't consider the non `#define' lines.
43401 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43402 # Work around the forget-to-reset-the-flag bug.
43403 echo 't clr' >>$CONFIG_STATUS
43404 echo ': clr' >>$CONFIG_STATUS
43405 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43407 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43409 mv $tmp/out $tmp/in
43411 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43412 rm -f conftest.defines
43413 mv conftest.
tail conftest.defines
43415 rm -f conftest.defines
43416 echo ' fi # grep' >>$CONFIG_STATUS
43417 echo >>$CONFIG_STATUS
43419 # Break up conftest.undefs because some shells have a limit on the size
43420 # of here documents, and old seds have small limits too (100 cmds).
43421 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43422 rm -f conftest.
tail
43423 while grep . conftest.undefs
>/dev
/null
43425 # Write a limited-size here document to $tmp/undefs.sed.
43426 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43427 # Speed up: don't consider the non
`#undef'
43428 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43429 # Work around the forget-to-reset-the-flag bug.
43430 echo 't clr' >>$CONFIG_STATUS
43431 echo ': clr' >>$CONFIG_STATUS
43432 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43434 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43436 mv $tmp/out $tmp/in
43438 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43439 rm -f conftest.undefs
43440 mv conftest.tail conftest.undefs
43442 rm -f conftest.undefs
43444 cat >>$CONFIG_STATUS <<\_ACEOF
43445 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43446 # use $as_me), people would be surprised to read:
43447 # /* config.h. Generated by config.status. */
43448 if test x
"$ac_file" = x
-; then
43449 echo "/* Generated by configure. */" >$tmp/config.h
43451 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43453 cat $tmp/in >>$tmp/config.h
43455 if test x
"$ac_file" != x
-; then
43456 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43457 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43458 echo "$as_me: $ac_file is unchanged" >&6;}
43460 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43462 X"$ac_file" : 'X\(//\)[^/]' \| \
43463 X"$ac_file" : 'X\(//\)$' \| \
43464 X"$ac_file" : 'X\(/\)' \| \
43465 . : '\(.\)' 2>/dev/null ||
43467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43469 /^X\(\/\/\)$/{ s//\1/; q; }
43470 /^X\(\/\).*/{ s//\1/; q; }
43472 { if $as_mkdir_p; then
43477 while test ! -d "$as_dir"; do
43478 as_dirs
="$as_dir $as_dirs"
43479 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43481 X"$as_dir" : 'X\(//\)[^/]' \| \
43482 X"$as_dir" : 'X\(//\)$' \| \
43483 X"$as_dir" : 'X\(/\)' \| \
43484 . : '\(.\)' 2>/dev/null ||
43486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43488 /^X\(\/\/\)$/{ s//\1/; q; }
43489 /^X\(\/\).*/{ s//\1/; q; }
43492 test ! -n "$as_dirs" || mkdir $as_dirs
43493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43495 { (exit 1); exit 1; }; }; }
43498 mv $tmp/config.h
$ac_file
43502 rm -f $tmp/config.h
43506 cat >>$CONFIG_STATUS <<\_ACEOF
43509 # CONFIG_COMMANDS section.
43511 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43512 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43513 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43514 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43516 X"$ac_dest" : 'X\(//\)[^/]' \| \
43517 X"$ac_dest" : 'X\(//\)$' \| \
43518 X"$ac_dest" : 'X\(/\)' \| \
43519 . : '\(.\)' 2>/dev/null ||
43521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43523 /^X\(\/\/\)$/{ s//\1/; q; }
43524 /^X\(\/\).*/{ s//\1/; q; }
43526 { if $as_mkdir_p; then
43531 while test ! -d "$as_dir"; do
43532 as_dirs
="$as_dir $as_dirs"
43533 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43535 X"$as_dir" : 'X\(//\)[^/]' \| \
43536 X"$as_dir" : 'X\(//\)$' \| \
43537 X"$as_dir" : 'X\(/\)' \| \
43538 . : '\(.\)' 2>/dev/null ||
43540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43542 /^X\(\/\/\)$/{ s//\1/; q; }
43543 /^X\(\/\).*/{ s//\1/; q; }
43546 test ! -n "$as_dirs" || mkdir $as_dirs
43547 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43549 { (exit 1); exit 1; }; }; }
43553 if test "$ac_dir" != .
; then
43554 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43555 # A "../" for each directory in $ac_dir_suffix.
43556 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43558 ac_dir_suffix
= ac_top_builddir
=
43562 .
) # No --srcdir option. We are building in place.
43564 if test -z "$ac_top_builddir"; then
43567 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43569 [\\/]* | ?
:[\\/]* ) # Absolute path.
43570 ac_srcdir
=$srcdir$ac_dir_suffix;
43571 ac_top_srcdir
=$srcdir ;;
43572 *) # Relative path.
43573 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43574 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43577 # Do not use `cd foo && pwd` to compute absolute paths, because
43578 # the directories may not exist.
43580 .
) ac_abs_builddir
="$ac_dir";;
43583 .
) ac_abs_builddir
=`pwd`;;
43584 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43585 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43588 case $ac_abs_builddir in
43589 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43591 case ${ac_top_builddir}.
in
43592 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43593 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43594 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43597 case $ac_abs_builddir in
43598 .
) ac_abs_srcdir
=$ac_srcdir;;
43601 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43602 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43603 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43606 case $ac_abs_builddir in
43607 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43609 case $ac_top_srcdir in
43610 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43611 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43612 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43617 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43618 echo "$as_me: executing $ac_dest commands" >&6;}
43620 wx
-config ) rm -f wx
-config
43621 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43627 cat >>$CONFIG_STATUS <<\_ACEOF
43629 { (exit 0); exit 0; }
43631 chmod +x
$CONFIG_STATUS
43632 ac_clean_files
=$ac_clean_files_save
43635 # configure is writing to config.log, and then calls config.status.
43636 # config.status does its own redirection, appending to config.log.
43637 # Unfortunately, on DOS this fails, as config.log is still kept open
43638 # by configure, so config.status won't be able to write to it; its
43639 # output is simply discarded. So we exec the FD to /dev/null,
43640 # effectively closing config.log, so it can be properly (re)opened and
43641 # appended to by config.status. When coming back to configure, we
43642 # need to make the FD available again.
43643 if test "$no_create" != yes; then
43645 ac_config_status_args
=
43646 test "$silent" = yes &&
43647 ac_config_status_args
="$ac_config_status_args --quiet"
43649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43652 # would make configure fail if this is the last instruction.
43653 $ac_cs_success || { (exit 1); exit 1; }
43657 # CONFIG_SUBDIRS section.
43659 if test "$no_recursion" != yes; then
43661 # Remove --cache-file and --srcdir arguments so they do not pile up.
43662 ac_sub_configure_args
=
43664 for ac_arg
in $ac_configure_args; do
43665 if test -n "$ac_prev"; then
43670 -cache-file | --cache-file | --cache-fil | --cache-fi \
43671 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43672 ac_prev
=cache_file
;;
43673 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43674 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43677 --config-cache | -C)
43679 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43681 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43683 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43685 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43687 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43691 # Always prepend --prefix to ensure using the same prefix
43692 # in subdir configurations.
43693 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43696 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43698 # Do not complain, so a configure script can configure whichever
43699 # parts of a large source tree are present.
43700 test -d $srcdir/$ac_dir || continue
43702 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43703 echo "$as_me: configuring in $ac_dir" >&6;}
43704 { if $as_mkdir_p; then
43709 while test ! -d "$as_dir"; do
43710 as_dirs
="$as_dir $as_dirs"
43711 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43713 X"$as_dir" : 'X\(//\)[^/]' \| \
43714 X"$as_dir" : 'X\(//\)$' \| \
43715 X"$as_dir" : 'X\(/\)' \| \
43716 . : '\(.\)' 2>/dev/null ||
43718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43720 /^X\(\/\/\)$/{ s//\1/; q; }
43721 /^X\(\/\).*/{ s//\1/; q; }
43724 test ! -n "$as_dirs" || mkdir $as_dirs
43725 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43726 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43727 { (exit 1); exit 1; }; }; }
43731 if test "$ac_dir" != .
; then
43732 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43733 # A "../" for each directory in $ac_dir_suffix.
43734 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43736 ac_dir_suffix
= ac_top_builddir
=
43740 .
) # No --srcdir option. We are building in place.
43742 if test -z "$ac_top_builddir"; then
43745 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43747 [\\/]* | ?
:[\\/]* ) # Absolute path.
43748 ac_srcdir
=$srcdir$ac_dir_suffix;
43749 ac_top_srcdir
=$srcdir ;;
43750 *) # Relative path.
43751 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43752 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43755 # Do not use `cd foo && pwd` to compute absolute paths, because
43756 # the directories may not exist.
43758 .
) ac_abs_builddir
="$ac_dir";;
43761 .
) ac_abs_builddir
=`pwd`;;
43762 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43763 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43766 case $ac_abs_builddir in
43767 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43769 case ${ac_top_builddir}.
in
43770 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43771 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43772 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43775 case $ac_abs_builddir in
43776 .
) ac_abs_srcdir
=$ac_srcdir;;
43779 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43780 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43781 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43784 case $ac_abs_builddir in
43785 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43787 case $ac_top_srcdir in
43788 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43789 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43790 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43797 # Check for guested configure; otherwise get Cygnus style configure.
43798 if test -f $ac_srcdir/configure.gnu
; then
43799 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43800 elif test -f $ac_srcdir/configure
; then
43801 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43802 elif test -f $ac_srcdir/configure.
in; then
43803 ac_sub_configure
=$ac_configure
43805 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43806 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43810 # The recursion is here.
43811 if test -n "$ac_sub_configure"; then
43812 # Make the cache file name correct relative to the subdirectory.
43813 case $cache_file in
43814 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43815 *) # Relative path.
43816 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43819 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43820 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43821 # The eval makes quoting arguments work.
43822 eval $ac_sub_configure $ac_sub_configure_args \
43823 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43824 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43825 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43826 { (exit 1); exit 1; }; }
43835 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43837 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43838 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43840 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43841 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43842 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43844 echo " What level of wxWidgets compatibility should be enabled?"
43845 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43846 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43848 echo " Which libraries should wxWidgets use?"
43849 echo " jpeg ${wxUSE_LIBJPEG-none}"
43850 echo " png ${wxUSE_LIBPNG-none}"
43851 echo " regex ${wxUSE_REGEX}"
43852 echo " tiff ${wxUSE_LIBTIFF-none}"
43853 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43854 echo " xpm ${wxUSE_LIBXPM-none}"
43856 echo " zlib ${wxUSE_ZLIB}"
43857 echo " odbc ${wxUSE_ODBC}"
43858 echo " expat ${wxUSE_EXPAT}"
43859 echo " libmspack ${wxUSE_LIBMSPACK}"
43860 echo " sdl ${wxUSE_LIBSDL}"
43861 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"